1 2019-03-11 Mao Han <han_mao@c-sky.com>
3 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
7 2019-03-08 Mike FABIAN <mfabian@redhat.com>
10 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
11 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
13 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
14 * localedata/unicode-gen/PropList.txt: Likewise.
15 * localedata/unicode-gen/UnicodeData.txt: Likewise.
16 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
17 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
18 * localedata/charmaps/UTF-8: Regenerate.
19 * localedata/locales/i18n_ctype: Likewise.
20 * localedata/locales/tr_TR: Likewise.
21 * localedata/locales/translit_circle: Likewise.
22 * localedata/locales/translit_cjk_compat: Likewise.
23 * localedata/locales/translit_combining: Likewise.
24 * localedata/locales/translit_compat: Likewise.
25 * localedata/locales/translit_font: Likewise.
26 * localedata/locales/translit_fraction: Likewise.
28 2019-03-07 Joseph Myers <joseph@codesourcery.com>
30 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
32 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
33 (setitimer_locked): Likewise.
34 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
35 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
36 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
37 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
38 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
39 (PPC_CPU_SUPPORTED): Likewise.
40 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
41 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
42 (stat_overflow): Likewise.
43 (statfs_overflow): Likewise.
44 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
45 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
46 (eq_ttyname_r): Likewise.
47 (run_chroot_tests): Likewise.
49 2019-03-07 Florian Weimer <fweimer@redhat.com>
51 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
54 2019-03-07 Martin Liska <mliska@suse.cz>
56 * math/Makefile: Change location where math-vector-fortran.h is
58 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
59 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
60 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
61 * scripts/check-installed-headers.sh: Skip Fortran header files.
62 * scripts/check-wrapper-headers.py: Likewise.
64 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
66 * nptl/nptl-init.c (__have_futex_clock_realtime,
67 __have_futex_clock_realtime): Remove definition.
68 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
69 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
70 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
71 __ASSUME_FUTEX_CLOCK_REALTIME support.
72 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
73 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
74 * sysdeps/unix/sysv/linux/kernel-features.h
75 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
76 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
79 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
81 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
82 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
83 __GI___wcscpy and wcscpy.
85 2019-03-04 Florian Weimer <fweimer@redhat.com>
87 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
89 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
92 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
94 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
95 * sysdeps/s390/s390-32/sysdep.h: Likewise.
97 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
100 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
101 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
103 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
105 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
108 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
109 (do_test_call_varg): Likewise.
110 (do_test_call_rarg): Likewise.
111 * sysdeps/ieee754/ldbl-opt/Makefile
112 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
114 ($(objpfx)tst-nldbl-warn.c): New rule.
115 ($(objpfx)tst-nldbl-error.c): Likewise.
116 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
119 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
122 * include/bits/error-ldbl.h: New file.
123 * include/error.h: Include stdarg.h. Declare internal functions
124 __error_internal and __error_at_line_internal.
125 * misc/Makefile (headers): Add bits/error-ldbl.h.
126 * misc/bits/error-ldbl.h: New file.
127 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
128 avoid the inclusion of bits/error.h.
129 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
130 and __nldbl_error_at_line.
131 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
132 (__nldbl_error, __ndlbl_error_at_line): New functions.
133 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
134 Redirect error and error_at_line.
135 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
148 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
151 * include/bits/err-ldbl.h: New file.
152 * include/err.h: Add prototypes for the internal functions:
153 __vwarnx_internal and __vwarn_internal.
154 * misc/Makefile (headers): Add bits/err-ldbl.h.
155 * misc/bits/err-ldbl.h: New file.
156 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
157 defined, i.e.: when -mlong-double-64 is in use.
158 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
159 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
160 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
162 (VA_CALL): New macro.
163 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
164 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
167 declare prototypes for the new functions.
168 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
177 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
178 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
181 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
183 * sysdeps/ieee754/ldbl-opt/Makefile
184 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
185 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
186 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
188 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
191 * argp/Makefile (headers): Add bits/argp-ldbl.h.
192 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
193 * argp/bits/argp-ldbl.h: New file.
194 * include/argp.h: Include stdarg.h. Add prototypes for internal
195 functions: __argp_error_internal and __argp_failure_internal.
196 * include/bits/argp-ldbl.h: New file.
197 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
198 __nldbl_argp_error and __nldbl_argp_failure.
199 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
200 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
201 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
202 Redirect argp_error and argp_failure calls.
203 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
214 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
216 2019-03-01 Florian Weimer <fweimer@redhat.com>
219 * elf/tst-big-note-lib.S: Create a syntactically valid note.
220 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
221 code, to avoid creating an ABI tag note.
222 (modules-names-nobuild): Add tst-big-note-lib.
224 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
226 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
227 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
229 2019-03-01 Florian Weimer <fweimer@redhat.com>
232 * sysdeps/unix/sysv/linux/netlink_assert_response.c
233 (__netlink_assert_response): Add additional missing newlines.
235 2019-02-28 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/powerpc/powerpc32/dl-machine.c
238 (__elf_machine_fixup_plt): Use space before '('.
239 (__process_machine_rela): Likewise.
240 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
242 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
244 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
246 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
249 (check_result): Likewise.
250 (check_excepts): Likewise.
251 (check_op): Likewise.
253 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
254 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
256 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
259 (__makecontext): Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
263 2019-02-28 Florian Weimer <fweimer@redhat.com>
266 elf: Add test with a local IFUNC resolver.
267 * elf/ifuncmain9.c: New file.
268 * elf/ifuncmain9pic.c: Likewise.
269 * elf/ifuncmain9picstatic.c: Likewise.
270 * elf/ifuncmain9pie.c: Likewise.
271 * elf/ifuncmain9static.c: Likewise.
272 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
273 ifuncmain9static, ifuncmain9picstatic.
274 * elf/Makefile [multi-arch && build-shared] (tests-internal):
275 Add ifuncmain9, ifuncmain9pic.
276 * elf/Makefile [multi-arch && build-shared && have-fpie]
277 (ifunc-pie-tests): Add ifuncmain9pie.
278 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
279 (CFLAGS-ifuncmain9picstatic.c): Likewise.
280 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
282 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
284 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
285 * configure: Regenerated.
286 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
288 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
291 symbol as __wcspcy instead of wcscpy.
293 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
295 * include/stdio.h (__renameat2): New hidden prototype.
296 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
297 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
298 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
299 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
301 2019-02-27 Joseph Myers <joseph@codesourcery.com>
303 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
306 * benchtests/bench-strcpy.c (do_test): Use space before '('.
307 * benchtests/bench-string.h (cmdline_process_function): Likewise.
308 * benchtests/bench-strlen.c (do_test): Likewise.
309 (test_main): Likewise.
310 * catgets/gencat.c (read_old): Likewise.
311 * elf/cache.c (load_aux_cache): Likewise.
312 * iconvdata/bug-iconv8.c (do_test): Likewise.
313 * math/test-tgmath-ret.c (do_test): Likewise.
314 * nis/nis_call.c (rec_dirsearch): Likewise.
315 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
316 * nptl/tst-audit-threads.c (do_test): Likewise.
317 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
318 * nss/nss_test1.c (init): Likewise.
319 * nss/test-netdb.c (test_hosts): Likewise.
320 * posix/execvpe.c (maybe_script_execute): Likewise.
321 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
322 * stdio-common/tst-printf.c (do_test): Likewise.
323 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
324 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
325 * stdlib/qsort.c (STACK_SIZE): Likewise.
326 * stdlib/test-canon.c (do_test): Likewise.
327 * stdlib/tst-swapcontext1.c (do_test): Likewise.
328 * string/memcmp.c (OPSIZ): Likewise.
329 * string/test-strcpy.c (do_test): Likewise.
330 (do_random_tests): Likewise.
331 * string/test-strlen.c (do_test): Likewise.
332 (test_main): Likewise.
333 * string/test-strrchr.c (do_test): Likewise.
334 (do_random_tests): Likewise.
335 * string/tester.c (test_memrchr): Likewise.
336 (test_memchr): Likewise.
337 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
338 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
339 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
340 (read_encoded_value_with_base): Likewise.
341 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
342 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
343 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
344 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
345 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
346 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
348 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
350 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
351 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
352 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
354 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
356 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
358 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
360 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
361 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
362 (FP_XSTATE_MAGIC2_SIZE): Likewise.
363 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
364 * time/test_time.c (main): Likewise.
366 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
368 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
370 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
373 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
376 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
378 * include/wchar.h (__wcscpy): New prototype.
379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
380 (__wcscpy): Route internal symbol to generic implementation.
381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
382 Add internal __wcscpy alias.
383 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
384 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
385 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
386 * wcsmbs/wcscpy.c (wcscpy): Add
387 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
388 use generic implementation.
389 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
391 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
394 * sysdeps/m68k/wcpcpy.c: Remove file.
395 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
397 2019-02-26 Joseph Myers <joseph@codesourcery.com>
399 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
400 than after operators.
401 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
402 * sysdeps/mach/hurd/getcwd.c
403 (__hurd_canonicalize_directory_name_internal): Likewise.
404 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
405 (pthread_mutex_consistent): Likewise.
406 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
408 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
409 (__pthread_mutex_transfer_np): Likewise.
410 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
411 (__pthread_mutex_unlock): Likewise.
412 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
413 (mtx_owned_p): Likewise.
414 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
415 (pthread_mutexattr_getrobust): Likewise.
416 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
417 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
419 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
420 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
421 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
422 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
423 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
427 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
429 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
430 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
431 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
432 (____longjmp_chk): Likewise.
433 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
436 (INTERNAL_SYSCALL): Likewise.
437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
438 (INTERNAL_SYSCALL): Likewise.
439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
440 (__get_clockfreq_via_cpuinfo): Likewise.
442 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
444 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
445 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
446 (WORD_COPY_BWD): Likewise.
447 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
450 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
451 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
453 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
455 2019-02-25 Joseph Myers <joseph@codesourcery.com>
457 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
458 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
459 rather than after operators.
460 * elf/cache.c (print_cache): Likewise.
461 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
462 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
463 * hurd/hurdinit.c (_hurd_setproc): Likewise.
464 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
465 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
466 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
467 (reauth_proc): Likewise.
468 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
469 (__file_name_split_at): Likewise.
470 (__directory_name_split_at): Likewise.
471 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
472 * hurd/port2fd.c (_hurd_port2fd): Likewise.
473 * iconv/gconv_dl.c (do_print): Likewise.
474 * inet/netinet/in.h (struct sockaddr_in): Likewise.
475 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
476 * locale/setlocale.c (new_composite_name): Likewise.
477 * malloc/memusagestat.c (main): Likewise.
478 * misc/fstab.c (fstab_convert): Likewise.
479 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
481 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
482 (getgrent_next_file): Likewise.
483 (internal_getgrnam_r): Likewise.
484 (internal_getgrgid_r): Likewise.
485 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
487 (internal_getgrent_r): Likewise.
488 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
489 (getpwent_next_nss): Likewise.
490 (getpwent_next_file): Likewise.
491 (internal_getpwnam_r): Likewise.
492 (internal_getpwuid_r): Likewise.
493 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
495 (getspent_next_nss): Likewise.
496 (internal_getspnam_r): Likewise.
497 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
498 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
499 * string/strchr.c (STRCHR): Likewise.
500 * string/strchrnul.c (STRCHRNUL): Likewise.
501 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
502 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
503 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
504 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
505 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
507 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
508 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
509 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
510 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
511 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
512 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
513 (open_file): Likewise.
514 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
515 (pthread_mutexattr_setprotocol): Likewise.
516 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
517 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
518 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
519 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
520 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
522 (elf_machine_rela): Likewise.
523 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
524 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
525 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
526 * sysdeps/posix/rename.c (rename): Likewise.
527 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
528 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
529 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
530 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
531 * sysdeps/unix/grantpt.c (grantpt): Likewise.
532 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
533 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
535 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
537 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
538 * time/tzfile.c (__tzfile_compute): Likewise.
540 2019-02-22 Joseph Myers <joseph@codesourcery.com>
542 * benchtests/bench-memmem.c (simple_memmem): Break lines before
543 rather than after operators.
544 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
545 * crypt/md5.c (md5_finish_ctx): Likewise.
546 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
547 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
548 * elf/cache.c (load_aux_cache): Likewise.
549 * elf/dl-load.c (open_verify): Likewise.
550 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
551 * elf/readelflib.c (process_elf_file): Likewise.
552 * elf/rtld.c (dl_main): Likewise.
553 * elf/sprof.c (generate_call_graph): Likewise.
554 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
555 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
556 * hurd/dtable.c (reauth_dtable): Likewise.
557 * hurd/getdport.c (__getdport): Likewise.
558 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
559 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
560 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
562 * hurd/hurdioctl.c (fioctl): Likewise.
563 * hurd/hurdselect.c (_hurd_select): Likewise.
564 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
565 (STOPSIGS): Likewise.
566 * hurd/hurdstartup.c (_hurd_startup): Likewise.
567 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
568 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
569 * hurd/msgportdemux.c (msgport_server): Likewise.
570 * hurd/setauth.c (_hurd_setauth): Likewise.
571 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
572 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
573 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
574 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
575 * login/tst-utmp.c (do_check): Likewise.
576 (simulate_login): Likewise.
577 * mach/lowlevellock.h (lll_lock): Likewise.
578 (lll_trylock): Likewise.
579 * math/test-fenv.c (ALL_EXC): Likewise.
580 * math/test-fenvinline.c (ALL_EXC): Likewise.
581 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
582 * nis/nis_call.c (__do_niscall3): Likewise.
583 * nis/nis_callback.c (cb_prog_1): Likewise.
584 * nis/nis_defaults.c (searchaccess): Likewise.
585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
586 * nis/nis_ismember.c (internal_ismember): Likewise.
587 * nis/nis_local_names.c (nis_local_principal): Likewise.
588 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
589 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
591 * nis/ypclnt.c (yp_match): Likewise.
592 (yp_first): Likewise.
594 (yp_master): Likewise.
595 (yp_order): Likewise.
596 * nscd/hstcache.c (cache_addhst): Likewise.
597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
598 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
599 (internal_getpwuid_r): Likewise.
600 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
601 * posix/glob.h (__GLOB_FLAGS): Likewise.
602 * posix/regcomp.c (peek_token): Likewise.
603 (peek_token_bracket): Likewise.
604 (parse_expression): Likewise.
605 * posix/regexec.c (sift_states_iter_mb): Likewise.
606 (check_node_accept_bytes): Likewise.
607 * posix/tst-spawn3.c (do_test): Likewise.
608 * posix/wordexp-test.c (testit): Likewise.
609 * posix/wordexp.c (parse_tilde): Likewise.
610 (exec_comm): Likewise.
611 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
612 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
613 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
614 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
615 * stdio-common/tst-fileno.c (do_test): Likewise.
616 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
617 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
618 * stdlib/strtod_l.c (round_and_return): Likewise.
619 (____STRTOF_INTERNAL): Likewise.
620 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
621 * string/strcspn.c (STRCSPN): Likewise.
622 * string/test-memmem.c (simple_memmem): Likewise.
623 * termios/tcsetattr.c (tcsetattr): Likewise.
624 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
625 * time/asctime.c (asctime_internal): Likewise.
626 * time/strptime_l.c (__strptime_internal): Likewise.
627 * time/sys/time.h (timercmp): Likewise.
628 * time/tzfile.c (__tzfile_compute): Likewise.
630 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
633 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
635 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
637 * argp/argp-help.c (__argp_error_internal): New function,
638 renamed from __argp_error, but that takes a 'mode_flags'
639 parameter to control the format of long double parameters.
640 (__argp_error): Converted into a call __argp_error_internal.
641 (__argp_failure_internal): New function, renamed from
642 __argp_failure, but that takes a 'mode_flags' parameter.
643 (__argp_failure): Converted into a call __argp_failure_internal.
644 * misc/err.c (__vwarnx_internal): New function, renamed from
645 vwarnx, but that takes a 'mode_flags' parameter.
646 (vwarnx): Converted into a call to __vwarnx_internal.
647 (__vwarn_internal): New function, renamed from vwarn, but that
648 takes a 'mode_flags' parameter.
649 (vwarn): Converted into a call to __vwarn_internal.
650 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
651 call to __vfxprintf with 'mode_flags'.
652 (__error_internal): New function, renamed from error, but that
653 takes a 'mode_flags' parameter.
654 (error): Converted into a call to __error_internal.
655 (__error_at_line_internal): New function, renamed from
656 error_at_line, but that takes a 'mode_flags' parameter.
657 (error_at_line): Converted into a call to
658 __error_at_line_internal.
659 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
660 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
663 2019-02-20 Martin Liska <mliska@suse.cz>
665 * math/Makefile: Install math-vector-fortran.h.
666 * bits/math-vector-fortran.h: New file.
667 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
669 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
671 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
672 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
674 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
676 * nptl/pthread_mutex_trylock.c: Fix comment.
678 2019-02-19 Carlos O'Donell <carlos@redhat.com>
680 * nptl/pthread_tryjoin.c: Fix comment.
682 2019-02-18 Joseph Myers <joseph@codesourcery.com>
685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
686 after R_SPARC_H34 case.
688 2019-02-18 Florian Weimer <fweimer@redhat.com>
690 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
691 (getanswer): Do not call Dprintf.
692 (res_gethostbyname2_context): Likewise.
693 (res_gethostbyaddr_context): Likewise.
695 2019-02-18 Florian Weimer <fweimer@redhat.com>
697 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
699 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
701 * libio/stdfiles.c: Update comment.
702 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
703 set _IO_stdin, _IO_stdout, _IO_stderr.
704 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
705 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
707 (_IO_deallocate_file): New inline function.
708 * libio/iolibio.h (_IO_vprintf): Remove definition.
709 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
710 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
711 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
713 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
714 __builtin_expect. Use _IO_legacy_file.
716 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
718 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
719 Initialize ctid with a known value and remove update of ctid
721 (wait_tid): Adjust arguments and call futex_wait with ctid_val
722 as assumed current value of ctid_ptr.
724 2019-02-15 Florian Weimer <fweimer@redhat.com>
726 Check that non-sysdeps headers have wrapper headers.
727 * scripts/check-wrapper-headers.py: New file.
728 * Makefile (tests-special): Add check-wrapper-headers.out.
729 (check-wrapper-headers.out): New target.
730 * Rules (tests-special): Add check-wrapper-headers.out.
731 (check-wrapper-headers.out): New target.
733 2019-02-15 Florian Weimer <fweimer@redhat.com>
735 Add missing header wrappers under include/.
736 * include/ar.h: New file.
737 * include/bits/mqueue2.h: Likewise.
738 * include/bits/stdio.h: Likewise.
739 * include/bits/stdio2.h: Likewise.
740 * include/fstab.h: Likewise.
741 * include/fts.h: Likewise.
742 * include/lastlog.h: Likewise.
743 * include/netinet/icmp6.h: Likewise.
744 * include/netinet/igmp.h: Likewise.
745 * include/netinet/ip6.h: Likewise.
746 * include/re_comp.h: Likewise.
747 * include/regexp.h: Likewise.
748 * include/rpcsvc/bootparam.h: Likewise.
749 * include/rpcsvc/yp_prot.h: Likewise.
750 * include/sys/random.h: Likewise.
751 * include/sys/stropts.h: Likewise.
752 * include/sys/ttychars.h: Likewise.
753 * include/sys/vfs.h: Likewise.
754 * include/wait.h: Likewise.
756 2019-02-15 Florian Weimer <fweimer@redhat.com>
758 * nptl_db/proc_service.h: Move to ...
759 * sysdeps/nptl/proc_service.h: ... here.
760 * nptl_db/thread_db.h: Move to ...
761 * sysdeps/nptl/thread_db.h: ... here.
762 * nptl/descr.h: Include <thread_db.h>.
764 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
766 * io/Makefile (tests): Add tst-lockf.
767 * io/lockf.c (lockf): Use __fcntl and only define for
768 !__OFF_T_MATCHES_OFF64_T.
769 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
770 __OFF_T_MATCHES_OFF64_T case.
771 * io/tst-lockf.c: New file.
772 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
773 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
774 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
775 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
776 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
778 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
779 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
780 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
782 2019-02-15 Florian Weimer <fweimer@redhat.com>
785 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
786 pd->result after the thread descriptor has been freed.
788 2019-02-15 Joseph Myers <joseph@codesourcery.com>
790 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
791 from function return type.
793 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
795 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
797 * scripts/test_printers_common.py: Set TERM to a known harmless
800 2019-02-14 Joseph Myers <joseph@codesourcery.com>
802 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
803 (xdr_u_int): Likewise.
804 (xdr_enum): Likewise.
805 (xdr_bytes): Reword fall-through comment.
806 (xdr_string): Likewise.
808 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
811 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
812 (tests): Add tst-join8 tst-join9.
813 * nptl/lll_timedwait_tid.c: Remove file.
814 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
815 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
816 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
817 * nptl/pthread_join_common.c (timedwait_tid): New function.
818 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
820 * nptl/tst-join5.c (thread_join): New function.
821 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
823 * nptl/tst-join8.c: New file.
824 * nptl/tst-join9.c: Likewise.
825 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
826 lll_futex_timed_wait_cancel): Add generic macros.
827 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
829 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
832 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
834 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
836 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
837 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
838 (lll_futex_timed_wait_cancel): New macro.
840 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
842 * benchtests/Makefile: Add malloc-simple benchmark.
843 * benchtests/bench-malloc-simple.c: New benchmark.
845 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
847 * benchtests/bench-memmove.c (do_one_test): Remove unused
850 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
854 2019-01-13 Jim Wilson <jimw@sifive.com>
857 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
858 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
860 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
862 * nptl/Makefile (tests): Add tst-unwind-thread.
863 (CFLAGS-tst-unwind-thread.c): Define.
864 * nptl/tst-unwind-thread.c: New file.
865 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
868 2019-02-13 Joseph Myers <joseph@codesourcery.com>
870 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
872 * nis/nis_call.c (__do_niscall3): Likewise.
874 * catgets/gencat.c (normalize_line): Use braces around empty
876 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
877 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
878 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
879 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
880 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
881 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
882 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
885 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
888 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
890 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
891 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
892 * benchtests/bench-strchr.c (stupid_strchr): Remove.
893 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
894 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
895 * benchtests/bench-strlen.c (builtin_strlen): Remove.
896 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
897 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
898 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
899 * benchtests/bench-strspn.c (stupid_strspn): Remove.
900 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
901 * benchtests/bench-bcopy.c: Delete file.
902 * benchtests/bench-bzero.c: Likewise.
903 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
904 (simple_memccpy): Remove.
905 (generic_memccpy): Add function.
906 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
907 * benchtests/bench-memmove.c (simple_bcopy): Remove.
908 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
909 (generic_mempcpy): Add new function.
910 * benchtests/bench-memset.c (simple_bzero): Remove.
911 (builtin_bzero): Remove.
912 (builtin_memset): Remove.
913 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
914 (generic_rawmemchr): Add new function.
916 2019-02-12 Florian Weimer <fweimer@redhat.com>
918 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
920 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
923 * elf/Makefile (tests): Add tst-audit13.
924 (modules-names): Add tst-audit13mod1.
925 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
927 * elf/tst-audit13.c: New file.
928 * elf/tst-audit13mod1.c: Likewise.
930 2019-02-12 Florian Weimer <fweimer@redhat.com>
933 * elf/rtld.c (unload_audit_module): New function.
934 (report_audit_module_load_error): Likewise.
935 (load_audit_module): Likewise. Extracted from dl_main. Call
936 _dl_close if the laversion symbol cannot be found. Use early
937 returns for error handling. Add malloc error check. Check for a
938 zero return value from la_version. Remove spurious comment about
939 static TLS initialization. Remove useless casts.
940 (notify_audit_modules_of_loaded_object): New function. Extracted
942 (load_audit_module): Likewise.
943 (dl_main): Call load_audit_modules.
945 2019-02-12 Joseph Myers <joseph@codesourcery.com>
947 * elf/dl-exception.c (_dl_exception_create_format): Add
948 fall-through comments.
949 * elf/ldconfig.c (parse_conf_include): Likewise.
950 * elf/rtld.c (print_statistics): Likewise.
951 * locale/programs/charmap.c (parse_charmap): Likewise.
952 * misc/mntent_r.c (__getmntent_r): Likewise.
953 * posix/wordexp.c (parse_arith): Likewise.
954 (parse_backtick): Likewise.
955 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
956 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
959 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
961 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
962 Use float instead of double.
964 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
966 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
968 2019-02-08 Joseph Myers <joseph@codesourcery.com>
970 * sysdeps/powerpc/bits/mathinline.h: Remove.
972 2019-02-08 Florian Weimer <fweimer@redhat.com>
974 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
975 * math/bits/math-finite.h: Move to ...
976 * bits/math-finite.h: ... here.
978 2019-02-08 Florian Weimer <fweimer@redhat.com>
980 * sysdeps/generic/bits/unistd_ext.h: Move to ...
981 * bits/unistd_ext.h: here.
983 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
986 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
987 * nss/tst-nss-files-hosts-long.c: New file.
988 * nss/tst-nss-files-hosts-long.root: New directory.
989 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
990 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
992 2019-02-08 Florian Weimer <fweimer@redhat.com>
994 * include/bits/unistd_ext.h: Remove file.
995 * posix/bits/unistd_ext.h: Move to ...
996 * sysdeps/generic/bits/unistd_ext.h: ... here.
998 2019-02-08 Florian Weimer <fweimer@redhat.com>
1000 * include/bits/unistd_ext.h: New file.
1002 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1004 * time/tst-strftime2.c: Use array_length macros instead of magic
1007 2019-02-08 Florian Weimer <fweimer@redhat.com>
1010 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1012 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1013 locking if the new do_locking argument is true.
1014 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1015 __run_fork_handlers.
1017 2019-02-08 Florian Weimer <fweimer@redhat.com>
1020 Linux: Add gettid system call wrapper.
1021 * posix/Makefile (headers): Add bits/unistd_ext.h.
1022 * posix/bits/unistd_ext.h: New file.
1023 * posix/unistd.h: Include it.
1024 * manual/process.texi (Process Identification): Document gettid.
1025 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1026 tst-gettid, tst-gettid-kill.
1027 (tst-gettid): Link with $(shared-thread-library).
1028 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1029 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1030 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1031 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1032 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1035 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1037 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1038 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1040 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1042 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1044 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1046 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1048 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1050 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1052 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1053 (GLIBC_2.30): Likewise.
1054 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1055 (GLIBC_2.30): Likewise.
1056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1057 (GLIBC_2.30): Likewise.
1058 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1059 (GLIBC_2.30): Likewise.
1060 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1063 (GLIBC_2.30): Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1065 (GLIBC_2.30): Likewise.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1067 (GLIBC_2.30): Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1069 (GLIBC_2.30): Likewise.
1070 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1072 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1076 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1085 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1087 2019-02-07 Florian Weimer <fweimer@redhat.com>
1089 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1090 compatibility symbols.
1092 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1095 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1096 Add compiler barriers and comments.
1098 2019-02-07 Florian Weimer <fweimer@redhat.com>
1100 * include/array_length.h (array_length): Do not use a statement
1101 expression and _Static_assert, so that array_length can be used at
1102 file scope and as a constant expression.
1104 2019-02-07 Florian Weimer <fweimer@redhat.com>
1106 * support/xdlfcn.h (xdlmopen): Declare.
1107 * support/xdlmopen.c: New file.
1108 * support/Makefile (libsupport-routines): Add xdlmopen.
1110 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1112 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1113 before return type, without separate inline.
1114 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1115 * elf/dl-tunables.h (tunable_is_name): Likewise.
1116 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1117 (do_set_top_pad): Likewise.
1118 (do_set_mmap_threshold): Likewise.
1119 (do_set_mmaps_max): Likewise.
1120 (do_set_mallopt_check): Likewise.
1121 (do_set_perturb_byte): Likewise.
1122 (do_set_arena_test): Likewise.
1123 (do_set_arena_max): Likewise.
1124 (do_set_tcache_max): Likewise.
1125 (do_set_tcache_count): Likewise.
1126 (do_set_tcache_unsorted_limit): Likewise.
1127 * nis/nis_subr.c (count_dots): Likewise.
1128 * nptl/allocatestack.c (advise_stack_range): Likewise.
1129 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1131 (reduce_sincos): Likewise.
1132 (do_sincos): Likewise.
1133 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1134 (do_set_elision_enable): Likewise.
1135 (TUNABLE_CALLBACK_FNDECL): Likewise.
1137 2019-02-06 Florian Weimer <fweimer@redhat.com>
1139 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1140 (xdlsym): Use dlerror to detect a NULL symbol.
1142 2019-02-06 Florian Weimer <fweimer@redhat.com>
1144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1148 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1150 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1152 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1154 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1155 __wmemcmp and weak alias to wmemcmp.
1157 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1160 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1161 TLS_TCB_AT_TP tls variant.
1162 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1163 Add alignment checks.
1164 * support/Makefile (libsupport-routines): Add xposix_memalign and
1166 * support/support.h: Add xposix_memalign.
1167 * support/xthread.h: Add xpthread_attr_setstack.
1168 * support/xposix_memalign.c: New File.
1169 * support/xpthread_attr_setstack.c: Likewise.
1171 2019-02-05 Florian Weimer <fweimer@redhat.com>
1174 arm: Use "nr" constraint for Systemtap probes, to avoid the
1175 compiler using memory operands for constants, due to the "o"
1176 alternative in the default "nor" constraint.
1177 * include/stap-probe.h [USE_STAP_PROBE]: Include
1178 <stap-probe-machine.h>
1179 * sysdeps/generic/stap-probe-machine.h: New file.
1180 * sysdeps/arm/stap-probe-machine.h: Likewise.
1182 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1184 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1185 with 0, not tcache->entries[tc_idx].
1187 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1190 2019-02-04 Andreas Schwab <schwab@suse.de>
1194 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1195 looking up collating elements match against (wide) character
1196 sequence instead of name. Correct alignment adjustment.
1197 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1198 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1199 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1200 (LOCALES): Add cs_CZ.ISO-8859-2.
1201 * posix/tst-fnmatch4.c: New file.
1202 * posix/tst-fnmatch5.c: New file.
1203 * include/wchar.h (__wmemcmp): Declare.
1204 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1205 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1206 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1207 * sysdeps/s390/wmemcmp.c: Likewise.
1209 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1213 * NEWS: Updated for CVE-2019-7309.
1214 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1215 upper 32 bits of RDX register for x32. Use unsigned Jcc
1216 instructions, instead of signed.
1217 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1218 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1220 2019-02-04 Florian Weimer <fweimer@redhat.com>
1222 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1223 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1224 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1226 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1227 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1228 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1229 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1231 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1233 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1235 (posix_spawn_file_actions_addopen): Likewise.
1236 (posix_spawn_file_actions_addclose): Likewise.
1237 (posix_spawn_file_actions_adddup2): Likewise.
1238 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1240 (posix_spawn_file_actions_addfchdir_np): Likewise.
1242 2019-02-04 David Newall <glibc@davidnewall.com>
1244 elf: Implement --preload option for the dynamic linker.
1245 * elf/rtld.c (preloadarg): New variable.
1246 (handle_preload_list): Pass through “where” argument to
1248 (dl_main): Handle "--preload" and add second call to
1249 handle_preload_list.
1250 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1251 (tst-rtld-preload-OBJS): Set variable.
1252 (tst-rtld-preload.out): New target.
1253 * elf/tst-rtld-preload.sh: New file.
1255 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1257 * Makefile (testrun.sh): Exit in case of incorrect argument.
1259 2019-02-04 Florian Weimer <fweimer@redhat.com>
1261 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1264 2019-02-03 Florian Weimer <fweimer@redhat.com>
1266 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1267 implicit overflow checks.
1269 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1271 * stdlib/isomac.c: Include <unistd.h>.
1273 2019-02-03 Florian Weimer <fweimer@redhat.com>
1275 * include/time.h (__tzfile_default): Use int, not long int, for
1277 * time/tzfile.c (struct ttinfo): Change type of the offset member
1279 (__tzfile_read): Remove useless cast.
1280 (__tzfile_default): Adjust prototype.
1281 * time/tzset.c (tz_rule): Change type of the offset member to int.
1282 (parse_offset): Change the type of the sign variable to int.
1284 2019-02-03 Florian Weimer <fweimer@redhat.com>
1287 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1288 * libio/getchar.c (getchar): Likewise.
1289 * libio/getchar_u.c (getchar_unlocked): Likewise.
1290 * libio/getwchar.c (getwchar): Likewise.
1291 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1292 * libio/iogets.c (_IO_gets): Likewise.
1293 * libio/vscanf.c (_IO_vscanf): Likewise.
1294 * libio/vwscanf.c (__vwscanf): Likewise.
1295 * libio/tst-bz24153.c: New file.
1296 * libio/Makefile (tests): Add it.
1298 2019-02-02 Florian Weimer <fweimer@redhat.com>
1301 * manual/resource.texi (Basic Scheduling Functions): Add
1302 portability note. Change process to task throughout the section.
1303 Remove incorrect comment about sched_yield as it affects
1304 tasks/threads, not entire processes.
1305 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1306 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1308 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1310 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1311 * configure: Regenerated.
1312 * manual/install.texi (Tools for Compilation): Update minimum GCC
1314 * INSTALL: Regenerated.
1316 2019-02-01 Florian Weimer <fweimer@redhat.com>
1318 * support/support_test_compare_string.c
1319 (support_test_compare_string): Use "string" in error message.
1320 * support/tst-test_compare_string.c (do_test): Adjust.
1322 2019-02-01 Florian Weimer <fweimer@redhat.com>
1324 * support/support_format_address_family.c
1325 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1327 2019-02-01 Florian Weimer <fweimer@redhat.com>
1329 * manual/socket.texi (Internet Address Formats): Clarify the byte
1330 order of struct sockaddr_in, struct sockaddr_in6. Document
1331 sin6_flowinfo and sin6_scope_id.
1333 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1335 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1336 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1337 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1338 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1339 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1340 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1342 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1344 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1345 [!MEMCHR](MEMCHR): Set to __memchr.
1346 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1347 Add memchr_generic and memchr_nosimd.
1348 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1349 (__libc_ifunc_impl_list): Add memchr ifuncs.
1350 * sysdeps/aarch64/multiarch/memchr.c: New file.
1351 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1352 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1354 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1356 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1358 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1359 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1360 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1361 Add IS_EMAG check for ifunc dispatch.
1362 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1363 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1365 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1367 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1368 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1373 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1375 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1377 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1379 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1380 syscall-template file.
1382 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1383 Torvald Riegel <triegel@redhat.com>
1384 Rik Prohaska <prohaska7@gmail.com>
1387 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1388 tst-rwlock-trywrlock-stall.
1389 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1390 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1391 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1392 Set __wrphase_fute to 1 only if we started the write phase.
1393 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1394 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1395 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1396 * support/xpthread_rwlock_destroy.c: New file.
1397 * support/xthread.h: Declare xpthread_rwlock_destroy.
1399 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1401 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1404 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1407 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1408 * libio/fileops.c (_IO_new_file_underflow): Likewise
1409 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1410 * libio/putchar.c (putchar): Likewise.
1411 * libio/putchar_u.c (putchar_unlocked): Likewise.
1412 * libio/putwchar.c (putchar): Likewise.
1413 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1414 * libio/tst-bz24051.c: New test.
1415 * libio/Makefile (tests): Add tst-bz24051
1417 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1419 regex: fix read overrun [BZ #24114]
1420 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1421 https://debbugs.gnu.org/34140
1422 * posix/regexec.c (proceed_next_node):
1423 Do not read past end of input buffer.
1425 2019-01-31 Florian Weimer <fweimer@redhat.com>
1428 * nss/nss_files/files-alias.c (get_next_alias): Handle
1429 continuation line without newline at the end.
1430 * nss/tst-nss-files-alias-truncated.c: New file.
1431 * nss/Makefile [$(build-shared)] (tests): Add
1432 tst-nss-files-alias-truncated.
1433 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1434 * support/namespace.h (struct support_chroot_configuration): Add
1436 (struct support_chroot): Add path_aliases member.
1437 * support/support_chroot.c (support_chroot_create): Handle
1439 (support_chroot_free): Free path_aliases.
1441 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1443 * version.h (RELEASE): Set to "development".
1444 (VERSION): Set to "2.29.9000".
1445 * NEWS: Add section for 2.30.
1447 * version.h (RELEASE): Set to "stable".
1448 (VERSION): Set to "2.29".
1449 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1451 * NEWS: Add the list of bugs fixed in 2.29.
1452 * manual/contrib.texi: Update contributors list with some more
1454 * manual/install.texi: Update latest versions of packages
1456 * INSTALL: Regenerated.
1458 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1460 * po/be.po: Update translations.
1461 * po/bg.po: Likewise.
1462 * po/ca.po: Likewise.
1463 * po/cs.po: Likewise.
1464 * po/da.po: Likewise.
1465 * po/de.po: Likewise.
1466 * po/el.po: Likewise.
1467 * po/eo.po: Likewise.
1468 * po/es.po: Likewise.
1469 * po/fi.po: Likewise.
1470 * po/fr.po: Likewise.
1471 * po/gl.po: Likewise.
1472 * po/hr.po: Likewise.
1473 * po/hu.po: Likewise.
1474 * po/ia.po: Likewise.
1475 * po/id.po: Likewise.
1476 * po/it.po: Likewise.
1477 * po/ja.po: Likewise.
1478 * po/ko.po: Likewise.
1479 * po/lt.po: Likewise.
1480 * po/nb.po: Likewise.
1481 * po/nl.po: Likewise.
1482 * po/pl.po: Likewise.
1483 * po/pt_BR.po: Likewise.
1484 * po/ru.po: Likewise.
1485 * po/rw.po: Likewise.
1486 * po/sk.po: Likewise.
1487 * po/sl.po: Likewise.
1488 * po/sv.po: Likewise.
1489 * po/tr.po: Likewise.
1490 * po/uk.po: Likewise.
1491 * po/vi.po: Likewise.
1492 * po/zh_CN.po: Likewise.
1493 * po/zh_TW.po: Likewise.
1495 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1498 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1499 of $f3 register on $y_is_neg path.
1501 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1504 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1505 sigaltstack.ss_flags.
1507 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1510 * manual/time.texi (strftime): Document "%Ey".
1511 * time/strftime_l.c (__strftime_internal): Set the default width
1512 padding with zero of "%Ey" to 2.
1515 * manual/time.texi (strftime): Document "%EC" and "%EY".
1516 * time/Makefile (tests): Add tst-strftime2.
1517 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1518 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1519 override padding for "%Ey".
1520 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1521 "%Ey" in the subformat as if decorated with that flag.
1522 * time/tst-strftime2.c: New file.
1524 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1526 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1530 * elf/Makefile (tests): Add tst-audit13.
1531 (modules-names): Add tst-audit13mod1.
1532 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1534 * elf/rtld.c (dl_main): Handle invalid audit module version.
1535 * elf/tst-audit13.c: New file.
1536 * elf/tst-audit13mod1.c: Likewise.
1538 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1540 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1541 returned by __hurd_at_flags.
1542 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1543 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1544 directly instead of __hurd_file_name_lookup.
1546 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1548 * scripts/build-many-glibcs.py (Context.checkout): Default
1549 binutils version to 2.32 branch.
1551 2019-01-21 Florian Weimer <fweimer@redhat.com>
1555 resolv: Reject trailing characters in host names
1556 * include/arpa/inet.h (__inet_aton_exact): Declare.
1557 (inet_aton): Remove hidden prototype. No longer used internally.
1558 * nscd/gai.c (__inet_aton): Do not define.
1559 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1560 * nss/digits_dots.c (__inet_aton): Likewise.
1561 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1562 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1563 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1564 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1565 (tst-resolv-trailing): Likewise.
1566 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1568 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1569 Make static. Add endp parameter.
1570 (__inet_aton_exact): New function.
1571 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1572 (__inet_addr): Call inet_aton_end.
1573 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1574 not just IPv6. Call __inet_aton_exact.
1575 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1576 (tests): Make const. Add additional test cases with trailing
1578 (do_test): Use array_length.
1579 * resolv/tst-inet_aton_exact.c: New file.
1580 * resolv/tst-resolv-trailing.c: Likewise.
1581 * resolv/tst-resolv-nondecimal.c: Likewise.
1582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1584 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1588 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1589 Clear the upper 32 bits of RSI register.
1590 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1591 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1592 and tst-size_t-wcsnlen.
1593 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1594 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1596 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1600 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1603 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1604 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1606 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1610 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1612 * sysdeps/x86_64/strcmp.S: Likewise.
1613 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1614 tst-size_t-strncmp and tst-size_t-wcsncmp.
1615 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1616 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1617 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1619 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1623 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1624 RDX_LP for length. Clear the upper 32 bits of RDX register.
1625 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1626 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1627 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1628 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1630 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1634 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1635 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1636 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1637 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1639 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1643 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1644 length. Clear the upper 32 bits of RDX register.
1645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1646 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1648 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1650 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1652 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1654 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1658 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1659 length. Clear the upper 32 bits of RDX register.
1660 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1661 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1662 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1664 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1665 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1667 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1671 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1672 upper 32 bits of RDX register.
1673 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1674 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1676 * sysdeps/x86_64/x32/test-size_t.h: New file.
1677 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1678 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1680 2019-01-18 Florian Weimer <fweimer@redhat.com>
1683 resolv: Do not send queries for non-host-names in nss_dns.
1684 * resolv/nss_dns/dns-host.c (check_name): New function.
1685 (_nss_dns_gethostbyname2_r): Use it.
1686 (_nss_dns_gethostbyname_r): Likewise.
1687 (_nss_dns_gethostbyname4_r): Likewise.
1689 2019-01-21 Florian Weimer <fweimer@redhat.com>
1691 * resolv/inet_addr.c: Reformat to GNU style.
1692 (__inet_addr, __inet_aton): Update comment.
1694 2019-01-18 Florian Weimer <fweimer@redhat.com>
1696 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1697 ("malloc: Use current (C11-style) atomics for fastbin access").
1698 This commit introduces a substantial performance regression on
1700 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1701 (REMOVE_FB): Define.
1702 (_int_malloc): Use it and reindent.
1703 (_int_free): Use CAS loop with
1704 catomic_compare_and_exchange_val_rel.
1705 (malloc_consolidate): Use atomic_exchange_acq.
1708 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1710 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1712 (LDFLAGS-tst-minsigstksz-2): Likewise.
1713 (LDFLAGS-tst-minsigstksz-3): Likewise.
1714 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1715 (LDFLAGS-tst-minsigstksz-4): Likewise.
1717 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1719 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1722 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1724 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1726 2019-01-16 Zack Weinberg <zackw@panix.com>
1728 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1729 (xget_sigstack_location): New test support functions.
1730 * support/xsigstack.c: New file, implementing them.
1731 * support/tst-xsigstack.c: New test for them.
1732 * support/Makefile: Update.
1734 * signal/tst-minsigstksz-1.c
1735 * signal/tst-minsigstksz-2.c
1736 * signal/tst-minsigstksz-3.c
1737 * signal/tst-minsigstksz-3a.c
1738 * signal/tst-minsigstksz-4.c: New tests.
1739 * signal/Makefile: Run them.
1741 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1743 * po/libc.pot: Regenerate.
1745 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1747 * math/libm-test-fma.inc (fma_test_data): Set
1748 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1750 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1752 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1753 (do_test): Changed __vector __int128_t to __vector unsigned int.
1755 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1758 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1759 stpcpy-avx2 and stpncpy-avx2.
1760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1761 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1762 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1764 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1765 ifunc-strcpy.h}: rename header for a more generic name.
1766 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1767 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1768 AVX unaligned load is fast and vzeroupper is preferred.
1769 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1770 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1771 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1772 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1773 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1774 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1776 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1778 * argp/argp-help.c: Fix typo in comment.
1779 * misc/sys/cdefs.h: Likewise.
1780 * posix/regexec.c (sift_states_iter_mb): Likewise.
1781 * socket/sockatmark.c: Likewise.
1782 * socket/sys/socket.h: Likewise.
1783 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1784 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1785 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1787 * sysdeps/unix/sockatmark.c: Likewise.
1788 * time/strptime_l.c: Likewise.
1790 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1792 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1793 missing space after the cast of "_NL_CURRENT".
1795 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1797 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1798 ifdef to fix read of VSCR.
1799 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1800 tst-ucontext-ppc64-vscr.c to test list.
1801 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1803 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1805 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1808 2019-01-09 Jim Wilson <jimw@sifive.com>
1810 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1812 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1814 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1815 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1816 __memcpy_falkor for ares.
1817 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1819 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1822 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1825 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1826 4_FP_W_TYPEs are used for IEEE quad precision.
1827 * soft-fp/extendhftf2.c: Likewise.
1828 * soft-fp/extendsftf2.c: Likewise.
1829 * soft-fp/extendxftf2.c: Likewise.
1830 * soft-fp/trunctfdf2.c: Likewise.
1831 * soft-fp/trunctfhf2.c: Likewise.
1832 * soft-fp/trunctfsf2.c: Likewise.
1833 * soft-fp/trunctfxf2.c: Likewise.
1834 * sysdeps/alpha/ots_cvttx.c: Likewise.
1835 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1836 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1837 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1838 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1839 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1840 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1841 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1842 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1843 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1844 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1845 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1846 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1847 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1848 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1849 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1850 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1851 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1853 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1856 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1857 code with -fmath-errno.
1858 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1859 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1860 * string/test-strerror-errno.c: New file.
1862 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1865 * localedata/locales/en_US (date_fmt): Add, set to
1866 "%a %d %b %Y %r %Z".
1868 2019-01-07 Florian Weimer <fweimer@redhat.com>
1871 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1872 instead of @var{errno}.
1873 (Parsing of Integers): Likewise.
1874 (Parsing of Floats): Likewise.
1875 * manual/filesys.texi (Working with Directory Trees): Likewise.
1876 (Temporary Files): Likewise.
1877 * manual/job.texi (Terminal Access Functions): Likewise.
1878 * manual/llio.texi (Synchronizing I/O): Likewise.
1879 * manual/math.texi (SVID Random): Likewise.
1880 * manual/message.texi (The catgets Functions): Likewise.
1881 (Translation with gettext): Likewise.
1882 (Locating gettext catalog): Likewise.
1883 (Charset conversion in gettext): Likewise.
1884 * manual/nss.texi (NSS Module Function Internals): Likewise.
1885 * manual/search.texi (Hash Search Function): Likewise.
1886 * manual/setjmp.texi (System V contexts): Likewise.
1887 * manual/time.texi (Sleeping): Likewise.
1888 * manual/users.texi (Lookup User): Likewise.
1889 (Lookup Group): Likewise.
1891 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1893 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1896 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1899 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1900 __builtin_unreachable for default case in switch.
1901 (__ieee754_yn): Likewise.
1902 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1903 (__ieee754_ynl): Likewise.
1904 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1905 (__ieee754_ynl): Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1907 (__ieee754_ynl): Likewise.
1909 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1911 * manual/maint.texi: Use @{ and @}.
1913 2019-01-04 Florian Weimer <fweimer@redhat.com>
1915 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1917 (do_in_chroot_1): Call it.
1919 Improve error reporting in case it is not possible to create a
1920 collision for the PTY name required by the test.
1922 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1924 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1925 lll_wait_tid with timeout.
1926 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1927 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1928 futex_reltimed_wait_cancelable for cancelabla mode.
1929 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1930 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1932 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1933 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1934 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1935 SYSCALL_CANCEL_NCS): New macro.
1936 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1937 (lll_timedwait_tid): Remove macro.
1938 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1940 (lll_timedwait_tid): Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1943 (lll_timedwait_tid): Likewise.
1944 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1946 (lll_timedwait_tid): Likewise.
1947 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1948 Use INTERNAL_SYSCALL_CANCEL.
1949 * sysdeps/unix/sysv/linux/futex-internal.h
1950 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1951 instead of __pthread_{enable,disable}_asynccancel.
1952 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1953 (lll_futex_wait_cancel): New macro.
1955 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1956 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1958 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1959 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1961 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1962 in backtrace analysis.
1963 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1965 (tf_send): Likewise.
1967 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1968 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1969 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1970 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1971 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1972 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1973 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1974 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1975 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1976 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1977 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1978 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1980 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1981 tst-cancel-wrappers.sh.
1982 (generated): Remove tst-cancel-wrappers.out.
1983 (tst-cancel-wrappers.out): Remove rule.
1984 * nptl/tst-cancel-wrappers.sh: Remove file.
1986 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1988 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1989 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1992 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1995 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1996 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1997 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1998 close-on-exec reset for adddup2 file action.
1999 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2001 2019-01-03 Zack Weinberg <zackw@panix.com>
2003 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2004 parameter. Only use deprecated scanf when __USE_GNU is defined
2005 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2006 than 201103L, whichever is relevant for the language being compiled.
2008 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2009 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2010 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2011 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2012 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2016 * libio/iovswscanf.c
2021 * stdio-common/fscanf.c
2022 * stdio-common/scanf.c
2023 * stdio-common/vfscanf.c
2024 * stdio-common/vfwscanf.c
2025 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2026 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2027 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2028 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2029 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2030 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2031 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2032 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2033 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2034 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2035 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2036 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2037 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2038 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2039 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2041 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2042 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2043 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2045 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2046 with a preprocessor macro.
2048 * stdio-common/bug21.c, stdio-common/scanf14.c:
2049 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2050 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2051 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2052 to xscanf, xfscanf, xsscanf.
2054 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2055 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2056 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2057 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2059 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2060 override feature selection macros or provide definitions of u_char etc.
2061 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2062 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2063 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2066 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2069 bits/termios-misc.h.
2070 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2071 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2074 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2075 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2077 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2078 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2079 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2080 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2081 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2082 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2084 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2085 (sysdep_headers): Add termios-misc.h.
2087 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2088 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2089 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2093 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2094 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2095 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2096 TCSAFLUSH): Move to termios-tcflow.h.
2097 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2098 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2104 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2105 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2106 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2108 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2109 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2110 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2111 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2113 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2114 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2115 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2116 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2120 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2121 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2123 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2124 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2126 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2127 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2128 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2134 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2135 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2136 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2138 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2139 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2140 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2141 __MAX_BAUD): Move to termios-baud.h.
2142 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2143 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2144 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2148 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2150 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2151 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2154 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2155 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2157 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2158 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2160 [USE_MISC] (XTABS): Likewise.
2161 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2162 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2163 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2166 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2168 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2169 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2170 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2171 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2172 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2173 IUTF8): Move to termios-c_iflag.h.
2174 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2175 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2179 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2181 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2182 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2183 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2184 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2185 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2186 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2187 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2188 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2189 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2190 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2194 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2195 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2196 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2197 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2200 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2202 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2204 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2210 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2211 _HAVE_C_OSPEED): Define.
2212 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2213 _HAVE_C_OSPEED): Likewise.
2214 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2215 _HAVE_C_OSPEED): Likewise.
2216 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2217 (cfsetospeed): Check for define value instead of existence.
2218 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2219 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2220 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2221 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2222 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2225 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2228 (TIOCSER_TEMT): Likewise.
2229 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2230 (TEOCSER_TEMT): Likewise.
2232 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2235 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2237 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2239 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2241 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2243 * sysdeps/htl/pt-barrierattr-setpshared.c
2244 (pthread_barrierattr_setpshared): Add stub warning.
2245 * sysdeps/htl/pt-condattr-setpshared.c
2246 (pthread_condattr_setpshared): Likewise.
2247 * sysdeps/htl/pt-mutexattr-setpshared.c
2248 (pthread_mutexattr_setpshared): Likewise.
2249 * sysdeps/htl/pt-rwlockattr-setpshared.c
2250 (pthread_rwlockattr_setpshared): Likewise.
2251 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2252 (pthread_mutexattr_setpshared): Likewise.
2254 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2256 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2257 constants to match with Linux 4.20.
2259 * sysdeps/mips/mips32/libm-test-ulps: Update.
2260 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2262 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2265 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2266 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2267 than __typeof (...) for the a_ptr variable.
2269 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2271 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2272 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2273 * libio/Makefile (tests): Add tst-sprintf-ub and
2275 (CFLAGS-tst-sprintf-ub.c): New variable.
2276 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2277 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2278 destination buffer and check for overflows in fortified mode.
2279 * libio/libioP.h (PRINTF_CHK): New macro.
2280 * libio/tst-sprintf-chk-ub.c: New file.
2281 * libio/tst-sprintf-ub.c: Likewise.
2283 2019-01-02 Florian Weimer <fweimer@redhat.com>
2286 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2289 2019-01-02 Florian Weimer <fweimer@redhat.com>
2291 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2293 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2295 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2298 * sysdeps/unix/sysv/linux/netpacket/packet.h
2299 (PACKET_IGNORE_OUTGOING): New macro.
2301 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2306 (riscv_flush_icache): New syscall.
2308 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2309 trailing whitespace removed.
2310 * scripts/config.guess: Update to version 2019-01-01.
2311 * scripts/config.sub: Update to version 2019-01-01.
2312 * scripts/move-if-change: Update from gnulib.
2314 * NEWS: Update copyright dates.
2315 * catgets/gencat.c (print_version): Likewise.
2316 * csu/version.c (banner): Likewise.
2317 * debug/catchsegv.sh: Likewise.
2318 * debug/pcprofiledump.c (print_version): Likewise.
2319 * debug/xtrace.sh (do_version): Likewise.
2320 * elf/ldconfig.c (print_version): Likewise.
2321 * elf/ldd.bash.in: Likewise.
2322 * elf/pldd.c (print_version): Likewise.
2323 * elf/sotruss.sh: Likewise.
2324 * elf/sprof.c (print_version): Likewise.
2325 * iconv/iconv_prog.c (print_version): Likewise.
2326 * iconv/iconvconfig.c (print_version): Likewise.
2327 * locale/programs/locale.c (print_version): Likewise.
2328 * locale/programs/localedef.c (print_version): Likewise.
2329 * login/programs/pt_chown.c (print_version): Likewise.
2330 * malloc/memusage.sh (do_version): Likewise.
2331 * malloc/memusagestat.c (print_version): Likewise.
2332 * malloc/mtrace.pl: Likewise.
2333 * manual/libc.texinfo: Likewise.
2334 * nptl/version.c (banner): Likewise.
2335 * nscd/nscd.c (print_version): Likewise.
2336 * nss/getent.c (print_version): Likewise.
2337 * nss/makedb.c (print_version): Likewise.
2338 * posix/getconf.c (main): Likewise.
2339 * scripts/test-installation.pl: Likewise.
2340 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2342 * All files with FSF copyright notices: Update copyright dates
2343 using scripts/update-copyrights.
2344 * locale/programs/charmap-kw.h: Regenerated.
2345 * locale/programs/locfile-kw.h: Likewise.
2347 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2349 * timezone/zdump.c: Update from tzcode 2018i.
2350 * timezone/zic.c: Likewise.
2352 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2354 regex: improve Gnulib port to AIX
2355 From the glibc point of view, this removes duplicate macro
2356 definitions and is obviously safe.
2357 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2358 * posix/regex_internal.h:
2359 (__attribute__, __attribute_warn_unused_result__):
2360 Remove; already defined elsewhere.
2362 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2365 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2366 copying operation. (ncopies had the wrong type, resulting in an
2367 integer wraparound and too few elements being copied.)
2369 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2372 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2373 <asm/syscalls.h> exists with __has_include__ before including it.
2375 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2377 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2380 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2382 * hurd/lookup-retry: Include <unistd.h>.
2383 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2384 Release it on return. Handle "pid" magical lookup retry.
2386 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2389 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2390 (t_fmt_ampm): Likewise.
2391 * localedata/locales/aa_ER (t_fmt): Likewise.
2392 (t_fmt_ampm): Likewise.
2393 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2394 (t_fmt_ampm): Likewise.
2395 * localedata/locales/aa_ET (t_fmt): Likewise.
2396 (t_fmt_ampm): Likewise.
2397 * localedata/locales/am_ET (t_fmt): Likewise.
2398 (t_fmt_ampm): Likewise.
2399 * localedata/locales/byn_ER (t_fmt): Likewise.
2400 (t_fmt_ampm): Likewise.
2401 * localedata/locales/om_ET (t_fmt): Likewise.
2402 (t_fmt_ampm): Likewise.
2403 * localedata/locales/sid_ET (t_fmt): Likewise.
2404 (t_fmt_ampm): Likewise.
2405 * localedata/locales/so_DJ (t_fmt): Likewise.
2406 (t_fmt_ampm): Likewise.
2407 * localedata/locales/so_ET (t_fmt): Likewise.
2408 (t_fmt_ampm): Likewise.
2409 * localedata/locales/so_SO (t_fmt): Likewise.
2410 (t_fmt_ampm): Likewise.
2411 * localedata/locales/ti_ER (t_fmt): Likewise.
2412 (t_fmt_ampm): Likewise.
2413 * localedata/locales/ti_ET (t_fmt): Likewise.
2414 (t_fmt_ampm): Likewise.
2415 * localedata/locales/tig_ER (t_fmt): Likewise.
2416 (t_fmt_ampm): Likewise.
2417 * localedata/locales/wal_ET (t_fmt): Likewise.
2418 (t_fmt_ampm): Likewise.
2420 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2421 * localedata/locales/ar_IN (t_fmt): Likewise.
2422 * localedata/locales/bhb_IN (t_fmt): Likewise.
2423 * localedata/locales/bho_IN (t_fmt): Likewise.
2424 * localedata/locales/bi_VU (t_fmt): Likewise.
2425 * localedata/locales/bn_BD (t_fmt): Likewise.
2426 * localedata/locales/bn_IN (t_fmt): Likewise.
2427 * localedata/locales/brx_IN (t_fmt): Likewise.
2428 * localedata/locales/doi_IN (t_fmt): Likewise.
2429 * localedata/locales/en_HK (t_fmt): Likewise.
2430 (t_fmt_ampm): Likewise.
2431 * localedata/locales/en_IN (t_fmt): Likewise.
2432 * localedata/locales/en_PH (t_fmt): Likewise.
2433 * localedata/locales/gu_IN (t_fmt): Likewise.
2434 * localedata/locales/hi_IN (t_fmt): Likewise.
2435 * localedata/locales/hif_FJ (t_fmt): Likewise.
2436 * localedata/locales/hne_IN (t_fmt): Likewise.
2437 * localedata/locales/kn_IN (t_fmt): Likewise.
2438 * localedata/locales/kok_IN (t_fmt): Likewise.
2439 * localedata/locales/ks_IN (t_fmt): Likewise.
2440 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2441 * localedata/locales/mag_IN (t_fmt): Likewise.
2442 * localedata/locales/mai_IN (t_fmt): Likewise.
2443 * localedata/locales/mjw_IN (t_fmt): Likewise.
2444 * localedata/locales/ml_IN (t_fmt): Likewise.
2445 * localedata/locales/mni_IN (t_fmt): Likewise.
2446 * localedata/locales/mr_IN (t_fmt): Likewise.
2447 * localedata/locales/ms_MY (t_fmt): Likewise.
2448 * localedata/locales/pa_IN (t_fmt): Likewise.
2449 * localedata/locales/raj_IN (t_fmt): Likewise.
2450 * localedata/locales/sa_IN (t_fmt): Likewise.
2451 * localedata/locales/sat_IN (t_fmt): Likewise.
2452 * localedata/locales/sd_IN (t_fmt): Likewise.
2453 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2454 * localedata/locales/tcy_IN (t_fmt): Likewise.
2455 * localedata/locales/the_NP (t_fmt): Likewise.
2456 * localedata/locales/to_TO (t_fmt): Likewise.
2457 * localedata/locales/ur_IN (t_fmt): Likewise.
2459 * localedata/locales/hif_FJ (d_t_fmt): Set to
2460 "%A %d %b %Y %I:%M:%S %p".
2461 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2463 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2464 * localedata/locales/ar_BH (t_fmt): Likewise.
2465 * localedata/locales/ar_DZ (t_fmt): Likewise.
2466 * localedata/locales/ar_EG (t_fmt): Likewise.
2467 * localedata/locales/ar_IQ (t_fmt): Likewise.
2468 * localedata/locales/ar_JO (t_fmt): Likewise.
2469 * localedata/locales/ar_KW (t_fmt): Likewise.
2470 * localedata/locales/ar_LB (t_fmt): Likewise.
2471 * localedata/locales/ar_LY (t_fmt): Likewise.
2472 * localedata/locales/ar_OM (t_fmt): Likewise.
2473 * localedata/locales/ar_QA (t_fmt): Likewise.
2474 * localedata/locales/ar_SD (t_fmt): Likewise.
2475 * localedata/locales/ar_SS (t_fmt): Likewise.
2476 * localedata/locales/ar_SY (t_fmt): Likewise.
2477 * localedata/locales/ar_TN (t_fmt): Likewise.
2478 * localedata/locales/ar_YE (t_fmt): Likewise.
2480 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2481 (t_fmt_ampm): Likewise.
2482 * localedata/locales/gez_ET (t_fmt): Likewise.
2483 (t_fmt_ampm): Likewise.
2485 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2486 (t_fmt_ampm): Likewise.
2487 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2489 * localedata/locales/zh_HK (t_fmt):
2490 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2492 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2493 because this locale does not use the 12-hour clock.
2494 (t_fmt): Set to "%Z %H:%M:%S".
2495 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2497 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2498 because this locale does not use the 12-hour clock.
2499 (t_fmt): Set to "%H:%M:%S %Z".
2500 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2502 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2503 because this locale does not use the 12-hour clock.
2504 (t_fmt): Set to "%T".
2505 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2506 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2508 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2509 because this locale does not use the 12-hour clock.
2510 (t_fmt): Set to "%H:%M:%S %Z".
2511 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2513 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2514 because this locale does not use the 12-hour clock.
2515 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2516 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2518 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2522 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2523 (t_fmt_ampm): Likewise.
2524 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2525 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2526 (d_fmt): Set to "%-d.%-m.%y".
2528 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2530 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2531 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2532 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2534 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2535 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2536 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2538 * support/blob_repeat.c (check_mul_overflow_size_t,
2539 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2541 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2543 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2545 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2547 regex: simplify Gnulib port
2548 This simplifies the code, by removing stuff intended for porting
2549 to Gnulib but no longer needed there.
2550 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2551 uses of libc_hidden_def, weak_alias.
2552 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2553 _Restrict_ except for public-facing headers.
2554 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2555 Remove; already defined elsewhere.
2556 * posix/regex.c, posix/regex_internal.h:
2557 Use __GNUC_PREREQ instead of rolling our own.
2558 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2560 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2562 * benchtests/bench-strlen.c (generic_strlen): New function.
2563 (memchr_strlen): New function.
2565 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2567 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2568 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2569 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2571 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2573 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2575 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2577 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2578 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2579 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2580 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2581 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2582 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2583 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2585 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2588 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2589 PLT reference in libc.so.
2590 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2591 _Q_lltoq and _Q_qtod PLT references in libc.so.
2593 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2595 * benchtests/bench-memchr.c: Cleanup defines.
2596 * benchtests/bench-memcmp.c: Likewise.
2597 * benchtests/bench-memset.c: Likewise.
2598 * benchtests/bench-memset-large.c: Likewise.
2599 * benchtests/bench-memset-walk.c: Likewise.
2600 * benchtests/bench-stpcpy.c: Likewise.
2601 * benchtests/bench-stpncpy.c: Likewise.
2602 * benchtests/bench-strcat.c: Likewise.
2603 * benchtests/bench-strchr.c: Likewise.
2604 * benchtests/bench-strcmp.c: Likewise.
2605 * benchtests/bench-strcpy.c: Likewise.
2606 * benchtests/bench-strcspn.c: Likewise.
2607 * benchtests/bench-string.h: Likewise.
2608 * benchtests/bench-strlen.c: Likewise.
2609 * benchtests/bench-strncat.c: Likewise.
2610 * benchtests/bench-strncmp.c: Likewise.
2611 * benchtests/bench-strncpy.c: Likewise.
2612 * benchtests/bench-strnlen.c: Likewise.
2613 * benchtests/bench-strpbrk.c: Likewise.
2614 * benchtests/bench-strrchr.c: Likewise.
2615 * benchtests/bench-strspn.c: Likewise.
2617 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2619 * stdlib/longlong.h: Update from GCC.
2622 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2623 * configure: Regenerated.
2624 * manual/install.texi (Tools for Compilation): Update minimum GCC
2626 * INSTALL: Regenerated.
2628 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2630 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2632 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2634 * malloc/malloc.c (mremap_chunk): Additional checks.
2636 2018-12-21 Mao Han <han_mao@c-sky.com>
2638 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2639 * scripts/build-many-glibcs.py: Add C-SKY targets.
2640 * sysdeps/csky/Implies: New file.
2641 * sysdeps/csky/Makefile: Likewise.
2642 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2643 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2644 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2645 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2646 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2647 * sysdeps/csky/abiv2/memmove.S: Likewise.
2648 * sysdeps/csky/abiv2/memset.S: Likewise.
2649 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2650 * sysdeps/csky/abiv2/start.S: Likewise.
2651 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2652 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2653 * sysdeps/csky/abiv2/strlen.S: Likewise.
2654 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2655 * sysdeps/csky/abort-instr.h: Likewise.
2656 * sysdeps/csky/atomic-machine.h: Likewise.
2657 * sysdeps/csky/bits/endian.h: Likewise.
2658 * sysdeps/csky/bits/fenv.h: Likewise.
2659 * sysdeps/csky/bits/link.h: Likewise.
2660 * sysdeps/csky/bits/setjmp.h: Likewise.
2661 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2662 * sysdeps/csky/bsd-setjmp.S: Likewise.
2663 * sysdeps/csky/configure: Likewise.
2664 * sysdeps/csky/configure.ac: Likewise.
2665 * sysdeps/csky/dl-machine.h: Likewise.
2666 * sysdeps/csky/dl-procinfo.c: Likewise.
2667 * sysdeps/csky/dl-procinfo.h: Likewise.
2668 * sysdeps/csky/dl-sysdep.h: Likewise.
2669 * sysdeps/csky/dl-tls.h: Likewise.
2670 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2671 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2672 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2673 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2674 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2675 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2676 * sysdeps/csky/fpu/fegetround.c: Likewise.
2677 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2678 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2679 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2680 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2681 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2682 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2683 * sysdeps/csky/fpu/fesetround.c: Likewise.
2684 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2685 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2686 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2687 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2688 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2689 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2690 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2691 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2692 * sysdeps/csky/fpu_control.h: Likewise.
2693 * sysdeps/csky/gccframe.h: Likewise.
2694 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2695 * sysdeps/csky/ldsodefs.h: Likewise.
2696 * sysdeps/csky/libc-tls.c: Likewise.
2697 * sysdeps/csky/linkmap.h: Likewise.
2698 * sysdeps/csky/machine-gmon.h: Likewise.
2699 * sysdeps/csky/memusage.h: Likewise.
2700 * sysdeps/csky/nofpu/Implies: Likewise.
2701 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2702 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2703 * sysdeps/csky/nptl/Makefile: Likewise.
2704 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2705 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2706 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2707 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2708 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2709 * sysdeps/csky/nptl/tls.h: Likewise.
2710 * sysdeps/csky/preconfigure: Likewise.
2711 * sysdeps/csky/sfp-machine.h: Likewise.
2712 * sysdeps/csky/sotruss-lib.c: Likewise.
2713 * sysdeps/csky/stackinfo.h: Likewise.
2714 * sysdeps/csky/sysdep.h: Likewise.
2715 * sysdeps/csky/tininess.h: Likewise.
2716 * sysdeps/csky/tst-audit.h: Likewise.
2717 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2718 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2719 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2720 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2721 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2722 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2723 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2724 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2725 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2726 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2727 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2728 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2729 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2730 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2731 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2732 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2733 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2734 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2735 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2736 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2737 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2738 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2739 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2740 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2741 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2742 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2743 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2744 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2745 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2746 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2747 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2748 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2749 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2750 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2751 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2752 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2753 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2754 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2755 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2756 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2757 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2758 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2759 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2760 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2762 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2764 * include/time.h (__difftime64): Add.
2765 * time/difftime.c (subtract): convert to 64-bit time.
2766 * time/difftime.c (__difftime64): Add.
2767 * time/difftime.c (__difftime): Wrap around __difftime64.
2769 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2771 * manual/examples/add.c: Remove redundant "if not".
2772 * manual/examples/argp-ex1.c: Likewise.
2773 * manual/examples/argp-ex2.c: Likewise.
2774 * manual/examples/argp-ex3.c: Likewise.
2775 * manual/examples/argp-ex4.c: Likewise.
2776 * manual/examples/atexit.c: Likewise.
2777 * manual/examples/db.c: Likewise.
2778 * manual/examples/dir.c: Likewise.
2779 * manual/examples/dir2.c: Likewise.
2780 * manual/examples/execinfo.c: Likewise.
2781 * manual/examples/filecli.c: Likewise.
2782 * manual/examples/filesrv.c: Likewise.
2783 * manual/examples/fmtmsgexpl.c: Likewise.
2784 * manual/examples/genpass.c: Likewise.
2785 * manual/examples/inetcli.c: Likewise.
2786 * manual/examples/inetsrv.c: Likewise.
2787 * manual/examples/isockad.c: Likewise.
2788 * manual/examples/longopt.c: Likewise.
2789 * manual/examples/memopen.c: Likewise.
2790 * manual/examples/memstrm.c: Likewise.
2791 * manual/examples/mkdirent.c: Likewise.
2792 * manual/examples/mkfsock.c: Likewise.
2793 * manual/examples/mkisock.c: Likewise.
2794 * manual/examples/mygetpass.c: Likewise.
2795 * manual/examples/pipe.c: Likewise.
2796 * manual/examples/popen.c: Likewise.
2797 * manual/examples/rprintf.c: Likewise.
2798 * manual/examples/search.c: Likewise.
2799 * manual/examples/select.c: Likewise.
2800 * manual/examples/setjmp.c: Likewise.
2801 * manual/examples/sigh1.c: Likewise.
2802 * manual/examples/sigusr.c: Likewise.
2803 * manual/examples/stpcpy.c: Likewise.
2804 * manual/examples/strdupa.c: Likewise.
2805 * manual/examples/strftim.c: Likewise.
2806 * manual/examples/subopt.c: Likewise.
2807 * manual/examples/swapcontext.c: Likewise.
2808 * manual/examples/termios.c: Likewise.
2809 * manual/examples/testopt.c: Likewise.
2810 * manual/examples/testpass.c: Likewise.
2811 * manual/examples/timeval_subtract.c: Likewise.
2813 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/x86/fpu/math_private.h: New file.
2816 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2818 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2823 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2825 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2826 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2827 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2828 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2830 (_dl_show_auxv): Give a special treatment to
2831 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2832 and AT_L3_CACHEGEOMETRY.
2833 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2834 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2835 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2836 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2838 2018-12-19 Andreas Schwab <schwab@suse.de>
2840 * nscd/connections.c (check_use): Don't abort on invalid len.
2842 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2844 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2845 values in the 64bit value cases.
2847 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2853 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2859 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2862 (__gmtime64_r): Add.
2864 (__gmtime64_r): Add.
2865 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2871 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2874 (__localtime64_r): Add.
2876 (__localtime64_r): Add.
2877 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2879 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2881 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2882 kernel_sigction definition.
2884 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2886 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2888 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2889 __syscall_rt_sigaction.
2890 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2891 (kernel_sigaction): Use Linux generic defintion.
2893 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2894 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2895 (__syscall_rt_sigaction): Remove implementation.
2896 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2898 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2899 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2900 INTERNAL_SYSCALL): Remove definitions.
2901 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2902 action and signal set size.
2903 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2906 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2907 James Clarke <jrtc27@jrtc27.com>
2910 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2911 Define if SA_RESTORER is defined.
2912 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2913 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2915 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2916 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2918 (HAS_SA_RESTORER): Define.
2919 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2920 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2921 (HAS_SA_RESTORER): Define.
2922 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2923 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2924 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2925 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2928 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2930 * sysdeps/unix/sysv/linux/kernel-features.h
2931 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2932 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2933 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2934 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2935 (__ASSUME_ST_INO_64_BIT): Likewise.
2936 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2937 <kernel-features.h>.
2938 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2939 Remove conditional code.
2940 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2941 <kernel-features.h>.
2942 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2943 Remove conditional code.
2944 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2945 <kernel-features.h>.
2946 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2947 Remove conditional code.
2948 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2949 <kernel-features.h>.
2950 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2951 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2955 * sysdeps/s390/multiarch/ifunc-resolve.h
2956 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2957 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2958 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2959 Delete macro definition.
2960 (s390_libc_ifunc_init): Rename to
2961 s390_libc_ifunc_expr_stfle_init.
2962 * sysdeps/s390/bzero: Use
2963 s390_libc_ifunc_expr_stfle_init instead of
2964 s390_libc_ifunc_init.
2965 * sysdeps/s390/memcmp.c: Likewise.
2966 * sysdeps/s390/memcpy.c: Likewise.
2967 * sysdeps/s390/mempcpy.c: Likewise.
2968 * sysdeps/s390/memset.c: Likewise.
2970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2972 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2973 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2977 * sysdeps/s390/multiarch/Makefile
2978 (sysdep_routines): Remove wmemcmp variants.
2979 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2980 * sysdeps/s390/multiarch/ifunc-impl-list.c
2981 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2982 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2983 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2984 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2985 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2986 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2987 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2988 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2992 * sysdeps/s390/multiarch/Makefile
2993 (sysdep_routines): Remove wmemset variants.
2994 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2995 * sysdeps/s390/multiarch/ifunc-impl-list.c
2996 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2997 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2998 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2999 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3000 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3001 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3002 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3003 * sysdeps/s390/ifunc-wmemset.h: New file.
3005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3007 * sysdeps/s390/multiarch/Makefile
3008 (sysdep_routines): Remove wmemchr variants.
3009 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3010 * sysdeps/s390/multiarch/ifunc-impl-list.c
3011 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3012 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3013 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3014 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3015 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3016 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3017 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3018 * sysdeps/s390/ifunc-wmemchr.h: New file.
3020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3022 * sysdeps/s390/multiarch/Makefile
3023 (sysdep_routines): Remove wcscspn variants.
3024 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3025 * sysdeps/s390/multiarch/ifunc-impl-list.c
3026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3027 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3028 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3029 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3030 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3031 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3032 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3033 * sysdeps/s390/ifunc-wcscspn.h: New file.
3035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3037 * sysdeps/s390/multiarch/Makefile
3038 (sysdep_routines): Remove wcspbrk variants.
3039 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3040 * sysdeps/s390/multiarch/ifunc-impl-list.c
3041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3042 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3043 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3044 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3045 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3046 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3047 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3048 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3052 * sysdeps/s390/multiarch/Makefile
3053 (sysdep_routines): Remove wcsspn variants.
3054 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3055 * sysdeps/s390/multiarch/ifunc-impl-list.c
3056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3057 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3058 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3059 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3060 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3061 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3062 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3063 * sysdeps/s390/ifunc-wcsspn.h: New file.
3065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3067 * sysdeps/s390/multiarch/Makefile
3068 (sysdep_routines): Remove wcsrchr variants.
3069 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3070 * sysdeps/s390/multiarch/ifunc-impl-list.c
3071 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3072 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3073 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3074 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3075 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3076 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3077 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3078 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3082 * sysdeps/s390/multiarch/Makefile
3083 (sysdep_routines): Remove wcschrnul variants.
3084 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3085 * sysdeps/s390/multiarch/ifunc-impl-list.c
3086 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3087 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3088 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3089 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3090 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3091 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3092 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3093 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3097 * sysdeps/s390/multiarch/Makefile
3098 (sysdep_routines): Remove wcschr variants.
3099 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3100 * sysdeps/s390/multiarch/ifunc-impl-list.c
3101 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3102 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3103 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3104 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3105 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3106 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3107 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3108 * sysdeps/s390/ifunc-wcschr.h: New file.
3110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3112 * sysdeps/s390/multiarch/Makefile
3113 (sysdep_routines): Remove wcsncmp variants.
3114 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3115 * sysdeps/s390/multiarch/ifunc-impl-list.c
3116 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3117 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3118 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3119 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3120 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3121 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3122 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3123 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3127 * sysdeps/s390/multiarch/Makefile
3128 (sysdep_routines): Remove wcscmp variants.
3129 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3130 * sysdeps/s390/multiarch/ifunc-impl-list.c
3131 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3132 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3133 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3134 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3135 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3136 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3137 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3138 * sysdeps/s390/ifunc-wcscmp.h: New file.
3140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3142 * sysdeps/s390/multiarch/Makefile
3143 (sysdep_routines): Remove wcsncat variants.
3144 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3145 * sysdeps/s390/multiarch/ifunc-impl-list.c
3146 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3147 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3148 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3149 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3150 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3151 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3152 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3153 * sysdeps/s390/ifunc-wcsncat.h: New file.
3155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3157 * sysdeps/s390/multiarch/Makefile
3158 (sysdep_routines): Remove wcscat variants.
3159 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3160 * sysdeps/s390/multiarch/ifunc-impl-list.c
3161 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3162 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3163 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3164 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3165 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3166 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3167 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3168 * sysdeps/s390/ifunc-wcscat.h: New file.
3170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3172 * sysdeps/s390/multiarch/Makefile
3173 (sysdep_routines): Remove wcpncpy variants.
3174 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3175 * sysdeps/s390/multiarch/ifunc-impl-list.c
3176 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3177 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3178 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3179 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3180 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3181 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3182 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3183 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3187 * sysdeps/s390/multiarch/Makefile
3188 (sysdep_routines): Remove wcsncpy variants.
3189 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3190 * sysdeps/s390/multiarch/ifunc-impl-list.c
3191 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3192 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3193 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3194 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3195 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3196 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3197 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3198 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3200 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3202 * sysdeps/s390/multiarch/Makefile
3203 (sysdep_routines): Remove wcpcpy variants.
3204 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3205 * sysdeps/s390/multiarch/ifunc-impl-list.c
3206 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3207 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3208 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3209 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3210 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3211 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3212 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3213 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3217 * sysdeps/s390/multiarch/Makefile
3218 (sysdep_routines): Remove wcscpy variants.
3219 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3220 * sysdeps/s390/multiarch/ifunc-impl-list.c
3221 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3222 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3223 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3224 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3225 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3226 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3227 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3228 * sysdeps/s390/ifunc-wcscpy.h: New file.
3230 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3232 * sysdeps/s390/multiarch/Makefile
3233 (sysdep_routines): Remove wcsnlen variants.
3234 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3235 * sysdeps/s390/multiarch/ifunc-impl-list.c
3236 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3237 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3238 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3239 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3240 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3241 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3242 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3243 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3247 * sysdeps/s390/multiarch/Makefile
3248 (sysdep_routines): Remove wcslen variants.
3249 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3250 * sysdeps/s390/multiarch/ifunc-impl-list.c
3251 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3252 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3253 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3254 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3255 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3256 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3257 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3258 * sysdeps/s390/ifunc-wcslen.h: New file.
3260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3262 * sysdeps/s390/multiarch/Makefile
3263 (sysdep_routines): Remove memrchr variants.
3264 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3265 * sysdeps/s390/multiarch/ifunc-impl-list.c
3266 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3267 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3268 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3269 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3270 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3271 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3272 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3273 * sysdeps/s390/ifunc-memrchr.h: New file.
3275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3277 * sysdeps/s390/multiarch/Makefile
3278 (sysdep_routines): Remove memccpy variants.
3279 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3280 * sysdeps/s390/multiarch/ifunc-impl-list.c
3281 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3282 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3283 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3284 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3285 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3286 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3287 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3288 * sysdeps/s390/ifunc-memccpy.h: New file.
3290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3292 * sysdeps/s390/multiarch/Makefile
3293 (sysdep_routines): Remove rawmemchr variants.
3294 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3295 * sysdeps/s390/multiarch/ifunc-impl-list.c
3296 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3297 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3298 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3300 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3301 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3302 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3303 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3307 * sysdeps/s390/multiarch/Makefile
3308 (sysdep_routines): Remove memchr variants.
3309 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3310 * sysdeps/s390/multiarch/ifunc-impl-list.c
3311 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3312 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3313 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3314 * sysdeps/s390/multiarch/memchr.c: Move to ...
3315 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3316 * sysdeps/s390/ifunc-memchr.h: New file.
3317 * sysdeps/s390/s390-64/memchr.S: Move to ...
3318 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3319 for 31/64bit and ifunc handling.
3320 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3321 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3322 * sysdeps/s390/s390-32/memchr.S: Likewise.
3324 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3326 * sysdeps/s390/multiarch/Makefile
3327 (sysdep_routines): Remove strcspn variants.
3328 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3329 * sysdeps/s390/multiarch/ifunc-impl-list.c
3330 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3331 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3332 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3333 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3334 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3335 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3336 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3337 * sysdeps/s390/ifunc-strcspn.h: New file.
3339 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3341 * sysdeps/s390/multiarch/Makefile
3342 (sysdep_routines): Remove strpbrk variants.
3343 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3344 * sysdeps/s390/multiarch/ifunc-impl-list.c
3345 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3346 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3347 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3348 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3349 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3350 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3351 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3352 * sysdeps/s390/ifunc-strpbrk.h: New file.
3354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3356 * sysdeps/s390/multiarch/Makefile
3357 (sysdep_routines): Remove strspn variants.
3358 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3359 * sysdeps/s390/multiarch/ifunc-impl-list.c
3360 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3361 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3362 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3363 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3364 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3365 * sysdeps/s390/multiarch/strspn.c: Move to ...
3366 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3367 * sysdeps/s390/ifunc-strspn.h: New file.
3369 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3371 * sysdeps/s390/multiarch/Makefile
3372 (sysdep_routines): Remove strrchr variants.
3373 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3374 * sysdeps/s390/multiarch/ifunc-impl-list.c
3375 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3376 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3377 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3378 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3379 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3380 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3381 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3382 * sysdeps/s390/ifunc-strrchr.h: New file.
3384 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3386 * sysdeps/s390/multiarch/Makefile
3387 (sysdep_routines): Remove strchrnul variants.
3388 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3389 * sysdeps/s390/multiarch/ifunc-impl-list.c
3390 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3391 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3392 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3393 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3394 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3395 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3396 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3397 * sysdeps/s390/ifunc-strchrnul.h: New file.
3399 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3401 * sysdeps/s390/multiarch/Makefile
3402 (sysdep_routines): Remove strchr variants.
3403 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3404 * sysdeps/s390/multiarch/ifunc-impl-list.c
3405 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3406 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3407 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3408 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3409 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3410 * sysdeps/s390/multiarch/strchr.c: Move to ...
3411 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3412 * sysdeps/s390/ifunc-strchr.h: New file.
3414 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3416 * sysdeps/s390/multiarch/Makefile
3417 (sysdep_routines): Remove strncmp variants.
3418 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3419 * sysdeps/s390/multiarch/ifunc-impl-list.c
3420 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3421 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3422 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3423 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3424 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3425 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3426 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3427 * sysdeps/s390/ifunc-strncmp.h: New file.
3429 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3431 * sysdeps/s390/multiarch/Makefile
3432 (sysdep_routines): Remove strcmp variants.
3433 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3434 * sysdeps/s390/multiarch/ifunc-impl-list.c
3435 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3436 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3437 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3438 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3439 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3440 * sysdeps/s390/ifunc-strcmp.h: New file.
3441 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3442 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3443 for 31/64bit and ifunc handling.
3444 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3445 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3446 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3450 * sysdeps/s390/multiarch/Makefile
3451 (sysdep_routines): Remove strncat variants.
3452 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3453 * sysdeps/s390/multiarch/ifunc-impl-list.c
3454 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3455 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3456 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3457 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3458 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3459 * sysdeps/s390/multiarch/strncat.c: Move to ...
3460 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3461 * sysdeps/s390/ifunc-strncat.h: New file.
3463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3465 * sysdeps/s390/multiarch/Makefile
3466 (sysdep_routines): Remove strcat variants.
3467 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3468 * sysdeps/s390/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3470 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3471 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3472 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3473 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3474 * sysdeps/s390/multiarch/strcat.c: Move to ...
3475 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3476 * sysdeps/s390/ifunc-strcat.h: New file.
3478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3480 * sysdeps/s390/multiarch/Makefile
3481 (sysdep_routines): Remove stpncpy variants.
3482 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3483 * sysdeps/s390/multiarch/ifunc-impl-list.c
3484 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3485 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3486 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3487 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3488 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3489 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3490 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3491 * sysdeps/s390/ifunc-stpncpy.h: New file.
3493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3495 * sysdeps/s390/multiarch/Makefile
3496 (sysdep_routines): Remove strncpy variants.
3497 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3498 * sysdeps/s390/multiarch/ifunc-impl-list.c
3499 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3500 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3501 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3502 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3503 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3504 * sysdeps/s390/ifunc-strncpy.h: New file.
3505 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3506 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3507 and adjust ifunc handling.
3508 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3509 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3510 and adjust ifunc handling.
3511 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3512 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3516 * sysdeps/s390/multiarch/Makefile
3517 (sysdep_routines): Remove stpcpy variants.
3518 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3519 * sysdeps/s390/multiarch/ifunc-impl-list.c
3520 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3521 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3522 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3523 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3524 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3525 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3526 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3527 * sysdeps/s390/ifunc-stpcpy.h: New file.
3529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3531 * sysdeps/s390/multiarch/Makefile
3532 (sysdep_routines): Remove strcpy variants.
3533 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3534 * sysdeps/s390/multiarch/ifunc-impl-list.c
3535 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3536 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3537 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3538 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3539 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3540 * sysdeps/s390/ifunc-strcpy.h: New file.
3541 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3542 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3543 for 31/64bit and ifunc handling.
3544 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3545 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3546 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3550 * sysdeps/s390/multiarch/Makefile
3551 (sysdep_routines): Remove strnlen variants.
3552 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3553 * sysdeps/s390/multiarch/ifunc-impl-list.c
3554 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3555 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3556 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3557 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3558 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3559 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3560 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3561 * sysdeps/s390/ifunc-strnlen.h: New file.
3563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3565 * sysdeps/s390/multiarch/Makefile
3566 (sysdep_routines): Remove strlen variants.
3567 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3568 * sysdeps/s390/multiarch/ifunc-impl-list.c
3569 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3570 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3571 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3572 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3573 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3574 * sysdeps/s390/multiarch/strlen.c: Move to ...
3575 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3576 * sysdeps/s390/ifunc-strlen.h: New file.
3578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3580 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3581 * sysdeps/s390/multiarch/ifunc-impl-list.c
3582 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3583 * sysdeps/s390/ifunc-memmem.h: New file.
3584 * sysdeps/s390/memmem.c: Likewise.
3585 * sysdeps/s390/memmem-c.c: Likewise.
3586 * sysdeps/s390/memmem-vx.c: Likewise.
3588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3590 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3591 * sysdeps/s390/multiarch/ifunc-impl-list.c
3592 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3593 * sysdeps/s390/ifunc-strstr.h: New file.
3594 * sysdeps/s390/strstr.c: Likewise.
3595 * sysdeps/s390/strstr-c.c: Likewise.
3596 * sysdeps/s390/strstr-vx.c: Likewise.
3598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3600 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3601 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3602 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3603 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3605 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3606 * sysdeps/s390/memmove-c.c: New file.
3607 * sysdeps/s390/memmove.c: Likewise.
3608 * sysdeps/s390/multiarch/ifunc-impl-list.c
3609 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3613 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3614 * sysdeps/s390/configure.ac: Add check for z13 support.
3615 * sysdeps/s390/configure: Regenerated.
3617 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3619 * sysdeps/s390/memcopy.h: New file.
3621 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3623 * sysdeps/s390/s390-32/bcopy.S: Remove.
3624 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3628 * sysdeps/s390/ifunc-memcpy.h: New File.
3629 * sysdeps/s390/memcpy.S: Move to ...
3630 * sysdeps/s390/memcpy-z900.S ... here.
3631 Move implementations from memcpy-s390x.s to here.
3632 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3633 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3634 Remove memcpy/mempcpy variants.
3635 * sysdeps/s390/Makefile (sysdep_routines):
3636 Add memcpy/mempcpy variants.
3637 * sysdeps/s390/multiarch/ifunc-impl-list.c
3638 (__libc_ifunc_impl_list): Adjust ifunc variants for
3640 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3642 * sysdeps/s390/memcpy.c: ... here.
3643 Adjust ifunc variants for memcpy.
3644 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3645 * sysdeps/s390/mempcpy.c: ... here.
3646 Adjust ifunc variants for mempcpy.
3647 * sysdeps/s390/mempcpy.S: Delete file.
3649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3651 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3652 * sysdeps/s390/memcpy.S: ... here.
3653 Adjust to be usable for 31/64bit.
3654 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3655 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3656 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3657 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3658 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3659 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3660 Adjust to be usable for 31/64bit.
3661 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3662 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3663 * sysdeps/s390/multiarch/memcpy.c: ... here.
3664 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3666 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3668 * sysdeps/s390/ifunc-memcmp.h: New File.
3669 * sysdeps/s390/memcmp.S: Move to ...
3670 * sysdeps/s390/memcmp-z900.S ... here.
3671 Move implementations from memcmp-s390x.s to here.
3672 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3673 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3674 Remove memcmp variants.
3675 * sysdeps/s390/Makefile (sysdep_routines):
3676 Add memcmp variants.
3677 * sysdeps/s390/multiarch/ifunc-impl-list.c
3678 (__libc_ifunc_impl_list): Adjust ifunc variants for
3680 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3682 * sysdeps/s390/memcmp.c: ... here.
3683 Adjust ifunc variants for memcmp.
3685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3687 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3688 * sysdeps/s390/memcmp.S: ... here.
3689 Adjust to be usable for 31/64bit.
3690 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3691 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3692 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3694 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3695 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3696 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3697 Adjust to be usable for 31/64bit.
3698 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3699 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3700 * sysdeps/s390/multiarch/memcmp.c: ... here.
3701 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3705 * sysdeps/s390/s390-32/bzero.S: Delete file.
3706 * sysdeps/s390/s390-64/bzero.S: Likewise.
3707 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3708 * sysdeps/s390/bzero.c: New file.
3709 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3710 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3711 * sysdeps/s390/multiarch/ifunc-impl-list.c
3712 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3716 * sysdeps/s390/ifunc-memset.h: New File.
3717 * sysdeps/s390/memset.S: Move to ...
3718 * sysdeps/s390/memset-z900.S ... here.
3719 Move implementations from memset-s390x.s to here.
3720 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3721 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3722 Remove memset variants.
3723 * sysdeps/s390/Makefile (sysdep_routines):
3724 Add memset variants.
3725 * sysdeps/s390/multiarch/ifunc-impl-list.c
3726 (__libc_ifunc_impl_list): Adjust ifunc variants for
3728 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3730 * sysdeps/s390/memset.c: ... here.
3731 Adjust ifunc variants for memset.
3733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3735 * sysdeps/s390/s390-64/memset.S: Move to ...
3736 * sysdeps/s390/memset.S: ... here.
3737 Adjust to be usable for 31/64bit.
3738 * sysdeps/s390/s390-32/memset.S: Delete File.
3739 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3740 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3742 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3743 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3744 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3745 Adjust to be usable for 31/64bit.
3746 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3747 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3748 * sysdeps/s390/multiarch/memset.c: ... here.
3749 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3753 * sysdeps/s390/multiarch/ifunc-resolve.h
3754 (s390_libc_ifunc_init, s390_libc_ifunc,
3755 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3759 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3760 * sysdeps/s390/configure.ac: Add check for z10 support.
3761 * sysdeps/s390/configure: Regenerated.
3763 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3765 * sysdeps/i386/atomic-machine.h: Merged with ...
3766 * sysdeps/x86_64/atomic-machine.h: To ...
3767 * sysdeps/x86/atomic-machine.h: This. New file.
3769 2018-12-18 Florian Weimer <fweimer@redhat.com>
3771 Rewrite locale/gen-translit.pl in Python.
3772 * locale/Makefile (generated): Add C-translit.h.
3773 (before-compile): Add $(objpfx)C-translit.h.
3774 (C-translit.h): Move to $(objpfx). Create target directory.
3775 Build using Python script.
3776 * locale/gen-translit.py: New file.
3777 * locale/gen-translit.pl: Remove file.
3778 * locale/C-translit.h.in: Change comment character to '#' for
3779 easier parsing without a C preprocessor.
3780 * locale/C-translit.h: Remove generated file.
3781 * manual/install.texi (Tools for Compilation): Do not mention
3783 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3784 Remove locale/C-translit.h.
3785 * scripts/update-copyrights: Likewise.
3786 * INSTALL: Regenerate.
3788 2018-12-18 Florian Weimer <fweimer@redhat.com>
3791 * localedata/locales/bi_VU: Remove executable bit from file.
3793 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3796 (__localtime64): Add.
3797 * manual/maint.texi: Document Y2038 symbol handling.
3799 (__localtime64): Add.
3800 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3802 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3804 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3807 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3808 to allow extra macros from first or second sources.
3809 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3811 (tests-special): Add $(objpfx)tst-mman-consts.out.
3812 ($(objpfx)tst-mman-consts.out): New makefile target.
3814 2018-12-17 Mao Han <han_mao@c-sky.com>
3816 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3817 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3818 without stat64 system call support.
3819 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3820 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3821 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3822 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3823 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3824 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3825 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3826 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3827 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3828 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3829 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3831 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3833 regex: fix storage-exhaustion error
3835 * posix/regexec.c (get_subexp):
3836 Do not continue if storage is exhausted.
3838 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3840 regex: fix heap-use-after-free error
3842 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3843 https://debbugs.gnu.org/32592
3844 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3845 call extend_buffers which reallocates the re_string_t internal buffer.
3846 Local variable 'buf' was not updated in such case, resulting in
3848 * posix/regexec.c (get_subexp): Update 'buf' after call to
3851 2018-12-15 Florian Weimer <fweimer@redhat.com>
3853 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3854 (minimum_stride_size): Use it.
3855 (support_blob_repeat_allocate): Likewise.
3857 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3864 2018-12-14 Florian Weimer <fweimer@redhat.com>
3866 * manual/process.texi (Process Creation Concepts): Remove
3867 documentation of process (ID) lifetime. List more process
3868 creation functions. Reference Process Identification section.
3869 (Process Identification): Add information about process ID
3870 lifetime. Describe Linux thread/task IDs.
3871 * manual/signal.texi (Signaling Another Process): Mention that the
3872 signal is always sent to the process.
3874 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3876 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3877 and tst-ldbl-efgcvt.
3878 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3879 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3880 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3881 (fcvt_tests, output_error, output_r_error, do_test): Use the
3882 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3883 select the type of floating-point variables and arguments; to
3884 produce extra tests for double and conversion specifiers for
3885 printf; and to set the names of called functions.
3886 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3887 in tst-efgcvt-template.c.
3888 * misc/tst-ldbl-efgcvt.c: Likewise.
3890 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3892 * nss/Makefile (tst-nss-test3.out): New rule.
3894 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3896 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3899 2018-12-13 fanjinke <fanjinke@hygon.cn>
3901 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3904 2018-12-13 Andreas Schwab <schwab@suse.de>
3907 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3908 (__pthread_rwlock_rdlock_full): Update expected value for
3909 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3910 * nptl/tst-rwlock-pwn.c: New file.
3911 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3913 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3915 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3918 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3920 * benchtests/scripts/compare_bench.py (do_compare): write to
3921 stderr in casestat is not present.
3922 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3923 stderr in case timings field is not present. Also string showing
3924 the output filename goes into the stderr.
3926 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3928 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3929 and ZeroDivisorError exceptions.
3930 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3931 argument to loop through user provided statistics.
3932 * benchtests/scripts/compare_bench.py (main): Include the --stats
3935 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3937 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3940 2018-12-12 Florian Weimer <fweimer@redhat.com>
3942 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3943 clause to copyright header.
3945 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3948 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3949 registers saved in the stack frame.
3950 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3951 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3953 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3955 * include/bits/monetary-ldbl.h: New file.
3956 * include/bits/printf-ldbl.h: Likewise.
3957 * include/bits/stdio-ldbl.h: Likewise.
3958 * include/bits/stdlib-ldbl.h: Likewise.
3959 * include/bits/syslog-ldbl.h: Likewise.
3960 * include/bits/wchar-ldbl.h: Likewise.
3962 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3964 * libio/libio.h: Remove redirection for _IO_vfprintf.
3966 2018-12-11 Andreas Schwab <schwab@suse.de>
3968 * Makerules: Remove all references to abilist-pattern.
3969 (update-all-abi): Simplify find expression.
3971 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3974 * math/auto-libm-test-in: Add new test case.
3975 * math/auto-libm-test-out-pow: Regenerated.
3976 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3978 2018-12-10 DJ Delorie <dj@redhat.com>
3981 * support/test-container.c: Move postclean step to before we
3984 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3986 * scripts/gen-as-const.py (main): Handle --python option.
3987 * scripts/gen-py-const.awk: Remove.
3988 * Makerules (py-const-script): Use gen-as-const.py.
3989 ($(py-const)): Likewise.
3990 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3991 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3992 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3993 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3994 ~PTHREAD_MUTEX_NO_ELISION_NP.
3995 * manual/README.pretty-printers: Update reference to
3998 * scripts/glibcextract.py: New file.
3999 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4000 or tempfile. Import glibcexctract.
4001 (compute_c_consts): Remove. Moved to glibcextract.py.
4002 (gen_test): Update reference to compute_c_consts.
4004 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4005 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4006 * sysdeps/unix/sysv/linux/Makefile
4007 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4008 Redirect stderr as well as stdout.
4010 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4013 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4014 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4015 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4016 ALWAYS_USE_VSYSCALL.
4017 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4018 ALWAYS_USE_VSYSCALL.
4019 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4020 ALWAYS_USE_VSYSCALL.
4022 2018-12-10 Florian Weimer <fweimer@redhat.com>
4025 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4026 offset instead of count for clarity. Fix typo in comment.
4027 (__old_getdents64): Keep track of previous offset. Use it to call
4029 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4030 that d_off is never zero.
4032 2018-12-10 Andreas Schwab <schwab@suse.de>
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4035 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4037 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4038 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4040 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4042 * timezone/private.h: Update from tzcode 2018g.
4043 * timezone/tzfile.h: Likewise.
4044 * timezone/tzselect.ksh: Likewise.
4045 * timezone/zdump.c: Likewise.
4046 * timezone/zic.c: Likewise.
4048 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4051 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4052 (do_test): Adjust buffer size and fix format.
4054 2018-12-07 DJ Delorie <dj@redhat.com>
4057 * malloc/tst-tcfree3.c: New.
4058 * malloc/Makefile: Add it.
4060 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4062 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4064 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4066 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4067 used as a mask for the mode argument of __vfscanf_internal and
4068 __vfwscanf_internal.
4069 * stdio-common/vfscanf-internal.c
4070 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4071 (__strtof128_internal): Define to __wcstof128_internal.
4072 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4073 __strtof128_internal or __wcstof128_internal when the format of
4074 long double is the same as _Float128.
4076 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4078 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4079 * posix/confstr.c (confstr): Rename to __confstr.
4080 (__confstr): Add hidden def.
4081 (confstr): Add weak alias for __confstr.
4082 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4085 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4087 * NEWS: Mention getcpu.
4088 * include/sched.h (__getcpu): New libc_hidden_proto.
4089 * manual/resource.texi: Document getcpu.
4090 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4091 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4092 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4093 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4097 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4098 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4099 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4100 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4102 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4106 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4115 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4117 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4118 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4121 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4122 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4123 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4124 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4125 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4128 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4130 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4132 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4134 2018-12-07 Florian Weimer <fweimer@redhat.com>
4137 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4138 * posix/Versions (GLIBC_2.29): Export
4139 posix_spawn_file_actions_addfchdir_np.
4140 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4141 * posix/spawn_faction_destroy.c
4142 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4143 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4144 and the field action.fchdir_action.
4145 * posix/tst-spawn-chdir.c (add_chdir): New function.
4146 (do_test): Add do_fchdir loop. Call add_chdir.
4147 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4149 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4150 posix_spawn_file_actions_addfchdir_np.
4151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4153 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4155 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4156 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4158 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4160 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4162 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4164 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4166 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4168 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4169 (GLIBC_2.29): Likewise.
4170 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4171 (GLIBC_2.29): Likewise.
4172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4173 (GLIBC_2.29): Likewise.
4174 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4175 (GLIBC_2.29): Likewise.
4176 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4179 (GLIBC_2.29): Likewise.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4181 (GLIBC_2.29): Likewise.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4183 (GLIBC_2.29): Likewise.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4185 (GLIBC_2.29): Likewise.
4186 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4188 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4190 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4192 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4195 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4197 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4199 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4202 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4204 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4205 trailing whitespace removed.
4206 * scripts/config.guess: Update to version 2018-11-28.
4207 * scripts/config.sub: Update to version 2018-11-28.
4208 * scripts/install-sh: Update to version 2018-03-11.20.
4209 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4210 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4212 2018-12-07 Florian Weimer <fweimer@redhat.com>
4216 * inet/tst-if_index-long.c: New file.
4217 * inet/Makefile (tests): Add tst-if_index-long.
4219 2018-12-07 Florian Weimer <fweimer@redhat.com>
4221 * support/check.h (support_record_failure_is_failed): Declare.
4222 * support/descriptors.h: New file.
4223 * support/support_descriptors.c: Likewise.
4224 * support/tst-support_descriptors.c: Likewise.
4225 * support/support_record_failure.c
4226 (support_record_failure_is_failed): New function.
4227 * support/Makefile (libsupport-routines): Add support_descriptors.
4228 (tests): Add tst-support_descriptors.
4230 2018-12-05 Zack Weinberg <zackw@panix.com>
4231 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4233 * stdio-common/vfprintf-internal.c
4234 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4235 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4237 and __no_long_double.
4238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4239 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4241 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4242 and __nldbl_*syslog* functions.
4243 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4244 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4245 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4246 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4247 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4248 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4249 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4250 (__nldbl_vwprintf, __nldbl_wprintf):
4251 Directly call the appropriate __v*printf_internal routine, passing
4252 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4254 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4255 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4256 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4257 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4258 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4259 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4260 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4261 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4262 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4263 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4264 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4265 (__nldbl_syslog, __nldbl_vsyslog):
4266 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4267 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4269 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4272 2018-12-05 Zack Weinberg <zackw@panix.com>
4273 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4276 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4277 Moved here from debug/vsprintf_chk.c.
4278 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4279 and completion logic for the strfile to match exactly what
4280 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4281 _IO_str_init_static_internal instead of maxlen-1.
4282 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4283 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4284 __vsprintf_internal.
4286 * debug/vsprintf_chk.c (__vsprintf_chk)
4287 * debug/sprintf_chk.c (__sprintf_chk):
4288 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4289 'flags' argument is positive, and slen as maxlen. No need to lock
4290 the FILE and/or construct a temporary FILE. Minimize and normalize
4291 header inclusions and variable names. Do not libc_hidden_def anything.
4293 * debug/asprintf_chk.c (__asprintf_chk)
4294 * debug/dprintf_chk.c (__dprintf_chk)
4295 * debug/fprintf_chk.c (__fprintf_chk)
4296 * debug/fwprintf_chk.c (__fwprintf_chk)
4297 * debug/printf_chk.c (__printf_chk)
4298 * debug/snprintf_chk.c (__snprintf_chk)
4299 * debug/swprintf_chk.c (__swprintf_chk)
4300 * debug/vasprintf_chk.c (__vasprintf_chk)
4301 * debug/vdprintf_chk.c (__vdprintf_chk)
4302 * debug/vfprintf_chk.c (__vfprintf_chk)
4303 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4304 * debug/vprintf_chk.c (__vprintf_chk)
4305 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4306 * debug/vswprintf_chk.c (__vswprintf_chk)
4307 * debug/vwprintf_chk.c (__vwprintf_chk)
4308 * debug/wprintf_chk.c (__wprintf_chk):
4309 Directly call the corresponding vxxprintf_internal function, passing
4310 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4311 the FILE and/or construct a temporary FILE. Minimize and normalize
4312 header inclusions and variable names. Do not libc_hidden_def anything.
4314 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4315 __obstack_vprintf_internal.
4316 (__obstack_vprintf_chk): Convert into a wrapper that calls
4317 __obstack_vprintf_internal (these two functions already had the
4318 same code) and move to new file...
4319 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4321 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4322 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4323 * debug/Makefile (routines): Add vobprintf_chk.
4325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4326 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4327 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4328 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4329 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4330 (__nldbl___obstack_vfprintf_chk):
4331 Directly call the corresponding vxxprintf_internal function,
4332 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4333 duplicate comparison of slen with 0 or maxlen from the corresponding
4334 non-__nldbl function.
4336 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4337 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4338 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4339 Remove libc_hidden_proto.
4341 * stdio-common/vfprintf-internal.c
4342 (__vfprintf_internal, __vfwprintf_internal):
4343 Do not check _IO_FLAGS2_FORTIFY.
4344 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4345 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4346 a comment explaining why it has the maxlen argument.
4347 (_IO_acquire_lock_clear_flags2_fct): Remove.
4348 (_IO_acquire_lock_clear_flags2): Remove.
4349 (_IO_release_lock): Remove conditional statement which will
4351 (_IO_acquire_lock): Remove variable which is now unused.
4352 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4353 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4355 * stdio-common/Makefile (tests): Add tst-bz11319 and
4356 tst-bz11319-fortify2.
4357 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4358 * stdio-common/tst-bz11319-fortify2.c: New file.
4359 * stdio-common/tst-bz11319.c: Likewise.
4361 2018-12-05 Zack Weinberg <zackw@panix.com>
4362 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4364 * misc/syslog.c: Include libioP.h, not iolibio.h.
4365 (__vsyslog_internal): New function with the former body of
4366 __vsyslog_chk; takes mode_flags argument same as
4367 __v*printf_internal. Call __vfprintf_internal directly.
4369 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4370 Remove libc_hidden_def.
4371 (__syslog, __syslog_chk): Use __vsyslog_internal.
4372 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4374 * include/sys/syslog.h: Add multiple inclusion guard.
4375 Add prototype for __vsyslog_internal.
4376 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4378 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4379 Use __vsyslog_internal.
4381 2018-12-05 Zack Weinberg <zackw@panix.com>
4382 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4384 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4385 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4386 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4388 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4389 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4391 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4392 Include wctype.h here if COMPILE_WPRINTF is defined.
4393 Define __vfprintf_internal or __vfwprintf_internal, depending
4395 Temporarily, on entry to this function, update mode_flags
4396 according to the environmental settings corresponding to
4397 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4398 Throughout, check mode_flags instead of __ldbl_is_dbl and
4399 _IO_FLAGS2_FORTIFY on the destination FILE.
4400 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4401 Include vfprintf-internal.c. Don't include wctype.h.
4402 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4403 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4405 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4406 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4408 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4410 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4411 and add mode_flags argument; use __vfprintf_internal.
4412 (__vdprintf): New function. Alias vdprintf to this.
4413 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4414 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4415 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4416 (__obstack_printf): Use __obstack_printf_internal.
4417 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4418 public aliases __vsnprintf and vsnprintf.
4419 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4421 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4422 public aliases _IO_vsprintf and vsprintf.
4423 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4424 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4425 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4426 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4427 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4429 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4430 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4431 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4432 * stdio-common/printf.c: Use __vfprintf_internal.
4434 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4435 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4436 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4439 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4440 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4441 __vfwprintf_internal.
4443 * libio/libio.h: Remove libc_hidden_proto and declaration for
4445 Remove declaration of _IO_vfwprintf.
4446 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4448 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4450 * include/stdio.h: Add prototype for __vasprintf.
4451 (__vsnprintf): Remove declaration, because there are no more
4453 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4454 declaration, because there are no more internal calls.
4456 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4457 __vsnprintf_internal, instead of _IO_vsnprintf.
4458 * argp/argp-help.c (__argp_error, __argp_failure): Use
4459 __vasprintf_internal, instead of _IO_vasprintf.
4460 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4461 redefine, because there are no more internal calls.
4463 2018-12-05 Zack Weinberg <zackw@panix.com>
4464 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4466 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4467 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4468 Include libio/strfile.h instead of libioP.h.
4469 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4470 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4471 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4472 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4473 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4474 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4475 necessary. Do not set __no_long_double. Normalize variable names.
4476 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4477 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4478 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4479 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4480 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4481 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4482 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4483 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4484 Do not set __no_long_double. Normalize variable names.
4486 2018-12-05 Zack Weinberg <zackw@panix.com>
4487 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4489 * stdio-common/isoc99_scanf.c
4490 * stdio-common/isoc99_fscanf.c
4491 * stdio-common/isoc99_sscanf.c
4492 * stdio-common/isoc99_vscanf.c
4493 * stdio-common/isoc99_vfscanf.c
4494 * stdio-common/isoc99_vsscanf.c
4495 * wcsmbs/isoc99_wscanf.c
4496 * wcsmbs/isoc99_fwscanf.c
4497 * wcsmbs/isoc99_swscanf.c
4498 * wcsmbs/isoc99_vwscanf.c
4499 * wcsmbs/isoc99_vfwscanf.c
4500 * wcsmbs/isoc99_vswscanf.c:
4501 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4502 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4503 No need to lock and unlock the FILE passed to that function.
4505 * stdio-common/vfscanf-internal.c
4506 (__vfscanf_internal, __vfwscanf_internal):
4507 Don't look at _IO_FLAGS2_SCANF_STD.
4508 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4509 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4510 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4512 2018-12-05 Zack Weinberg <zackw@panix.com>
4513 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4515 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4516 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4517 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4518 * libio/strfile.h: Add multiple inclusion guard.
4519 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4521 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4522 consistency with the other version of this file.
4523 (ldbl_compat_symbol): New macro.
4524 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4527 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4528 Define __vfscanf_internal or __vfwscanf_internal, depending on
4529 COMPILE_WSCANF; don't define any other public symbols.
4530 Remove errval and code to set errp.
4531 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4532 as the mode_flags argument.
4533 (encode_error, conv_error, input_error): Don't set errval.
4534 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4535 Include vfscanf-internal.c.
4536 * stdio-common/vfscanf.c: New file defining the public entry
4537 point vfscanf, which calls __vfscanf_internal.
4538 * stdio-common/vfwscanf.c: New file defining the public entry
4539 point vfwscanf, which calls __vfwscanf_internal.
4541 * stdio-common/iovfscanf.c: New file.
4542 * stdio-common/iovfwscanf.c: Likewise.
4544 * stdio-common/Makefile (routines): Add vfscanf-internal,
4545 vfwscanf-internal, iovfscanf, iovfwscanf.
4546 * stdio-common/Versions: Mention GLIBC_2.29, so that
4547 it can be used in SHLIB_COMPAT expressions.
4548 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4549 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4550 Call __vfscanf_internal, instead of _IO_vfscanf.
4551 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4553 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4556 * libio/iovsscanf.c: Clean up includes, when possible. Use
4557 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4558 __vfscanf_internal or __vfwscanf_internal directly.
4559 * libio/iovswscanf.c: Likewise.
4560 * libio/swscanf.c: Likewise.
4561 * libio/vscanf.c: Likewise.
4562 * libio/vwscanf.c: Likewise.
4563 * libio/wscanf.c: Likewise.
4564 * stdio-common/isoc99_fscanf.c: Likewise.
4565 * stdio-common/isoc99_scanf.c: Likewise.
4566 * stdio-common/isoc99_sscanf.c: Likewise.
4567 * stdio-common/isoc99_vfscanf.c: Likewise.
4568 * stdio-common/isoc99_vscanf.c: Likewise.
4569 * stdio-common/isoc99_vsscanf.c: Likewise.
4570 * stdio-common/scanf.c: Likewise.
4571 * stdio-common/sscanf.c: Likewise.
4572 * wcsmbs/isoc99_fwscanf.c: Likewise.
4573 * wcsmbs/isoc99_swscanf.c: Likewise.
4574 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4575 * wcsmbs/isoc99_vswscanf.c: Likewise.
4576 * wcsmbs/isoc99_vwscanf.c: Likewise.
4577 * wcsmbs/isoc99_wscanf.c: Likewise.
4579 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4582 (__tz_compute): Replace time_t with __time64_t.
4583 (__tz_convert): Replace time_t* with __time64_t.
4584 (__offtime): Replace time_t* with __time64_t.
4586 (__gmtime_r): Adjust call to __tz_convert.
4589 (__localtime_r): Likewise.
4590 (localtime): Likewise.
4591 * time/offtime.c: Replace time_t with __time64_t.
4592 * time/tzset.c: Likewise.
4594 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4596 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4597 dynamic linker unless [$(run-built-tests) = yes].
4599 2018-12-03 DJ Delorie <dj@delorie.com>
4601 * support/test-container.c (check_for_unshare_hints): New.
4602 (main): Call it if unshare fails. Add support for "su" scriptlet
4605 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4607 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4608 'START' to indicate that start text should be output.
4609 (gen_test): Likewise.
4610 (main): Generate 'START' for first symbol or '--' line, or at end
4611 of input if not previously generated.
4613 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4616 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4617 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4618 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4619 ALWAYS_USE_VSYSCALL.
4621 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4624 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4627 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4630 * locale/programs/localedef.c: Declare boolean hard_links default true.
4631 (options): Add --no-hard-links option.
4632 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4633 * locale/programs/localedef.h: Declare prototype for hard_links.
4634 * locale/programs/locfile.c (write_locale_data): Don't use hard
4635 links if hard_links is false.
4637 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4639 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4641 (__cache_sysconf): Likewise.
4642 (init_cacheinfo): Likewise.
4643 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4644 populate COMMON_CPUID_INDEX_80000007 and
4645 COMMON_CPUID_INDEX_80000008.
4646 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4647 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4648 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4649 (init_cpu_features): Use _Static_assert on
4650 index_arch_Fast_Unaligned_Load.
4651 __get_cpuid_registers and __get_arch_feature. Updated for
4652 cpu_features_basic. Set stepping in cpu_features.
4653 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4654 (FEATURE_INDEX_2): New.
4655 (FEATURE_INDEX_MAX): Changed to enum.
4656 (COMMON_CPUID_INDEX_D_ECX_1): New.
4657 (COMMON_CPUID_INDEX_80000007): Likewise.
4658 (COMMON_CPUID_INDEX_80000008): Likewise.
4659 (cpuid_registers): Likewise.
4660 (cpu_features_basic): Likewise.
4661 (CPU_FEATURE_USABLE): Likewise.
4662 (bit_arch_XXX_Usable): Likewise.
4663 (cpu_features): Use cpuid_registers and cpu_features_basic.
4664 (bit_arch_XXX): Reweritten.
4665 (bit_cpu_XXX): Likewise.
4666 (index_cpu_XXX): Likewise.
4667 (reg_XXX): Likewise.
4668 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4670 (CHECK_CPU_FEATURE): New.
4671 (CHECK_CPU_FEATURE_USABLE): Likewise.
4672 (cpu_kinds): Likewise.
4673 (do_test): Print vendor, family, model and stepping. Check
4674 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4675 (TEST_FUNCTION): Removed.
4676 Include <support/test-driver.c> instead of
4677 "../../test-skeleton.c".
4678 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4679 Check POPCNT instead of POPCOUNT.
4680 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4682 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4684 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4685 there is no element in `consts'.
4687 2018-12-01 Florian Weimer <fweimer@redhat.com>
4689 * support/support_capture_subprocess.c
4690 (support_capture_subprocess): Check that pipe descriptors have
4691 expected values. Close original pipe descriptors in subprocess.
4693 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4696 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4697 attr with __pthread_default_barrierattr.
4698 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4699 attr with __pthread_default_condattr.
4700 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4701 attr with __pthread_default_mutexattr.
4702 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4703 attr with __pthread_default_rwlockattr.
4705 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4707 * manual/tunables.texi (POSIX Thread Tunables): New node.
4708 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4709 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4710 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4711 __pthread_tunables_init.
4712 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4713 (max_adaptive_count): Define.
4714 * nptl/pthread_mutex_conf.c: New file.
4715 * nptl/pthread_mutex_conf.h: New file.
4716 * sysdeps/generic/adaptive_spin_count.h: New file.
4717 * sysdeps/nptl/dl-tunables.list: New file.
4718 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4719 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4720 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4723 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4726 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4727 * stdlib/on_exit.c (__on_exit): Likewise.
4728 * stdlib/Makefile (tests): Add tst-bz20544.
4729 * stdlib/tst-bz20544.c: New test.
4731 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4734 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4735 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4738 2018-11-30 Florian Weimer <fweimer@redhat.com>
4740 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4741 Extend error logging.
4742 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4745 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4747 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4748 __sigismember instead of sigismember.
4749 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4750 cancel_handler): New definitions.
4751 (do_system): Use posix_spawn instead of fork and execl and remove
4753 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4754 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4755 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4756 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4758 * sysdeps/unix/sysv/linux/system.c: Likewise.
4762 * NEWS: Add new semantic for atfork with popen and system.
4763 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4766 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4769 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4770 modification order when accessing reloc_result->addr.
4771 * include/link.h (reloc_result): Add field init.
4772 * nptl/Makefile (tests): Add tst-audit-threads.
4773 (modules-names): Add tst-audit-threads-mod1 and
4774 tst-audit-threads-mod2.
4775 Add rules to build tst-audit-threads.
4776 * nptl/tst-audit-threads-mod1.c: New file.
4777 * nptl/tst-audit-threads-mod2.c: Likewise.
4778 * nptl/tst-audit-threads.c: Likewise.
4779 * nptl/tst-audit-threads.h: Likewise.
4781 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4783 * scripts/gen-as-const.py: New file.
4784 * scripts/gen-as-const.awk: Remove.
4785 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4787 ($(objpfx)test-as-const-%.c): Likewise.
4789 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4791 * elf/dl-exception.c: Include <_itoa.h>.
4793 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4795 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4796 returned by __f_setlk.
4798 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4799 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4801 * elf/Makefile (tests-internal): Add tst-create_format1.
4802 * elf/dl-exception.c (_dl_exception_create_format): Support
4804 * elf/tst-create_format1.c: New file.
4806 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4808 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4809 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4811 * argp/argp-help.c (__argp_failure): Likewise.
4813 2018-11-29 Mao Han <han_mao@c-sky.com>
4815 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4816 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4817 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4818 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4819 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4820 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4821 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4822 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4823 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4824 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4825 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4826 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4827 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4828 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4829 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4830 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4831 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4832 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4833 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4834 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4835 (R_CKCORE_TLS_TPOFF32): New defines.
4837 2018-11-29 Florian Weimer <fweimer@redhat.com>
4839 * posix/Makefile (before-compile): Remove testcases.h and
4841 (generated): Add testcases.h and ptestcases.h.
4842 (testcases.h, ptestcases.h): Move to $(objpfx).
4843 (runtests.o): Add dependency on testcases.h.
4844 (runptests.o): Add dependency on ptestcases.h.
4845 * posix/testcases.h, posix/ptestcases.h: Remove files.
4846 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4847 not touch posix/testcases.h and posix/ptestcases.h.
4849 2018-11-28 Florian Weimer <fweimer@redhat.com>
4851 support: Add signal support to support_capture_subprocess_check.
4852 * support/capture_subprocess.h (support_capture_subprocess_check):
4853 Adjust comment and rename parameter.
4854 * support/support_capture_subprocess_check.c
4855 (print_actual_status): New function.
4856 (support_capture_subprocess_check): Support negative
4857 status_or_signal. Call print_actual_status.
4858 * support/tst-support_capture_subprocess.c (do_test): Call
4859 support_capture_subprocess_check.
4860 * libio/tst-vtables-common.c (termination_status)
4861 (init_termination_status): Remove.
4862 (check_for_termination): Adjust support_capture_subprocess_check
4864 (do_test): Remove call to init_termination_status.
4866 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4868 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4869 source directory instead of a copy.
4870 (CommandList.create_copy_dir): Remove.
4872 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4874 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4876 2018-11-28 Florian Weimer <fweimer@redhat.com>
4878 * support/support.h (support_quote_string): Do not use str
4881 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4883 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4884 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4886 2018-11-27 Florian Weimer <fweimer@redhat.com>
4888 * support/support.h (support_quote_string): Declare.
4889 * support/support_quote_string.c: New file.
4890 * support/tst-support_quote_string.c: Likewise.
4891 * support/Makefile (libsupport-routines): Add
4892 support_quote_string.
4893 (tests): Add tst-support_quote_string.
4895 2018-11-27 Florian Weimer <fweimer@redhat.com>
4899 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4900 descriptor leak in case of ENODEV error.
4902 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4905 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4906 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4907 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4909 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4911 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4912 Error for unknown lines.
4914 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4916 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4917 Touch additional files.
4919 2018-11-26 Florian Weimer <fweimer@redhat.com>
4922 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4925 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4928 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4929 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4930 SHARED. Include sysdep.h.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4932 ALWAYS_USE_VSYSCALL.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4934 ALWAYS_USE_VSYSCALL.
4936 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4939 * nptl/Makefile (tests-static): Add tst-cond11-static.
4941 * nptl/tst-cond11-static.c: New File.
4942 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4943 tst-affinity-static.
4945 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4947 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4948 (USE_VSYSCALL): Likewise.
4949 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4950 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4952 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4957 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4960 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4961 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4964 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4966 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4967 (tst-cet-legacy-1a-ARGS): New.
4968 ($(objpfx)tst-cet-legacy-1a): New target.
4969 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4971 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4973 * conform/conformtest.py (CompileSubTest.__init__): Set
4974 self.run_early to False.
4975 (ExecuteSubTest.__init__): Likewise.
4976 (HeaderTests.run): Try running all non-optional, non-XFAILed
4977 compilation tests in a single execution of the compiler.
4979 * conform/conformtest.py (CompileSubTest): New class.
4980 (ExecuteSubTest): Likewise.
4981 (ElementTest.run): Rename to gen_subtests. Append tests to
4982 self.subtests instead of running them.
4983 (ConstantTest.run): Likewise.
4984 (SymbolTest.run): Likewise.
4985 (TypeTest.run): Likewise.
4986 (TagTest.run): Likewise.
4987 (FunctionTest.run): Likewise.
4988 (VariableTest.run): Likewise.
4989 (MacroFunctionTest.run): Likewise.
4990 (MacroStrTest.run): Likewise.
4991 (HeaderTests.handle_test_line): Generate subtests for tests.
4992 (HeaderTests.run): Run subtests for tests.
4994 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4996 * math/Versions (GLIBC_2.29): Add pow.
4997 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4999 * math/w_pow.c: New file.
5000 * sysdeps/i386/fpu/w_pow.c: New file.
5001 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5003 and add necessary aliases.
5004 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5005 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5006 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5007 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5008 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5009 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5010 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5011 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5012 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5013 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5014 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5015 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5016 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5017 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5018 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5023 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5024 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5025 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5026 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5027 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5030 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5032 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5033 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5034 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5036 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5038 * math/Versions (GLIBC_2.29): Add log2.
5039 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5041 * math/w_log2.c: New file.
5042 * sysdeps/i386/fpu/w_log2.c: New file.
5043 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5044 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5045 and add necessary aliases.
5046 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5047 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5048 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5049 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5050 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5051 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5052 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5053 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5054 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5055 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5056 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5057 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5058 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5059 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5060 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5066 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5067 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5069 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5071 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5073 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5075 * math/Versions (GLIBC_2.29): Add log.
5076 * math/w_log_compat.c (__log_compat): Change to versioned compat
5078 * math/w_log.c: New file.
5079 * sysdeps/i386/fpu/w_log.c: New file.
5080 * sysdeps/ia64/fpu/e_log.S: Update.
5081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5082 and add necessary aliases.
5083 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5084 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5085 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5086 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5087 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5089 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5090 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5092 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5093 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5094 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5095 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5104 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5107 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5108 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5109 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5111 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5112 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5113 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5114 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5116 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5118 * math/Versions (GLIBC_2.29): Add exp and exp2.
5119 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5120 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5121 * math/w_exp_compat.c (__exp_compat): Likewise.
5122 * math/w_exp.c: New file.
5123 * math/w_exp2.c: New file.
5124 * sysdeps/i386/fpu/w_exp.c: New file.
5125 * sysdeps/i386/fpu/w_exp2.c: New file.
5126 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5127 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5129 and add necessary aliases.
5130 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5131 and add necessary aliases.
5132 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5133 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5134 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5135 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5136 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5137 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5138 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5139 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5140 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5141 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5142 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5143 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5144 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5145 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5147 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5148 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5153 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5154 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5155 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5156 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5157 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5158 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5159 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5160 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5161 (__ieee754_exp): Rename to __exp.
5162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5163 (__ieee754_exp): Rename to __exp.
5164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5165 (__ieee754_exp): Rename to __exp.
5166 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5168 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5170 2018-11-20 DJ Delorie <dj@redhat.com>
5172 * malloc/malloc.c (tcache_entry): Add key field.
5173 (tcache_put): Set it.
5174 (tcache_get): Likewise.
5175 (_int_free): Check for double free in tcache.
5176 * malloc/tst-tcfree1.c: New.
5177 * malloc/tst-tcfree2.c: New.
5178 * malloc/Makefile: Run the new tests.
5179 * manual/probes.texi: Document memory_tcache_double_free probe.
5181 * dlfcn/dlerror.c (check_free): Prevent double frees.
5183 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5185 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5187 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5189 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5190 in tests. Use names for format arguments.
5191 (ConstantTest.run): Likewise.
5192 (SymbolTest.run): Likewise.
5193 (TypeTest.run): Likewise.
5194 (TagTest.run): Likewise.
5195 (FunctionTest.run): Likewise.
5196 (VariableTest.run): Likewise.
5197 (MacroFunctionTest.run): Likewise.
5198 (MacroStrTest.run): Likewise.
5199 (HeaderTests.__init__): Set self.num_tests.
5200 (HeaderTests.handle_test_line): Set test.num. Increment
5203 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5205 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5206 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5209 2018-11-19 Mao Han <han_mao@c-sky.com>
5211 * scripts/config.guess: Update to version 2018-08-29.
5212 * scripts/config.sub: Update to version 2018-08-29.
5214 2018-11-19 Florian Weimer <fweimer@redhat.com>
5216 support: Print timestamps in timeout handler.
5217 * support/support_test_main.c (print_timestamp): New function.
5218 (signal_handler): Use it to print the termination time and the
5219 time of the last write to standard output.
5221 2018-11-16 Zack Weinberg <zackw@panix.com>
5222 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5224 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5225 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5227 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5228 and add flags argument. Check flags instead of __ldbl_is_dbl when
5229 deciding whether to set is_long_double.
5230 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5231 passing zero for flags argument.
5232 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5234 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5235 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5236 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5237 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5238 variable names. Remove libc_hidden_def/libc_hidden_proto from
5239 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5240 longer called from within the library.
5241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5242 for __nldbl___vstrfmon_l, declare it explicitly.
5244 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5246 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5248 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5250 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5251 F_SETLK64, F_SETLKW64, respectively.
5252 * sysdeps/mach/hurd/f_setlk.c: New file.
5253 * sysdeps/mach/hurd/f_setlk.h: New file.
5254 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5256 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5257 (__libc_fcntl): Move non-flock operations to...
5258 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5259 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5261 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5263 mktime: DEBUG_MKTIME cleanup
5264 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5265 And it’s no longer needed now that glibc and Gnulib both have
5266 their own testing mechanisms for mktime.
5267 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5269 mktime: fix non-EOVERFLOW errno handling
5271 mktime was not properly reporting failures when the underlying
5272 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5273 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5274 The problem could happen on non-glibc platforms, with Gnulib.
5275 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5276 (tm_diff): ... this simpler function, which does not change errno.
5277 All callers changed to deal with errno themselves.
5278 (ranged_convert, __mktime_internal): Return failure immediately if
5279 the underlying function reports any failure other than EOVERFLOW.
5280 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5283 mktime: fix bug with Y2038 DST transition
5285 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5286 mishandle a DST transition that jumps over the Y2038 boundary.
5287 No such DST transitions are known so this is only a theoretical
5288 bug, but we might as well do things right.
5290 mktime: make more room for overflow
5292 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5293 This is so that we can add tm_diff results to a previous guess,
5294 which will be useful in a later patch.
5296 mktime: simplify offset guess
5298 * time/mktime.c (__mktime_internal): Omit excess precision.
5300 mktime: new test for mktime failure
5302 Based on a test suggested by Albert Aribaud in:
5303 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5304 * time/Makefile (tests): Add bug-mktime4.
5305 * time/bug-mktime4.c: New file.
5307 mktime: fix EOVERFLOW bug
5309 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5310 Include libc-config.h, not config.h, for __set_errno.
5311 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5313 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5315 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5316 __attribute_copy__ to copy attributes from name. Drop static qualifier
5317 to avoid warnings about leaf attribute not having effect on static
5320 2018-11-13 Florian Weimer <fweimer@redhat.com>
5322 * malloc/malloc.c (fastbin_push_entry): New function.
5323 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5324 (REMOVE_FB): Remove macro.
5325 (_int_malloc): Use fastbin_pop_entry and reindent.
5326 (_int_free): Use fastbin_push_entry.
5327 (malloc_consolidate): Use atomic_exchange_acquire.
5329 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5331 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5332 alias attribute, not with strong_alias.
5334 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5335 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5336 with additional parameter thread.
5337 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5338 in terms of __hidden_ver2.
5339 (hidden_tls_def): New macro.
5340 (libc_hidden_tls_def): Likewise.
5341 (rtld_hidden_tls_def): Likewise.
5342 (libm_hidden_tls_def): Likewise.
5343 (libmvec_hidden_tls_def): Likewise.
5344 (libresolv_hidden_tls_def): Likewise.
5345 (librt_hidden_tls_def): Likewise.
5346 (libdl_hidden_tls_def): Likewise.
5347 (libnss_files_hidden_tls_def): Likewise.
5348 (libnsl_hidden_tls_def): Likewise.
5349 (libnss_nisplus_hidden_tls_def): Likewise.
5350 (libutil_hidden_tls_def): Likewise.
5351 (libutil_hidden_tls_def): Likweise.
5352 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5353 libc_hidden_tls_def.
5354 (__sim_disabled_exceptions_thread): Likewise.
5355 (__sim_round_mode_thread): Likewise.
5357 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5358 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5359 copy attributes from name.
5361 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5363 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5364 Use __attribute_copy__ to copy attributes from name.
5366 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5367 with __hidden_ver1 call.
5368 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5369 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5370 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5371 (__cosf): Do not declare here.
5372 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5373 (__sincosf): Do not declare here.
5374 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5375 (__sinf): Do not declare here.
5377 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5378 (__BIG_ENDIAN): Likewise.
5379 (__BYTE_ORDER): Likewise.
5380 (strong_alias): Likewise.
5381 (_strong_alias): Likewise.
5383 2018-11-12 Florian Weimer <fweimer@redhat.com>
5385 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5386 function. Move after the definition of in_smallbin_range. Do not
5387 use __builtin_expect for paths that lead to a noreturn function.
5388 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5389 because it is unclear whether this is in fact an unlikely
5391 (_int_malloc, _int_free): Adjust.
5392 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5394 * malloc/arena.c (heap_trim): Likewise.
5396 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5398 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5399 it, free it if needed.
5400 (reauthenticate): Test and use ccwdir.
5401 (child_init_port): In non-resetids case, test and use ccwdir.
5402 (child_chdir): New nested function to set ccwdir.
5403 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5404 * hurd/hurd/port.h (_hurd_port_move): New function.
5405 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5406 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5407 * hurd/Versions (_hurd_port_move): Export function.
5408 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5410 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5411 of dtablesize for allocating dtable_cloexec.
5413 2018-11-09 Martin Sebor <msebor@redhat.com>
5415 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5416 it's already defined.
5417 (_strong_alias): Use __attribute_copy__.
5418 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5419 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5420 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5421 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5422 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5423 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5424 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5425 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5426 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5427 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5428 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5429 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5430 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5431 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5432 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5433 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5434 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5435 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5436 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5438 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5440 * misc/tst-efgcvt.c: Include support/check.h and
5441 support/test-driver.c. Do not include test-skeleton.c.
5442 (error_count): Remove.
5443 (output_error): Replace increments to error_count with calls to
5444 support_record_failure.
5445 (output_r_error): Likewise.
5446 (special): Likewise.
5447 (do_test): Unconditionally return zero.
5448 (TEST_FUNCTION): Remove.
5450 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5452 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5454 ($(linknamespace-header-tests)): Likewise.
5456 * conform/conformtest.py: New file.
5457 * conform/conformtest.pl: Remove.
5458 * conform/GlibcConform.pm: Likewise.
5459 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5460 (KEYWORDS_C99): Likewise.
5461 (KEYWORDS): Likewise.
5462 * conform/Makefile ($(conformtest-header-tests)): Use
5463 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5464 option. Use --header instead of --headers.
5465 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5467 * conform/data/spawn.h-data: Likewise.
5468 * conform/data/fcntl.h-data (openat): Add space after function
5470 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5471 (wcscasecmp_l): Likewise.
5472 * conform/data/termios.h-data (c_cc): Add space after element
5475 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5477 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5478 instead of manually comparing and reporting mismatching strings.
5479 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5480 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5482 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5484 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5485 __ASSUME_SOCKETCALL.
5486 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5487 (__ASSUME_SOCKETCALL): Remove.
5488 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5489 (__ASSUME_SOCKETCALL): Likewise.
5490 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5491 (__ASSUME_SOCKETCALL): Likewise.
5492 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5493 (__ASSUME_SOCKETCALL): Likewise.
5494 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5495 (__ASSUME_SOCKETCALL): Likewise.
5496 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5497 (__ASSUME_SOCKETCALL): Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5499 (__ASSUME_SOCKETCALL): Likewise.
5501 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5504 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5505 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5506 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5507 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5508 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5511 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5514 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5516 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5520 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5522 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5524 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5526 * support/support_test_compare_string.c
5527 (support_test_compare_string): Fix printf format.
5529 2018-11-07 Florian Weimer <fweimer@redhat.com>
5531 Implement TEST_COMPARE_STRING.
5532 * support/check.h (TEST_COMPARE_STRING): Define.
5533 (support_test_compare_string): Declare.
5534 * support/Makefile (libsupport-routines): Add
5535 support_test_compare_string.
5536 (tests): Add tst-test_compare_string.
5537 * support/support_test_compare_string.c: New file.
5538 * support/tst-test_compare_string.c: Likewise.
5540 2018-11-07 Andreas Schwab <schwab@suse.de>
5543 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5544 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5547 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5550 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5551 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5552 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5553 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5556 2018-11-06 Florian Weimer <fweimer@redhat.com>
5559 * posix/Makefile (routines): Add spawn_faction_addchdir.
5560 (tests): Add tst-spawn-chdir.
5561 * posix/Versions (GLIBC_2.29): Add
5562 posix_spawn_file_actions_addchdir_np.
5563 * posix/spawn_faction_addchdir.c: New file.
5564 * posix/spawn_faction_destroy.c
5565 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5566 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5567 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5569 * posix/tst-spawn-chdir.c: New file.
5570 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5571 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5572 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5573 posix_spawn_file_actions_addchdir_np.
5574 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5576 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5578 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5579 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5581 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5583 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5585 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5587 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5589 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5591 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5592 (GLIBC_2.29): Likewise.
5593 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5594 (GLIBC_2.29): Likewise.
5595 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5596 (GLIBC_2.29): Likewise.
5597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5598 (GLIBC_2.29): Likewise.
5599 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5602 (GLIBC_2.29): Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5604 (GLIBC_2.29): Likewise.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5606 (GLIBC_2.29): Likewise.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5608 (GLIBC_2.29): Likewise.
5609 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5613 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5615 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5618 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5620 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5622 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5625 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5627 * misc/Makefile (tests): Add tst-ldbl-error.
5628 * misc/tst-ldbl-error.c: New file.
5630 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5632 * misc/Makefile (tests): Add tst-ldbl-warn.
5633 * misc/tst-ldbl-warn.c: New file.
5635 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5637 * argp/Makefile (tests): Add tst-ldbl-argp.
5638 * argp/tst-ldbl-argp.c: New file.
5640 2018-11-05 Arjun Shankar <arjun@redhat.com>
5642 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5643 __gconv_path_elem and call __gconv_get_path unconditionally.
5645 2018-11-05 Andreas Schwab <schwab@suse.de>
5648 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5649 creating the first helper thread failed.
5651 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5653 * sysdeps/mach/hurd/msync.c: New file.
5655 2018-11-02 Florian Weimer <fweimer@redhat.com>
5657 * support/shell-container.c (copy_func): Call
5658 support_copy_file_range instead of copy_file_range to support
5659 cross-device copies.
5661 2018-11-02 Florian Weimer <fweimer@redhat.com>
5663 * support/test-container.c: Include <libc-pointer-arith.h> for
5666 2018-11-01 Zong Li <zong@andestech.com>
5668 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5669 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5670 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5671 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5673 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5674 variable to avoid overlap arguments.
5676 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5678 * posix/bug-regex22.c (main): Use puts with distinct error
5679 messages for unexpected success of re_compile_pattern, not printf
5680 with NULL argument to %s.
5682 * stdio-common/bug22.c: Include <libc-diag.h>.
5683 (do_test): Disable -Wformat-overflow= warnings around fprintf
5684 calls outputting more than INT_MAX characters.
5685 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5686 around printf call with NULL %s argument.
5689 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5690 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5692 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5693 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5694 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5695 (__ASSUME_SENDTO_SYSCALL): Likewise.
5696 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5697 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5699 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5700 (__ASSUME_CONNECT_SYSCALL): Likewise.
5701 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5702 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5703 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5705 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5707 [__LINUX_KERNEL_VERSION >= 0x040400]
5708 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5712 (setsockopt): Likewise.
5714 2018-11-01 Fredrik Noring <noring@nocrew.org>
5716 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5717 with the ISA override.
5719 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5721 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5724 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5726 * manual/errno.texi (EIEIO): Document how translators should
5727 translate the error message.
5728 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5729 printing trailing whitespaces refused by git.
5730 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5731 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5732 * hurd/Makefile (user-interfaces): Add pci.
5734 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5736 * conform/linknamespace.py: New file.
5737 * conform/linknamespace.pl: Remove file.
5738 * conform/Makefile ($(linknamespace-header-tests)): Use
5739 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5742 2018-10-30 Florian Weimer <fweimer@redhat.com>
5744 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5747 2018-10-30 Florian Weimer <fweimer@redhat.com>
5749 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5751 2018-10-30 Florian Weimer <fweimer@redhat.com>
5753 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5754 support_blob_repeat.
5756 2018-10-30 Florian Weimer <fweimer@redhat.com>
5758 Avoid spurious test failures in stdlib/test-bz22786.
5759 * support/Makefile (libsupport-routines): Add blob_repeat.
5760 (tests): Add tst-support_blob_repeat.
5761 * support/blob_repeat.h: New file.
5762 * support/blob_repeat.c: Likewise.
5763 * support/tst-support_blob_repeat.c: Likewise.
5764 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5765 support_blob_repeat_allocate.
5767 2018-10-30 Andreas Schwab <schwab@suse.de>
5770 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5771 Don't use tail call.
5772 * elf/tst-unwind-main.c: New file.
5773 * elf/Makefile (tests): Add tst-unwind-main.
5774 (CFLAGS-tst-unwind-main.c): Define.
5776 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5779 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5781 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5783 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5785 * conform/glibcconform.py: Do not import shutil.
5786 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5789 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5790 critic_missing for versions before 3.4.
5791 * configure: Regenerated.
5792 * manual/install.texi (Tools for Compilation): Document
5793 requirement for Python to build glibc.
5794 * INSTALL: Regenerated.
5795 * Rules [PYTHON]: Make code unconditional.
5796 * benchtests/Makefile [PYTHON]: Likewise.
5797 * conform/Makefile [PYTHON]: Likewise.
5798 * manual/Makefile [PYTHON]: Likewise.
5799 * math/Makefile [PYTHON]: Likewise.
5801 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5803 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5804 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5805 answer to interrupt_operation, return EIEIO instead of EINTR.
5806 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5807 _hurd_intr_rpc_msg_about_to global point to start of controlled
5808 assembly snippet. Make it check canceled flag.
5809 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5810 the _hurd_intr_rpc_msg_about_to point.
5811 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5812 issue, remove cancel flag check.
5814 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5816 * scripts/build-many-glibcs.py: Remove compatibility for missing
5817 os.cpu_count and re.fullmatch.
5819 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5822 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5823 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5824 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5826 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5828 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5831 2018-10-25 Florian Weimer <fweimer@redhat.com>
5835 XFAIL siginfo_t si_band conform test on sparc64.
5836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5837 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5838 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5839 (conformtest-xfail-conds): Add sparc64-linux.
5840 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5842 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5844 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5846 * elf/elf.h (NT_MIPS_DSP): New macro.
5847 (NT_MIPS_FP_MODE): Likewise.
5849 2018-10-25 Zong Li <zong@andestech.com>
5851 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5852 name by adding the file extension (.so).
5854 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5856 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5857 (test-xfail-ISO11/threads.h/linknamespace,
5858 test-xfail-ISO11/threads.h/conform): Add.
5860 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5862 * math/gen-libm-test.py: Import os.
5863 (ALL_FLOATS_MANUAL): New constant.
5864 (ALL_FLOATS_SUFFIX): Likewise.
5865 (Ulps.all_functions): New function.
5866 (real_all_ulps): Likewise.
5867 (generate_err_table_sub): Likewise.
5868 (generate_err_table): Likewise.
5869 (main): Handle -s and -m options.
5870 * manual/libm-err-tab.pl: Remove.
5871 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5872 instead of libm-err-tab.pl.
5873 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5875 * manual/install.texi (Tools for Compilation): Document
5876 requirement for Python to build manual.
5877 * INSTALL: Regenerated.
5879 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5881 * bits/time64.h: New file.
5882 * include/time.h: Replace internal_time_t with __time64_t.
5883 * posix/bits/types (__time64_t): Add.
5884 * stdlib/Makefile: Add bits/time64.h to includes.
5885 * time/tzfile.c: Replace internal_time_t with __time64_t.
5887 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5889 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5890 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5891 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5892 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5893 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5895 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5896 * posix/spawn_faction_addclose.c
5897 (__posix_spawn_file_actions_addclose): Add hidden definition.
5898 * posix/spawn_faction_adddup2.c
5899 (__posix_spawn_file_actions_adddup2): Likewise.
5900 * posix/spawn_faction_destroy.c
5901 (__posix_spawn_file_actions_destroy): Likewise.
5902 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5904 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5905 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5906 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5908 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5909 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5912 2018-10-24 Andreas Schwab <schwab@suse.de>
5915 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5917 * elf/cache.c (print_cache): Likewise.
5919 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5921 * bits/timesize.h: New file.
5922 * stdlib/Makefile (headers): Add bits/timesize.h.
5923 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5924 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5925 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5926 (__SEM_PAD_AFTER_TIME): Likewise.
5927 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5928 (__SHM_PAD_AFTER_TIME): Likewise.
5929 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5930 (__MSQ_PAD_BEFORE_TIME): Likewise.
5931 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5932 (__SEM_PAD_BEFORE_TIME): Likewise.
5933 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5934 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5935 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5936 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5938 (__MSQ_PAD_BEFORE_TIME): Likewise.
5939 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5940 (__SEM_PAD_BEFORE_TIME): Likewise.
5941 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5942 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5943 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5944 (__MSQ_PAD_BEFORE_TIME): Likewise.
5945 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5946 (__SEM_PAD_BEFORE_TIME): Likewise.
5947 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5948 (__SHM_PAD_BEFORE_TIME): Likewise.
5949 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5950 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5951 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5953 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5955 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5956 USE_RDTSCP is defined.
5957 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5958 USE_RDTSCP is defined.
5960 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5962 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5966 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5967 independently of other flags.
5969 2018-10-23 Florian Weimer <fweimer@redhat.com>
5971 * time/tst-mktime2.c (N_STRINGS): Remove.
5972 (set_timezone): New function.
5973 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5974 (mktime_test1): Report localtime failure and check errno value.
5976 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5977 (do_test): Remove alarm call. Use set_timezone and array_length.
5979 2018-10-23 Andreas Schwab <schwab@suse.de>
5981 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5982 (__start_context): Use END instead of PSEUDO_END.
5984 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5986 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5989 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5993 * wcsmbs/c32rtomb.c: New file.
5994 * wcsmbs/mbrtoc32.c: Likewise.
5995 * wcsmbs/tst-c32-state.c: Likewise.
5996 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5997 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5998 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5999 (tests): Add tst-c32-state.
6000 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6003 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6005 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6006 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6008 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6011 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6012 pair and return 0 in that case, and use saved character to
6013 interpret following character.
6014 * wcsmbs/tst-c16-surrogate.c: New file.
6015 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6016 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6017 Depend on $(gen-locales)
6019 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6022 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6023 (struct siginfo_t): Use correct type for si_band.
6025 2018-10-19 Florian Weimer <fweimer@redhat.com>
6028 * resource/bits/types/struct_rusage.h (struct rusage): Update
6029 comment on struct. Remove extraneous field comment.
6031 2018-10-18 David S. Miller <davem@davemloft.net>
6033 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6034 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6035 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6036 sysdep_routines in subdir elf.
6037 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6038 version for __vdso_clock_gettime.
6039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6041 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6042 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6044 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6046 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6048 * sysdeps/i386/init-arch.h: Removed.
6049 * sysdeps/i386/i586/init-arch.h: Likewise.
6050 * sysdeps/i386/i686/init-arch.h: Likewise.
6051 * sysdeps/i386/i686/hp-timing.h: Likewise.
6052 * sysdeps/x86_64/hp-timing.h: Likewise.
6053 * sysdeps/i386/isa.h: New file.
6054 * sysdeps/i386/i586/isa.h: Likewise.
6055 * sysdeps/i386/i686/isa.h: Likewise.
6056 * sysdeps/x86_64/isa.h: Likewise.
6057 * sysdeps/x86/hp-timing.h: New file.
6058 * sysdeps/x86/init-arch.h: Include <isa.h>.
6060 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6062 * math/libm-test-pow.inc (pow_test_data): Do not allow
6063 divide-by-zero exception for pow(+/- 0, -Inf).
6065 2018-10-17 Zack Weinberg <zackw@panix.com>
6067 * manual/job.texi (Job Control is Optional): Remove node, as
6068 job control has not been optional in quite some time.
6069 (Job Control): Mention briefly that systems older than
6070 POSIX.1-2001 might not support job control.
6071 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6072 defined on systems conforming to POSIX.1-2001.
6074 2018-10-17 Arjun Shankar <arjun@redhat.com>
6077 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6079 * (__gconv_read_conf): Mark function static.
6080 * (once): New static variable.
6081 * (__gconv_load_conf): New function.
6082 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6083 * iconv/gconv_db.c (once): Remove static variable.
6084 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6086 * (__gconv_find_transform): Likewise.
6087 * iconv/tst-iconv-mt.c: New test.
6088 * iconv/Makefile: Add tst-iconv_mt.
6090 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6094 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6095 (shmatt_t): Define as __syscall_ulong_t.
6096 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6097 and [__SHM_PAD_AFTER_TIME].
6098 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6099 Define shm_segsz and associated padding based on
6100 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6101 Use __syscall_ulong_t instead of unsigned long int.
6102 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6104 [__USE_MISC] (struct shm_info): Likewise.
6105 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6106 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6107 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6109 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6110 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6111 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6112 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6113 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6115 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6119 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6120 (SHMLBA): Remove macro.
6121 (__getpagesize): Remove function declaration.
6122 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6124 (SHMLBA): Remove macro.
6125 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6127 (SHMLBA): Remove macro.
6128 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6130 (SHMLBA): Remove macro.
6131 (__getpagesize): Remove function declaration.
6132 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6134 (SHMLBA): Remove macro.
6135 (__getshmlba): Remove function declaration.
6136 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6137 (SHMLBA): Remove macro.
6138 (__getpagesize): Remove function declaration.
6139 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6140 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6141 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6142 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6143 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6144 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6145 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6146 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6147 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6148 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6150 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6153 * nptl/tst-mutex10.c: New File.
6154 * nptl/Makefile (tests): Add tst-mutex10.
6155 (tst-mutex10-ENV): New variable.
6156 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6157 Ensure that elision path is used if elision is available.
6158 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6160 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6162 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6163 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6164 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6165 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6167 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6168 (__pthread_mutex_cond_lock_adjust): Likewise.
6169 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6171 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6172 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6173 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6174 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6176 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6177 Use atomic_load_relaxed and atomic_store_relaxed.
6178 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6179 Use atomic_store_relaxed.
6181 2018-10-17 Andreas Schwab <schwab@suse.de>
6183 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6184 * crypt/badsalttest.c (TIMEOUT): Likewise.
6185 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6186 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6187 * io/test-lfs.c (TIMEOUT): Likewise.
6188 * libio/tst-atime.c (TIMEOUT): Likewise.
6189 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6190 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6191 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6192 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6193 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6194 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6195 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6196 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6197 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6198 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6199 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6200 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6201 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6202 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6203 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6204 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6205 * nptl/tst-once2.c (TIMEOUT): Likewise.
6206 * nptl/tst-once3.c (TIMEOUT): Likewise.
6207 * nptl/tst-once4.c (TIMEOUT): Likewise.
6208 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6209 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6210 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6211 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6212 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6213 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6214 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6215 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6216 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6217 * posix/tst-chmod.c (TIMEOUT): Likewise.
6218 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6219 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6220 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6221 * posix/tst-regex2.c (TIMEOUT): Likewise.
6222 * posix/tst-waitid.c (TIMEOUT): Likewise.
6223 * rt/tst-aio.c (TIMEOUT): Likewise.
6224 * rt/tst-aio10.c (TIMEOUT): Likewise.
6225 * rt/tst-aio4.c (TIMEOUT): Likewise.
6226 * rt/tst-aio5.c (TIMEOUT): Likewise.
6227 * rt/tst-aio6.c (TIMEOUT): Likewise.
6228 * rt/tst-aio64.c (TIMEOUT): Likewise.
6229 * rt/tst-aio7.c (TIMEOUT): Likewise.
6230 * rt/tst-aio9.c (TIMEOUT): Likewise.
6231 * rt/tst-clock.c (TIMEOUT): Likewise.
6232 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6233 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6234 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6235 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6236 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6237 * rt/tst-timer4.c (TIMEOUT): Likewise.
6238 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6239 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6240 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6241 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6242 * time/tst-ftime.c (TIMEOUT): Likewise.
6243 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6245 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6247 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6248 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6251 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6255 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6256 instead of <bits/wordsize.h>.
6257 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6258 and [__SEM_PAD_AFTER_TIME].
6259 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6260 __syscall_ulong_t instead of unsigned long int.
6261 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6262 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6263 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6264 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6266 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6267 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6268 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6269 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6273 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6275 regex: simplify by using intprops.h
6277 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6278 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6279 intprops.h defines them.
6281 regex: __builtin_expect → __glibc_unlikely
6283 This refactoring was prompted by a problem when the regex code is
6284 used as part of Gnulib and when the builder’s compiler does not grok
6285 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6286 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6287 Although this refactoring does not fix the problem directly,
6288 we might as well have Gawk use the now-preferred glibc style for when
6289 __builtin_expect is unavailable.
6290 * posix/regex_internal.h (BE): Remove.
6291 All uses replaced by __glibc_unlikely or __glibc_likely.
6293 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6297 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6298 instead of <bits/wordsize.h>.
6299 (msgqnum_t): Define as __syscall_ulong_t.
6300 (msglen_t): Likewise.
6301 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6302 and [__MSQ_PAD_AFTER_TIME].
6303 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6304 __syscall_ulong_t instead of unsigned long int.
6305 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6306 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6307 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6308 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6309 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6310 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6311 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6312 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6313 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6314 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6315 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6317 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6319 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6320 (struct shmid_ds): Condition padding after time fields on
6322 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6323 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6324 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6326 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6327 (struct semid_ds): Condition padding after time fields on
6329 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6330 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6331 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6332 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6334 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6335 (struct msqid_ds): Condition padding after time fields on
6337 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6338 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6339 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6340 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6342 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6344 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6346 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6348 * libio/tst-readline.c (TIMEOUT): Define.
6350 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6352 mktime fix for Gnulib + coreutils
6354 This fix affects only Gnulib. Problem discovered when
6355 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6357 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6358 Do not define since it is not used. Defining an unused static
6359 function prompts a warning from GCC when Coreutils is configured
6360 with --enable-gcc-warnings.
6362 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6364 * benchtests/scripts/compare_bench.py (main): set float type on
6367 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6370 * localedata/locales/kl_GL (mon): Update, the relative case.
6371 (alt_mon): Add, fill with month names in the nominative case.
6372 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6373 (d_fmt): Set to "%b %d %Y".
6375 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6377 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6378 <bits/mman-linux.h>.
6379 (PROT_READ): Don't define here.
6380 (PROT_WRITE): Likewise.
6381 (PROT_EXEC): Likewise.
6382 (PROT_NONE): Likewise.
6383 (PROT_GROWSDOWN): Likewise.
6384 (PROT_GROWSUP): Likewise.
6385 (MAP_SHARED): Likewise.
6386 (MAP_PRIVATE): Likewise.
6387 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6388 [__USE_MISC] (MAP_FILE): Likewise.
6389 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6390 [__USE_MISC] (MAP_ANON): Likewise.
6391 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6392 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6393 (MCL_CURRENT): Likewise.
6394 (MCL_FUTURE): Likewise.
6395 (MCL_ONFAULT): Likewise.
6396 [__USE_MISC] (MADV_NORMAL): Likewise.
6397 [__USE_MISC] (MADV_RANDOM): Likewise.
6398 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6399 [__USE_MISC] (MADV_WILLNEED): Likewise.
6400 [__USE_MISC] (MADV_DONTNEED): Likewise.
6401 [__USE_MISC] (MADV_FREE): Likewise.
6402 [__USE_MISC] (MADV_REMOVE): Likewise.
6403 [__USE_MISC] (MADV_DONTFORK): Likewise.
6404 [__USE_MISC] (MADV_DOFORK): Likewise.
6405 [__USE_MISC] (MADV_HWPOISON): Likewise.
6406 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6407 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6408 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6409 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6410 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6411 (__MAP_ANONYMOUS): New macro.
6412 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6413 <bits/mman-linux.h> inclusion.
6414 (MAP_FIXED): Likewise.
6415 (MS_SYNC): Likewise.
6416 (MS_ASYNC): Likewise.
6417 (MS_INVALIDATE): Likewise.
6418 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6419 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6420 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6421 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6422 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6423 [__USE_MISC] (MADV_DODUMP): Likewise.
6424 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6425 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6430 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6431 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6432 Add test-nldbl-redirect.
6433 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6434 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6435 $(objpfx)libnldbl_nonshared.a.
6437 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6439 * support/support.h (support_objdir_elf_ldso): New variable.
6440 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6441 * support/Makefile (CFLAGS-support_paths.c): Add definition
6442 for OBJDIR_ELF_LDSO_PATH.
6443 * support/test-container.c (main): Search for the ld.so
6444 which is also used by the testsuite.
6446 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6449 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6450 should be "sap" rather than "sab".
6451 (day): Fix spelling of Sunday, should be "sapaat" rather than
6454 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6456 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6458 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6461 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6462 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6463 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6465 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6467 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6469 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6471 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6473 (CFLAGS-elision-unlock.c): Likewise.
6474 (CFLAGS-elision-timed.c): Likewise.
6475 (CFLAGS-elision-trylock.c): Likewise.
6476 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6478 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6481 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6482 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6483 new fd_to_filename interface.
6484 * libio/freopen64.c (freopen64): Likewise.
6485 * libio/tst-memstream.h: New file.
6486 * libio/tst-memstream4.c: Likewise.
6487 * libio/tst-wmemstream4.c: Likewise.
6488 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6489 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6490 and remove internal dynamic allocation.
6492 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6494 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6495 (MREMAP_MAYMOVE): Do not define here.
6496 [__USE_GNU] (MREMAP_FIXED): Likewise.
6497 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6498 (MREMAP_MAYMOVE): Define here instead.
6499 [__USE_GNU] (MREMAP_FIXED): Likewise.
6500 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6501 (MREMAP_MAYMOVE): Remove.
6502 [__USE_GNU] (MREMAP_FIXED): Likewise.
6504 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6506 * math/fromfp.h: Do not include <math_private.h>.
6507 * math/s_cacosh_template.c: Likewise.
6508 * math/s_casin_template.c: Likewise.
6509 * math/s_casinh_template.c: Likewise.
6510 * math/s_ccos_template.c: Likewise.
6511 * math/s_cproj_template.c: Likewise.
6512 * math/s_fdim_template.c: Likewise.
6513 * math/s_fmaxmag_template.c: Likewise.
6514 * math/s_fminmag_template.c: Likewise.
6515 * math/s_iseqsig_template.c: Likewise.
6516 * math/s_ldexp_template.c: Likewise.
6517 * math/s_nextdown_template.c: Likewise.
6518 * math/w_log1p_template.c: Likewise.
6519 * math/w_scalbln_template.c: Likewise.
6520 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6521 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6522 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6523 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6524 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6525 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6526 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6527 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6528 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6529 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6530 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6531 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6532 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6533 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6534 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6535 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6536 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6541 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6542 * sysdeps/ieee754/k_standardf.c: Likewise.
6543 * sysdeps/ieee754/k_standardl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6546 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6553 * sysdeps/ieee754/s_signgam.c: Likewise.
6554 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6555 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6556 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6557 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6558 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6559 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6560 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6561 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6562 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6563 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6564 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6565 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6566 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6567 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6568 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6569 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6570 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6571 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6572 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6573 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6574 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6575 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6576 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6577 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6578 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6579 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6580 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6581 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6582 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6583 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6584 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6585 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6586 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6587 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6588 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6589 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6590 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6592 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6594 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6597 * sysdeps/i386/dl-cet.c: Removed.
6598 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6600 (_dl_runtime_profile_shstk): Likewise.
6601 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6602 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6604 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6607 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6608 do_test_with_invalid_iov): New tests.
6609 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6610 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6611 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6613 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6614 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6615 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6617 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6619 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6620 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6621 (MATH_REDIRECT_BINARY_ARGS): New macro.
6622 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6623 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6624 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6626 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6628 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6639 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6640 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6645 * sysdeps/generic/math_private_calls.h
6646 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6647 Do not declare and define as an inline function.
6648 * math/divtc3.c (__divtc3): Use copysign functions instead of
6649 __copysign variants.
6650 * math/multc3.c (__multc3): Likewise.
6651 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6652 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6653 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6654 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6657 (__ieee754_yn): Likewise.
6658 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6659 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6660 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6661 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6662 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6664 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6665 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6671 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6672 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6674 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6675 (__ieee754_ynf): Likewise.
6676 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6677 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6678 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6681 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6682 (__ieee754_ynl): Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6688 (__ieee754_ynl): Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6692 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6694 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6696 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6698 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6699 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6700 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6702 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6703 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6704 using MATH_REDIRECT.
6705 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6707 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6710 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6718 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6719 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6721 (round): Redirect to __round.
6722 (__roundl): Call round instead of __round.
6723 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6725 [_ARCH_PWR5X] (__roundf): Likewise.
6726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6727 functions instead of __round variants.
6728 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6729 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6735 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6738 (__ieee754_expl): Call roundl instead of __roundl.
6740 2018-09-27 Andreas Schwab <schwab@suse.de>
6743 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6744 (do_test): Make st1 static.
6746 2018-09-26 Andreas Schwab <schwab@suse.de>
6749 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6750 * elf/Makefile (tests): Add tst-unwind-ctor.
6751 (modules-names): Add tst-unwind-ctor-lib.
6752 ($(objpfx)tst-unwind-ctor): Depend on
6753 $(objpfx)tst-unwind-ctor-lib.so.
6755 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6757 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6758 file. Most contents moved from ....
6759 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6760 and include <bits/mman-map-flags-generic.h>.
6761 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6762 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6763 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6764 <bits/mman-map-flags-generic.h>.
6765 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6766 macros defined in <bits/mman-map-flags-generic.h>.
6767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6768 <bits/mman-map-flags-generic.h>.
6769 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6770 defined in <bits/mman-map-flags-generic.h>.
6772 2018-09-26 Andreas Schwab <schwab@suse.de>
6774 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6777 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6778 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6779 Fangrui Song <maskray@google.com>
6782 * config.make.in (have-textrel_ifunc): New define.
6783 * configure.ac: Add check if linker supports textrel relocation with
6785 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6787 (CFLAGS-tst-ifunc-textrel.c): New rule.
6788 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6789 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6790 * elf/tst-ifunc-textrel.c: New file.
6792 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6794 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6795 <bits/procfs-prregset.h>.
6796 (prgregset_t): Define using __prgregset_t.
6797 (prfpregset_t): Define using __prfpregset_t.
6798 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6799 (sysdep_headers): Add bits/procfs-prregset.h.
6800 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6801 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6802 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6803 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6805 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6806 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6807 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6809 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6810 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6811 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6812 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6813 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6814 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6815 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6816 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6817 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6818 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6819 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6821 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6824 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6825 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6826 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6827 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6828 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6830 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6831 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6832 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6834 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6835 AArch64 version. Include <bits/procfs.h>.
6836 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6837 (sysdep_headers): Add bits/procfs.h.
6838 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6839 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6840 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6841 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6842 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6843 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6844 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6845 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6846 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6847 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6848 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6849 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6850 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6851 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6852 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6854 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6856 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6858 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6861 2018-09-25 Arjun Shankar <arjun@redhat.com>
6863 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6864 (__gconv_max_path_elem_len): Likewise.
6865 (__gconv_nmodules): Likewise.
6866 (__gconv_get_path): Likewise.
6867 (path_elem): Move to ...
6868 * iconv/gconv_conf.c: ... here.
6869 (__gconv_get_path): Mark function static.
6870 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6871 * iconv/gconv_open.c: ... here.
6873 2018-09-24 Andreas Schwab <schwab@suse.de>
6875 * scripts/haveversions.awk: New file.
6876 * Makerules ($(common-objpfx)Versions.def)
6877 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6878 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6880 * Makeconfig ($(common-objpfx)Versions.def)
6881 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6882 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6884 ($(common-objpfx)Versions.mk): New rule. Include it.
6885 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6886 Emit error if build-obsolete-nsl = yes.
6887 * manual/install.texi (Configuring and compiling): Describe
6888 --enable-obsolete-nsl as unavaiable after version 2.28.
6889 * INSTALL: Regenerate.
6891 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6893 * NEWS: Add note about new TLE support on powerpc64le.
6894 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6895 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6897 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6898 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6899 * sysdeps/powerpc/powerpc32/sysdep.h,
6900 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6901 ABORT_TRANSACTION): Remove macros.
6902 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6903 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6904 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6906 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6907 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6909 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6911 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6914 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6915 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6916 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6917 which is the same as in it_IT.
6918 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6919 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6921 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6923 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6924 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6925 using MATH_REDIRECT.
6926 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6928 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6929 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6930 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6931 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6938 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6939 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6942 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6943 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6944 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6946 (ceil): Redirect to __ceil.
6947 (floor): Redirect to __floor.
6948 (trunc): Redirect to __trunc.
6949 (__truncl): Call trunc instead of __trunc.
6950 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6952 [_ARCH_PWR5X] (__truncf): Likewise.
6953 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6954 trunc functions instead of __trunc variants.
6955 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6957 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6959 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6961 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6964 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6965 [__i586__ || __pentium__].
6966 [__i486__]: Handle explicitly.
6967 (HAS_CPUID): Define to 1 if above macros are undefined.
6968 (HAS_I586): Likewise.
6969 (HAS_I686): Likewise.
6971 2018-09-20 Florian Weimer <fweimer@redhat.com>
6973 * misc/tst-gethostid.c: New file.
6974 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6975 (tst-gethostid): Link with -ldl.
6977 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6979 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6980 value from gethostbyname_r.
6982 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6984 * stdlib/tst-setcontext9.c (f1): Rename to...
6986 (f1b): New function implementing lower half of f1 in alternate stack.
6988 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6990 Fix mktime localtime offset confusion
6992 * include/time.h (__mktime_internal): The localtime offset is now
6993 of type long int instead of time_t. This is the longstanding type
6994 in glibc, and it is more than enough to represent difference
6995 between localtime and gmtime even if it is 32 bits and time_t is
6996 64. Changing it now will let us avoid an unnecessary change when
6997 time_t is widened to 64 bits on 32-bit platforms.
6998 * time/mktime-internal.h (mktime_offset_t): Now long int.
7000 Merge mktime, timegm from upstream Gnulib
7001 [BZ #23603][BZ #16346]
7002 This fixes some obscure problems with integer overflow.
7003 Although it looks scary, it is almost all a byte-for-byte copy
7004 from Gnulib, and the Gnulib code has been tested reasonably well.
7005 * include/intprops.h: New file, copied from Gnulib.
7006 * include/verify.h, time/mktime-internal.h:
7007 New tiny files, simplified from Gnulib.
7008 * time/mktime.c: Copy from Gnulib. This has the following changes:
7009 Do not include config.h if DEBUG_MKTIME is nonzero.
7010 Include stdbool.h, intprops.h, verify.h.
7011 Include string.h only if needed.
7012 Include stdlib.h on MS-Windows.
7013 Include mktime-internal.h.
7014 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7015 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7016 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7017 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7018 simplify later conditionals; default the others to zero. Use
7019 these conditionals to express only the code needed on the current
7020 platform. In uses of these conditionals, explicitly spell out how
7021 _LIBC affects things, so it’s easier to review from a glibc
7023 (WRAPV): Remove; no longer needed now that we have
7024 systematic overflow checking.
7025 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7026 compartmentalize tzset issues. Move system-dependent tzsettish
7027 code here from mktime.
7028 (verify): Remove; now done by verify.h. All uses changed.
7029 (long_int): Use a more-conservative definition, to avoid
7031 (SHR): Remove, replacing with ...
7032 (shr): New function, which means we needn’t worry about side
7033 effects in args, and conversion analysis is simpler.
7034 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7035 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7036 (time_t_avg, time_t_add_ok): Remove.
7037 (mktime_min, mktime_max): New constants.
7038 (leapyear, isdst_differ): Use bool for booleans.
7039 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7040 Use long_int, not time_t, for mktime differences.
7041 (long_int_avg): New function, replacing time_t_avg.
7042 INT_ADD_WRAPV replaces time_t_add_ok.
7043 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7045 (convert_time): New function.
7046 (ranged_convert): Use it.
7047 (__mktime_internal): Last arg now points to mktime_offset_t, not
7048 time_t. All uses changed. This is a no-op on glibc, where
7049 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7050 offset guess. Directly check for integer overflow instead of
7051 using a heuristic that works only 99.9...% of the time.
7052 Access *OFFSET only once, to avoid an unlikely race if the
7053 compiler delays a load and if this cascades into a signed integer
7055 (mktime): Move tzsettish code to my_tzset, and move
7056 localtime_offset to within mktime so that it doesn’t
7057 need a separate ifdef.
7058 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7059 instead of localtime.
7060 * time/timegm.c: Copy from Gnulib. This has the following changes:
7061 Include mktime-internal.h.
7062 [!_LIBC]: Include config.h and time.h. Do not include
7063 timegm.h or time_r.h. Make __mktime_internal a macro,
7064 and include mktime-internal.h to get its declaration.
7065 (timegm): Temporary is now mktime_offset_t, not time_t.
7066 This affects only Gnulib.
7068 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7071 * string/test-strstr.c (pr23637): New function.
7072 (test_main): Add tests with longer needles.
7073 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7074 * string/strstr.c (AVAILABLE): Likewise.
7076 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7078 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7080 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7082 * NEWS: Mention pow improvements.
7083 * math/Makefile (type-double-routines): Add e_pow_log_data.
7084 * sysdeps/generic/math_private.h (__exp1): Remove.
7085 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7086 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7087 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7089 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7090 (exp_inline): Remove.
7091 (__ieee754_exp): Only single double input is handled.
7092 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7093 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7094 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7095 (__pow_log_data): Define.
7096 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7097 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7098 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7099 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7101 (CFLAGS-e_pow-fma4.c): Likewise.
7103 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7105 Simplify tzfile fstat failure code
7107 * time/tzfile.c (__tzfile_read): Simplify slightly.
7109 Fix tzfile low-memory assertion failure
7111 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7112 when registering time zone abbreviations.
7114 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7116 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7117 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7118 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7119 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7120 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7121 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7122 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7123 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7128 (__ceill): Call ceil instead of __ceil.
7129 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7131 (__floorl): Call floor instead of __floor.
7133 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7135 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7136 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7137 using MATH_REDIRECT.
7138 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7140 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7143 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7147 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7152 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7153 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7156 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7157 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7158 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7160 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7161 functions instead of __ceil variants.
7162 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7167 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7170 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7171 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7174 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7176 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7177 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7178 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7179 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7180 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7181 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7182 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7183 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7184 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7185 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7186 (ILL_BADIADDR): Remove constant.
7187 (TRAP_BRANCH): Likewise.
7188 (TRAP_HWBKPT): Likewise.
7190 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7193 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7194 Remove [_MIPS_SIM = _ABIN32] conditional case.
7195 (struct elf_prpsinfo): Likewise.
7198 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7199 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7200 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7202 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7203 elf_prpsinfo): Likewise.
7204 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7205 elf_prpsinfo): Likewise.
7206 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7209 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7210 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7211 using MATH_REDIRECT.
7212 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7214 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7215 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7216 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7217 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7220 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7224 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7225 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7226 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7227 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7228 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7229 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7230 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7231 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7232 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7237 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7238 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7239 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7240 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7242 * math/e_scalbf.c (invalid_fn): Likewise.
7243 * math/e_scalbl.c (invalid_fn): Likewise.
7244 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7246 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7248 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7249 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7250 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7256 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7257 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7259 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7260 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7262 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7263 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7264 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7265 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7266 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7267 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7268 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7269 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7270 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7271 && !NO_MATH_REDIRECT] (floor): Likewise.
7272 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7274 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7277 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7281 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7286 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7287 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7290 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7291 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7292 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7294 [_ARCH_PWR5X] (__floorf): Likewise.
7295 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7297 [__SSE4_1__] (__floorf): Likewise.
7298 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7299 instead of __floor variants.
7300 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7301 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7302 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7303 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7304 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7305 * math/w_tgamma_compat.c (__tgamma): Likewise.
7306 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7307 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7308 * math/w_tgammal_compat.c (__tgammal): Likewise.
7309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7312 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7314 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7317 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7318 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7320 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7323 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7326 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7328 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7329 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7330 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7331 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7333 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7335 * elf/Makefile (modules-names-tests): New variable.
7337 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7339 * NEWS: Mention log2 improvements.
7340 * math/Makefile (type-double-routines): Add e_log2_data.
7341 * sysdeps/i386/fpu/e_log2_data.c: New file.
7342 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7343 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7344 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7345 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7347 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7349 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7351 * NEWS: Mention log improvement.
7352 * math/Makefile (type-double-routines): Add e_log_data.
7353 * sysdeps/i386/fpu/e_log_data.c: New file.
7354 * sysdeps/ia64/fpu/e_log_data.c: New file.
7355 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7356 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7357 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7358 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7359 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7360 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7362 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7363 Xuepeng Guo <xuepeng.guo@intel.com>
7366 * sysdeps/i386/start.S: Include <sysdep.h>
7367 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7368 enabled. Add cfi_undefined (eip).
7370 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7372 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7374 (EXTRACT_WORDS64): Likewise.
7375 (INSERT_WORDS64): Likewise.
7376 (GET_FLOAT_WORD): Likewise.
7377 (SET_FLOAT_WORD): Likewise.
7379 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7381 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7382 build, but not for second build if --full-gcc. Use
7383 --enable-languages=all for second build if --full-gcc.
7384 (get_parser): Add --full-gcc option.
7385 (main): Update call to Context.
7387 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7390 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7391 Single Quotation Mark).
7392 (thousands_sep): Likewise.
7393 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7394 * localedata/locales/it_IT (thousands_sep): Use ".".
7395 (grouping): Use "3;3".
7397 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7399 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7400 x86_64 and i686 configs using --enable-obsolete-rpc
7401 --enable-obsolete-nsl.
7403 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7405 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7407 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7409 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7410 Increment size of new_argv by one.
7412 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7415 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7416 * localedata/locales/ar_IN (d_fmt): Likewise.
7417 * localedata/locales/bhb_IN (d_fmt): Likewise.
7418 * localedata/locales/bho_IN (d_fmt): Likewise.
7419 * localedata/locales/bn_BD (d_fmt): Likewise.
7420 * localedata/locales/bn_IN (d_fmt): Likewise.
7421 * localedata/locales/doi_IN (d_fmt): Likewise.
7422 * localedata/locales/gu_IN (d_fmt): Likewise.
7423 * localedata/locales/hi_IN (d_fmt): Likewise.
7424 * localedata/locales/hne_IN (d_fmt): Likewise.
7425 * localedata/locales/kn_IN (d_fmt): Likewise.
7426 * localedata/locales/mag_IN (d_fmt): Likewise.
7427 * localedata/locales/mai_IN (d_fmt): Likewise.
7428 * localedata/locales/mjw_IN (d_fmt): Likewise.
7429 * localedata/locales/ml_IN (d_fmt): Likewise.
7430 * localedata/locales/mni_IN (d_fmt): Likewise.
7431 * localedata/locales/mr_IN (d_fmt): Likewise.
7432 * localedata/locales/pa_IN (d_fmt): Likewise.
7433 * localedata/locales/raj_IN (d_fmt): Likewise.
7434 * localedata/locales/sat_IN (d_fmt): Likewise.
7435 * localedata/locales/sd_IN (d_fmt): Likewise.
7436 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7437 * localedata/locales/ta_IN (d_fmt): Likewise.
7438 * localedata/locales/ta_LK (d_fmt): Likewise.
7439 * localedata/locales/tcy_IN (d_fmt): Likewise.
7440 * localedata/locales/ur_IN (d_fmt): Likewise.
7442 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7443 * localedata/locales/ks_IN (d_fmt): Likewise.
7444 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7446 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7447 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7448 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7449 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7451 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7453 * NEWS: Mention exp and exp2 improvements.
7454 * math/Makefile (libm-support): Remove t_exp.
7455 (type-double-routines): Add math_err and e_exp_data.
7456 * sysdeps/aarch64/libm-test-ulps: Update.
7457 * sysdeps/arm/libm-test-ulps: Update.
7458 * sysdeps/i386/fpu/e_exp_data.c: New file.
7459 * sysdeps/i386/fpu/math_err.c: New file.
7460 * sysdeps/i386/fpu/t_exp.c: Remove.
7461 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7462 * sysdeps/ia64/fpu/math_err.c: New file.
7463 * sysdeps/ia64/fpu/t_exp.c: Remove.
7464 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7465 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7466 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7468 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7469 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7470 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7471 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7472 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7473 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7474 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7475 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7476 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7477 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7481 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7483 * sysdeps/alpha/fpu/math_private.h: Remove.
7485 * sysdeps/generic/math_private.h
7486 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7487 Move this inline function ....
7488 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7489 * include/math.h [!_ISOMAC]: To here....
7491 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7493 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7495 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7496 * include/fenv.h [!_ISOMAC]: ... to here.
7497 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7498 (feraiseexcept): Likewise.
7499 * math/fromfp.h: Do not include <fenv_private.h>.
7500 * math/s_cexp_template.c: Likewise.
7501 * math/s_csin_template.c: Likewise.
7502 * math/s_csinh_template.c: Likewise.
7503 * math/s_ctan_template.c: Likewise.
7504 * math/s_ctanh_template.c: Likewise.
7505 * math/s_iseqsig_template.c: Likewise.
7506 * math/w_acos_compat.c: Likewise.
7507 * math/w_acosf_compat.c: Likewise.
7508 * math/w_acosl_compat.c: Likewise.
7509 * math/w_asin_compat.c: Likewise.
7510 * math/w_asinf_compat.c: Likewise.
7511 * math/w_asinl_compat.c: Likewise.
7512 * math/w_j0_compat.c: Likewise.
7513 * math/w_j0f_compat.c: Likewise.
7514 * math/w_j0l_compat.c: Likewise.
7515 * math/w_j1_compat.c: Likewise.
7516 * math/w_j1f_compat.c: Likewise.
7517 * math/w_j1l_compat.c: Likewise.
7518 * math/w_jn_compat.c: Likewise.
7519 * math/w_jnf_compat.c: Likewise.
7520 * math/w_log10_compat.c: Likewise.
7521 * math/w_log10f_compat.c: Likewise.
7522 * math/w_log10l_compat.c: Likewise.
7523 * math/w_log2_compat.c: Likewise.
7524 * math/w_log2f_compat.c: Likewise.
7525 * math/w_log2l_compat.c: Likewise.
7526 * math/w_log_compat.c: Likewise.
7527 * math/w_logf_compat.c: Likewise.
7528 * math/w_logl_compat.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7535 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7536 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7537 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7538 * sysdeps/ieee754/k_standardl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7551 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7556 * math/w_ilogb_template.c: Include <fenv.h> instead of
7558 * math/w_llogb_template.c: Likewise.
7559 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7562 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7564 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7565 * math/fromfp.h: Include <fenv_private.h>.
7566 * math/math-narrow.h: Likewise.
7567 * math/s_cexp_template.c: Likewise.
7568 * math/s_csin_template.c: Likewise.
7569 * math/s_csinh_template.c: Likewise.
7570 * math/s_ctan_template.c: Likewise.
7571 * math/s_ctanh_template.c: Likewise.
7572 * math/s_iseqsig_template.c: Likewise.
7573 * math/w_acos_compat.c: Likewise.
7574 * math/w_acosf_compat.c: Likewise.
7575 * math/w_acosl_compat.c: Likewise.
7576 * math/w_asin_compat.c: Likewise.
7577 * math/w_asinf_compat.c: Likewise.
7578 * math/w_asinl_compat.c: Likewise.
7579 * math/w_ilogb_template.c: Likewise.
7580 * math/w_j0_compat.c: Likewise.
7581 * math/w_j0f_compat.c: Likewise.
7582 * math/w_j0l_compat.c: Likewise.
7583 * math/w_j1_compat.c: Likewise.
7584 * math/w_j1f_compat.c: Likewise.
7585 * math/w_j1l_compat.c: Likewise.
7586 * math/w_jn_compat.c: Likewise.
7587 * math/w_jnf_compat.c: Likewise.
7588 * math/w_llogb_template.c: Likewise.
7589 * math/w_log10_compat.c: Likewise.
7590 * math/w_log10f_compat.c: Likewise.
7591 * math/w_log10l_compat.c: Likewise.
7592 * math/w_log2_compat.c: Likewise.
7593 * math/w_log2f_compat.c: Likewise.
7594 * math/w_log2l_compat.c: Likewise.
7595 * math/w_log_compat.c: Likewise.
7596 * math/w_logf_compat.c: Likewise.
7597 * math/w_logl_compat.c: Likewise.
7598 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7599 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7600 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7601 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7626 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7627 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7628 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7630 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7631 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7632 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7633 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7634 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7636 * sysdeps/ieee754/k_standardl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7663 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7667 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7668 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7673 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7674 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7675 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7676 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7677 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7678 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7679 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7680 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7681 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7682 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7683 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7684 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7685 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7686 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7687 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7688 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7689 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7690 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7691 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7692 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7693 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7694 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7695 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7696 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7697 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7698 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7699 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7700 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7701 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7702 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7703 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7704 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7705 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7706 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7707 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7709 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7712 * include/stdio.h (__libc_fatal): Mention newline in comment.
7713 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7714 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7716 * nss/nsswitch.c (__nss_next2): Likewise.
7717 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7718 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7719 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7720 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7721 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7722 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7723 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7724 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7726 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7727 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7728 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7729 (__netlink_assert_response): Likewise.
7731 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7733 * conform/glibcconform.py: New file.
7734 * conform/list-header-symbols.py: Likewise.
7735 * conform/list-header-symbols.pl: Remove.
7736 * conform/Makefile (tests-special): Only add linknamespace tests
7738 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7740 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7743 * support/Makefile (libsupport-routines): Add
7744 support_copy_file_range and xcopy_file_range.
7745 * support/support.h: Include <sys/types.h>.
7746 (support_copy_file_range): New prototype.
7747 * support/support_copy_file_range.c: New file. Copied and
7748 modified from io/copy_file_range-compat.c.
7749 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7750 instead of copy_file_range.
7751 * support/xcopy_file_range.c: New file.
7752 * support/xunistd.h (xcopy_file_range): New prototype.
7754 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7756 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7757 xpthread_create and xpthread_join.
7759 2018-08-30 Florian Weimer <fweimer@redhat.com>
7761 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7763 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7765 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7768 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7770 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7771 and minus_oflow as non-finite.
7773 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7775 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7776 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7777 moved to fenv_private.h except for ...
7778 (TOINT_INTRINSICS): Kept in math_private.h.
7779 (roundtoint): Likewise.
7780 (converttoint): Likewise.
7781 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7782 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7783 * sysdeps/arm/math_private.h: Remove.
7784 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7786 * sysdeps/generic/math_private.h: ... this file. Include
7787 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7788 Include <fenv_private.h>. Remove functions and macros moved to
7790 * sysdeps/i386/fpu/math_private.h: Remove.
7791 * sysdeps/mips/math_private.h: Move to ....
7792 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7793 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7794 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7795 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7796 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7797 * sysdeps/powerpc/fpu/math_private.h: Do not include
7799 * sysdeps/riscv/rvf/math_private.h: Move to ....
7800 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7801 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7803 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7804 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7805 * sysdeps/sparc/fpu/math_private.h: Remove.
7806 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7807 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7808 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7810 * sysdeps/x86_64/fpu/math_private.h: Do not include
7811 <sysdeps/i386/fpu/fenv_private.h>.
7813 2018-08-28 Florian Weimer <fweimer@redhat.com>
7816 * posix/tst-regcomp-truncated.c: New file.
7817 * posix/Makefile (tests): Add it.
7818 (tst-regcomp-truncated.out): Depend on generated locales.
7820 2018-08-28 Florian Weimer <fweimer@redhat.com>
7822 * support/test-container.c (main): Treat unshare failure with
7823 EPERM as an unsupported test.
7825 2018-08-28 Florian Weimer <fweimer@redhat.com>
7828 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7829 * nscd/netgroupcache.c
7830 (addgetnetgrentX): Add tofreep parameter. Do not free
7831 heap-allocated buffer.
7832 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7833 (addgetnetgrentX_ignore): New function.
7834 (addgetnetgrent): Call it.
7835 (readdgetnetgrent): Likewise.
7837 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7839 * string/memmem.c: Use memcmp for first match.
7841 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7844 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7846 2018-08-27 DJ Delorie <dj@redhat.com>
7848 * support/Makefile (others): Don't list programs explicitly as a
7849 dependency of "others".
7851 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7853 * sysdeps/generic/math-tests-trap-force.h: New file.
7854 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7855 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7856 * sysdeps/powerpc/math-tests.h: Remove file.
7857 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7859 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7860 Torvald Riegel <triegel@redhat.com>
7863 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7864 Update r to include the set wake-request flag if waiters are
7865 remaining after spinning.
7867 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7869 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7871 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7874 regex: fix uninitialized memory access
7875 I introduced this bug into gnulib in commit
7876 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7877 eventually it was merged into glibc. The bug was found by
7878 project-repo <bugs@feusi.co> and reported here:
7879 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7880 Diagnosis and draft fix reported by Assaf Gordon here:
7881 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7882 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7883 * posix/regex_internal.c (build_wcs_upper_buffer):
7884 Fix bug when mbrtowc returns 0.
7886 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7888 * po/be.po: Update translation.
7890 2018-08-24 DJ Delorie <dj@delorie.com>
7892 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7895 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7898 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7899 create temporary files in source tree.
7901 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7903 * sysdeps/generic/math-tests-trap.h: New file.
7904 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7905 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7906 * sysdeps/aarch64/math-tests.h: Remove file.
7907 * sysdeps/arm/math-tests.h: Likewise.
7908 * sysdeps/riscv/math-tests.h: Likewise.
7909 * sysdeps/aarch64/math-tests-trap.h: New file.
7910 * sysdeps/arm/math-tests-trap.h: Likewise.
7911 * sysdeps/riscv/math-tests-trap.h: Likewise.
7913 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7915 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7916 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7917 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7918 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7919 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7920 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7925 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7926 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7927 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7928 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7929 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7930 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7931 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7932 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7934 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7936 * sysdeps/generic/math-tests-exceptions.h: New file.
7937 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7938 (EXCEPTION_TESTS_float): Do not define here.
7939 (EXCEPTION_TESTS_double): Likewise.
7940 (EXCEPTION_TESTS_long_double): Likewise.
7941 (EXCEPTION_TESTS_float128): Likewise.
7942 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7944 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7945 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7946 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7947 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7948 * sysdeps/mips/math-tests.h: Likewise.
7949 * sysdeps/nios2/math-tests.h: Likewise.
7950 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7951 (EXCEPTION_TESTS_float): Do not define here.
7952 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7953 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7954 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7956 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7958 * NEWS: Move optimized sinf entry to 2.29.
7960 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7962 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7964 2018-08-22 DJ Delorie <dj@redhat.com>
7966 * Makefile (testroot.pristine): New rules to initialize the
7967 test-in-container "testroot".
7968 * Makerules (all-testsuite): Add tests-container.
7969 * Rules (tests-expected): Add tests-container.
7970 (binaries-all-tests): Likewise.
7971 (tests-container): New, run these tests in the testroot container.
7972 * support/Makefile (others): Add *-container, support_paths.c,
7973 xmkdirp, and links-dso-program.
7974 * support/links-dso-program-c.c: New.
7975 * support/links-dso-program.cc: New.
7976 * support/test-container.c: New.
7977 * support/shell-container.c: New.
7978 * support/echo-container.c: New.
7979 * support/true-container.c: New.
7980 * support/xmkdirp.c: New.
7981 * support/xsymlink.c: New.
7982 * support/support_paths.c: New.
7983 * support/support.h: Add support paths prototypes.
7984 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7986 * nss/tst-nss-test3.c: Convert to test-in-container.
7987 * nss/tst-nss-test3.root/: New.
7989 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7991 regex: port Gnulib code to z/OS POSIX environment
7992 Problem reported by Arnold Robbins in:
7993 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7994 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7997 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7999 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8000 (ROUNDING_TESTS_double): Remove.
8001 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8002 (ROUNDING_TESTS_double): Remove.
8003 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8004 (ROUNDING_TESTS_double): Remove.
8005 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8006 (ROUNDING_TESTS_float): Remove.
8007 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8008 (ROUNDING_TESTS_float): Remove.
8009 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8010 (ROUNDING_TESTS_float): Remove.
8011 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8013 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8014 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8016 * sysdeps/generic/math-tests-rounding.h: New file.
8017 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8018 (ROUNDING_TESTS_float): Do not define here.
8019 (ROUNDING_TESTS_double): Likewise.
8020 (ROUNDING_TESTS_long_double): Likewise.
8021 (ROUNDING_TESTS_float128): Likewise.
8022 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8023 (ROUNDING_TESTS_double): Undefine before defining.
8024 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8025 (ROUNDING_TESTS_double): Undefine before defining.
8026 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8027 (ROUNDING_TESTS_double): Undefine before defining.
8028 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8029 (ROUNDING_TESTS_float): Undefine before defining.
8030 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8031 (ROUNDING_TESTS_float): Undefine before defining.
8032 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8033 (ROUNDING_TESTS_float): Undefine before defining.
8034 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8035 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8037 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8038 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8039 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8040 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8041 (ROUNDING_TESTS_float): Do not define here.
8042 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8043 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8044 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8045 (ROUNDING_TESTS_float): Likewise.
8046 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8047 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8048 * sysdeps/mips/math-tests.h [__mips_soft_float]
8049 (ROUNDING_TESTS_float): Likewise.
8050 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8051 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8052 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8053 (ROUNDING_TESTS_double): Likewise.
8054 (ROUNDING_TESTS_long_double): Likewise.
8056 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8058 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8059 (PF_XDP): New macro.
8060 (AF_XDP): New macro.
8061 (SOL_XDP): New macro.
8063 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8065 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8066 (TCP_INQ): Likewise.
8067 (TCP_CM_INQ): Likewise.
8068 (TCP_REPAIR_ON): Likewise.
8069 (TCP_REPAIR_OFF): Likewise.
8070 (TCP_REPAIR_OFF_NO_WP): Likewise.
8071 (struct tcp_zerocopy_receive): New type.
8073 2018-08-21 Florian Weimer <fweimer@redhat.com>
8075 * support/support.h (support_descriptor_supports_holes): Declare.
8076 * support/Makefile (libsupport-routines): Add
8077 support_descriptor_supports_holes.
8078 * support/support_descriptor_supports_holes.c: New file.
8079 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8080 and stop testing if holes are not supported.
8081 * io/test-lfs.c (do_prepare): Likewise.
8082 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8084 * timezone/tst-tzset.c (create_tz_file): Likewise.
8085 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8087 (do_prepare): Set it.
8088 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8090 2018-08-21 Florian Weimer <fweimer@redhat.com>
8093 * Makeconfig (+cflags): Do not sort (and deduplicate).
8095 2018-08-21 Florian Weimer <fweimer@redhat.com>
8097 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8098 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8100 2018-08-20 Florian Weimer <fweimer@redhat.com>
8102 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8103 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8105 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8107 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8108 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8109 and ssi_arch members.
8111 * elf/elf.c (NT_VMCOREDD): New macro.
8112 (AT_MINSIGSTKSZ): Likewise.
8114 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8117 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8118 s_cosf-ppc64 and s_cosf-power8.
8119 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8120 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8121 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8122 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8129 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8130 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8132 2018-08-17 Florian Weimer <fweimer@redhat.com>
8134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8136 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8138 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8140 2018-08-16 Florian Weimer <fweimer@redhat.com>
8142 * configure.ac: Add --with-nonshared-cflags option.
8143 * config.make.in (extra-nonshared-cflags): Set variable.
8144 * Makeconfig (CFLAGS-.oS): Use it.
8145 * manual/install.texi (Configuring and compiling): Document
8146 --with-nonshared-cflags.
8147 * configure: Regenerate.
8148 * INSTALL: Likewise.
8150 2018-08-16 Florian Weimer <fweimer@redhat.com>
8152 * Makeconfig (ASFLAGS): Always append required assembler flags.
8154 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8156 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8157 (malloc_consolidate): Likewise.
8159 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8161 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8163 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8165 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8168 * benchtests/bench-strlen.c: Print performance numbers in json.
8170 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8172 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8173 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8174 only for little endian.
8175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8176 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8177 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8178 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8179 Add check for little endian.
8180 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8181 (__strcmp_power9): Add check for little endian.
8182 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8183 Add check for little endian.
8184 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8185 (__strncmp_power9): Add check for little endian.
8186 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8187 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8188 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8190 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8192 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8194 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8195 [!STRLEN](STRLEN): Set to __strlen.
8196 * sysdeps/aarch64/multiarch/strlen.c: New file.
8197 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8198 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8199 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8200 (__libc_ifunc_impl_list): Add strlen.
8201 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8202 strlen_generic and strlen_asimd.
8204 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8207 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8208 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8210 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8214 2018-08-14 Florian Weimer <fweimer@redhat.com>
8217 * include/stdio.h (__vfxprintf): Declare.
8218 * stdio-common/fxprintf.c (__vfxprintf): New function.
8219 (__fxprintf): Call it.
8220 * misc/err.c (convert_and_print): Remove function.
8221 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8222 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8223 * misc/Makefile (tests): Add tst-warn-wide.
8224 * misc/tst-warn-wide.c: New file.
8226 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8227 Szabolcs Nagy <szabolcs.nagy@arm.com>
8229 * NEWS: Mention sinf, cosf, sincosf.
8230 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8231 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8232 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8233 constants rather than including generic sincosf.h.
8234 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8235 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8236 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8237 (reduced_cos): Remove.
8238 (sinf_poly): New function.
8239 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8241 2018-08-14 Florian Weimer <fweimer@redhat.com>
8245 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8246 processing, bail out if no room, and close the stream before
8248 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8249 (tst-nss-files-alias-leak): Link with libdl.
8250 (tst-nss-files-alias-leak.out): Depend on nss_files.
8252 * nss/tst-nss-files-alias-leak.c: New file.
8254 2018-08-14 Florian Weimer <fweimer@redhat.com>
8256 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8257 server_user, stat_user.
8259 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8261 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8263 (io_pgetevents): New syscall.
8266 * manual/install.texi (Configuring and compiling): Do not list
8267 tools used for testing pretty printers here.
8268 (Tools for Compilation): List Python, PExpect and GDB here.
8269 Update descriptions of uses of Perl and Python.
8270 * INSTALL: Regenerate.
8272 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8275 2018-08-13 Florian Weimer <fweimer@redhat.com>
8277 * misc/error.c (error): Add missing va_end call.
8278 (error_at_line): Likewise.
8280 2018-08-13 Florian Weimer <fweimer@redhat.com>
8282 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8284 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8286 * benchtests/scripts/benchout.schema.json (properties): Add
8289 * benchtests/bench-skeleton.c (main): Add duration and
8290 iterations attributes.
8292 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8294 regex: Gnulib unibyte RRI uses bytes not chars
8295 Adjust the non-glibc code to agree with what Gawk needs for
8296 rational range interpretation (RRI) for regular expression ranges.
8297 In unibyte locales, Gawk wants ranges to use the underlying byte
8298 rather than the character code point. This change does not affect
8300 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8301 In unibyte locales, use the byte value rather than
8302 running it through btowc.
8304 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8306 * sysdeps/generic/math-tests-snan.h: New file.
8307 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8308 (SNAN_TESTS_float): Do not define here.
8309 (SNAN_TESTS_double): Likewise.
8310 (SNAN_TESTS_long_double): Likewise.
8311 (SNAN_TESTS_float128): Likewise.
8312 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8313 * sysdeps/i386/fpu/math-tests.h: Remove file.
8314 * sysdeps/ia64/math-tests-snan.h: New file.
8315 * sysdeps/ia64/math-tests.h: Remove file.
8316 * sysdeps/x86/math-tests.h: Likewise.
8317 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8319 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8320 Szabolcs Nagy <szabolcs.nagy@arm.com>
8322 * math/Makefile: Add s_sincosf_data.c.
8323 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8324 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8325 (sincosf_poly): Likewise.
8326 (reduce_small): Likewise.
8327 (reduce_large): Likewise.
8328 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8329 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8330 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8331 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8333 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8334 Szabolcs Nagy <szabolcs.nagy@arm.com>
8336 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8337 (converttoint): Use lround.
8338 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8339 document the semantics when TOINT_INTRINSICS is set.
8340 (converttoint): Likewise.
8341 (TOINT_RINT): Remove.
8342 (TOINT_SHIFT): Remove.
8343 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8346 2018-08-10 Florian Weimer <fweimer@redhat.com>
8349 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8351 (__old_getdents64): Use getdents64. Convert entries without
8353 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8354 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8355 tst-readdir64-compat.
8357 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8359 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8362 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8364 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8365 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8366 code to s390x-mcount.h and #include it.
8367 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8368 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8371 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8373 * stdlib/Versions: Remove __fentry__.
8374 * sysdeps/i386/Versions: Add __fentry__.
8375 * sysdeps/x86_64/Versions: Add __fentry__.
8377 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8379 * sysdeps/s390/Makefile: Register the new tests.
8380 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8381 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8382 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8383 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8384 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8385 * sysdeps/s390/tst-dl-runtime.c: New file.
8387 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8389 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8392 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8394 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8397 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8399 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8402 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8404 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8407 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8409 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8410 Use symbolic offsets for stack variables.
8412 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8414 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8415 Use symbolic offsets for stack variables.
8417 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8419 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8420 Use symbolic offsets for stack variables.
8422 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8424 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8425 Use symbolic offsets for stack variables.
8427 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8429 * math/gen-libm-test.py: New file.
8430 * math/gen-libm-test.pl: Remove.
8431 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8432 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8434 ($(libm-test-c-noauto-obj)): Likewise.
8435 ($(libm-test-c-auto-obj)): Likewise.
8436 ($(libm-test-c-narrow-obj)): Likewise.
8437 (regen-ulps): Likewise.
8438 * math/README.libm-test: Update references to gen-libm-test.pl.
8439 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8440 referencing gen-libm-test.pl.
8441 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8442 * math/libm-test-support.c: Likewise.
8443 * math/libm-test-support.h: Likewise.
8444 * sysdeps/generic/libm-test-ulps: Likewise.
8446 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8448 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8451 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8453 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8454 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8456 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8458 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8460 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8461 __pthread_setspecific): Add hidden proto.
8462 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8463 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8465 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8467 * benchtests/bench-string.h (buf1_size, buf2_size): New
8469 (init_sizes): New function.
8470 (test_init): Use it.
8471 (alloc_buf, exit_error): New functions.
8472 (alloc_bufs): Use ALLOC_BUF.
8473 (realloc_bufs): Remove.
8474 * benchtests/bench-memcmp.c (do_test): Adjust.
8475 * benchtests/bench-memset-large.c (do_test): Likewise.
8476 * benchtests/bench-memset-walk.c (do_test): Likewise.
8477 * benchtests/bench-memset.c (do_test): Likewise.
8478 * benchtests/bench-strncmp.c (do_test): Likewise.
8480 2018-08-06 Andreas Schwab <schwab@suse.de>
8482 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8483 of CONST_THREAD_AREA.
8485 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8487 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8488 (STATE_SAVE_MASK): Likewise.
8489 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8490 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8491 (STATE_SAVE_MASK): Likewise.
8492 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8493 instead of <cpu-features.h>.
8495 2018-08-03 DJ Delorie <dj@redhat.com>
8497 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8498 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8500 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8502 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8504 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8506 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8507 * math/libm-test-logb.inc (logb_test_data): Likewise.
8509 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8511 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8512 * string/strstr.c (AVAILABLE): Likewise.
8514 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8516 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8518 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8519 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8520 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8522 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8524 * po/be.po: Update translation.
8526 * po/be.po: Update translation.
8528 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8530 * sysdeps/x86/cpu-features-offsets.sym
8531 (rtld_global_ro_offsetof): Removed.
8532 (CPU_FEATURES_SIZE): Likewise.
8533 (CPUID_OFFSET): Likewise.
8534 (CPUID_SIZE): Likewise.
8535 (CPUID_EAX_OFFSET): Likewise.
8536 (CPUID_EBX_OFFSET): Likewise.
8537 (CPUID_ECX_OFFSET): Likewise.
8538 (CPUID_EDX_OFFSET): Likewise.
8539 (FAMILY_OFFSET): Likewise.
8540 (MODEL_OFFSET): Likewise.
8541 (FEATURE_OFFSET): Likewise.
8542 (FEATURE_SIZ): Likewise.
8543 (COMMON_CPUID_INDEX_1): Likewise.
8544 (COMMON_CPUID_INDEX_7): Likewise.
8545 (FEATURE_INDEX_1): Likewise.
8546 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8548 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8550 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8551 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8552 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8553 (install-locales): Depend on install-locale-archive.
8554 (install-locale-archive): Define.
8555 (install-locale-files): Define.
8556 (build-one-locale): Define macro.
8557 * manual/install.texi (Running make install): Document.
8558 * manual/INSTALL: Regenerate.
8560 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8562 * benchtests/scripts/compare_strings.py: Import traceback.
8563 (parse_file): Pretty-print error.
8565 * NEWS: Mention the change.
8566 * elf/dl-tunables.list: Rename tune namespace to cpu.
8567 * sysdeps/powerpc/dl-tunables.list: Likewise.
8568 * sysdeps/x86/dl-tunables.list: Likewise.
8569 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8571 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8572 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8573 * manual/README.tunables: Likewise.
8574 * manual/tunables.texi: Likewise.
8575 * sysdeps/powerpc/cpu-features.c: Likewise.
8576 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8577 (init_cpu_features): Likewise.
8578 * sysdeps/x86/cpu-features.c: Likewise.
8579 * sysdeps/x86/cpu-features.h: Likewise.
8580 * sysdeps/x86/cpu-tunables.c: Likewise.
8581 * sysdeps/x86_64/Makefile: Likewise.
8582 * sysdeps/x86/dl-cet.c: Likewise.
8584 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8587 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8588 [__mips_hard_float].
8589 (FE_UNDERFLOW): Likewise.
8590 (FE_OVERFLOW): Likewise.
8591 (FE_DIVBYZERO): Likewise.
8592 (FE_INVALID): Likewise.
8593 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8594 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8595 (FE_UPWARD): Likewise.
8596 (FE_DOWNWARD): Likewise.
8597 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8598 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8599 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8600 [__mips_hard_float].
8601 (FP_ROUNDMODE): Likewise.
8602 (FP_RND_NEAREST): Likewise.
8603 (FP_RND_ZERO): Likewise.
8604 (FP_RND_PINF): Likewise.
8605 (FP_RND_MINF): Likewise.
8606 (FP_EX_INVALID): Likewise.
8607 (FP_EX_OVERFLOW): Likewise.
8608 (FP_EX_UNDERFLOW): Likewise.
8609 (FP_EX_DIVZERO): Likewise.
8610 (FP_EX_INEXACT): Likewise.
8611 (FP_INIT_ROUNDMODE): Likewise.
8612 * sysdeps/mips/nofpu/fesetenv.c: New file.
8613 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8615 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8617 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8618 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8619 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8620 conditional on [FE_UPWARD].
8622 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8624 regex: fix memory leak in Gnulib
8625 Problem and fix reported by Assaf Gordon in:
8626 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8627 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8628 range_ends members too, as they are defined in 'struct
8629 re_charset_t' even if not _LIBC. This affects only Gnulib.
8631 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8633 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8635 (get_common_indices): This.
8636 (init_cpu_features): Updated.
8638 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8640 * sysdeps/generic/math-tests-snan-payload.h: New file.
8641 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8642 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8643 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8644 * sysdeps/generic/math-tests.h: Include
8645 <math-tests-snan-payload.h>.
8646 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8647 * sysdeps/hppa/math-tests.h: Remove file.
8648 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8649 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8650 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8653 * sysdeps/generic/math-tests-snan-cast.h: New file.
8654 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8655 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8656 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8657 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8659 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8661 * version.h (RELEASE): Set to "development".
8662 (VERSION): Set to "2.28.9000".
8663 * NEWS (2.29): New section.
8665 * version.h (RELEASE): Set to "stable".
8666 (VERSION): Set to "2.28".
8667 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8668 * NEWS: Add the list of bugs fixed in 2.28.
8670 * po/ca.po: Update to latest version.
8671 * po/cs.po: Likewise
8672 * po/da.po: Likewise
8673 * po/el.po: Likewise
8674 * po/eo.po: Likewise
8675 * po/es.po: Likewise
8676 * po/fi.po: Likewise
8677 * po/fr.po: Likewise
8678 * po/gl.po: Likewise
8679 * po/hu.po: Likewise
8680 * po/ia.po: Likewise
8681 * po/id.po: Likewise
8682 * po/it.po: Likewise
8683 * po/ja.po: Likewise
8684 * po/ko.po: Likewise
8685 * po/lt.po: Likewise
8686 * po/nb.po: Likewise
8687 * po/nl.po: Likewise
8688 * po/pt_BR.po: Likewise
8689 * po/ru.po: Likewise
8690 * po/rw.po: Likewise
8691 * po/sk.po: Likewise
8692 * po/sl.po: Likewise
8693 * po/tr.po: Likewise
8694 * po/zh_CN.po: Likewise
8695 * po/zh_TW.po: Likewise
8697 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8699 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8701 (init): ... before initializing libpthread.
8703 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8704 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8705 (__mach_setup_tls): ... new function.
8706 (mach_setup_tls): New alias.
8707 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8708 __mach_setup_thread.
8709 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8711 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8712 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8714 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8716 * manual/install.texi: Update versions.
8717 * INSTALL: Regenerate.
8719 * manual/contrib.texi (Contributors): Update contributions.
8721 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8723 * po/be.po: Update translations.
8725 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8727 * sysdeps/sh/libm-test-ulps: Update.
8729 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8731 * po/bg.po: Update translations.
8732 * po/de.po: Likewise.
8733 * po/hr.po: Likewise.
8734 * po/pt_BR.po: Likewise.
8735 * po/sv.po: Likewise.
8736 * po/vi.po: Likewise.
8738 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8741 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8742 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8743 (CFLAGS-tst-cet-property-1.o): New.
8744 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8745 ($(objpfx)tst-cet-property-2): Likewise.
8746 ($(objpfx)tst-cet-property-2.out): Likewise.
8747 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8748 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8749 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8750 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8751 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8753 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8756 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8758 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8760 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8761 __sbrk): Do not set attribute_hidden.
8762 * sysdeps/mach/hurd/not-errno.h: New file.
8763 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8764 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8766 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8768 * po/uk.po: Update translations.
8769 * po/cs.po: Likewise.
8770 * po/pl.po: Likewise.
8772 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8775 parse beyond the note end.
8777 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8779 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8780 kernel does not support OFD locks.
8781 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8783 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8785 * sysdeps/mach/hurd/Versions (libc): Make __access and
8786 __access_noerrno external so they can override the ld symbols.
8787 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8788 __writev, __open64, __access_noerrno extern so they can be overrided.
8789 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8790 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8792 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8794 * po/libc.pot: Regenerate.
8796 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8798 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8800 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8803 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8805 (init_cpu_features): Call get_extended_indices for both Intel
8807 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8808 Remove "for AMD" comment.
8810 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8813 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8814 COMMON_CPUID_INDEX_80000001.
8816 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8818 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8819 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8821 2018-07-26 Florian Weimer <fweimer@redhat.com>
8823 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8824 aliases for symbols not in the implementation namespace.
8826 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8829 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8830 lowercase in LATIN script.
8831 * localedata/Makefile (test-input): Add en_US.UTF-8.
8832 * localedata/en_US.UTF-8.in: New file.
8833 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8834 and restore old tests.
8835 * posix/tst-regexloc.c (do_test): Add back range expression test.
8837 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8839 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8841 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8843 * nptl/threads.h: Move to ...
8844 * sysdeps/nptl/threads.h: ... here.
8845 * sysdeps/hurd/stdc-predef.h: New file.
8847 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8849 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8850 tst-cet-setcontext-1 if CET is enabled.
8851 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8852 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8854 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8856 * include/threads.h: Move to ...
8857 * sysdeps/nptl/threads.h: ... here.
8858 * sysdeps/htl/threads.h: New file.
8859 * conform/Makefile (linknamespace-libs-ISO11): Use
8860 static-thread-library instead of linking libpthread.
8861 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8863 2018-07-25 Florian Weimer <fweimer@redhat.com>
8865 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8866 nanoseconds into seconds.
8867 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8868 (do_test): Likewise.
8869 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8870 (do_test): Likewise. Avoid nanosecond overflow and spurious
8871 timeouts due to system load.
8872 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8873 (child_wait): Increment it.
8874 (do_test): Wait as long as necessary until all expected threads
8877 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8878 H.J. Lu <hongjiu.lu@intel.com>
8880 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8882 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8883 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8884 (__push___start_context): New.
8885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8887 (__getcontext): Record the current shadow stack base. Save the
8888 caller's shadow stack pointer and base.
8889 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8890 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8891 (__push___start_context): New prototype.
8892 (__makecontext): Call __push___start_context to allocate a new
8893 shadow stack, push __start_context onto the new stack as well
8894 as the new shadow stack.
8895 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8897 (__setcontext): Restore the target shadow stack.
8898 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8900 (__swapcontext): Record the current shadow stack base. Save
8901 the caller's shadow stack pointer and base. Restore the target
8903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8904 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8905 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8907 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8909 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8910 tst-setcontext8 and tst-setcontext9.
8911 * stdlib/tst-setcontext6.c: New file.
8912 * stdlib/tst-setcontext7.c: Likewise.
8913 * stdlib/tst-setcontext8.c: Likewise.
8914 * stdlib/tst-setcontext9.c: Likewise.
8916 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8918 * stdlib/Makefile ((tests): Add tst-setcontext5.
8919 * stdlib/tst-setcontext5.c: New file.
8921 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8923 * stdlib/Makefile (tests): Add tst-setcontext4.
8924 * stdlib/tst-setcontext4.c: New file.
8926 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8928 * stdlib/Makefile (tests): Add tst-swapcontext1.
8929 * stdlib/tst-swapcontext1.c: New test.
8931 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8933 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8934 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8935 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8936 and tst-cet-legacy-4c.
8937 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8938 and tst-cet-legacy-mod-4.
8939 (CFLAGS-tst-cet-legacy-2.c): New.
8940 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8941 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8942 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8943 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8944 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8945 ($(objpfx)tst-cet-legacy-1): Likewise.
8946 ($(objpfx)tst-cet-legacy-2): Likewise.
8947 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8948 ($(objpfx)tst-cet-legacy-2a): Likewise.
8949 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8950 ($(objpfx)tst-cet-legacy-4): Likewise.
8951 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8952 ($(objpfx)tst-cet-legacy-4a): Likewise.
8953 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8954 (tst-cet-legacy-4a-ENV): Likewise.
8955 ($(objpfx)tst-cet-legacy-4b): Likewise.
8956 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8957 (tst-cet-legacy-4b-ENV): Likewise.
8958 ($(objpfx)tst-cet-legacy-4c): Likewise.
8959 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8960 (tst-cet-legacy-4c-ENV): Likewise.
8961 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8962 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8963 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8964 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8965 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8966 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8967 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8968 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8969 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8970 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8971 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8973 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8975 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8976 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8978 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8979 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8982 2018-07-25 Andreas Schwab <schwab@suse.de>
8985 * locale/weightwc.h (findidx): Handle the case where usrc is a
8986 prefix of cp but one character too short.
8988 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8990 * NEWS: Add ISO C threads addition.
8992 2018-07-24 Florian Weimer <fweimer@redhat.com>
8994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8995 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8996 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8999 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9002 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9003 <sys/prctl.h> and <asm/prctl.h>.
9004 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9005 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9007 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9008 ARCH_CET_LEGACY_BITMAP.
9009 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9010 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9011 * sysdeps/x86/libc-start.c: Include <startup.h>.
9013 2018-07-24 Florian Weimer <fweimer@redhat.com>
9015 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9016 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9018 2018-07-24 Rical Jasan <rj@2c3t.io>
9019 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9020 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9023 * manual/debug.texi: Update adjacent chapter name.
9024 * manual/probes.texi: Likewise.
9025 * manual/threads.texi (ISO C Threads): New section.
9026 (POSIX Threads): Convert to a section.
9028 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9029 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9032 * nptl/Makefile (tests): Add new test files.
9033 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9034 * nptl/tst-cnd-basic.c: Likewise.
9035 * nptl/tst-cnd-broadcast.c: Likewise.
9036 * nptl/tst-cnd-timedwait.c: Likewise.
9037 * nptl/tst-mtx-basic.c: Likewise.
9038 * nptl/tst-mtx-recursive.c: Likewise.
9039 * nptl/tst-mtx-timedlock.c: Likewise.
9040 * nptl/tst-mtx-trylock.c: Likewise.
9041 * nptl/tst-thrd-basic.c: Likewise.
9042 * nptl/tst-thrd-detach.c: Likewise.
9043 * nptl/tst-thrd-sleep.c: Likewise.
9044 * nptl/tst-tss-basic.c: Likewise.
9046 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9049 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9050 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9052 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9053 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9054 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9055 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9056 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9057 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9058 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9059 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9060 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9061 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9062 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9063 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9071 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9072 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9073 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9074 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9075 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9076 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9080 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9081 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9082 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9083 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9085 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9087 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9088 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9089 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9090 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9091 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9092 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9093 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9094 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9095 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9096 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9103 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9105 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9106 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9107 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9108 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9109 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9110 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9113 * conform/data/threads.h-data (thread_local): New macro.
9114 (TSS_DTOR_ITERATIONS): Likewise.
9116 (tss_dtor_t): Likewise.
9117 (tss_create): New function.
9118 (tss_get): Likewise.
9119 (tss_set): Likewise.
9120 (tss_delete): Likewise.
9121 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9122 tss_get, and tss_set objects.
9123 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9124 * nptl/tss_create.c: New file.
9125 * nptl/tss_delete.c: Likewise.
9126 * nptl/tss_get.c: Likewise.
9127 * nptl/tss_set.c: Likewise.
9128 * sysdeps/nptl/threads.h (thread_local): New define.
9129 (TSS_DTOR_ITERATIONS): Likewise.
9130 (tss_t): New typedef.
9131 (tss_dtor_t): Likewise.
9132 (tss_create): New prototype.
9133 (tss_get): Likewise.
9134 (tss_set): Likewise.
9135 (tss_delete): Likewise.
9138 * conform/data/threads.h-data (cnd_t): New type.
9139 (cnd_init): New function.
9140 (cnd_signal): Likewise.
9141 (cnd_broadcast): Likewise.
9142 (cnd_wait): Likewise.
9143 (cnd_timedwait): Likewise.
9144 (cnd_destroy): Likewise.
9145 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9146 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9148 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9149 * nptl/cnd_broadcast.c: New file.
9150 * nptl/cnd_destroy.c: Likewise.
9151 * nptl/cnd_init.c: Likewise.
9152 * nptl/cnd_signal.c: Likewise.
9153 * nptl/cnd_timedwait.c: Likewise.
9154 * nptl/cnd_wait.c: Likewise.
9155 * sysdeps/nptl/threads.h (cnd_t): New type.
9156 (cnd_init): New prototype.
9157 (cnd_signa): Likewise.
9158 (cnd_broadcast): Likewise.
9159 (cnd_wait): Likewise.
9160 (cnd_timedwait): Likewise.
9161 (cnd_destroy): Likewise.
9164 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9165 (once_flag): New type.
9166 (call_once): New function.
9167 * nptl/Makefile (libpthread-routines): Add call_once object.
9168 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9169 * nptl/call_once.c: New file.
9170 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9171 (once_flag): New type.
9172 (call_once): New prototype.
9175 * conform/data/threads.h-data (mtx_plain): New constant.
9176 (mtx_recursive): Likewise.
9177 (mtx_timed): Likewise.
9179 (mtx_init): New function.
9180 (mtx_lock): Likewise.
9181 (mtx_timedlock): Likewise.
9182 (mtx_trylock): Likewise.
9183 (mtx_unlock): Likewise.
9184 (mtx_destroy): Likewise.
9185 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9186 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9187 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9188 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9189 * nptl/mtx_destroy.c: New file.
9190 * nptl/mtx_init.c: Likewise.
9191 * nptl/mtx_lock.c: Likewise.
9192 * nptl/mtx_timedlock.c: Likewise.
9193 * nptl/mtx_trylock.c: Likewise.
9194 * nptl/mtx_unlock.c: Likewise.
9195 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9196 (mtx_recursive): Likewise.
9197 (mtx_timed): Likewise.
9199 (mtx_init): New prototype.
9200 (mtx_lock): Likewise.
9201 (mtx_timedlock): Likewise.
9202 (mtx_trylock): Likewise.
9203 (mtx_unlock): Likewise.
9204 (mtx_destroy): Likewise.
9207 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9208 (linknamespace-libs-ISO11): Add libpthread.a.
9209 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9211 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9212 * nptl/Makefile (headers): Add threads.h.
9213 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9214 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9216 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9217 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9218 thrd_join, thrd_sleep, and thrd_yield symbols.
9219 * nptl/descr.h (struct pthread): Add c11 field.
9220 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9221 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9222 routine with expected function prototype.
9223 (__pthread_create_2_1): Add C11 threads check based on attribute
9225 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9226 * nptl/thrd_create.c: New file.
9227 * nptl/thrd_current.c: Likewise.
9228 * nptl/thrd_detach.c: Likewise.
9229 * nptl/thrd_equal.c: Likewise.
9230 * nptl/thrd_exit.c: Likewise.
9231 * nptl/thrd_join.c: Likewise.
9232 * nptl/thrd_priv.h: Likewise.
9233 * nptl/thrd_sleep.c: Likewise.
9234 * nptl/thrd_yield.c: Likewise.
9235 * include/threads.h: Likewise.
9237 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9239 * bits/indirect-return.h: New file.
9240 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9241 * sysdeps/x86/bits/indirect-return.h: Likewise.
9242 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9243 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9244 (swapcontext): Add __INDIRECT_RETURN.
9245 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9246 (prepare_test_buffer): Use it.
9248 2018-07-24 Andreas Schwab <schwab@suse.de>
9251 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9252 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9254 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9256 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9257 Redefine if shadow stack is enabled.
9258 (SYSCALL_ERROR_LABEL): Likewise.
9259 (__vfork): Pop shadow stack and jump back to to caller directly
9260 when shadow stack is in use.
9261 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9262 Redefine if shadow stack is enabled.
9263 (SYSCALL_ERROR_LABEL): Likewise.
9264 (__vfork): Pop shadow stack and jump back to to caller directly
9265 when shadow stack is in use.
9267 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9269 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9272 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9275 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9277 * scripts/build-many-glibcs.py (Context.checkout): Default
9278 binutils version to 2.31 branch.
9280 2018-07-20 Zong Li <zong@andestech.com>
9282 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9283 URL of gcc's tarball.
9285 2018-07-20 Florian Weimer <fweimer@redhat.com>
9288 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9289 not compare an extra byte after the end of the weights.
9291 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9293 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9295 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9297 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9298 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9299 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9300 list of libraries whose stack executability is expected.
9301 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9302 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9304 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9305 libc.so libpthread.so.
9307 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9309 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9311 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9313 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9315 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9317 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9319 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9320 library to improve command line parsing.
9321 (__main__): make schema file as optional parameter (--schema),
9322 defaulting to benchtests/scripts/benchout.schema.json.
9323 (main): move out of the parsing stuff to __main_ and leave it
9324 only as caller of main comparison functions.
9326 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9328 * NEWS: Add a note for Intel CET status.
9329 * manual/install.texi: Likewise.
9330 * INSTALL: Regenerated.
9332 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9335 * localedata/locales/oc_FR (mon): Rename to...
9336 (alt_mon): This, then update October (typo fix).
9337 (mon): New content (genitive case, month names preceded by
9341 * localedata/locales/oc_FR (abday): Update all items.
9342 (day): Update Wednesday and Saturday (typo fixes).
9343 (abmon): Update all items, except May.
9344 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9345 (LC_IDENTIFICATION): Bump the revision number and date.
9346 Keep the "category" entries in alphabetic order.
9347 (LC_ADDRESS): Remove no longer needed comment.
9348 (LC_COLLATE): Use “copy "ca_ES"”.
9349 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9352 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9354 * grp/tst_fgetgrent.c: Include <unistd.h>.
9355 (main): Use mkstemp instead of tmpnam.
9356 * io/test-utime.c (main): Likewise.
9357 * posix/annexc.c (macrofile): Change to modifiable array.
9358 (main): Remove macrofile here.
9359 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9361 (check_header): Do not remove macrofile here.
9362 * posix/bug-getopt1.c: Include <stdlib.h>.
9363 (do_test): Use mkstemp instead of tmpnam.
9364 * posix/bug-getopt2.c: Include <stdlib.h>.
9365 (do_test): Use mkstemp instead of tmpnam.
9366 * posix/bug-getopt3.c: Include <stdlib.h>.
9367 (do_test): Use mkstemp instead of tmpnam.
9368 * posix/bug-getopt4.c: Include <stdlib.h>.
9369 (do_test): Use mkstemp instead of tmpnam.
9370 * posix/bug-getopt5.c: Include <stdlib.h>.
9371 (do_test): Use mkstemp instead of tmpnam.
9372 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9373 (main): Use mkstemp instead of tmpnam.
9374 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9375 (main): Use mkstemp instead of tmpnam.
9376 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9377 (main): use mkstemp instead of tmpnam.
9378 * stdlib/isomac.c (macrofile): Change to modifiable array.
9379 (main): Remove macrofile here.
9380 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9382 (check_header): Do not remove macrofile here.
9384 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9386 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9387 glibc.tune.x86_shstk.
9389 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9391 * NEWS: Mention --enable-cet.
9392 * manual/install.texi: Document --enable-cet.
9393 * INSTALL: Regenerated.
9395 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9397 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9398 Add _CET_NOTRACK before indirect jump to jump table.
9400 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9402 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9403 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9406 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9408 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9409 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9412 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9415 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9418 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9421 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9424 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9427 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9429 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9431 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9434 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9437 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9439 * sysdeps/i386/i686/multiarch/memset-sse2.S
9440 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9443 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9445 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9446 indirect jump to jump table.
9448 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9451 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9455 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9458 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9462 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9464 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9465 _CET_NOTRACK before indirect jump to jump table.
9467 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9469 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9470 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9473 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9475 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9476 indirect jump to jump table.
9478 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9481 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9482 (LOCALES): Likewise.
9483 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9484 * localedata/locales/sah_RU: New file.
9485 * localedata/sah_RU.UTF-8.in: New file.
9487 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9489 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9491 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9492 _CET_ENDBR to indirect jump targets and adjust jump destination
9494 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9496 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9497 _CET_ENDBR to indirect jump targets and adjust jump destination
9499 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9501 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9502 _CET_ENDBR to indirect jump targets and adjust jump destination
9505 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9507 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9510 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9512 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9514 (_dl_tlsdesc_undefweak): Likewise.
9515 (_dl_tlsdesc_dynamic): Likewise.
9516 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9517 (_dl_tlsdesc_resolve_rel): Likewise.
9518 (_dl_tlsdesc_resolve_rela): Likewise.
9519 (_dl_tlsdesc_resolve_hold): Likewise.
9520 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9521 (_dl_tlsdesc_undefweak): Likewise.
9522 (_dl_tlsdesc_dynamic): Likewise.
9523 (_dl_tlsdesc_resolve_rela): Likewise.
9524 (_dl_tlsdesc_resolve_hold): Likewise.
9526 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9528 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9530 * sysdeps/x86_64/crti.S (_init): Likewise.
9533 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9536 * localedata/locales/os_RU (mon): Rename to...
9538 (mon): Import from CLDR (genitive case).
9540 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9542 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9543 cet-tunables.h> when CET is enabled.
9545 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9548 * configure.ac: Add --enable-cet.
9549 * configure: Regenerated.
9550 * elf/Makefille (all-built-dso): Add a comment.
9551 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9552 Include <dl-prop.h>.
9553 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9555 * elf/dl-open.c: Include <dl-prop.h>.
9556 (dl_open_worker): Call _dl_open_check.
9557 * elf/rtld.c: Include <dl-prop.h>.
9558 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9560 * sysdeps/generic/dl-prop.h: New file.
9561 * sysdeps/i386/dl-cet.c: Likewise.
9562 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9563 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9564 * sysdeps/x86/cet-tunables.h: Likewise.
9565 * sysdeps/x86/check-cet.awk: Likewise.
9566 * sysdeps/x86/configure: Likewise.
9567 * sysdeps/x86/configure.ac: Likewise.
9568 * sysdeps/x86/dl-cet.c: Likewise.
9569 * sysdeps/x86/dl-procruntime.c: Likewise.
9570 * sysdeps/x86/dl-prop.h: Likewise.
9571 * sysdeps/x86/libc-start.h: Likewise.
9572 * sysdeps/x86/link_map.h: Likewise.
9573 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9575 (_dl_runtime_profile): Likewise.
9576 (_dl_runtime_resolve_shstk): New.
9577 (_dl_runtime_profile_shstk): Likewise.
9578 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9580 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9581 (CFLAGS-.os): Likewise.
9582 (CFLAGS-.op): Likewise.
9583 (CFLAGS-.oS): Likewise.
9584 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9586 (tests-special): Add $(objpfx)check-cet.out.
9587 (cet-built-dso): New.
9588 (+$(cet-built-dso:=.note)): Likewise.
9589 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9590 ($(objpfx)check-cet.out): New.
9591 (generated): Add check-cet.out.
9592 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9594 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9595 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9596 (init_cpu_features): Call get_cet_status to check CET status
9597 and update dl_x86_feature_1 with CET status. Call
9598 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9599 (set_x86_shstk). Disable and lock CET in libc.a.
9600 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9601 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9602 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9603 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9604 (_CET_ENDBR): Define if not defined.
9605 (ENTRY): Add _CET_ENDBR.
9606 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9608 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9610 (_dl_runtime_profile): Likewise.
9612 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9615 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9616 restore r2 on longjmp.
9617 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9619 Added rules to build test tst-setjmp-bug21895-static.
9620 Added module setjmp-bug21895 and rules to build a shared object from it.
9621 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9622 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9624 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9626 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9627 * benchtests/bench-strstr.c: Likewise.
9628 * string/memmem.c (FASTSEARCH): Define.
9629 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9630 Add support for FASTSEARCH.
9631 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9632 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9633 (FASTSEARCH): Define.
9634 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9635 * string/test-strstr.c: Likewise.
9637 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9640 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9642 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9643 H.J. Lu <hongjiu.lu@intel.com>
9645 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9646 (__longjmp): Restore shadow stack pointer if shadow stack is
9647 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9648 isn't defined for __longjmp_cancel.
9649 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9650 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9651 and SHADOW_STACK_POINTER_OFFSET is defined.
9652 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9653 (setjmp): Save shadow stack pointer if shadow stack is enabled
9654 and SHADOW_STACK_POINTER_OFFSET is defined.
9655 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9656 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9657 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9658 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9660 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9661 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9662 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9663 Remove jmp_buf-ssp.sym.
9664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9666 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9667 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9668 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9670 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9671 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9672 (__longjmp): Restore shadow stack pointer if shadow stack is
9673 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9674 isn't defined for __longjmp_cancel.
9675 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9676 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9677 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9679 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9682 * nptl/pthread_create.c: Include <tls-setup.h>.
9683 (__pthread_create_2_1): Call tls_setup_tcbhead.
9684 * sysdeps/generic/tls-setup.h: New file.
9685 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9686 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9687 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9689 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9691 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9692 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9693 (X86_FEATURE_1_SHSTK): Likewise.
9694 (CET_ENABLED): Likewise.
9695 (IBT_ENABLED): Likewise.
9696 (SHSTK_ENABLED): Likewise.
9698 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9701 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9702 (LOCALES): Likewise.
9703 * localedata/dsb_DE.UTF-8.in: New file.
9704 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9706 2018-07-12 Florian Weimer <fweimer@redhat.com>
9708 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9709 __mprotect, not mprotect.
9711 2018-07-11 Florian Weimer <fweimer@redhat.com>
9713 * io/Makefile (headers): Add bits/statx.h.
9715 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9717 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9718 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9720 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9721 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9724 2018-07-10 Florian Weimer <fweimer@redhat.com>
9726 * io/Makefile (routines): Add statx.
9727 (tests-internal): Add tst-statx.
9728 * io/Versions (GLIBC_2.28): Export statx.
9729 * io/bits/statx.h: New file.
9730 * io/sys/stat.h [__USE_GNU]: Include it.
9731 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9732 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9734 * io/statx.c: New file.
9735 * io/statx_generic.: Likewise.
9736 * io/tst-statx.: Likewise.
9737 * include/bits/statx.h: Likewise.
9738 * sysdeps/unix/sysv/linux/kernel-features.h
9739 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9741 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9742 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9745 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9746 * sysdeps/unix/sysv/linux/statx.c: New file.
9747 * manual/filesys.texi: Note that statx is undocumented.
9748 * sysdeps/**/libc*.abilist: Update.
9750 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9752 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9753 a kernel issue which lead to test failure in some cases.
9755 2018-07-10 Florian Weimer <fweimer@redhat.com>
9758 * posix/regexec.c (check_node_accept_bytes): When comparing
9759 weights, do not compare an extra byte after the end of the
9762 2018-07-10 Florian Weimer <fweimer@redhat.com>
9764 * libio/readline.c: Fix copyright year.
9765 * libio/tst-readline.c Likewise.
9766 * nss/tst-nss-files-hosts-getent.c: Likewise.
9768 2018-07-06 Florian Weimer <fweimer@redhat.com>
9771 * nss/nss_files/files-XXX.c (internal_getent): Use
9772 __libc_readline_unlocked. Seek back to the start of the line if
9773 parsing failes with ERANGE.
9774 (get_contents_ret, get_contents): Remove.
9775 * nss/tst-nss-files-hosts-getent.c: New file.
9776 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9777 (tst-nss-files-hosts-getent): Link with -ldl.
9779 2018-07-06 Florian Weimer <fweimer@redhat.com>
9781 * include/stdio.h (__libc_readline_unlocked): Declare.
9782 (__ftello64, __fseeko64): Declare aliases.
9783 * libio/readline.c: New file.
9784 * libio/tst-readline.c: Likewise.
9785 (routines): Add readline.
9786 (tests-internal): Add tst-readlime.
9787 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9788 __libc_readline_unlocked.
9789 * libio/fseeko.c (__fseeko): Rename from fseeko.
9790 (fseeko): Add alias.
9791 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9792 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9793 (fseeko64): Add alias.
9794 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9795 * libio/ftello64.c (__ftello64): Rename from ftello64.
9796 (ftello64): Add alias.
9798 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9800 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9803 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9805 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9806 Use dl_hwcap without masking.
9807 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9810 2018-07-06 Florian Weimer <fweimer@redhat.com>
9812 * conform/conformtest.pl (checknamespace): Escape literal braces
9813 in regular expressions.
9815 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9817 * sysdeps/x86/cpu-features.c (get_common_indeces):
9818 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9819 * sysdeps/x86/cpu-features.c (init_cpu_features):
9820 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9822 2018-07-05 Florian Weimer <fweimer@redhat.com>
9824 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9826 (CFLAGS-elf-init.oS): Likewise.
9828 2018-07-05 Florian Weimer <fweimer@redhat.com>
9829 Carlos O'Donell <carlos@redhat.com>
9831 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9832 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9833 with stack protector enabled because there is no risk of infinite
9836 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9840 * libc-abis (ABSOLUTE): New ABI.
9841 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9842 * NEWS: Mention the new ABI.
9844 2018-07-05 Florian Weimer <fweimer@redhat.com>
9847 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9848 (RENAME_WHITEOUT): Define.
9849 [__USE_GNU] (renameat2): Declare.
9850 * stdio-common/Makefile (routines): Add renameat2.
9851 (tests): Add tst-renameat2.
9852 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9853 * stdio-common/renameat2.c: New file.
9854 * stdio-common/tst-renameat2.c: Likewise.
9855 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9856 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9858 * sysdeps/unix/sysv/linux/kernel-features.h
9859 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9861 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9863 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9864 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9865 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9866 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9867 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9868 * include/stdio.h (__renameat): Add alias for renameat.
9869 * stdio-common/renameat.c (__renameat): Rename from renameat.
9870 Add hidden definition and alias.
9871 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9872 * sysdeps/mach/hurd/renameat.c: Likewise.
9873 * sysdeps/**/libc*.abilist: Add renameat2.
9875 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9877 * posix/bug-regex33.c: Fix build after regex sync.
9879 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9882 * localedata/tst-langinfo-setlocale.c: New file.
9883 * localedata/tst-langinfo-setlocale-static.c: New file.
9884 * localedata/tst-langinfo-newlocale.c: New file.
9885 * localedata/tst-langinfo-newlocale-static.c: New file.
9886 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9887 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9888 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9889 (tests-static): Remove tst-langinfo-static. Add
9890 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9891 (tests-special): Remove $(objpfx)tst-langinfo.out,
9892 $(objpfx)tst-langinfo-static.out. Add
9893 $(objpfx)tst-langinfo-setlocale.out,
9894 $(objpfx)tst-langinfo-newlocale.out,
9895 $(objpfx)tst-langinfo-setlocale-static.out,
9896 $(objpfx)tst-langinfo-newlocale-static.out.
9897 ($(objpfx)tst-langinfo.out): Remove.
9898 ($(objpfx)tst-langinfo-static.out): Remove.
9899 ($(objpfx)tst-langinfo-newlocale.out): New target.
9900 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9901 (test-xfail-tst-langinfo-newlocale-static): Add.
9902 ($(objpfx)tst-langinfo-setlocale.out): New target.
9903 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9904 * localedata/tst-langinfo.c: Call test_locale.
9905 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9908 2018-07-04 Florian Weimer <fweimer@redhat.com>
9910 testrun.sh: Implement --tool=strace, --tool=valgrind
9911 * Makefile (testrun-script): Define variable.
9912 (testrun.sh): Use variable.
9913 * manual/install.texi (Tools for Compilation): make 4.0 or later
9915 * configure.ac: Check for make 4.0 or later.
9916 * INSTALL: Regenerate.
9917 * configure: Likewise.
9919 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9925 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9926 * posix/PCRE.tests: Remove invalid test.
9927 * posix/bug-regex28.c: Fix expected values for used syntax.
9928 * posix/bug-regex37.c: New file.
9929 * posix/bug-regex38.c: Likewise.
9930 * posix/regcomp.c: Sync with gnulib.
9931 * posix/regex.c: Likewise.
9932 * posix/regex.h: Likewise.
9933 * posix/regex_internal.c: Likewise.
9934 * posix/regex_internal.h: Likewise.
9935 * posix/regexec.c: Likewise.
9937 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9940 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9941 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9942 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9943 * localedata/unicode-gen/PropList.txt: likewise.
9944 * localedata/unicode-gen/UnicodeData.txt: likewise.
9945 * localedata/charmaps/UTF-8: Regenerate.
9946 * localedata/locales/i18n_ctype: likewise.
9947 * localedata/locales/tr_TR: likewise.
9948 * localedata/locales/translit_circle: likewise.
9949 * localedata/locales/translit_cjk_compat: likewise.
9950 * localedata/locales/translit_combining: likewise.
9951 * localedata/locales/translit_compat: likewise.
9952 * localedata/locales/translit_font: likewise.
9953 * localedata/locales/translit_fraction: likewise.
9955 2018-07-03 Florian Weimer <fweimer@redhat.com>
9958 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9959 * stdio-common/tst-printf.sh: Adjust expected output.
9962 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9964 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9967 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9969 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9970 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9971 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9972 * stdio-common/tst-printfsz-islongdouble.c: New file.
9973 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9975 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9976 [subdir == stdio-common] (tests-internal): Add
9977 test-printf-size-ieee128, and test-printf-size-ibm128.
9978 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9979 (CFLAGS-test-printf-size-ibm128.c): New variables.
9980 [subdir == stdio-common] (tests-special): Add
9981 $(objpfx)test-printf-size-ieee128.out and
9982 $(objpfx)test-printf-size-ibm128.out.
9983 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9984 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9985 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9986 __printf_sizeieee128.
9987 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9989 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9991 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9994 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9996 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9997 (exp2f_inline): Likewise.
9998 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9999 (__math_uflowf): Likewise.
10000 (__math_may_uflowf): Likewise.
10001 (__math_divzerof): Likewise.
10002 (__math_invalidf): Likewise.
10003 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10004 (__math_oflowf): Likewise.
10005 (__math_uflowf): Likewise.
10006 (__math_may_uflowf): Likewise.
10007 (__math_divzerof): Likewise.
10008 (__math_invalidf): Likewise.
10010 2018-06-29 DJ Delorie <dj@redhat.com>
10011 Carlos O'Donell <carlos@redhat.com>
10014 * include/libc-symbols.h: Comment the freeres framework.
10015 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10016 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10017 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10018 * dlfcn/dlerror.c: Include libc-symbols.h
10019 (__dlerror_main_freeres): New function.
10020 * dlfcn/dlfreeres.c: New file.
10021 * dlfcn/sdlfreeres.c: New file.
10022 * include/dlfcn.h: Declare __dlerror_main_freeres.
10023 * malloc/set-freeres.c: Declare __libdl_freeres, and
10024 __libpthread_freeres.
10025 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10026 the releavant libraries are loaded.
10027 * malloc/thread-freeres.c: Add comments.
10028 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10029 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10030 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10031 (__free_stacks): Rename to...
10032 (free_stacks): ...this. Mark static.
10033 (queue_stack): Call free_stacks.
10034 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10035 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10036 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10037 ptr_freeres element from struct.
10038 (pthread_functions): Remove .ptr_freeres from struct initializer.
10039 [SHARED] (nptl_freeres): Remove.
10040 * nptl/nptlfreeres.c: New file.
10042 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10043 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10045 (__free_stacks): Rename to...
10046 (__nptl_stacks_freeres): ...this.
10047 (__shm_directory_freeres): Declare.
10048 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10049 (__nptl_unwind_freeres): ...this.
10050 * resolv/res-close.c: Add comment.
10051 * resolv/resolv_conf.c: Include libc-symbols.h.
10052 * string/strerror_l.c: Include libc-symbols.h.
10053 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10054 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10055 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10056 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10058 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10060 * stdlib/tst-strfmon_l.c: Add tests for long double.
10062 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10065 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10066 * localedata/locales/dsb_DE: New file.
10068 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10071 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10073 (alt_mon): New entry, import from CLDR (nominative case).
10075 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10078 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10080 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10082 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10083 Use vector registers.
10085 * sysdeps/aarch64/multiarch/memmove_falkor.S
10086 (__memcpy_falkor): Use vector registers.
10088 2018-06-29 Martin Sebor <msebor@redhat.com>
10090 * manual/stdio.texi (Customizing Printf): Mention interaction
10091 with GCC built-ins.
10093 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10096 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10097 `st_value' is 0 if `st_shndx' is SHN_ABS.
10098 * elf/tst-absolute-zero.c: New file.
10099 * elf/tst-absolute-zero-lib.c: New file.
10100 * elf/tst-absolute-zero-lib.lds: New file.
10101 * elf/Makefile (tests): Add `tst-absolute-zero'.
10102 (modules-names): Add `tst-absolute-zero-lib'.
10103 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10104 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10105 ($(objpfx)tst-absolute-zero: New dependency.
10107 2018-06-29 Zack Weinberg <zackw@panix.com>
10109 * configure.ac: New command-line option --disable-crypt.
10110 Force --disable-nss-crypt when --disable-crypt is given, with a
10111 warning if it was explicitly enabled.
10112 * configure: Regenerate.
10113 * config.make.in: New boolean substitution variable $(build-crypt).
10114 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10115 when $(build-crypt).
10116 * manual/install.texi: Document --disable-crypt.
10117 * INSTALL: Regenerate.
10119 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10120 which is never set.
10121 * conform/Makefile: Only include libcrypt.a in
10122 linknamespace-libs-xsi and linknamespace-libs-XPG4
10123 when $(build-crypt).
10124 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10125 USE_CRYPT to 1 when $(build-crypt).
10126 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10127 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10128 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10130 2018-06-29 Zack Weinberg <zackw@panix.com>
10132 * crypt/crypt.h, posix/unistd.h: Update comments and
10133 prototypes for crypt and crypt_r.
10135 * manual/crypt.texi (Cryptographic Functions): New initial
10137 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10138 (Unpredictable Bytes): Improve initial exposition. Clarify error
10139 behavior of getentropy and getrandom.
10140 * manual/examples/genpass.c: Generate a salt using getentropy
10141 instead of the current time. Use hash $5$ (SHA-2-256).
10142 * manual/examples/testpass.c: Demonstrate validation against
10143 hashes generated with three different one-way functions.
10145 * manual/intro.texi: crypt.texi does not need an overview
10148 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10149 * manual/terminal.texi: Consistently refer to "passphrases"
10150 * instead of "passwords", and to the "user database" instead
10151 * of the "password database".
10152 * manual/users.texi: Similarly. Add notes about how actual
10153 passphrase hashes are now stored in the shadow database.
10154 Remove 20-year-old junk todo note.
10156 2018-06-29 Zack Weinberg <zackw@panix.com>
10158 * manual/crypt.texi: Use a normal top-level @node declaration.
10159 Move most of the introductory text to the 'crypt' section.
10160 Move the example programs below the @deftypefun for 'crypt_r'.
10161 Move the 'getpass' section...
10162 * manual/terminal.texi: ...here.
10164 2018-06-29 Zack Weinberg <zackw@panix.com>
10165 Florian Weimer <fweimer@redhat.com>
10167 * posix/unistd.h: Do not declare encrypt.
10168 (_XOPEN_CRYPT): Remove macro definition.
10169 (crypt): Declare only for _USE_MISC.
10170 * stdlib/stdlib.h: Do not declare setkey.
10171 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10172 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10174 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10175 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10176 into compat symbols. Don't define initial_perm if it's not
10178 * crypt/cert.c: Link explicitly with the expected versions for
10179 setkey and encrypt. If they are not available at all, mark
10180 the test as unsupported.
10182 * sunrpc/des_crypt.c: Unconditionally block linkage with
10183 cbc_crypt and ecb_crypt for new binaries.
10184 * sunrpc/des_soft.c: Unconditionally block linkage with
10185 des_setparity for new binaries.
10187 * manual/crypt.texi: Remove the entire "DES Encryption"
10188 section. Also remove the paragraph talking about FIPS 140-2
10189 from the introduction.
10190 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10191 of libgcrypt for "real" encryption, not DES.
10192 * manual/conf.texi (Constants for Sysconf): Mention that
10193 _XOPEN_CRYPT is no longer impelemented.
10195 * conform/data/unistd.h-data: Remove crypt function declaration.
10197 2018-06-29 Florian Weimer <fweimer@redhat.com>
10200 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10201 (disallow_malloc_check): Remove variable.
10202 (__malloc_check_init): Adjust.
10203 (malloc_set_state): Update comment.
10204 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10207 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10210 * localedata/locales/ast_ES (mon): Rename to...
10212 (mon): Import from CLDR (genitive case).
10214 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10215 Jakub Sitnicki <jkbs@redhat.com>
10218 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10219 on NLM_F_DUMP_INTR.
10221 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10223 * manual/llio.texi: Remove spurious space.
10225 2018-06-28 Florian Weimer <fweimer@redhat.com>
10228 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10231 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10233 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10234 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10235 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10236 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10237 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10238 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10239 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10241 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10244 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10245 Copy and null-terminate entries that are not terminated, in
10246 addition to empty ones.
10248 2018-06-27 Florian Weimer <fweimer@redhat.com>
10251 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10252 (extend_alloca_account): Remove.
10253 * manual/stdio.texi (Variable Arguments Output): Update comment.
10255 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10257 * nptl/sockperf.c: Remove file.
10259 2018-06-27 Florian Weimer <fweimer@redhat.com>
10262 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10263 scratch_buffer instead of extend_alloca.
10265 2018-06-27 Florian Weimer <fweimer@redhat.com>
10268 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10269 scratch_buffer instead of extend_alloca. Update comments.
10271 2018-06-27 Florian Weimer <fweimer@redhat.com>
10274 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10275 instead of extend_alloca.
10277 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10280 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10281 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10283 * scripts/test-installation.pl: Put temporary files in build
10284 directory, not /tmp.
10285 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10286 (CFLAGS-bug4.c): Likewise.
10287 (CFLAGS-bug5.c): Likewise.
10288 (CFLAGS-test-fseek.c): Likewise.
10289 (CFLAGS-test-popen.c): Likewise.
10290 (CFLAGS-test_rdwr.c): Likewise.
10291 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10293 * stdio-common/bug4.c (main): Likewise.
10294 * stdio-common/bug5.c (main): Likewise.
10295 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10296 * stdio-common/test-popen.c (do_test): Likewise.
10297 * stdio-common/test_rdwr.c (main): Likewise.
10299 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10301 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10302 (sem_open): Set sem.newsem.pad to zero for valgrind.
10304 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10307 * NEWS: Mention fcntl64 addition.
10308 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10309 * login/utmp_file.c: Likewise.
10310 * sysdeps/posix/fdopendir.c: Likewise.
10311 * sysdeps/posix/opendir.c: Likewise.
10312 * sysdeps/unix/pt-fcntl.c: Likewise.
10313 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10314 __fcntl64_nocancel_adjusted): New prototype.
10315 (__fcntl_nocancel_adjusted): Remove prototype.
10316 * io/Makefile (routines): Add fcntl64.
10317 (CFLAGS-fcntl64.c): New rule.
10318 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10319 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10320 * io/fcntl.h (fcntl64): Add prototype and redirect if
10321 __USE_FILE_OFFSET64 is defined.
10322 * io/fcntl64.c: New file.
10323 * manual/llio.text: Add a note for which commands fcntl acts a
10324 cancellation point.
10325 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10326 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10327 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10329 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10330 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10332 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10333 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10334 to __fcntl64_nocancel.
10335 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10336 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10337 to __fcntl64_nocancel.
10338 * sysdeps/generic/not-cancel.h: Likewise.
10339 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10340 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10341 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10342 (fcntl64): New symbol.
10343 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10344 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10345 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10348 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10349 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10350 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10353 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10354 fcntl64): Likewise.
10355 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10356 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10357 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10358 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10359 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10360 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10361 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10363 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10368 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10369 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10370 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10372 2018-06-26 Florian Weimer <fweimer@redhat.com>
10374 Run thread shutdown functions in an explicit order.
10375 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10377 (__libc_thread_freeres): Call thread shutdown functions
10379 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10380 * include/string.h (__strerror_thread_freeres): Declare.
10381 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10382 arena_thread_freeres. No longer static. Remove thread shutdown
10384 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10386 * resolv/res-close.c (__res_thread_freeres): Renamed from
10387 res_thread_freeres. No longer static. Remove thread shutdown
10389 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10390 * resolv/resolv_conf.c (freeres): Remove incorrect section
10391 attribute and use libc_freeres_fn.
10392 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10393 strerror_thread_freeres. No longer static. Remove thread
10394 shutdown hook registration.
10395 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10396 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10397 shutdown hook registration.
10398 * Makerules (shlib.lds): Do not provide section boundary symbols
10399 for __libc_thread_subfreeres.
10400 * manual/memory.texi (Basic Allocation): Update comment.
10402 2018-06-26 Florian Weimer <fweimer@redhat.com>
10404 Remove always-defined _RPC_THREAD_SAFE_ macro.
10405 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10406 Do not define _RPC_THREAD_SAFE_.
10407 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10409 * sunrpc/clnt_perr.c: Likewise.
10410 * sunrpc/clnt_raw.c: Likewise.
10411 * sunrpc/clnt_simp.c: Likewise.
10412 * sunrpc/key_call.c: Likewise.
10413 * sunrpc/rpc_common.c: Likewise.
10414 * sunrpc/rpc_main.c: Likewise.
10415 * sunrpc/rpc_thread.c: Likewise.
10416 * sunrpc/svc.c: Likewise.
10417 * sunrpc/svc_raw.c: Likewise.
10418 * sunrpc/svc_simple.c: Likewise.
10419 * sumrpc/svcauth_des.c: Likewise.
10421 2018-06-26 Florian Weimer <fweimer@redhat.com>
10423 * libio/Makefile (tests-internal): Add tst-vtables,
10424 tst-vtables-interposed.
10425 * libio/tst-vtables.c: New file.
10426 * libio/tst-vtables-common.c: Likewise.
10427 * libio/tst-vtables-interposed.c: Likewise.
10429 2018-06-26 Florian Weimer <fweimer@redhat.com>
10431 * support/support_test_main.c (support_test_main): Only call
10432 setvbuf if not disables.
10433 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10434 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10436 2018-06-26 Florian Weimer <fweimer@redhat.com>
10439 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10441 2018-06-25 Florian Weimer <fweimer@redhat.com>
10444 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10445 Use struct scratch_buffer instead of extend_alloca.
10447 2018-06-25 Florian Weimer <fweimer@redhat.com>
10450 * nss/getent.c (initgroups_keys): Use dynarray instead of
10453 2018-06-25 Florian Weimer <fweimer@redhat.com>
10456 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10457 Use struct scratch_buffer instead of extend_alloca.
10459 2018-06-25 Florian Weimer <fweimer@redhat.com>
10462 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10463 back to malloc directly, without stack allocations.
10465 2018-06-25 Florian Weimer <fweimer@redhat.com>
10468 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10471 2018-06-25 Florian Weimer <fweimer@redhat.com>
10474 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10476 * nscd/hstcache.c (addhstbyX): Likewise.
10477 * nscd/pwdcache.c (addpwbyX): Likewise.
10478 * nscd/servicescache.c (addservbyX): Likewise.
10480 2018-06-25 Florian Weimer <fweimer@redhat.com>
10483 * nscd/connections.c (read_cmdline): New function.
10484 (restart): Use it. Update comment.
10486 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10489 * localedata/locales/csb_PL (mon): Rename to...
10491 (abmon): Rename to...
10492 (ab_alt_mon): This.
10493 (mon): Add with proper genitive forms, copy from Wikipedia.
10496 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10499 * localedata/locales/csb_PL (mon): Fix typos:
10500 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10501 (yesstr): Add, value is "jo".
10502 (nostr): Add, value is "nié".
10504 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10506 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10507 all log1p and significand functions on m680x0.
10508 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10509 of s_significand.c..
10510 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10511 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10512 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10513 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10514 s_log1p.c and include it..
10516 2018-06-21 Vincent Chen <vincentc@andestech.com>
10518 * elf/elf.h (R_NDS32_NONE): New define.
10519 (R_NDS32_32_RELA): Likewise.
10520 (R_NDS32_COPY): Likewise.
10521 (R_NDS32_GLOB_DAT): Likewise.
10522 (R_NDS32_JUMP_SLOT): Likewise.
10523 (R_NDS32_RELATIVE): Likewise.
10524 (R_NDS32_TLS_TPOFF): Likewise.
10525 (R_NDS32_TLS_DESC): Likewise.
10527 2018-06-21 Mark Wielaard <mark@klomp.org>
10529 * elf/elf.h (R_BPF_MAP_FD): Removed.
10530 (R_BPF_64_64, R_BPF_64_32): New.
10532 2018-06-21 Florian Weimer <fweimer@redhat.com>
10535 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10536 Renamed from libc_feholdsetround_ctx.
10537 (default_libc_feresetround_ctx): Renamed from
10538 libc_feresetround_ctx.
10539 (default_libc_feholdsetround_noex_ctx): Renamed from
10540 libc_feholdsetround_noex_ctx.
10541 (default_libc_feresetround_noex_ctx): Renamed from
10542 libc_feresetround_noex_ctx.
10543 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10544 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10545 forwardning to the old implementations under the new names.
10546 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10547 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10548 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10549 (libc_feresetround_ctx): Forward to default implements for i386
10550 and MATH_SET_BOTH_ROUNDING_MODES.
10551 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10552 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10554 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10556 * string/tst-cmp.c: Include <libc-diag.h>.
10557 (strncmp_max): Disable -Wstringop-overflow= around call to
10559 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10562 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10563 (main): Disable -Wunused-value around call to strpbrk.
10564 * string/bug-strspn1.c: Include <libc-diag.h>.
10565 (main): Disable -Wunused-value around call to strspn.
10567 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10568 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10570 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10571 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10573 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10575 * math/Makefile (libm-calls): Move s_significandF to...
10576 (gen-libm-calls): ... here.
10577 * math/s_significand_template.c: New file.
10578 * math/s_significand.c: Removed.
10579 * math/s_significandf.c: Removed.
10580 * math/s_significandl.c: Removed.
10581 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10582 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10584 * math/e_exp2_template.c (declare_mgen_finite_alias,
10585 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10586 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10587 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10589 2018-06-20 Florian Weimer <fweimer@redhat.com>
10591 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10593 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10597 floating-point number to strtod functions rather than possibly
10598 negating result of those functions.
10599 * stdio-common/tst-scanf-round.c: New file.
10600 * stdio-common/Makefile (tests): Add tst-scanf-round.
10601 ($(objpfx)tst-scanf-round): Depend on $(libm).
10603 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10605 * sysdeps/mach/hurd/localplt.data: Move to...
10606 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10607 R_386_GLOB_DAT like on Linux i386.
10609 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10611 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10612 (SHM_STAT_ANY): New macro.
10613 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10614 (SHM_STAT_ANY): Likewise.
10615 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10616 (SHM_STAT_ANY): Likewise.
10617 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10618 (SHM_STAT_ANY): Likewise.
10619 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10620 (SHM_STAT_ANY): Likewise.
10621 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10622 (SHM_STAT_ANY): Likewise.
10623 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10624 (SHM_STAT_ANY): Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10626 (SHM_STAT_ANY): Likewise.
10627 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10628 (SHM_STAT_ANY): Likewise.
10629 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10630 (SHM_STAT_ANY): Likewise.
10631 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10632 (SHM_STAT_ANY): Likewise.
10633 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10634 (SHM_STAT_ANY): Likewise.
10636 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10637 (SEM_STAT_ANY): New macro.
10638 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10639 (SEM_STAT_ANY): Likewise.
10640 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10641 (SEM_STAT_ANY): Likewise.
10642 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10643 (SEM_STAT_ANY): Likewise.
10644 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10645 (SEM_STAT_ANY): Likewise.
10646 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10647 (SEM_STAT_ANY): Likewise.
10648 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10649 (SEM_STAT_ANY): Likewise.
10650 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10651 (SEM_STAT_ANY): Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10653 (SEM_STAT_ANY): Likewise.
10654 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10655 (SEM_STAT_ANY): Likewise.
10657 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10658 (MSG_STAT_ANY): New macro.
10659 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10660 (MSG_STAT_ANY): Likewise.
10661 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10662 (MSG_STAT_ANY): Likewise.
10663 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10664 (MSG_STAT_ANY): Likewise.
10665 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10666 (MSG_STAT_ANY): Likewise.
10667 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10668 (MSG_STAT_ANY): Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10670 (MSG_STAT_ANY): Likewise.
10671 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10672 (MSG_STAT_ANY): Likewise.
10673 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10674 (MSG_STAT_ANY): Likewise.
10675 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10676 (MSG_STAT_ANY): Likewise.
10678 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10679 (MAP_TYPE): Change value to 0x2b.
10681 2018-06-18 Florian Weimer <fweimer@redhat.com>
10684 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10685 socket with SOCK_CLOEXEC.
10687 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10690 * sysdeps/powerpc/powerpc64/le/Makefile
10691 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10692 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10693 (gnulib-tests): Also add $(f128-loader-link) for
10694 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10696 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10698 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10699 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10701 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10702 (sendfile64): New strong alias.
10703 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10704 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10705 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10706 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10708 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10709 ___pthread_get_cleanup_stack.
10710 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10711 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10712 * mach/shortcut.awk: Make syscall stubs include
10713 <mach-shortcuts-hidden.h> and add hidden definition.
10714 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10715 (__mach_msg): Add hidden prototype.
10716 * mach/msg.c: Include <mach.h>.
10717 (__mach_msg): Add hidden definition.
10718 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10719 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10720 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10721 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10722 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10723 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10724 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10725 prototype and definition.
10726 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10727 hidden target for _hurd_self_sigstate.
10729 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10732 * stdlib/tst-strtod-nan-sign-main.c: New file.
10733 * stdlib/tst-strtod-nan-sign.c: Likewise.
10734 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10735 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10736 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10737 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10738 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10740 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10743 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10746 2018-06-14 Florian Weimer <fweimer@redhat.com>
10749 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10750 that the result stays within the ISO-8859-1 range.
10751 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10752 characters are defined in IBM273.
10754 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10756 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10757 __mach_task_self): Remove attribute_hidden.
10759 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10761 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10762 ignore -Wrestrict for one test.
10764 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10765 Szabolcs Nagy <szabolcs.nagy@arm.com>
10767 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10769 2018-06-14 Florian Weimer <fweimer@redhat.com>
10771 * scripts/update-abilist.sh: Accept empty list of files to patch.
10773 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10775 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10776 test-xfail-check-abi-libmachuser): Add.
10777 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10778 __libc_read and __libc_write to __read and __write.
10779 * sysdeps/hurd/include/hurd/port.h: New file.
10780 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10781 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10782 __thread_switch, __evc_wait): Move declarations to...
10783 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10785 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10786 use PLT to call _hurd_self_sigstate.
10788 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10791 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10792 MAX_EXP as overflowing.
10793 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10795 (round_str): Output also whether result overflows in each rounding
10797 * stdlib/tst-strtod-round-data: Add more tests.
10798 * stdlib/tst-strtod-round-data.h: Regenerated.
10799 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10800 (TEST): Handle extra arguments for overflow flags.
10801 (struct test_overflow): New type.
10802 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10803 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10804 (test_in_one_mode): Take argument with overflow information.
10805 (do_test): Update calls to test_in_one_mode.
10807 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10809 * elf/dl-load (_dl_dst_substitute): Correct comment.
10810 (_dl_dst_count): Likewise.
10812 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10813 lll_futex_timed_wait.
10815 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10818 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10820 * math/test-nan-const.c: New file.
10821 * math/Makefile (tests): Add test-nan-const.
10822 (CFLAGS-test-nan-const.c): New variable.
10824 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10826 * benchtests/scripts/compare_strings.py (process_results): Add
10827 funcs argument. Compare only functions which are selected.
10828 (main): Check if base function is among selected functions.
10829 Pass selected functions to process_results.
10830 (__main__): Add -f/--functions argument.
10832 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10833 Hongbo Zhang <hongbo.zhang@linaro.org>
10835 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10836 __memcpy_falkor for phecda core.
10837 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10838 __memmove_falkor for phecda core.
10839 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10840 __memset_falkor for phecda core.
10841 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10843 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10844 macro to identify phecda core.
10846 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10847 Andreas Schwab <schwab@suse.de>
10848 Dmitry V. Levin <ldv@altlinux.org>
10849 Florian Weimer <fweimer@redhat.com>
10856 * elf/dl-dst.h: Remove DL_DST_COUNT.
10857 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10858 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10859 (is_dst): Comment. Support ELF gABI.
10860 (_dl_dst_count): Comment. Simplify and count DSTs.
10861 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10862 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10865 2018-06-12 Zack Weinberg <zackw@panix.com>
10867 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10868 * sysdeps/unix/sysv/linux/dl-sysdep.c
10869 Include not-cancel.h. Use __close_nocancel instead of __close,
10870 __open64_nocancel instead of __open, __read_nocancel instead of
10871 __libc_read, and __write_nocancel instead of __libc_write.
10873 * csu/check_fds.c (check_one_fd)
10874 * sysdeps/posix/fdopendir.c (__fdopendir)
10875 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10876 instead of __fcntl and/or __libc_fcntl.
10878 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10879 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10880 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10881 Use __open64_nocancel instead of __open_nocancel.
10883 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10884 hidden_proto declarations to the end and issue them if either
10885 IS_IN(libc) or IS_IN(rtld).
10886 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10887 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10888 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10889 read_nocancel, waitpid_nocancel, write_nocancel.
10891 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10892 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10893 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10895 * nptl/pt-fcntl.c: New file.
10896 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10897 (libpthread-routines): Add pt-fcntl.
10898 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10899 (__libc_fcntl): Remove attribute_hidden.
10900 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10901 __fcntl_nocancel_adjusted, not fcntl_common.
10902 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10903 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10904 to fcntl_nocancel.c.
10905 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10908 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10910 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10911 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10912 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10913 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10914 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10915 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10916 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10917 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10918 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10919 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10920 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10921 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10922 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10923 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10924 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10925 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10926 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10927 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10928 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10929 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10931 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10932 libpthread-routines.
10933 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10936 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10937 __libc_read, and __write instead of __libc_write. Define
10938 __open64 in addition to __open.
10940 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10944 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10945 to _private_tm[3] and add __glibc_reserved2.
10946 Add _Static_assert of offset of __private_ss == 0x30.
10947 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10948 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10950 2018-06-12 Florian Weimer <fweimer@redhat.com>
10952 x86: Make strncmp usable from rtld.
10953 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10954 __strncmp_ia32 if in libc (and not in rtld).
10955 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10956 strncmp if not in libc (and not to __strncmp_sse2).
10958 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10961 * localedata/locales/gd_GB (mon): Rename to...
10963 (mon): Import from CLDR (genitive case).
10964 * localedata/locales/hsb_DE (mon): Rename to...
10966 (mon): Import from CLDR (genitive case).
10967 * localedata/locales/wa_BE (mon): Rename to...
10969 (mon): Add, fill with the proper genitive forms, but CLDR data
10970 is incomplete; completed according to the comments in this file.
10971 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10973 * localedata/locales/wa_BE (country_name): Reword
10974 "Beljike" -> "Beldjike".
10976 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10979 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10980 cases of non-finite arguments.
10981 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10983 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10986 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10988 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10991 * include/unistd.h (__execvpex): New prototype.
10992 * posix/Makefile (tests): Add tst-spawn4.
10993 (tests-internal): Add tst-spawn4-compat.
10994 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10995 * posix/tst-spawn4-compat.c: New file.
10996 * posix/tst-spawn4.c: Likewise.
10997 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10998 binaries as shell scripts.
10999 * sysdeps/posix/spawni.c (__spawni): Likewise.
11001 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11004 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11005 ($(all-built-dso:=.dynsym): New target.
11006 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11007 ($(objpfx)check-initfini.out): New target.
11008 (generated): Add check-initfini.out.
11009 * scripts/check-initfini.awk: New file.
11010 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11012 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11014 * sysdeps/arm/crti.S (_init): Mark as hidden.
11016 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11018 * sysdeps/i386/crti.S (_init): Mark as hidden.
11020 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11022 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11024 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11026 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11028 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11030 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11032 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11034 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11036 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11038 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11040 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11042 * sysdeps/sh/crti.S (_init): Mark as hidden.
11044 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11046 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11049 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11051 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11052 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11053 and TF redirection to KFtype and KF only when the default
11054 long double type is not the IEEE 128-bit floating point type.
11056 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11058 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11060 (HWCAP_USCAT): Likewise.
11061 (HWCAP_ILRCPC): Likewise.
11062 (HWCAP_FLAGM): Likewise.
11063 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11065 (_dl_aarch64_cap_flags): Add new flag names.
11067 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11068 (MAP_FIXED_NOREPLACE): New macro.
11069 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11070 (MAP_FIXED_NOREPLACE): Likewise.
11071 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11072 (MAP_FIXED_NOREPLACE): Likewise.
11073 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11074 (MAP_FIXED_NOREPLACE): Likewise.
11075 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11076 (MAP_FIXED_NOREPLACE): Likewise.
11077 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11078 (MAP_FIXED_NOREPLACE): Likewise.
11079 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11080 (MAP_FIXED_NOREPLACE): Likewise.
11081 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11082 (MAP_FIXED_NOREPLACE): Likewise.
11083 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11084 (MAP_FIXED_NOREPLACE): Likewise.
11085 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11086 (MAP_FIXED_NOREPLACE): Likewise.
11087 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11088 (MAP_FIXED_NOREPLACE): Likewise.
11089 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11090 (MAP_FIXED_NOREPLACE): Likewise.
11091 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11092 (MAP_FIXED_NOREPLACE): Likewise.
11093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11094 (MAP_FIXED_NOREPLACE): Likewise.
11095 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11096 (MAP_FIXED_NOREPLACE): Likewise.
11098 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11101 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11103 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11106 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11108 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11110 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11112 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11114 * benchtests/scripts/compare_string.py: (process_results) Catch
11115 exception in non-existent base_func and catch exception in
11116 non-existent attribute.
11117 (parse_file) Catch exception if input file does not exist.
11119 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11121 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11122 options to avoid diff calculation and omit header, respectively.
11123 (main): process --no-diff and --no-header
11125 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11126 H.J. Lu <hongjiu.lu@intel.com>
11128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11129 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11132 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11133 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11134 and __wcsncmp_sse2.
11135 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11136 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11137 AVX unaligned load is fast and vzeroupper is preferred.
11138 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11139 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11140 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11141 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11142 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11143 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11144 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11145 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11146 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11147 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11150 2018-06-01 Florian Weimer <fweimer@redhat.com>
11152 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11153 configuring with --disable-multi-arch, building with
11154 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11157 2018-06-01 Florian Weimer <fweimer@redhat.com>
11159 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11160 results from building with “-march=x86-64 -mtune=generic
11161 -mfpmath=sse” and running on a Haswell-era CPU.
11163 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11166 * soft-fp/sqrttf2.c: Remove file.
11167 * soft-fp/sqrtdf2.c: Move to ....
11168 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11170 (__sqrtdf2): Make conditional on
11171 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11173 * soft-fp/sqrtsf2.c: Move to ....
11174 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11176 (__sqrtsf2): Make conditional on
11177 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11179 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11180 (gcc-double-routines): Remove sqrtdf2.
11181 (gcc-quad-routines): Remove sqrttf2.
11182 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11183 Do not filter out sqrtsf2 and sqrtdf2.
11184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11185 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11187 2018-06-01 Florian Weimer <fweimer@redhat.com>
11189 * sysdeps/generic/libcidn.abilist: Remove file.
11191 2018-06-01 Florian Weimer <fweimer@redhat.com>
11194 * libio/strfile.h (struct _IO_str_fields): Rename members to
11195 discourage their use and add comment.
11196 (_IO_STR_DYNAMIC): Remove unused macro.
11197 * libio/strops.c (_IO_str_init_static_internal): Do not use
11198 callback pointers. Call malloc and free.
11199 (_IO_str_overflow): Do not use callback pointers. Call malloc
11201 (enlarge_userbuf): Likewise.
11202 (_IO_str_finish): Call free.
11203 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11204 _allocate_buffer_unused.
11205 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11207 (enlarge_userbuf): Likewise.
11208 (_IO_wstr_finish): Call free.
11209 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11210 _allocate_buffer_unused, _free_buffer_unused.
11211 * libio/memstream.c (__open_memstream): Likewise.
11212 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11213 * libio/wmemstream.c (open_wmemstream): Likewise.
11215 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11217 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11220 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11222 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11223 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11224 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11226 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11228 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11230 2018-05-29 Florian Weimer <fweimer@redhat.com>
11232 * support/Makefile (libsupport-routines): Add
11233 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11234 xpthread_barrierattr_setpshared.
11235 * support/xpthread_barrierattr_destroy.c: New file.
11236 * support/xpthread_barrierattr_init.c: Likewise.
11237 * support/xpthread_barrierattr_setpshared.c: Likewise.
11239 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11242 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11243 _r_debug and update DT_DEBUG for debugger.
11245 2018-05-29 Florian Weimer <fweimer@redhat.com>
11247 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11248 (tst-strtod5i.out): Likewise.
11250 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11252 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11253 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11254 (sparc64-quad-routines): New variable. Moved from ....
11255 [$(subdir) = soft-fp] (sysdep_routines): Add
11256 $(sparc64-quad-routines). Moved from ....
11257 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11258 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11259 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11261 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11262 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11263 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11264 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11265 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11266 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11267 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11268 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11269 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11270 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11271 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11272 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11273 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11274 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11275 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11276 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11277 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11278 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11279 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11280 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11281 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11282 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11283 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11284 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11285 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11286 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11287 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11288 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11289 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11290 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11291 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11292 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11293 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11294 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11295 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11296 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11297 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11298 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11299 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11300 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11301 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11302 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11303 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11304 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11305 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11306 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11307 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11308 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11309 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11310 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11311 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11312 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11313 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11314 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11315 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11316 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11317 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11318 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11320 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11321 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11322 (sparc32-quad-routines): New variable. Moved from ....
11323 [$(subdir) = soft-fp] (sysdep_routines): Add
11324 $(sparc32-quad-routines). Moved from ....
11325 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11326 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11328 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11329 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11330 * sysdeps/sparc/sparc32/q_add.c: ... here.
11331 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11332 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11333 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11334 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11335 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11336 * sysdeps/sparc/sparc32/q_div.c: ... here.
11337 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11338 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11339 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11340 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11341 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11342 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11343 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11344 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11345 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11346 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11347 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11348 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11349 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11350 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11351 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11352 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11353 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11354 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11355 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11356 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11357 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11358 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11359 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11360 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11361 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11362 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11363 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11364 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11365 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11366 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11367 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11368 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11369 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11370 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11371 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11372 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11373 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11374 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11375 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11376 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11377 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11378 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11379 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11380 * sysdeps/sparc/sparc32/q_util.c: ... here.
11381 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11382 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11383 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11384 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11386 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11387 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11389 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11390 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11391 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11392 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11394 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11400 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11401 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11403 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11406 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11409 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11411 * sysdeps/sh/Implies: Remove sh/soft-fp.
11412 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11413 * sysdeps/sh/sfp-machine.h: ... here.
11415 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11417 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11418 (__mempcpy_erms): Skip zero length.
11419 (__memmove_erms): Likewise.
11420 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11421 (__memset_erms): Likewise.
11423 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11425 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11426 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11427 Add functions moved from ....
11428 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11429 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11430 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11432 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11433 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11434 * sysdeps/alpha/e_sqrtl.c: ... here.
11435 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11436 * sysdeps/alpha/local-soft-fp.h: ... here.
11437 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11438 * sysdeps/alpha/ots_add.c: ... here.
11439 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11440 * sysdeps/alpha/ots_cmp.c: ... here.
11441 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11442 * sysdeps/alpha/ots_cmpe.c: ... here.
11443 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11444 * sysdeps/alpha/ots_cvtqux.c: ... here.
11445 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11446 * sysdeps/alpha/ots_cvtqx.c: ... here.
11447 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11448 * sysdeps/alpha/ots_cvttx.c: ... here.
11449 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11450 * sysdeps/alpha/ots_cvtxq.c: ... here.
11451 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11452 * sysdeps/alpha/ots_cvtxt.c: ... here.
11453 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11454 * sysdeps/alpha/ots_div.c: ... here.
11455 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11456 * sysdeps/alpha/ots_mul.c: ... here.
11457 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11458 * sysdeps/alpha/ots_nintxq.c: ... here.
11459 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11460 * sysdeps/alpha/ots_sub.c: ... here.
11461 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11462 * sysdeps/alpha/sfp-machine.h: ... here.
11464 2018-05-23 Florian Weimer <fweimer@redhat.com>
11472 Switch to extern IDNA implementation (libidn2).
11473 * libidn: Remove subdirectory.
11474 * LICENSES: Do not mention licensing conditions for the removed
11476 * config.h.in (HAVE_LIBIDN): Remove.
11477 * include/dlfcn.h (__libc_dlopen): Update comment.
11478 * include/idna.h: Remove file.
11479 * inet/Makefile (routines): Add idna.
11480 (tests-static, tests-internal): Add tst-idna_name_classify.
11481 (LOCALES): Generate locales for tests.
11482 (tst-idna_name_classify.out): Depend on generated locales.
11483 * inet/idna_name_classify.c: New file.
11484 * inet/tst-idna_name_classify.c: Likewise.
11485 * inet/net-internal.h (__idna_to_dns_encoding)
11486 (__idna_from_dns_encoding): Declare.
11487 * inet/net-internal.h (enum idna_name_classification): Define.
11488 (__idna_name_classify): Declare.
11489 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11490 __idna_from_dns_encoding.
11491 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11492 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11493 name as a fallback in case of encoding errors.
11494 (getnameinfo): Use DEPRECATED_NI_IDN.
11495 * inet/idna.c: New file.
11496 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11497 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11498 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11499 (modules-names): Add tst-no-libidn2.
11500 (extra-test-objs): Add tst-no-libidn2.os.
11501 (LDFLAGS-tst-no-libidn2.so): Set soname.
11502 (LOCALES): Set, and generate locales.
11503 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11504 (tst-resolv-ai_idn-latin1): Likewise.
11505 (tst-resolv-ai_idn-nolibidn2): Likewise.
11506 (tst-resolv-ai_idn.out): Depend on locales.
11507 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11508 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11510 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11511 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11512 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11513 * resolv/tst-resolv-ai_idn.c: New file.
11514 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11515 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11516 * resolv/tst-no-libidn2.c: Likewise.
11517 * support/support_format_addrinfo.c (format_ai_flags): Do not
11518 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11519 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11520 (gaih_inet): Call __idna_to_dns_encoding and
11521 __idna_from_dns_encoding, and use the original (punycode) name if
11522 __idna_from_dns_encoding fails due to an encoding error.
11523 (getaddrinfo): Use DEPRECATED_AI_IDN.
11524 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11525 * sysdeps/unix/inet/configure: Remove file.
11526 * sysdeps/unix/inet/configure.ac: Likewise.
11528 2018-05-23 Florian Weimer <fweimer@redhat.com>
11530 Implement allocate_once.
11531 * include/allocate_once.h: New file.
11532 * misc/allocate_once.c: Likewise.
11533 * misc/tst-allocate_once.c: Likewise.
11534 * misc/Makefile (routines): Add allocate_once.
11535 (tests-internal): Add tst-allocate_once.
11536 (generated): Add tst-allocate_once.mtrace,
11537 tst-allocate_once-mem.out.
11538 (tests-special): Add tst-allocate_once-mem.out.
11539 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11540 (tst-allocate_once-mem.out): Call mtrace.
11541 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11543 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11546 * string/test-memcpy.c (do_test1): New function.
11547 (test_main): Call it.
11549 2018-05-23 Andreas Schwab <schwab@suse.de>
11553 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11554 (L(preloop_large)): Save initial destination pointer in %r11 and
11555 use it instead of %rax after the loop.
11556 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11558 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11560 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11561 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11562 -I../soft-fp. Moved from ....
11563 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11564 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11565 * sysdeps/aarch64/e_sqrtl.c: ... here.
11566 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11567 * sysdeps/aarch64/sfp-machine.h: ... here.
11569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11570 -Wmaybe-uninitialized around access to fq[0].
11571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11575 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11576 aliases for non-libc case of versioned symbols.
11577 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11578 (llseek): Define as compat symbol if
11579 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11581 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11582 Make into a compat symbol, disabled for minimum symbol version
11583 GLIBC_2.28 and later.
11584 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11586 2018-05-22 Florian Weimer <fweimer@redhat.com>
11588 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11589 not add -mpreferred-stack-boundary=4.
11590 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11591 (stack-align-test-flags): Likewise.
11592 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11594 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11595 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11596 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11597 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11598 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11599 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11600 (CFLAGS-tst-align2.c): Likewise.
11602 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11604 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11605 (index_arch_Prefer_FSRM): Likewise.
11606 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11607 Also check Prefer_FSRM.
11608 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11609 Also return OPTIMIZE (erms) for Prefer_FSRM.
11611 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11613 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11614 (index_cpu_FSRM): Likewise.
11615 (reg_FSRM): Likewise.
11617 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11619 * math/gen-tgmath-tests.py: Import sys.
11620 (Tests.__init__): Initialize macros_seen.
11621 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11622 if requested to do so for this macro.
11623 (Tests.add_all_tests): Take argument for macro for which to
11625 (Tests.check_macro_list): New function.
11626 (main): Handle check-list argument and argument specifying macro
11627 for which to generate tests.
11628 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11629 [PYTHON] (tgmath3-macro-tests): Likewise.
11630 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11631 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11632 not test-tgmath3.c.
11633 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11634 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11636 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11637 [PYTHON] ($(foreach
11638 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11640 [PYTHON] (tests-special): Add
11641 $(objpfx)test-tgmath3-macro-list.out.
11642 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11644 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11645 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11649 * time/tzset.c (SECSPERDAY): Cast to time_t.
11650 * time/tst-y2039.c: New file.
11651 * time/Makefile (tests): Add tst-y2039.
11653 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11655 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11656 (PREFETCH_ONE_SET): Remove duplicate line.
11658 2018-05-17 Florian Weimer <fweimer@redhat.com>
11660 * sysdeps/generic/math-type-macros-double.h: Include
11661 <math-nan-payload-double.h> after <libm-alias-double.h>.
11662 * sysdeps/generic/math-type-macros-float.h: Include
11663 <math-nan-payload-float.h> after <libm-alias-float.h>.
11664 * sysdeps/generic/math-type-macros-float128.h: Include
11665 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11666 * sysdeps/generic/math-type-macros-ldouble.h: Include
11667 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11669 2018-05-17 Andreas Schwab <schwab@suse.de>
11671 * resolv/res_send.c (__res_context_send): Don't set errno when
11672 returing error after malloc failure.
11674 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11676 * nptl/allocatestack.c (allocate_stack): Remove the
11677 !__ASSUME_PRIVATE_FUTEX paths.
11678 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11679 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11681 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11682 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11683 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11684 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11685 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11686 !__ASSUME_PRIVATE_FUTEX path.
11687 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11688 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11689 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11690 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11691 !__ASSUME_PRIVATE_FUTEX macros.
11692 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11693 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11695 * sysdeps/unix/sysv/linux/kernel-features.h
11696 (__ASSUME_PRIVATE_FUTEX): Removed.
11698 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11700 * math/Makefile (libm-narrow-fns): Add div.
11701 (libm-test-funcs-narrow): Likewise.
11702 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11703 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11704 * math/gen-auto-libm-tests.c (test_functions): Add div.
11705 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11706 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11707 (NARROW_DIV_TRIVIAL): Likewise.
11708 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11710 (__ddivl): Likewise.
11711 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11713 (CFLAGS-nldbl-ddiv.c): New variable.
11714 (CFLAGS-nldbl-fdiv.c): Likewise.
11715 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11717 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11719 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11720 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11721 * math/auto-libm-test-in: Add tests of div.
11722 * math/auto-libm-test-out-narrow-div: New generated file.
11723 * math/libm-test-narrow-div.inc: New file.
11724 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11727 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11728 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11729 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11738 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11739 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11740 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11741 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11743 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11744 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11748 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11749 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11765 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11769 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11772 * nscd/nscd-client.h (sendfileall): Remove prototype.
11773 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11774 (handle_request): Use writeall instead of sendfileall.
11775 * nscd/aicache.c (addhstaiX): Likewise.
11776 * nscd/grpcache.c (cache_addgr): Likewise.
11777 * nscd/hstcache.c (cache_addhst): Likewise.
11778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11779 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11780 * nscd/pwdcache.c (cache_addpw): Likewise.
11781 * nscd/servicescache.c (cache_addserv): Likewise.
11782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11783 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11787 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11789 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11790 Include <string/strncat.c>.
11791 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11793 (__GI___strncat): New hidden alias.
11795 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11797 * sysdeps/mips/mips32/libm-test-ulps: Update.
11798 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11800 2018-05-16 Florian Weimer <fweimer@redhat.com>
11802 * support/Makefile (libsupport-routines): Add support_quote_blob,
11803 support_test_compare_blob.
11804 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11805 * support/check.h (TEST_COMPARE_BLOB): Define.
11806 (support_test_compare_blob): Declare.
11807 * support/support.h (support_quote_blob): Declare.
11808 * support/support_quote_blob.c: New file.
11809 * support/support_test_compare_blob.c: Likewise.
11810 * support/tst-support_quote_blob.c: Likewise.
11811 * support/tst-test_compare_blob.c: Likewise.
11813 2018-05-16 Florian Weimer <fweimer@redhat.com>
11815 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11816 of <strtod_nan_double.h>.
11817 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11818 instead of SET_MANTISSA.
11819 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11820 of include <strtod_nan_float.h>.
11821 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11822 instead of <strtod_nan_ldouble.h>.
11823 * stdlib/strtod_nan_double.h: Move to ...
11824 * sysdeps/generic/math-nan-payload-double.h: ... here.
11825 (FLOAT): Remove definition.
11826 (SET_MANTISSA): Rename to ...
11827 (SET_NAN_PAYLOAD): ... this.
11828 * stdlib/strtod_nan_float.h: Move to ...
11829 * sysdeps/generic/math-nan-payload-float.h: ... here.
11830 (FLOAT): Remove definition.
11831 (SET_MANTISSA): Rename to ...
11832 (SET_NAN_PAYLOAD): ... this.
11833 * sysdeps/generic/math-type-macros-double.h: Include
11834 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11835 instead of <math-svid-compat.h>.
11836 * sysdeps/generic/math-type-macros-float.h: Include
11837 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11838 instead of <math-svid-compat.h>.
11839 * sysdeps/generic/math-type-macros-float128.h: Include
11840 <math-nan-payload-float128.h>.
11841 * sysdeps/generic/math-type-macros-ldouble.h: Include
11842 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11843 instead of <math-svid-compat.h>.
11844 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11845 check for definition.
11846 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11847 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11848 Include <ieee754_float128.h>.
11849 (FLOAT): Remove definition.
11850 (SET_MANTISSA): Rename to ...
11851 (SET_NAN_PAYLOAD): ... this.
11852 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11853 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11854 Do not include <float128_private.h>.
11855 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11857 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11858 (FLOAT): Remove definition.
11859 (SET_MANTISSA): Rename to ...
11860 (SET_NAN_PAYLOAD): ... this.
11861 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11862 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11863 (FLOAT): Remove definition.
11864 (SET_MANTISSA): Rename to ...
11865 (SET_NAN_PAYLOAD): ... this.
11866 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11867 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11868 (FLOAT): Remove definition.
11869 (SET_MANTISSA): Rename to ...
11870 (SET_NAN_PAYLOAD): ... this.
11871 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11872 of "../stdlib/strtod_nan_double.h".
11873 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11874 of "../stdlib/strtod_nan_float.h".
11875 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11876 instead of "../stdlib/strtod_nan_ldouble.h".
11877 * manual/arith.texi (Parsing of Floats): Adjust comment.
11879 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11881 * math/Makefile (libm-narrow-fns): Add mul.
11882 (libm-test-funcs-narrow): Likewise.
11883 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11884 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11885 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11886 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11887 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11888 (NARROW_MUL_TRIVIAL): Likewise.
11889 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11890 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11892 (__dmull): Likewise.
11893 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11895 (CFLAGS-nldbl-dmul.c): New variable.
11896 (CFLAGS-nldbl-fmul.c): Likewise.
11897 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11901 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11902 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11903 * math/auto-libm-test-in: Add tests of mul.
11904 * math/auto-libm-test-out-narrow-mul: New generated file.
11905 * math/libm-test-narrow-mul.inc: New file.
11906 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11909 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11910 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11911 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11917 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11918 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11919 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11920 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11921 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11922 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11923 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11925 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11926 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11932 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11933 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11934 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11935 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11936 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11937 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11942 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11943 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11944 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11945 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11946 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11947 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11951 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11953 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11954 with *%eax in call.
11956 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11958 * sysdeps/i386/ldsodefs.h: Removed.
11959 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11960 * sysdeps/x86/ldsodefs.h: This.
11961 (La_i86_regs): New.
11962 (La_i86_retval): Likewise.
11963 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11964 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11966 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11968 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11971 2018-05-13 Alan Modra <amodra@gmail.com>
11973 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11974 R_PARISC_TLS_DTPOFF32 reloc addend.
11976 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11978 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11979 * math/math.h: Restrict the prototype definition for the functions
11980 issignaling(_Float128) and iszero(_Float128); and template
11981 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11982 __HAVE_FLOAT128_UNLIKE_LDBL.
11983 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11984 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11985 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11986 __f128() constants; define the type _Float128 as long double;
11987 and reuse long double in __CFLOAT128.
11989 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11991 * sysdeps/generic/math_private.h: Do not include
11993 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11995 * math/fromfp.h: Include <math-barriers.h>.
11996 * math/math-narrow.h: Likewise.
11997 * math/s_nextafter.c: Likewise.
11998 * math/s_nexttowardf.c: Likewise.
11999 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12000 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12001 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12002 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12003 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12004 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12005 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12018 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12019 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12020 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12021 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12023 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12024 * sysdeps/ieee754/k_standardl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12026 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12029 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12040 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12041 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12042 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12043 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12044 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12045 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12046 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12048 2018-05-11 Florian Weimer <fweimer@redhat.com>
12050 Use 64-bit epoch values in the time zone file parser.
12051 * include/time.h (internal_time_t): Define.
12052 (__tzfile_compute): Use it.
12053 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12055 (transitions): Switch to internal_time_t.
12056 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12058 (__tzfile_compute): Use internal_time_t for timer argument. Check
12059 for truncation before calling __offtime.
12061 2018-05-11 Florian Weimer <fweimer@redhat.com>
12064 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12065 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12067 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12068 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12069 export without --enable-obsolete-rpc.
12070 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12071 symbol. This should not have been exported, ever.
12073 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12076 * localedata/locales/gd_GB (abmon): Fix typo in May:
12077 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12079 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12081 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12082 Use multiple registers to copy data in loop tail.
12084 * sysdeps/aarch64/multiarch/memmove_falkor.S
12085 (__memmove_falkor): Use multiple registers to move data in
12088 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12090 * math/math-underflow.h: New file.
12091 * sysdeps/generic/math_private.h: Do not include <float.h>.
12092 (fabs_tg): Remove macro. Moved to math-underflow.h.
12093 (min_of_type_f): Likewise.
12094 (min_of_type_): Likewise.
12095 (min_of_type_l): Likewise.
12096 (min_of_type_f128): Likewise.
12097 (min_of_type): Likewise.
12098 (math_check_force_underflow): Likewise.
12099 (math_check_force_underflow_nonneg): Likewise.
12100 (math_check_force_underflow_complex): Likewise.
12101 * math/e_exp2_template.c: Include <math-underflow.h>.
12102 * math/k_casinh_template.c: Likewise.
12103 * math/s_catan_template.c: Likewise.
12104 * math/s_catanh_template.c: Likewise.
12105 * math/s_ccosh_template.c: Likewise.
12106 * math/s_cexp_template.c: Likewise.
12107 * math/s_clog10_template.c: Likewise.
12108 * math/s_clog_template.c: Likewise.
12109 * math/s_csin_template.c: Likewise.
12110 * math/s_csinh_template.c: Likewise.
12111 * math/s_csqrt_template.c: Likewise.
12112 * math/s_ctan_template.c: Likewise.
12113 * math/s_ctanh_template.c: Likewise.
12114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12123 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12129 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12131 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12132 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12138 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12139 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12140 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12141 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12143 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12144 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12150 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12182 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12184 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12191 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12192 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12194 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12199 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12201 * sysdeps/generic/math-barriers.h: New file.
12202 * sysdeps/generic/math_private.h [!math_opt_barrier]
12203 (math_opt_barrier): Move to math-barriers.h.
12204 [!math_opt_barrier] (math_force_eval): Likewise.
12205 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12206 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12208 (math_force_eval): Likewise.
12209 * sysdeps/alpha/fpu/math-barriers.h: New file.
12210 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12212 (math_force_eval): Likewise.
12213 * sysdeps/x86/fpu/math-barriers.h: New file.
12214 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12216 (math_force_eval): Likewise.
12217 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12218 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12219 multiple-include guard for rename.
12220 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12221 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12223 (math_force_eval): Likewise.
12225 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12229 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12231 * stdlib/Makefile (test-bz22786): New test.
12232 * stdlib/test-bz22786.c: New test.
12234 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12236 * include/math-narrow-eval.h: New file. Contents moved from ....
12237 * sysdeps/generic/math_private.h: ... here.
12238 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12239 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12240 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12241 * stdlib/strtod_l.c: Likewise.
12242 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12243 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12244 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12257 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12259 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12260 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12261 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12262 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12263 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12264 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12266 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12267 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12268 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12269 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12270 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12272 2018-05-08 Andreas Schwab <schwab@suse.de>
12274 * sysdeps/nptl/internaltypes.h: Fix comment.
12276 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12278 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12279 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12282 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12284 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12285 of I into loop header.
12286 * benchtests/bench-memmove-walk.c
12287 (test_main): Likewise.
12289 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12292 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12293 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12295 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12298 * elf/dl-load.c (open_verify): Fix stack overflow.
12299 * elf/Makefile (tst-big-note): New test.
12300 * elf/tst-big-note-lib.S: New.
12301 * elf/tst-big-note.c: New.
12303 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12305 * scripts/abilist.awk: Ignore absolute symbols.
12306 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12307 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12308 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12309 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12310 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12311 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12312 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12313 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12314 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12315 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12316 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12317 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12322 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12323 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12399 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12413 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12441 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12462 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12552 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12567 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12606 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12620 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12659 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12662 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12663 Use atomic_load_acquire to load __tid.
12665 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12667 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12668 Restore the pointer into %rdx, after syscall and use %rdx,
12669 instead of %rsi, to restore context.
12671 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12673 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12674 Pop the pointer into %rdx after syscall and use %rdx, instead
12675 of %rsi, to restore context.
12677 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12679 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12680 handlers after setjmp.
12681 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12683 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12684 <libc-pointer-arith.h>.
12685 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12686 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12687 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12688 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12689 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12690 * sysdeps/x86/__longjmp_cancel.S: New file.
12691 * sysdeps/x86/longjmp.c: Likewise.
12692 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12694 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12696 * NEWS: Add ustat.h deprecation entry.
12697 * bits/ustat.h: Remove file.
12698 * misc/sys/ustat.h: Likewise.
12699 * misc/ustat.h: Likewise.
12700 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12701 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12702 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12703 compatibility mode.
12704 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12705 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12706 generic Linux implementation.
12708 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12710 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12711 * math/w_expl_compat.c: Likewise.
12712 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12714 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12716 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12718 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12720 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12721 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12722 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12724 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12727 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12728 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12731 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12733 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12735 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12736 * math/w_asin_template.c: Likewise.
12737 * math/w_atanh_template.c: Likewise.
12739 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12741 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12742 to powerpc/powerpc64/be for big-endian.
12743 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12746 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12747 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12748 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12749 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12750 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12751 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12752 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12753 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12754 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12755 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12756 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12757 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12758 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12759 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12760 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12761 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12762 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12763 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12764 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12765 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12766 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12767 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12768 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12769 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12770 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12771 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12772 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12773 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12774 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12775 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12776 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12777 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12779 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12780 adjusted to imply powerpc64 and older processors on powerpc64/be.
12781 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12782 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12783 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12784 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12785 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12786 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12787 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12788 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12789 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12790 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12791 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12792 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12793 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12794 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12795 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12796 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12797 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12798 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12799 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12800 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12801 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12802 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12803 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12804 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12805 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12806 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12807 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12808 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12809 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12810 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12811 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12813 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12814 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12815 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12816 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12818 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12819 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12820 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12821 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12823 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12824 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12825 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12826 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12827 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12828 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12829 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12830 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12831 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12832 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12833 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12835 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12836 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12837 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12838 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12839 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12840 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12841 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12842 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12843 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12844 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12845 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12847 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12848 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12849 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12850 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12851 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12852 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12853 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12854 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12855 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12856 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12857 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12858 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12860 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12861 and adjusted to imply olders processors.
12862 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12863 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12864 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12865 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12866 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12867 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12868 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12869 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12870 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12871 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12872 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12891 powerpc64 and adjusted.
12892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12897 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12899 * sysdeps/tile: Remove.
12900 * sysdeps/unix/sysv/linux/tile: Likewise.
12901 * README (tilegx-*-linux-gnu): Remove from list of supported
12903 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12904 contribution of support for generic Linux kernel syscall
12906 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12907 tilegx configurations.
12908 (Config.install_linux_headers): Do not handle tile.
12909 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12911 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12912 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12913 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12914 conditional undefine and redefine.
12915 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12917 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12918 conditional undefine and redefine.
12920 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12922 * signal/tst-sigaction.c: New file to test BZ #23069.
12923 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12925 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12928 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12929 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12930 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12931 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12933 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12935 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12936 _DIRENT_MATCHES_DIRENT64 is not defined.
12937 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12938 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12940 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12941 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12943 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12945 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12946 version to GCC 8 branch.
12948 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12950 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12951 (check_no_hidden): Use type of original function when declaring
12954 * sysdeps/unix/sysv/linux/sys/ptrace.h
12955 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12956 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12957 (struct __ptrace_seccomp_metadata): New type.
12958 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12959 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12960 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12961 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12962 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12963 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12965 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12967 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12968 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12969 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12970 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12971 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12972 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12973 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12975 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12977 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12979 * dirent/versionsort.c (versionsort): Likewise.
12980 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12981 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12982 * dirent/versionsort64.c (versionsort64): Likewise.
12983 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12984 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12985 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12986 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12987 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12988 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12989 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12990 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12991 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12992 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12995 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12996 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12998 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13000 * elf/elf.h (NT_PPC_PKEY): New macro.
13002 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13005 * localedata/locales/hr_HR: fix thousands_sep and
13008 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13010 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13011 (XTABS): Define to TAB3.
13013 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13015 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13017 * dirent/scandir-tail-common.c: New file.
13018 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13019 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13020 * dirent/scandir.c: Use scandir-tail-common.c.
13021 * dirent/scandirat.c: Likewise.
13022 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13023 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13024 if _DIRENT_MATCHES_DIRENT64 is defined.
13025 * dirent/scandirat64.c (scandirat64): Likewise.
13026 * include/dirent.h (__scandir_tail): Only define iff
13027 _DIRENT_MATCHES_DIRENT64 is not defined.
13028 (__scandir64_tail): Define regardless.
13029 (__scandirat, scandirat64): Remove libc_hidden_proto.
13030 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13031 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13033 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13034 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13035 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13036 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13038 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13040 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13042 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13044 (_dl_aarch64_cap_flags): Add asimdfhm.
13046 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13048 * sysdeps/nios2/libm-test-ulps: Update.
13050 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13052 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13053 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13055 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13057 (_DIRENT_MATCHES_DIRENT64): Undef
13058 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13059 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13060 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13061 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13062 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13063 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13064 use getdents64 syscalls as base.
13065 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13066 symbol if required.
13067 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13068 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13069 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13070 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13071 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13072 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13073 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13074 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13076 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13077 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13079 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13081 * scripts/test_printers_common.py (init_test): Disable lock elision.
13083 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13085 * math/test-tgmath.c (count_double, count_float,
13086 count_ldouble, count_cdouble, count_cfloat,
13087 count_cldouble): Use volatile int.
13089 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13091 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13092 (conformtest-xfail-conds): Add i386-gnu.
13093 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13095 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13096 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13097 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13098 msqid_ds.msg_lrpid): Likewise.
13099 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13101 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13102 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13103 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13104 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13106 (struct statvfs64): Likewise.
13107 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13109 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13110 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13111 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13112 instead of wait_queue.
13113 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13114 instead of vm_area_struct.
13115 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13116 struct sched_param definition to it.
13117 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13118 * bits/types/struct_sched_param.h: New file.
13119 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13120 <bits/types/struct_sched_param.h> instead of <sched.h>.
13121 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13122 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13123 generic version but include <bits/pthreadtypes.h> to make struct
13124 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13125 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13127 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13128 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13129 [__USE_XOPEN] (OFDEL): New macro.
13130 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13131 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13132 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13134 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13135 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13136 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13138 * sysdeps/i386/sys/ucontext.h: Likewise.
13139 * sysdeps/m68k/sys/ucontext.h: Likewise.
13140 * sysdeps/mips/sys/ucontext.h: Likewise.
13141 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13142 * sysdeps/mach/hurd/i386/Makefile
13143 (test-xfail-POSIX/fcntl.h/conform): Add.
13144 (test-xfail-POSIX/signal.h/conform): Add.
13145 (test-xfail-POSIX/semaphore.h/conform): Add.
13146 (test-xfail-POSIX/regex.h/conform): Add.
13147 (test-xfail-POSIX/aio.h/conform): Add.
13148 (test-xfail-POSIX/mqueue.h/conform): Add.
13149 (test-xfail-POSIX/sys/types.h/conform): Add.
13150 (test-xfail-UNIX98/fcntl.h/conform): Add.
13151 (test-xfail-UNIX98/netdb.h/conform): Add.
13152 (test-xfail-UNIX98/signal.h/conform): Add.
13153 (test-xfail-UNIX98/semaphore.h/conform): Add.
13154 (test-xfail-UNIX98/regex.h/conform): Add.
13155 (test-xfail-UNIX98/aio.h/conform): Add.
13156 (test-xfail-UNIX98/ftw.h/conform): Add.
13157 (test-xfail-UNIX98/mqueue.h/conform): Add.
13158 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13159 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13160 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13161 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13162 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13163 (test-xfail-UNIX98/sys/types.h/conform): Add.
13164 (test-xfail-UNIX98/stdlib.h/conform): Add.
13165 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13166 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13167 (test-xfail-POSIX2008/netdb.h/conform): Add.
13168 (test-xfail-POSIX2008/signal.h/conform): Add.
13169 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13170 (test-xfail-POSIX2008/regex.h/conform): Add.
13171 (test-xfail-POSIX2008/aio.h/conform): Add.
13172 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13173 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13174 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13175 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13176 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13177 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13178 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13179 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13180 (test-xfail-XOPEN2K/signal.h/conform): Add.
13181 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13182 (test-xfail-XOPEN2K/regex.h/conform): Add.
13183 (test-xfail-XOPEN2K/aio.h/conform): Add.
13184 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13185 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13186 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13187 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13188 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13189 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13190 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13191 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13192 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13193 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13194 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13195 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13196 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13197 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13198 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13199 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13200 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13201 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13202 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13203 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13204 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13205 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13206 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13207 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13208 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13209 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13210 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13212 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13213 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13215 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13217 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13218 --enable-obsolete for powerpc-linux-gnuspe.
13220 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13222 * conform/data/sys/un.h-data: Allow sun_ prefix.
13223 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13225 * sysdeps/mach/include/mach.h: Likewise.
13226 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13227 * sysdeps/mach/include/mach_error.h: Likewise.
13229 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13231 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13232 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13233 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13234 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13236 2018-04-16 Andreas Schwab <schwab@suse.de>
13239 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13241 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13243 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13244 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13246 2018-04-12 DJ Delorie <dj@redhat.com>
13248 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13251 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13253 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13254 (struct kernel_sigaction): Use the same definition on 31bit as is used
13257 2018-04-09 Florian Weimer <fweimer@redhat.com>
13260 * resolv/res_send.c (send_dg): Use designated initializers instead
13261 of assignment to zero-initialize other fields of struct mmsghdr.
13263 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13265 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13266 __READDIR_ALIAS): Undefine after usage.
13267 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13268 __READDIR_R_ALIAS): Likewise.
13269 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13270 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13271 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13272 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13275 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13276 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13279 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13281 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13282 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13283 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13284 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13285 * sysdeps/unix/sysv/linux/readdir.c: New file.
13286 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13287 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13288 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13290 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13292 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13294 * manual/charset.texi (Converting a Character): Fix typo.
13296 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13300 * sysdeps/arm/libm-test-ulps: Update.
13302 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13303 as base implementation.
13304 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13305 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13309 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13310 remove unrequired definitions and update comments.
13311 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13313 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13314 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13315 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13316 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13317 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13318 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13319 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13320 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13321 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13322 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13323 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13324 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13325 and RESET_SA_RESTORER hooks.
13327 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13329 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13331 2018-04-05 Florian Weimer <fweimer@redhat.com>
13333 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13334 integer overflow, memory leak on error, and indeterminate errno
13335 value. Add a null wide character to terminate the result string.
13336 * manual/charset.texi (Converting a Character): Mention embedded
13337 null bytes in the mbrtowc input string. Explain what happens in
13338 the -2 result case. Do not claim that mbrtowc is simple or
13339 obvious to use. Adjust the description of the code example. Use
13340 @code, not @var, for concrete variables.
13342 2018-04-05 Florian Weimer <fweimer@redhat.com>
13344 * manual/examples/mbstouwcs.c: New file.
13345 * manual/charset.texi (Converting a Character): Include it.
13347 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13349 * include/dirent.h (dirfd): Add hidden proto.
13350 * dirent/dirfd.c (dirfd): Add hidden def.
13351 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13352 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13354 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13356 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13357 sin, cos and sincos to 1 ULP.
13359 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13362 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13364 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13365 * elf/tst-absolute-sym.c: New file.
13366 * elf/tst-absolute-sym-lib.c: New file.
13367 * elf/tst-absolute-sym-lib.lds: New file.
13368 * elf/Makefile (tests): Add `tst-absolute-sym'.
13369 (modules-names): Add `tst-absolute-sym-lib'.
13370 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13371 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13372 ($(objpfx)tst-absolute-sym): New dependency.
13375 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13377 (SYMBOL_ADDRESS): New macro.
13378 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13379 SYMBOL_ADDRESS for symbol address calculation.
13380 * elf/dl-runtime.c (_dl_fixup): Likewise.
13381 (_dl_profile_fixup): Likewise.
13382 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13383 * elf/rtld.c (dl_main): Likewise.
13384 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13385 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13386 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13387 (elf_machine_rela): Likewise.
13388 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13389 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13391 (elf_machine_rela): Likewise.
13392 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13393 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13394 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13395 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13397 (elf_machine_reloc): Likewise.
13398 (elf_machine_got_rel): Likewise.
13399 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13400 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13401 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13405 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13415 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13418 2018-04-04 Zack Weinberg <zackw@panix.com>
13420 * sysdeps/generic/internal-signals.h: Include signal.h,
13421 sigsetops.h, and stdbool.h.
13422 (__libc_signal_block_all): Actually block all signals.
13423 (__libc_signal_block_app): Likewise.
13424 (__libc_signal_restore_set): Actually restore the signal mask.
13426 2018-04-04 Florian Weimer <fweimer@redhat.com>
13428 inet: Actually build and run tst-deadline.
13429 * inet/Makefile (tests-internal): Add tst-deadline and do not
13430 overwrite the variable.
13431 (tests-static-internal): Remove variable.
13433 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13436 * bits/uio-ext.h (RWF_APPEND): New.
13437 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13438 * manual/llio.texi: Document RWF_APPEND.
13439 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13440 (RWF_SUPPORTED): Add RWF_APPEND.
13442 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13445 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13446 check for internal nptl signals.
13447 * nptl/sigaction.c (__sigaction): Likewise.
13448 * signal/sigaddset.c (sigaddset): Likewise.
13449 * signal/sigdelset.c (sigdelset): Likewise.
13450 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13451 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13453 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13454 to filter out internal nptl signals.
13455 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13456 also check realtime signals using standard macros.
13457 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13458 __is_internal_signal, __libc_signal_block_all,
13459 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13460 * sysdeps/nptl/sigfillset.c: Remove file.
13461 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13462 Change return to bool.
13463 (__clear_internal_signals): Remove SIGTIMER clean since it is
13464 equal to SIGCANEL on Linux.
13465 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13466 signal set was constructed using standard functions.
13468 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13470 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13471 ifname is too long.
13472 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13473 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13474 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13476 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13477 * signal/sigaddset.c: Include <sigsetopts.h>.
13478 * signal/sigdelset.c: Likewise.
13480 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13484 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13485 logic as sin and cos.
13487 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13489 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13490 inputs. Return correct sign.
13491 (do_sincos): Remove small input check before do_sin, let do_sin set
13496 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13498 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13499 (do_cos_slow): Likewise.
13500 (do_sin_slow): Likewise.
13501 (reduce_and_compute): Likewise.
13506 (sloww1): Likewise.
13507 (sloww2): Likewise.
13509 (bslow1): Likewise.
13510 (bslow2): Likewise.
13511 (cslow2): Likewise.
13513 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13515 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13516 (do_cos): Remove corp parameter and calculations.
13517 (do_sin): Likewise.
13518 (do_sincos): Remove cor variable.
13519 (__sin): Use do_sincos for huge inputs.
13521 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13522 (reduce_and_compute_sincos): Remove unused function.
13524 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13526 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13527 reduce_sincos, improve accuracy to 136 bits.
13528 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13529 (__sin): Use improved reduction and simplified do_sincos calculation.
13531 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13533 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13535 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13536 (do_sincos_2): Likewise.
13537 (__sin): Remove middle range reduction case.
13539 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13542 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13544 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13550 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13552 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13555 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13557 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13558 Remove definitions.
13559 (opendir_oflags): Use O_DIRECTORY regardless.
13560 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13561 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13563 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13565 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13566 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13568 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13569 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13570 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13571 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13572 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13573 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13575 * htl/Makefile: Bump licence to LGPL 2.1+.
13576 * htl/alloca_cutoff.c: Likewise.
13577 * htl/cthreads-compat.c: Likewise.
13578 * htl/lockfile.c: Likewise.
13579 * htl/pt-alloc.c: Likewise.
13580 * htl/pt-cancel.c: Likewise.
13581 * htl/pt-cleanup.c: Likewise.
13582 * htl/pt-create.c: Likewise.
13583 * htl/pt-dealloc.c: Likewise.
13584 * htl/pt-detach.c: Likewise.
13585 * htl/pt-exit.c: Likewise.
13586 * htl/pt-getattr.c: Likewise.
13587 * htl/pt-initialize.c: Likewise.
13588 * htl/pt-internal.h: Likewise.
13589 * htl/pt-join.c: Likewise.
13590 * htl/pt-self.c: Likewise.
13591 * htl/pt-setcancelstate.c: Likewise.
13592 * htl/pt-setcanceltype.c: Likewise.
13593 * htl/pt-sigmask.c: Likewise.
13594 * htl/pt-spin-inlines.c: Likewise.
13595 * htl/pt-testcancel.c: Likewise.
13596 * htl/pt-yield.c: Likewise.
13597 * htl/tests/test-1.c: Likewise.
13598 * htl/tests/test-10.c: Likewise.
13599 * htl/tests/test-11.c: Likewise.
13600 * htl/tests/test-12.c: Likewise.
13601 * htl/tests/test-13.c: Likewise.
13602 * htl/tests/test-14.c: Likewise.
13603 * htl/tests/test-15.c: Likewise.
13604 * htl/tests/test-16.c: Likewise.
13605 * htl/tests/test-17.c: Likewise.
13606 * htl/tests/test-2.c: Likewise.
13607 * htl/tests/test-3.c: Likewise.
13608 * htl/tests/test-4.c: Likewise.
13609 * htl/tests/test-5.c: Likewise.
13610 * htl/tests/test-6.c: Likewise.
13611 * htl/tests/test-7.c: Likewise.
13612 * htl/tests/test-8.c: Likewise.
13613 * htl/tests/test-9.c: Likewise.
13614 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13615 * sysdeps/htl/bits/cancelation.h: Likewise.
13616 * sysdeps/htl/bits/pthread-np.h: Likewise.
13617 * sysdeps/htl/bits/pthread.h: Likewise.
13618 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13619 * sysdeps/htl/bits/semaphore.h: Likewise.
13620 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13621 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13622 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13623 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13624 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13625 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13626 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13627 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13628 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13629 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13630 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13631 * sysdeps/htl/old_pt-atfork.c: Likewise.
13632 * sysdeps/htl/pt-atfork.c: Likewise.
13633 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13634 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13635 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13636 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13637 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13638 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13639 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13640 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13641 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13642 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13643 * sysdeps/htl/pt-attr-init.c: Likewise.
13644 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13645 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13646 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13647 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13648 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13649 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13650 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13651 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13652 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13653 * sysdeps/htl/pt-attr.c: Likewise.
13654 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13655 * sysdeps/htl/pt-barrier-init.c: Likewise.
13656 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13657 * sysdeps/htl/pt-barrier.c: Likewise.
13658 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13659 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13660 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13661 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13662 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13663 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13664 * sysdeps/htl/pt-cond-init.c: Likewise.
13665 * sysdeps/htl/pt-cond-signal.c: Likewise.
13666 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13667 * sysdeps/htl/pt-cond-wait.c: Likewise.
13668 * sysdeps/htl/pt-cond.c: Likewise.
13669 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13670 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13671 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13672 * sysdeps/htl/pt-condattr-init.c: Likewise.
13673 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13674 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13675 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13676 * sysdeps/htl/pt-equal.c: Likewise.
13677 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13678 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13679 * sysdeps/htl/pt-getschedparam.c: Likewise.
13680 * sysdeps/htl/pt-getspecific.c: Likewise.
13681 * sysdeps/htl/pt-init-specific.c: Likewise.
13682 * sysdeps/htl/pt-key-create.c: Likewise.
13683 * sysdeps/htl/pt-key-delete.c: Likewise.
13684 * sysdeps/htl/pt-key.h: Likewise.
13685 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13686 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13687 * sysdeps/htl/pt-mutex-init.c: Likewise.
13688 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13689 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13690 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13691 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13692 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13693 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13694 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13695 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13696 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13697 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13698 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13699 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13700 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13701 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13702 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13703 * sysdeps/htl/pt-mutexattr.c: Likewise.
13704 * sysdeps/htl/pt-once.c: Likewise.
13705 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13706 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13707 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13708 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13709 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13710 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13711 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13712 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13713 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13714 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13715 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13716 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13717 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13718 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13719 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13720 * sysdeps/htl/pt-setschedparam.c: Likewise.
13721 * sysdeps/htl/pt-setschedprio.c: Likewise.
13722 * sysdeps/htl/pt-setspecific.c: Likewise.
13723 * sysdeps/htl/pt-spin.c: Likewise.
13724 * sysdeps/htl/pt-startup.c: Likewise.
13725 * sysdeps/htl/pthread.h: Likewise.
13726 * sysdeps/htl/sem-close.c: Likewise.
13727 * sysdeps/htl/sem-destroy.c: Likewise.
13728 * sysdeps/htl/sem-getvalue.c: Likewise.
13729 * sysdeps/htl/sem-init.c: Likewise.
13730 * sysdeps/htl/sem-open.c: Likewise.
13731 * sysdeps/htl/sem-post.c: Likewise.
13732 * sysdeps/htl/sem-timedwait.c: Likewise.
13733 * sysdeps/htl/sem-trywait.c: Likewise.
13734 * sysdeps/htl/sem-unlink.c: Likewise.
13735 * sysdeps/htl/sem-wait.c: Likewise.
13736 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13737 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13738 * sysdeps/mach/htl/pt-block.c: Likewise.
13739 * sysdeps/mach/htl/pt-spin.c: Likewise.
13740 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13741 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13742 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13743 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13744 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13745 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13746 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13747 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13748 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13749 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13750 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13751 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13752 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13753 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13754 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13755 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13756 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13757 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13758 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13759 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13760 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13761 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13762 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13763 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13764 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13765 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13766 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13767 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13768 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13769 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13770 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13771 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13772 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13773 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13774 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13775 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13776 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13777 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13778 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13779 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13780 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13781 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13782 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13784 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13785 * README: Remove the mention of out-of-tree patches needed for
13788 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13789 (UTIME_NOW, UTIME_OMIT): Define macros.
13791 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13792 instead of pthread_detach.
13793 (__cthread_fork): Call __pthread_create instead of pthread_create.
13794 (__cthread_keycreate): Call __pthread_key_create instead of
13795 pthread_key_create.
13796 (__cthread_getspecific): Call __pthread_getspecific instead of
13797 pthread_getspecific.
13798 (__cthread_setspecific): Call __pthread_setspecific instead of
13799 pthread_setspecific.
13800 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13801 __pthread_mutex_unlock instead of pthread_mutex_lock and
13802 pthread_mutex_unlock.
13803 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13804 ___pthread_get_cleanup_stack.
13805 (__pthread_get_cleanup_stack): New strong alias.
13806 * htl/pt-create.c: Include <pthreadP.h>.
13807 (entry_point): Call __pthread_exit instead of pthread_exit.
13808 (pthread_create): Rename to __pthread_create.
13809 (pthread_create): New strong alias.
13810 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13811 (pthread_detach): New strong alias.
13812 (__pthread_detach): Call __pthread_cond_broadcast instead of
13813 pthread_cond_broadcast.
13814 * htl/pt-exit.c: Include <pthreadP.h>.
13815 (__pthread_exit): Call __pthread_setcancelstate and
13816 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13817 __pthread_get_cleanup_stack.
13818 * htl/pt-testcancel.c: Include <pthreadP.h>.
13819 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13820 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13821 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13822 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13823 pthread_attr_getstacksize.
13824 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13825 Rename to __pthread_attr_getstackaddr.
13826 (pthread_attr_getstackaddr): New strong alias.
13827 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13828 Rename to __pthread_attr_getstacksize.
13829 (pthread_attr_getstacksize): New strong alias.
13830 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13831 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13832 (pthread_attr_setstack): New strong alias.
13833 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13834 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13835 pthread_attr_getstacksize, pthread_attr_setstacksize and
13836 pthread_attr_setstackaddr.
13837 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13838 Rename to __pthread_attr_setstackaddr.
13839 (pthread_attr_setstackaddr): New strong alias.
13840 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13841 Rename to __pthread_attr_setstacksize.
13842 (pthread_attr_setstacksize): New strong alias.
13843 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13844 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13846 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13847 (__pthread_key_create): New hidden def.
13848 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13849 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13850 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13851 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13852 __pthread_setspecific, __pthread_setcancelstate,
13853 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13854 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13855 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13857 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13858 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13859 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13860 (pthread_attr_setstackaddr): New strong alias.
13861 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13862 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13863 (pthread_attr_setstacksize): New strong alias.
13864 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13865 (call_exit): Call __pthread_exit instead of pthread_exit.
13866 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13867 (_pthread_mutex_init): New hidden definition.
13868 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13869 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13870 instead of pthread_attr_init and pthread_attr_setstack.
13872 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13873 __vm_deallocate instead of vm_allocate and vm_deallocate.
13874 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13876 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13878 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13880 * hurd/siginfo.c: Include <libioP.h>.
13881 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13882 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13884 * mach/devstream.c: Include <libioP.h>.
13885 (dealloc_ref): Call __mach_port_deallocate instead of
13886 mach_port_deallocate.
13887 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13888 Call __mach_port_deallocate instead of mach_port_deallocate.
13889 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13891 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13893 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13894 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13895 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13897 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13899 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13900 instead of sysconf.
13901 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13902 __clock_gettime instead of clock_gettime.
13903 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13904 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13905 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13906 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13907 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13909 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13910 __clock_gettime and __nanosleep instead of clock_gettime and
13912 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13913 __hurd_catch_signal.
13914 (hurd_catch_signal): New strong alias.
13915 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13916 __hurd_catch_signal instead of hurd_catch_signal.
13917 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13918 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13919 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13920 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13921 (_hurd_thread_sigstate): Add hidden def.
13922 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13924 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13925 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13926 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13927 __hurd_file_name_path_lookup.
13928 (hurd_file_name_path_lookup): New strong alias.
13929 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13930 hurd_file_name_path_lookup.
13931 * mach/errstring.c (mach_error_type): Add hidden def.
13932 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13933 * mach/mutex-init.c (__mutex_init): Add hidden def.
13934 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13935 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13936 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13937 * sysdeps/mach/hurd/getcwd.c
13938 (_hurd_canonicalize_directory_name_internal): Rename to
13939 __hurd_canonicalize_directory_name_internal.
13940 (_hurd_canonicalize_directory_name_internal): New strong alias.
13941 (__canonicalize_directory_name_internal, __getcwd): Call
13942 __hurd_canonicalize_directory_name_internal instead of
13943 _hurd_canonicalize_directory_name_internal.
13944 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13945 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13947 * sysdeps/hurd/include/hurd.h: New file.
13948 * sysdeps/hurd/include/hurd/fd.h: New file.
13949 * sysdeps/hurd/include/hurd/signal.h: New file.
13950 * sysdeps/mach/include/lock-intern.h: New file.
13951 * sysdeps/mach/include/mach.h: New file.
13952 * sysdeps/mach/include/mach/mig_support.h: New file.
13953 * sysdeps/mach/include/mach_error.h: New file.
13954 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13956 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13957 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13958 _HEADER_H_HIDDEN_DEF macro.
13959 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13960 _hurd_fd_error_signal): Add hidden prototype.
13961 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13963 * libio/iolibio.h (_IO_puts): New hidden prototype.
13964 * libio/ioputs.c (_IO_puts): New hidden def.
13965 * sysdeps/mach/hurd/localplt.data: New file.
13967 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13968 Amos Jeffries <squid3@treenet.co.nz>
13969 David Michael <fedora.dm0@gmail.com>
13970 Marco Gerards <marco@gnu.org>
13971 Marcus Brinkmann <marcus@gnu.org>
13972 Neal H. Walfield <neal@gnu.org>
13973 Pino Toscano <toscano.pino@tiscali.it>
13974 Richard Braun <rbraun@sceen.net>
13975 Roland McGrath <roland@gnu.org>
13976 Samuel Thibault <samuel.thibault@ens-lyon.org>
13977 Thomas DiModica <ricinwich@yahoo.com>
13978 Thomas Schwinge <tschwinge@gnu.org>
13980 * htl: New directory.
13981 * sysdeps/htl: New directory.
13982 * sysdeps/hurd/htl: New directory.
13983 * sysdeps/i386/htl: New directory.
13984 * sysdeps/mach/htl: New directory.
13985 * sysdeps/mach/hurd/htl: New directory.
13986 * sysdeps/mach/hurd/i386/htl: New directory.
13987 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13988 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13989 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13991 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13993 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13994 signals in thread created for runing timers.
13996 2018-04-01 Florian Weimer <fweimer@redhat.com>
13998 * support/support_format_addrinfo.c (support_format_addrinfo):
13999 Include unknown error number in formatted result.
14001 2018-03-29 Florian Weimer <fweimer@redhat.com>
14003 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14006 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14008 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14009 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14010 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14011 (__ASSUME_CLONE_BACKWARDS): Define.
14013 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14016 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14017 early when linux sentinel value is set.
14019 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14021 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14023 2018-03-27 Andreas Schwab <schwab@suse.de>
14026 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14027 allocation of private copy of nsaddr_list fails.
14029 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14032 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14033 * sysdeps/unix/sysv/linux/umount.c: ... here.
14034 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14035 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14036 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14037 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14039 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14042 2018-03-26 Andreas Schwab <schwab@suse.de>
14044 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14045 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14046 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14047 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14048 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14049 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14050 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14051 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14052 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14053 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14054 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14055 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14056 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14057 (R_RISCV_NUM): Define.
14059 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14061 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14062 TLS declaration of errno.
14063 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14065 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14066 (ARCH_SETUP_TLS): Likewise.
14067 * sysdeps/mach/hurd/libc-start.h: New file copied from
14068 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14069 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14070 instead of __libc_setup_tls.
14071 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14072 __libc_setup_tls before initializing libpthread and running _hurd_init
14073 which starts the signal thread.
14074 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14076 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14078 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14081 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14082 after it is defined.
14084 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14085 Max Horn <max@quendi.de>
14089 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14091 * string/test-memmove.c (do_test2): New testcase.
14093 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14095 * sysdeps/generic/frame.h: Remove file.
14096 * sysdeps/arm/frame.h: Likewise.
14097 * sysdeps/hppa/frame.h: Likewise.
14098 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14100 (GET_FRAME): Likewise.
14101 (GET_STACK): Likewise.
14102 (CALL_SIGHANDLER): Likewise.
14103 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14105 (GET_FRAME): Likewise.
14106 (GET_STACK): Likewise.
14107 (CALL_SIGHANDLER): Likewise.
14108 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14109 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14110 (GET_FRAME): Likewise.
14111 (GET_STACK): Likewise.
14112 (CALL_SIGHANDLER): Likewise.
14113 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14114 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14115 (GET_FRAME): Likewise.
14116 (GET_STACK): Likewise.
14117 (ADVANCE_STACK_FRAME): Likewise.
14118 (CALL_SIGHANDLER): Likewise.
14119 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14120 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14121 (GET_FRAME): Likewise.
14122 (GET_STACK): Likewise.
14123 (CALL_SIGHANDLER): Likewise.
14124 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14125 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14126 (GET_FRAME): Likewise.
14127 (GET_STACK): Likewise.
14128 (CALL_SIGHANDLER): Likewise.
14129 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14130 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14131 (GET_FRAME): Likewise.
14132 (GET_STACK): Likewise.
14133 (CALL_SIGHANDLER): Likewise.
14134 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14135 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14136 (GET_FRAME): Likewise.
14137 (GET_STACK): Likewise.
14138 (CALL_SIGHANDLER): Likewise.
14139 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14140 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14141 (GET_FRAME): Likewise.
14142 (GET_STACK): Likewise.
14143 (CALL_SIGHANDLER): Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14145 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14146 (GET_FRAME): Likewise.
14147 (GET_STACK): Likewise.
14148 (CALL_SIGHANDLER): Likewise.
14149 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14150 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14151 (GET_FRAME): Likewise.
14152 (GET_STACK): Likewise.
14153 (CALL_SIGHANDLER): Likewise.
14154 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14155 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14156 (GET_FRAME): Likewise.
14157 (GET_STACK): Likewise.
14158 (CALL_SIGHANDLER): Likewise.
14159 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14160 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14161 (GET_FRAME): Likewise.
14162 (GET_STACK): Likewise.
14163 (CALL_SIGHANDLER): Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14165 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14166 (FIRST_FRAME_POINTER): Likewise.
14167 (ADVANCE_STACK_FRAME): Likewise.
14168 (GET_STACK): Likewise.
14169 (GET_FRAME): Likewise.
14170 (CALL_SIGHANDLER): Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14172 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14173 (ADVANCE_STACK_FRAME): Likewise.
14174 (GET_STACK): Likewise.
14175 (GET_FRAME): Likewise.
14176 (CALL_SIGHANDLER): Likewise.
14177 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14179 (GET_FRAME): Likewise.
14180 (GET_STACK): Likewise.
14181 (CALL_SIGHANDLER): Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14183 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14184 (GET_FRAME): Likewise.
14185 (GET_STACK): Likewise.
14186 (CALL_SIGHANDLER): Likewise.
14188 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14190 * sysdeps/x86_64/backtrace.c: Move to ....
14191 * debug/backtrace.c: ... here.
14192 * sysdeps/aarch64/backtrace.c: Remove file.
14193 * sysdeps/alpha/backtrace.c: Likewise.
14194 * sysdeps/hppa/backtrace.c: Likewise.
14195 * sysdeps/ia64/backtrace.c: Likewise.
14196 * sysdeps/mips/backtrace.c: Likewise.
14197 * sysdeps/nios2/backtrace.c: Likewise.
14198 * sysdeps/riscv/backtrace.c: Likewise.
14199 * sysdeps/sh/backtrace.c: Likewise.
14200 * sysdeps/tile/backtrace.c: Likewise.
14202 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14205 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14208 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14211 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14212 possibly overflowing computations.
14214 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14216 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14217 values from Linux-specific section now that it is in the GNU section.
14218 * sysdeps/gnu/errlist.c: Regenerate.
14220 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14222 * math/Makefile (libm-narrow-fns): Add sub.
14223 (libm-test-funcs-narrow): Likewise.
14224 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14225 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14226 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14227 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14228 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14229 (NARROW_SUB_TRIVIAL): Likewise.
14230 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14232 (__dsubl): Likewise.
14233 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14235 (CFLAGS-nldbl-dsub.c): New variable.
14236 (CFLAGS-nldbl-fsub.c): Likewise.
14237 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14239 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14241 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14242 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14243 * math/auto-libm-test-in: Add tests of sub.
14244 * math/auto-libm-test-out-narrow-sub: New generated file.
14245 * math/libm-test-narrow-sub.inc: New file.
14246 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14249 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14250 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14251 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14260 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14261 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14262 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14263 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14265 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14293 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14296 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14298 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14300 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14302 2018-03-18 Richard Braun <rbraun@sceen.net>
14304 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14307 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14309 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14310 (__libc_cleanup_fct): Define function.
14311 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14312 __libc_cleanup_end): Rewrite implementation using
14313 __attribute__ ((__cleanup__)).
14314 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14315 * hurd/Makefile (routines): Add hurdlock.
14316 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14318 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14319 * hurd/hurdpid.c: Include <lowlevellock.h>
14320 (_S_msg_proc_newids): Use lll_wait to synchronize.
14321 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14322 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14323 * mach/Makefile (lock-headers): Remove machine-lock.h.
14324 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14326 (__spin_lock_t): New type.
14327 (__SPIN_LOCK_INITIALIZER): New macro.
14328 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14329 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14330 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14331 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14332 (__mutex_init): Initialize with lll.
14333 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14334 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14336 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14337 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14338 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14339 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14340 (__setpgid): Use lll for synchronization.
14341 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14342 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14343 instead of <cthreads.h>.
14344 (_IO_lock_inexpensive): New macro
14345 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14346 (__libc_lock_self0): New declaration.
14347 (__libc_lock_owner_self): New macro.
14348 (__libc_key_t): Remove type.
14349 (_LIBC_LOCK_INITIALIZER): New macro.
14350 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14351 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14352 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14353 __libc_lock_define_initialized_recursive,
14354 __rtld_lock_define_initialized_recursive,
14355 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14356 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14357 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14358 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14359 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14360 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14361 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14363 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14364 * hurd/hurdlock.c: New file.
14365 * hurd/hurdlock.h: New file.
14366 * mach/lowlevellock.h: New file
14368 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14370 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14371 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14372 when opening a symlink with O_NOFOLLOW.
14373 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14374 path when flags contains O_NOFOLLOW.
14375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14376 if flags contains O_DIRECTORY and the result is a directory.
14377 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14378 oneself when the pointer given in D is nul (as set by ext2fs).
14379 * sysdeps/mach/hurd/mlockall.c: New file.
14380 * sysdeps/mach/hurd/munlockall.c: New file.
14382 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14384 * hurd/hurdsig.c: Include <pthread.h>.
14385 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14386 get the signal thread stack layout.
14387 * hurd/Makefile (headers): Remove threadvar.h.
14388 (inline-headers): Remove threadvar.h.
14389 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14390 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14391 __hurd_threadvar_max, __hurd_errno_location.
14392 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14393 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14394 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14395 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14396 unless TLS is not initialized yet, in which case we do not need a
14397 critical section yet anyway.
14398 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14400 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14402 (__hurd_threadvar_index): Remove enum.
14403 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14404 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14406 (__hurd_reply_port0): New variable declaration.
14407 (__hurd_local_reply_port): New macro.
14408 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14409 (interrupted_reply_port_location): Add thread_t parameter. Use it
14410 with THREAD_TCB to access thread-local variables.
14411 (_hurdsig_abort_rpcs): Pass ss->thread to
14412 interrupted_reply_port_location.
14413 (_hurd_internal_post_signal): Likewise.
14414 (_hurdsig_init): Use presence of cthread_fork instead of
14415 __hurd_threadvar_stack_mask to start signal thread by hand.
14416 Remove signal thread threadvar initialization.
14417 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14418 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14419 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14421 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14423 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14424 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14425 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14426 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14427 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14428 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14429 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14431 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14432 <hurd/threadvar.h>.
14433 [IS_IN(rtld)] (rtld_errno): New variable.
14434 [IS_IN(rtld)] (__errno_location): New weak function.
14435 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14436 * sysdeps/mach/hurd/errno.c: Remove file.
14437 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14438 (__fork): Remove THREADVAR_SPACE macro and its use.
14439 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14441 (init): Do not initialize threadvar.
14442 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14444 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14445 __hurd_local_reply_port instead of threadvar.
14446 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14447 _hurd_sigstate fields.
14448 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14449 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14450 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14451 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14452 instead of threadvar.
14453 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14454 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14455 (use_threadvar, global_reply_port): Remove variables.
14456 (__hurd_reply_port0): New variable.
14457 (__mig_get_reply_port): Use __hurd_local_reply_port and
14458 __hurd_reply_port0 instead of threadvar.
14459 (__mig_dealloc_reply_port): Likewise.
14460 (__mig_init): Do not initialize threadvar.
14461 * sysdeps/mach/hurd/profil.c: Fix comment.
14462 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14463 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14464 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14465 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14466 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14467 __cthread_setspecific.
14468 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14469 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14470 __cthread_t instead of cthread_fork, cthread_detach,
14471 pthread_getattr_np, pthread_attr_getstack.
14472 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14473 __cthread_keycreate.
14474 (cthread_getspecific): Rename to __cthread_getspecific.
14475 (cthread_setspecific): Rename to __cthread_setspecific.
14476 (__libc_getspecific): Use __cthread_getspecific instead of
14477 cthread_getspecific.
14478 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14479 __cthread_keycreate instead of cthread_keycreate.
14480 (__libc_setspecific): Use __cthread_setspecific instead of
14481 cthread_setspecific.
14482 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14485 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14486 testing whether it is defined.
14488 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14490 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14492 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14493 * sysdeps/mach/i386/thread_state.h
14494 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14496 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14498 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14500 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14501 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14503 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14505 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14506 descriptor instead of creating a new one.
14507 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14509 * mach/setup-thread.c: Include <ldsodefs.h>.
14510 (__mach_setup_thread): Call _dl_allocate_tls, pass
14511 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14512 MACHINE_THREAD_STATE_FLAVOR, before getting
14513 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14514 MACHINE_THREAD_STATE_FLAVOR with the result.
14515 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14516 MACHINE_THREAD_STATE_FIX_NEW.
14517 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14518 too. Add original thread parameter.
14520 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14522 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14523 Remove inline function.
14525 * sysdeps/i386/fpu/libm-test-ulps: Update.
14526 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14528 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14530 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14533 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14535 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14536 (__sincos_code): Remove define and undefine.
14537 [__FAST_MATH__] (__sincos): Remove inline function.
14538 [__FAST_MATH__] (__sincosf): Remove inline function.
14539 [__FAST_MATH__] (__sincosl): Remove inline function.
14540 (__atan2l): Remove inline functions.
14541 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14542 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14544 (floor): Remove inline function.
14546 [__FAST_MATH__] (__ldexp_code): Remove macro.
14547 [__FAST_MATH__] (ldexp): Remove inline function.
14548 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14549 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14550 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14551 [__USE_ISOC99] (__lrint_code): Remove macro.
14552 [__USE_ISOC99] (__llrint_code): Likewise.
14553 [__USE_ISOC99] (lrintf): Remove inline function.
14554 [__USE_ISOC99] (lrint): Likewise.
14555 [__USE_ISOC99] (lrintl): Likewise.
14556 [__USE_ISOC99] (llrint): Likewise.
14557 [__USE_ISOC99] (llrintf): Likewise.
14558 [__USE_ISOC99] (llrintl): Likewise.
14560 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14562 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14563 (__ieee754_sqrtf): Remove.
14564 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14565 (__ieee754_sqrtf): Remove.
14566 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14567 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14568 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14569 (__ieee754_sqrtf): Remove.
14570 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14571 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14574 (__ieee754_sqrt): Remove.
14575 (__ieee754_sqrtf): Remove.
14576 (__ieee754_sqrtl): Remove.
14577 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14578 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14579 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14580 (__ieee754_sqrtf): Remove.
14581 (__ieee754_sqrtl): Remove.
14583 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14585 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14586 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14587 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14588 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14589 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14590 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14591 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14592 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14594 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14595 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14596 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14597 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14598 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14599 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14600 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14601 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14602 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14603 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14604 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14605 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14607 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14608 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14609 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14610 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14611 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14612 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14618 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14619 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14623 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14624 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14626 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14627 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14629 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14630 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14631 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14632 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14633 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14635 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14637 * include/math.h (sqrt): Declare with asm redirect.
14640 (sqrtf128): Likewise.
14641 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14642 nonlib and libnldbl with -fmath-errno.
14643 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14644 * math/w_sqrt_template.c: Likewise.
14645 * math/w_sqrtf_compat.c: Likewise.
14646 * math/w_sqrtl_compat.c: Likewise.
14647 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14648 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14649 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14652 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14654 * benchtests/Makefile: Define _ISOMAC.
14655 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14656 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14657 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14658 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14659 * benchtests/bench-timing.h: Define attribute_hidden.
14661 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14663 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14666 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14669 * localedata/locales/cs_CZ (mon): Rename to...
14671 (mon): Import from CLDR (genitive case).
14673 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14676 * localedata/locales/el_CY (abmon): Rename to...
14677 (ab_alt_mon): This.
14678 (abmon): Import from CLDR (abbreviated genitive case).
14679 * localedata/locales/el_GR (abmon): Rename to...
14680 (ab_alt_mon): This.
14681 (abmon): Import from CLDR (abbreviated genitive case).
14683 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14686 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14688 2018-03-15 Robert Buj <robert.buj@gmail.com>
14691 * localedata/locales/ca_ES (abmon): Rename to...
14692 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14693 (mon): Rename to...
14695 (abmon): Import from CLDR (genitive case, month names preceded by
14698 (abday): Synchronize with CLDR.
14699 (d_t_fmt): Likewise.
14703 (LC_TIME): Improve indentation.
14704 (LC_TELEPHONE): Likewise.
14705 (LC_NAME): Likewise.
14706 (LC_ADDRESS): Likewise.
14708 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14710 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14711 (lrintf): Remove definitions used only with old GCC.
14712 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14713 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14714 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14715 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14716 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14717 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14718 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14719 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14720 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14721 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14722 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14723 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14724 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14725 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14726 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14727 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14728 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14729 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14730 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14731 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14732 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14733 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14734 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14735 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14736 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14737 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14738 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14739 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14741 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14743 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14744 instruction to unbreak builds with binutils 2.26 and older.
14746 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14748 * sysdeps/aarch64/strncmp.S (count): New macro.
14749 (strncmp): Store misaligned length in SRC1 in COUNT.
14750 (mutual_align): Adjust.
14751 (misaligned8): Load dword at a time when it is safe.
14753 2018-03-12 Zack Weinberg <zackw@panix.com>
14757 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14758 if the _IO_EOF_SEEN bit is already set; update commentary.
14759 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14760 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14762 * support/support_openpty.c, support/tty.h: New files.
14763 * support/Makefile (libsupport-routines): Add support_openpty.
14765 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14767 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14768 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14770 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14772 * po/pt_BR.po: Update translations.
14774 2018-03-12 David Michael <fedora.dm0@gmail.com>
14776 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14777 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14778 get a port to the startup server.
14780 2018-03-11 Zack Weinberg <zackw@panix.com>
14782 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14783 before nldbl-compat.h.
14785 2018-03-10 Zack Weinberg <zackw@panix.com>
14787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14788 math.h or math_private.h.
14790 * sysdeps/alpha/fpu/s_isnan.c
14791 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14792 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14793 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14794 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14795 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14796 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14805 Include math_private.h.
14807 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14808 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14809 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14810 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14811 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14812 * sysdeps/powerpc/power7/fpu/s_logb.c:
14813 Include math.h and math_private.h.
14815 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14816 uses of $at in .set noat / .set at.
14818 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14820 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14821 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14822 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14826 2018-03-09 Florian Weimer <fweimer@redhat.com>
14828 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14831 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14834 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14835 Add nop before __startcontext, add explaining comments.
14837 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14840 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14842 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14844 Do not build hardware transactional code for __SPE__.
14845 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14846 (__lll_trylock_elision): Likewise.
14847 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14848 (__lll_unlock_elision): Likewise.
14850 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14851 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14852 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14853 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14854 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14855 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14856 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14857 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14858 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14859 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14860 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14861 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14863 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14864 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14866 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14867 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14868 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14869 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14870 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14872 (__ASSUME_CLONE_BACKWARDS): Define.
14873 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14874 __clone2 if __NR_clone2 is defined.
14875 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14876 (__ASSUME_CLONE_BACKWARDS): Likewise.
14877 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14878 (__ASSUME_CLONE_BACKWARDS): Likewise.
14879 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14880 (__ASSUME_CLONE2): Likewise.
14881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14882 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14883 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14884 variants and the define architecture can use.
14885 (__ASSUME_CLONE_DEFAULT): Define as default.
14886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14887 (__ASSUME_CLONE_BACKWARDS): Likewise.
14888 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14889 (__ASSUME_CLONE_BACKWARDS): Likewise.
14890 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14891 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14893 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14895 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14897 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14900 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14901 (do_test_limit): Likewise.
14903 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14904 for every implementation.
14905 (do_test): Likewise.
14907 * benchtests/bench-strncmp.c: Convert output to json.
14909 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14911 * io/futimens.c: Add missing start-of-file descriptive comment.
14912 * io/utime.c: Likewise.
14913 * misc/futimesat.c: Likewise.
14914 * misc/utimes.c: Likewise.
14915 * sysdeps/mach/hurd/futimesat.c: Likewise.
14916 * sysdeps/mach/hurd/utimes.c: Likewise.
14917 * sysdeps/posix/utime.c: Likewise.
14918 * sysdeps/posix/utimes.c: Likewise.
14919 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14920 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14921 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14922 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14924 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14926 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14928 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14929 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14930 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14931 (__futimens): Move implementation to...
14932 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14933 utime_tvalue_from_tspec): ... new helper functions.
14934 (hurd_futimens): New function.
14935 * sysdeps/mach/hurd/futimesat.c: New file.
14936 * sysdeps/mach/hurd/utimensat.c: New file.
14938 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14940 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14941 UTIME_OMIT): New macros.
14942 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14943 before reverting to converting time spec to time value and calling
14945 * sysdeps/mach/hurd/utime-helper.c: New file.
14946 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14947 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14948 reverting to utime_tvalue_from_tval and __file_utimes.
14949 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14950 (__lutimes): Just call hurd_futimens after lookup.
14951 * sysdeps/mach/hurd/utimes.c: Likewise.
14953 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14955 * bits/sigaction.h: Add include guard.
14956 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14957 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14958 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14959 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14960 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14961 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14962 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14963 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14964 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14966 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14968 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14969 -Wmaybe-uninitialized for -Os.
14970 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14973 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14975 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14976 __INO_T_MATCHES_INO64_T is defined.
14977 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14978 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14980 * dirent/alphasort64.c: Likewise.
14981 * dirent/scandir.c: Likewise.
14982 * dirent/scandir64-tail.c: Likewise.
14983 * dirent/scandir64.c: Likewise.
14984 * dirent/scandirat.c: Likewise.
14985 * dirent/scandirat64.c: Likewise.
14986 * dirent/versionsort.c: Likewise.
14987 * dirent/versionsort64.c: Likewise.
14988 * include/dirent.h: Likewise.
14990 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14991 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14992 for socketpair endpoint.
14993 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14994 WRITE_BUFFER_SIZE as buffer size for sending socket.
14995 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14996 issue on system where send is implemented with sendto syscall.
14997 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14998 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14999 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15000 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15003 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15004 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15005 sa_restorer for vDSO case.
15006 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15008 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15010 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15011 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15012 * hurd/hurd/ioctl.h: Include <mach/port.h>
15013 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15014 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15015 <mach/mach_types.h> and <mach/message.h>.
15016 (headers): Move mach/param.h to bits/mach/param.h.
15017 * sysdeps/mach/i386/mach/param.h: Move file to ...
15018 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15019 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15021 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15022 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15023 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15024 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15025 trivial, for C++ conformity.
15026 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15027 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15028 Process mig output through $(migheadersed).
15029 * hurd/Makefile (migheadersed): Define variable.
15030 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15031 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15033 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15034 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15035 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15036 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15037 <bits/types/sigset_t.h>.
15038 [!defined __USE_GNU]: Do not #error out.
15039 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15040 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15041 Include <stddef.h> and <bits/types/sigset_t.h>
15042 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15043 instead of sighandler_t.
15044 * stdlib/errno.h (error_t): Move definition to...
15045 * bits/types/error_t.h: ... new header.
15046 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15047 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15048 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15049 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15050 * hurd/hurd.h: Include <bits/types/error_t.h>
15051 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15052 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15053 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15054 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15055 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15056 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15057 * sysdeps/mach/hurd/futimens.c: New file.
15059 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15062 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15063 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15064 * nscd/gai.c (__nss_hosts_database): Readd definition.
15065 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15066 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15067 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15069 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15071 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15072 (ifunc_one): Likewise.
15074 2018-03-01 DJ Delorie <dj@delorie.com>
15077 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15080 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15082 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15083 `match_pid' parameter.
15084 (td_ta_thr_iter): Update accordingly.
15086 2018-03-01 Florian Weimer <fweimer@redhat.com>
15088 * nptl/Makefile (install-lib-ldscripts): Remove.
15089 (install): Remove rule.
15090 ($(inst_libdir)/libpthread.so): Likewise.
15092 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15095 * localedata/locales/an_ES: update month and day names,
15096 improve d_fmt, improve postal_fmt, add country_post,
15099 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15101 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15102 Ukrainian instead of Bulgarian.
15104 2018-03-01 Florian Weimer <fweimer@redhat.com>
15106 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15109 2018-03-01 Florian Weimer <fweimer@redhat.com>
15111 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15112 * nptl/Makefile (routines): Add pthread_atfork.
15113 (static-only-routines): Set to pthread_atfork.
15114 (libpthread-routines): Remove pthread_atfork.
15115 (libpthread-static-only-routines): Remove.
15116 (install): Update comment.
15117 (libpthread.so): Do not install libpthread_nonshared.a.
15118 (tests): Do not link with libpthread_nonshared.a.
15119 (generated): Remove libpthread_nonshared.a.
15120 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15121 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15122 with libpthread_nonshared.a.
15124 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15127 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15128 (libc_feholdexcept_setroundf128): New macro.
15129 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15132 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15134 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15135 * include/inttypes.h: New file.
15137 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15139 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15140 -Os in two more places.
15142 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15144 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15145 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15146 be sorted correctly at the moment because of a bug.
15148 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15150 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15151 treat ñ as a primary different character, sync the collation
15152 for Spanish with CLDR.
15153 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15154 * localedata/Makefile: Add new test files.
15155 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15156 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15158 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15159 * localedata/am_ET.UTF-8.in: New test file.
15160 * localedata/az_AZ.UTF-8.in: Likewise.
15161 * localedata/be_BY.UTF-8.in: Likewise.
15162 * localedata/ber_DZ.UTF-8.in: Likewise.
15163 * localedata/ber_MA.UTF-8.in: Likewise.
15164 * localedata/bg_BG.UTF-8.in: Likewise.
15165 * localedata/br_FR.UTF-8.in: Likewise.
15166 * localedata/cmn_TW.UTF-8.in: Likewise.
15167 * localedata/crh_UA.UTF-8.in: Likewise.
15168 * localedata/csb_PL.UTF-8.in: Likewise.
15169 * localedata/cv_RU.UTF-8.in: Likewise.
15170 * localedata/cy_GB.UTF-8.in: Likewise.
15171 * localedata/dz_BT.UTF-8.in: Likewise.
15172 * localedata/eo.UTF-8.in: Likewise.
15173 * localedata/es_ES.UTF-8.in: Likewise.
15174 * localedata/fa_IR.UTF-8.in: Likewise.
15175 * localedata/fi_FI.UTF-8.in: Likewise.
15176 * localedata/fil_PH.UTF-8.in: Likewise.
15177 * localedata/fur_IT.UTF-8.in: Likewise.
15178 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15179 * localedata/ha_NG.UTF-8.in: Likewise.
15180 * localedata/ig_NG.UTF-8.in: Likewise.
15181 * localedata/ik_CA.UTF-8.in: Likewise.
15182 * localedata/kk_KZ.UTF-8.in: Likewise.
15183 * localedata/ku_TR.UTF-8.in: Likewise.
15184 * localedata/ky_KG.UTF-8.in: Likewise.
15185 * localedata/ln_CD.UTF-8.in: Likewise.
15186 * localedata/mi_NZ.UTF-8.in: Likewise.
15187 * localedata/ml_IN.UTF-8.in: Likewise.
15188 * localedata/mn_MN.UTF-8.in: Likewise.
15189 * localedata/mr_IN.UTF-8.in: Likewise.
15190 * localedata/mt_MT.UTF-8.in: Likewise.
15191 * localedata/nb_NO.UTF-8.in: Likewise.
15192 * localedata/om_KE.UTF-8.in: Likewise.
15193 * localedata/os_RU.UTF-8.in: Likewise.
15194 * localedata/ps_AF.UTF-8.in: Likewise.
15195 * localedata/ro_RO.UTF-8.in: Likewise.
15196 * localedata/ru_RU.UTF-8.in: Likewise.
15197 * localedata/sc_IT.UTF-8.in: Likewise.
15198 * localedata/se_NO.UTF-8.in: Likewise.
15199 * localedata/sq_AL.UTF-8.in: Likewise.
15200 * localedata/sv_SE.UTF-8.in: Likewise.
15201 * localedata/szl_PL.UTF-8.in: Likewise.
15202 * localedata/tg_TJ.UTF-8.in: Likewise.
15203 * localedata/tk_TM.UTF-8.in: Likewise.
15204 * localedata/tt_RU.UTF-8.in: Likewise.
15205 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15206 * localedata/ug_CN.UTF-8.in: Likewise.
15207 * localedata/uz_UZ.UTF-8.in: Likewise.
15208 * localedata/vi_VN.UTF-8.in: Likewise.
15209 * localedata/yi_US.UTF-8.in: Likewise.
15210 * localedata/yo_NG.UTF-8.in: Likewise.
15211 * localedata/zh_CN.UTF-8.in: Likewise.
15212 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15213 file and fix bugs in the collation.
15214 * localedata/locales/az_AZ: Likewise.
15215 * localedata/locales/be_BY: Likewise.
15216 * localedata/locales/ber_DZ: Likewise.
15217 * localedata/locales/ber_MA: Likewise.
15218 * localedata/locales/bg_BG: Likewise.
15219 * localedata/locales/br_FR: Likewise.
15220 * localedata/locales/br_FR@euro: Likewise.
15221 * localedata/locales/ca_ES: Likewise.
15222 * localedata/locales/cns11643_stroke: Likewise.
15223 * localedata/locales/crh_UA: Likewise.
15224 * localedata/locales/cs_CZ: Likewise.
15225 * localedata/locales/csb_PL: Likewise.
15226 * localedata/locales/cv_RU: Likewise.
15227 * localedata/locales/cy_GB: Likewise.
15228 * localedata/locales/da_DK: Likewise.
15229 * localedata/locales/dz_BT: Likewise.
15230 * localedata/locales/en_CA: Likewise.
15231 * localedata/locales/eo: Likewise.
15232 * localedata/locales/es_CU: Likewise.
15233 * localedata/locales/es_EC: Likewise.
15234 * localedata/locales/es_ES: Likewise.
15235 * localedata/locales/es_US: Likewise.
15236 * localedata/locales/et_EE: Likewise.
15237 * localedata/locales/fa_IR: Likewise.
15238 * localedata/locales/fi_FI: Likewise.
15239 * localedata/locales/fil_PH: Likewise.
15240 * localedata/locales/fur_IT: Likewise.
15241 * localedata/locales/gez_ER@abegede: Likewise.
15242 * localedata/locales/ha_NG: Likewise.
15243 * localedata/locales/hr_HR: Likewise.
15244 * localedata/locales/hsb_DE: Likewise.
15245 * localedata/locales/hu_HU: Likewise.
15246 * localedata/locales/ig_NG: Likewise.
15247 * localedata/locales/ik_CA: Likewise.
15248 * localedata/locales/is_IS: Likewise.
15249 * localedata/locales/iso14651_t1_pinyin: Likewise.
15250 * localedata/locales/kk_KZ: Likewise.
15251 * localedata/locales/ku_TR: Likewise.
15252 * localedata/locales/ky_KG: Likewise.
15253 * localedata/locales/ln_CD: Likewise.
15254 * localedata/locales/lt_LT: Likewise.
15255 * localedata/locales/lv_LV: Likewise.
15256 * localedata/locales/mi_NZ: Likewise.
15257 * localedata/locales/ml_IN: Likewise.
15258 * localedata/locales/mn_MN: Likewise.
15259 * localedata/locales/mr_IN: Likewise.
15260 * localedata/locales/mt_MT: Likewise.
15261 * localedata/locales/nb_NO: Likewise.
15262 * localedata/locales/om_KE: Likewise.
15263 * localedata/locales/os_RU: Likewise.
15264 * localedata/locales/pl_PL: Likewise.
15265 * localedata/locales/ps_AF: Likewise.
15266 * localedata/locales/ro_RO: Likewise.
15267 * localedata/locales/ru_RU: Likewise.
15268 * localedata/locales/ru_UA: Likewise.
15269 * localedata/locales/sc_IT: Likewise.
15270 * localedata/locales/se_NO: Likewise.
15271 * localedata/locales/si_LK: Likewise.
15272 * localedata/locales/sq_AL: Likewise.
15273 * localedata/locales/sv_FI: Likewise.
15274 * localedata/locales/sv_FI@euro: Likewise.
15275 * localedata/locales/sv_SE: Likewise.
15276 * localedata/locales/szl_PL: Likewise.
15277 * localedata/locales/tg_TJ: Likewise.
15278 * localedata/locales/ti_ER: Likewise.
15279 * localedata/locales/tk_TM: Likewise.
15280 * localedata/locales/tl_PH: Likewise.
15281 * localedata/locales/tr_TR: Likewise.
15282 * localedata/locales/tt_RU: Likewise.
15283 * localedata/locales/tt_RU@iqtelif: Likewise.
15284 * localedata/locales/ug_CN: Likewise.
15285 * localedata/locales/uk_UA: Likewise.
15286 * localedata/locales/uz_UZ: Likewise.
15287 * localedata/locales/uz_UZ@cyrillic: Likewise.
15288 * localedata/locales/vi_VN: Likewise.
15289 * localedata/locales/yi_US: Likewise.
15290 * localedata/locales/yo_NG: Likewise.
15292 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15294 * gen-locales.mk: Make test files which contain @ modifiers in their
15296 * localedata/gen-locale.sh: Likewise.
15298 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15300 * posix/tst-fnmatch.input: Fix results for range expressions
15302 * posix/tst-regexloc.c: Do not use a range expression for
15303 de_DE.ISO-8859-1 locale.
15305 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15307 * posix/bug-regex5.c: Fix test case because with the new
15308 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15309 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15312 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15314 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15315 downloaded from ISO, the collation order of @-. and space has changed.
15316 Therefore, this test file needed to be adapted.
15317 * localedata/fr_CA.UTF-8.in: Likewise.
15318 * localedata/fr_FR.UTF-8.in: Likewise.
15319 * localedata/uk_UA.UTF-8.in: Likewise.
15321 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15323 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15324 order of ȥ in the new iso14651_t1_common file.
15325 * localedata/pl_PL.UTF-8.in: Likewise.
15327 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15329 * localedata/locales/iso14651_t1_common: Add sections for various
15330 scripts to the iso14651_t1_common file.
15332 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15334 * localedata/locales/iso14651_t1_common: Use the code point of a
15335 character in the fourth collation level instead of IGNORE for all
15336 entries which have IGNORE on all 4 levels.
15338 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15340 * localedata/locales/iso14651_t1_common: Add some convenient collation
15341 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15342 rules similar to those in CLDR.
15344 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15346 * localedata/locales/iso14651_t1_common: The new version of this
15347 file downloaded from ISO contained several syntax errors which
15348 are fixed by this patch.
15350 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15352 * localedata/locales/iso14651_t1_common: replace all <U.....>
15353 with <U000.....> because glibc understands only 4 digit or 8 digit
15355 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15357 * localedata/locales/iso14651_t1_common: Necessary changes
15358 to make the file downloaded from ISO usable by glibc.
15360 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15363 * localedata/locales/iso14651_t1_common: Update file to
15364 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15366 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15368 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15369 of <nptl/pthreadP.h>
15370 (thread_attr_compare): Move function to...
15371 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15372 * sysdeps/nptl/timer_routines.h: ... new header.
15373 * sysdeps/mach/hurd/gai_misc.h: New file.
15375 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15377 * string/strcoll_l.c: Include <libc-diag.h>.
15378 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15379 declarations of seq1 and seq2.
15382 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15383 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15385 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15390 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15391 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15392 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15393 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15394 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15396 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15399 macros used in __ptrace_request.
15401 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15404 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15407 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15411 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15414 * ctype/ctype.c (tolower): Use libc_hidden_def.
15415 (toupper): Likewise.
15416 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15417 [!_ISOMAC] (toupper): Likewise.
15419 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15421 * localedata/Makefile: Remove --quiet argument when
15424 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15427 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15429 * localedata/locales/pt_PT (LC_TIME): likewise
15431 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15434 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15435 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15436 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15438 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15442 * nptl/Makefile (routines): Remove unregister-atfork.
15443 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15444 (fork_handler_alloc): Remove function.
15445 (fork_handlers, fork_handler_init): New variables.
15446 (__fork_lock): Rename to atfork_lock.
15447 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15448 to use a dynamic array to add/remove atfork handlers.
15449 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15450 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15451 Remove declaration.
15452 (fork_handler): Remove next, refcntr, and need_signal member.
15453 (__run_fork_handler_type): New enum.
15454 (__run_fork_handlers): New prototype.
15455 * nptl/register-atfork.c: Remove file.
15456 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15458 * sysdeps/nptl/nptl-signals.h: Move to ...
15459 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15461 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15462 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15463 unnecessary check for SIGTIMER.
15464 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15465 remove unnecessary removal of SIGTIMER.
15466 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15467 include-signals.h rename.
15468 * nptl/pthreadP.h: Likewise.
15469 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15470 __is_internal_signal instead of __nptl_is_internal_signal.
15472 2018-02-22 Andrew Waterman <andrew@sifive.com>
15475 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15476 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15477 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15478 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15480 2018-02-22 DJ Delorie <dj@delorie.com>
15482 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15484 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15486 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15487 do_misaligned, not misaligned8.
15489 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15491 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15492 Add memcpy_thunderx2.
15493 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15495 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15496 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15497 and IS_THUNDERX2PA checks.
15498 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15499 Use macro to set name appropriately.
15500 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15501 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15502 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15504 (IS_THUNDERX2): New macro.
15506 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15508 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15510 2018-02-21 Zack Weinberg <zackw@panix.com>
15512 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15513 Define here, unconditionally.
15514 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15515 * libio/libioP.h: Remove #if 0 blocks.
15516 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15517 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15518 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15520 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15521 Assume weak_alias is always defined.
15523 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15524 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15525 Remove #if 0 and #ifdef TODO blocks.
15526 Assume text_set_element is always defined.
15528 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15529 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15530 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15532 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15533 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15534 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15535 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15536 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15537 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15538 Reformat bit flags for _flags field to make occupancy clearer.
15540 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15541 Keep definitions consistent with those in libio/libio.h.
15543 * libio/libio.h (_IO_file_flags): Remove macro.
15544 All uses changed to _flags.
15546 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15547 (__HAVE_COLUMN, _IO_BE): Don't define.
15548 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15549 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15550 * libio/libioP.h (EOF): Don't define.
15551 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15552 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15553 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15554 testing _IO_UNIFIED_JUMPTABLES.
15556 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15557 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15558 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15559 (_IO_size_t): Delete; all uses changed to size_t.
15560 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15561 (_IO_off_t): Delete; all uses changed to off_t.
15562 (_IO_off64_t): Delete; all uses changed to off64_t.
15563 (_IO_pid_t): Delete; all uses changed to pid_t.
15564 (_IO_uid_t): Delete; all uses changed to uid_t.
15565 (_IO_wint_t): Delete; all uses changed to wint_t.
15566 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15567 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15568 (_IO_cookie_io_functions_t): Delete; all uses changed to
15569 cookie_io_functions_t.
15570 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15571 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15572 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15573 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15575 * libio/iofopncook.c: Remove unnecessary forward declarations.
15576 * libio/iolibio.h: Correct outdated commentary.
15577 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15578 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15579 Remove unnecessary casts.
15580 * stdio-common/getline.c: Use _IO_getdelim directly.
15581 Don't redefine ssize_t.
15582 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15583 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15584 Remove outdated comments.
15585 * stdio-common/vfscanf.c: Don't redefine va_list.
15587 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15588 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15589 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15590 which are always true, and __cplusplus, which is always false.
15592 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15596 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15597 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15598 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15599 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15601 [!_ISOMAC] (putc_unlocked): Likewise.
15602 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15603 define inline if [__USE_EXTERN_INLINES].
15604 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15609 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15610 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15611 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15612 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15613 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15615 * time/tzfile.c (__tzfile_read): Likewise.
15617 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15620 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15622 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15624 * io/fcntl.h: Fix a typo in a comment.
15626 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15629 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15630 define _DEFAULT_SOURCE.
15631 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15633 2018-02-21 Florian Weimer <fweimer@redhat.com>
15636 * elf/cache.c (save_cache): Call fsync on temporary file before
15638 (save_aux_cache): Call fdatasync on temporary file before renaming
15641 2018-02-21 Florian Weimer <fweimer@redhat.com>
15644 * include/caller.h: Remove file.
15645 * elf/dl-caller.c: Likewise.
15646 * elf/Makefile (dl-routines): Remove dl-caller.
15647 (shared-only-routines): Do not add dl-caller.
15648 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15650 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15652 (dl_open_worker): Do not call __check_caller.
15653 (_dl_open): Do not set caller_dl_open member.
15654 * elf/rtld.c (_rtld_global_ro): Do not initialize
15655 _dl_check_caller member.
15656 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15657 _dl_check_caller member.
15658 (_dl_check_caller): Remove declaration.
15659 * sysdeps/unix/sysv/linux/dl-execstack.c
15660 (_dl_make_stack_executable): Do not call __check_caller.
15662 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15664 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15665 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15667 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15669 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15672 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15675 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15676 of 199606L, 200112L, and 200809L.
15677 (_XOPEN_SOURCE): Document special values of 600 and 700.
15678 (_ISOC11_SOURCE): Document macro.
15679 (_ATFILE_SOURCE): Likewise.
15680 (_FORTIFY_SOURCE): Likewise.
15682 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15686 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15687 and define as weak alias of __ferror_unlocked. Use
15689 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15691 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15692 function if [__USE_EXTERN_INLINES].
15693 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15696 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15699 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15701 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15704 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15705 the GLIBC_2.1 version.
15707 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15710 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15711 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15712 intl/tst-gettext-de.po from po/de.po by removing the
15713 POT-Creation-Date line.
15714 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15716 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15719 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15721 * mach/Makefile (headers): Add mach/param.h.
15722 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15723 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15724 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15725 (__ptsname_r): Move implementation to...
15726 (__ptsname_internal): ... new function. Add filling the STP
15729 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15731 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15734 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15736 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15739 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15741 * nptl/Makefile (tst-mutex8-ENV): Delete.
15742 * nptl/tst-mutex8.c (check_type):
15743 Add runtime check if mutex will be elided.
15745 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15749 * manual/install.texi (Configuring and compiling): Describe
15750 passing CC and CFLAGS on configure command line, not as
15751 environment variables. Use @code markup on those variables.
15752 Specify what options go in CC and what go in CFLAGS. Note the
15753 requirement to compile with optimization.
15754 * INSTALL: Regenerated.
15757 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15758 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15759 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15760 __sigprocmask instead of sigprocmask.
15761 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15763 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15764 __sigsetjmp and sigprocmask.
15767 * include/argz.h (argz_next): Use libc_hidden_proto.
15768 (__argz_next): Likewise.
15769 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15770 (argz_next): Use libc_hidden_weak.
15773 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15775 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15779 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15781 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15785 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15786 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15787 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15788 (__feof_unlocked): New declaration, and inline function if
15789 [__USE_EXTERN_INLINES].
15790 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15791 instead of feof_unlocked.
15792 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15793 * nss/nsswitch.c (nss_parse_file): Likewise.
15794 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15796 * time/getdate.c (__getdate_r): Likewise.
15797 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15798 Define as macro to call __feof_unlocked.
15800 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15802 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15804 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15806 * math/Makefile: Remove mpexp.c and mplog.c
15807 * sysdeps/i386/fpu/mpexp.c: Delete file.
15808 * sysdeps/i386/fpu/mplog.c: Likewise.
15809 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15810 * sysdeps/ia64/fpu/mplog.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15812 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15813 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15814 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15815 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15816 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15817 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15818 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15819 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15820 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15821 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15823 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15824 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15825 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15826 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15828 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15830 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15832 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15834 * sysdeps/sh/libm-test-ulps: Update.
15836 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15838 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15841 2018-02-12 Zack Weinberg <zackw@panix.com>
15844 * posix/sys/types.h: Don't include sys/sysmacros.h.
15845 * misc/sys/sysmacros.h: Remove the conditional deprecation
15846 warnings for the macros defined by this header.
15848 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15850 * manual/probes.texi: Remove slowexp probes.
15851 * math/Makefile: Remove slowexp.
15852 * sysdeps/generic/math_private.h (__slowexp): Remove.
15853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15854 document error bounds.
15855 * sysdeps/i386/fpu/slowexp.c: Remove.
15856 * sysdeps/ia64/fpu/slowexp.c: Remove.
15857 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15858 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15859 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15860 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15861 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15862 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15863 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15865 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15866 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15869 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15872 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15873 * benchtests/pow-inputs: Update comment for slow path cases.
15874 * manual/probes.texi (slowpow_p10): Delete removed probe.
15875 (slowpow_p10): Likewise.
15876 * math/Makefile: Remove halfulp.c and slowpow.c.
15877 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15878 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15879 (__halfulp): Remove.
15880 (__slowpow): Remove.
15881 * sysdeps/i386/fpu/halfulp.c: Delete file.
15882 * sysdeps/i386/fpu/slowpow.c: Likewise.
15883 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15884 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15886 improve comments and add error analysis.
15887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15888 (power1): Remove function:
15889 (log1): Remove error argument, add error analysis.
15890 (my_log2): Remove function.
15891 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15893 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15894 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15895 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15896 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15897 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15898 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15903 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15904 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15906 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15908 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15909 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15911 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15914 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15915 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15916 and PTRACE_SETHBPREGS.
15918 2018-02-10 Zack Weinberg <zackw@panix.com>
15921 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15923 * malloc/tst-malloc-stats-cancellation.c: New test case.
15924 * malloc/Makefile: Add new test case.
15926 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15928 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15930 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15932 * math/Makefile (libm-narrow-fns): Add add.
15933 (libm-test-funcs-narrow): Likewise.
15934 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15935 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15936 * math/gen-auto-libm-tests.c (test_functions): Add add.
15937 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15938 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15939 (NARROW_ADD_TRIVIAL): Likewise.
15940 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15942 (__daddl): Likewise.
15943 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15945 (CFLAGS-nldbl-dadd.c): New variable.
15946 (CFLAGS-nldbl-fadd.c): Likewise.
15947 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15949 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15951 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15952 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15953 * math/auto-libm-test-in: Add tests of add.
15954 * math/auto-libm-test-out-narrow-add: New generated file.
15955 * math/libm-test-narrow-add.inc: New file.
15956 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15959 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15960 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15961 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15970 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15971 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15972 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15973 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15975 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16003 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16004 (f128-pairs): New variable.
16005 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16006 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16008 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16009 Also make tests add $(f128-loader-link) to gnulib-tests.
16011 2018-02-09 DJ Delorie <dj@redhat.com>
16014 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16015 64-bit ELF type for 64-bit ELF objects.
16017 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16019 * math/libm-test-driver.c (snan_tests_arg): New variable.
16020 * math/libm-test-support.h (snan_tests_arg): New declaration.
16021 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16023 * math/Makefile (test-type-pairs): New variable.
16024 (test-type-pairs-f64xf128-yes): Likewise.
16025 (tests): Add test-narrow-macros.
16026 (libm-test-funcs-narrow): New variable.
16027 (libm-test-c-narrow): Likewise.
16028 (generated): Add $(libm-test-c-narrow).
16029 (libm-tests-base-narrow): New variable.
16030 (libm-tests-narrow): Likewise.
16031 (libm-tests): Add $(libm-tests-narrow).
16032 (libm-tests-for-type): Handle $(libm-tests-narrow).
16033 (libm-test-c-narrow-obj): New variable.
16034 ($(libm-test-c-narrow-obj)): New rule.
16035 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16036 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16037 $(o-iterator) to set dependencies and CFLAGS.
16038 * math/gen-auto-libm-tests.c: Document use for narrowing
16040 (output_for_one_input_case): Take argument NARROW.
16041 (generate_output): Likewise. Update call to
16042 output_for_one_input_case.
16043 (main): Take --narrow option. Update call to generate_output.
16044 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16045 (apply_lit): Update call to _apply_lit.
16046 (apply_arglit): New function.
16047 (parse_args): Handle "a" arguments.
16048 (parse_auto_input): Handle format names using ":".
16049 * math/README.libm-test: Document "a" parameter type.
16050 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16051 (ARG_TYPE_TRUE_MIN): Likewise.
16052 (ARG_TYPE_MAX): Likwise.
16053 (ARG_MIN_EXP): Likewise.
16054 (ARG_MAX_EXP): Likewise.
16055 (ARG_MANT_DIG): Likewise.
16056 (TEST_COND_arg_ibm128): Likewise.
16057 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16058 (TEST_COND_arg_fmt): New macro.
16059 (init_max_error): Update prototype.
16060 * math/libm-test-support.c (test_ibm128): New variable.
16061 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16062 instead of using [TEST_COND_ibm128] conditional.
16063 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16064 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16065 [TEST_NARROW] (TEST_MSG): New definition.
16066 (arg_plus_zero): New macro.
16067 (arg_minus_zero): Likewise.
16068 (arg_plus_infty): Likewise.
16069 (arg_minus_infty): Likewise.
16070 (arg_qnan_value_pl): Likewise.
16071 (arg_qnan_value): Likewise.
16072 (arg_snan_value_pl): Likewise.
16073 (arg_snan_value): Likewise.
16074 (arg_max_value): Likewise.
16075 (arg_min_value): Likewise.
16076 (arg_min_subnorm_value): Likewise.
16077 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16078 (RUN_TEST_LOOP_aa_f): New macro.
16079 (TEST_SUFF): New macro.
16080 (TEST_SUFF_STR): Likewise.
16081 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16082 (TEST_COND_any_ibm128): New macro.
16083 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16084 this_func. Update call to init_max_error.
16085 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16086 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16087 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16088 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16089 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16090 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16091 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16092 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16093 * math/test-math-vector.h (TEST_NARROW): Likewise.
16094 * math/test-arg-double.h: New file.
16095 * math/test-arg-float128.h: Likewise.
16096 * math/test-arg-float32x.h: Likewise.
16097 * math/test-arg-float64.h: Likewise.
16098 * math/test-arg-float64x.h: Likewise.
16099 * math/test-arg-ldouble.h: Likewise.
16100 * math/test-math-narrow.h: Likewise.
16101 * math/test-narrow-macros.c: Likewise.
16102 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16103 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16104 test-narrow-macros-ldbl-64.
16105 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16107 * math/bits/mathcalls-narrow.h: New file.
16108 * include/bits/mathcalls-narrow.h: Likewise.
16109 * math/math-narrow.h: Likewise.
16110 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16111 (__MATHCALL_NARROW_ARGS_2): Likewise.
16112 (__MATHCALL_NARROW_ARGS_3): Likewise.
16113 (__MATHCALL_NARROW_NORMAL): Likewise.
16114 (__MATHCALL_NARROW_REDIR): Likewise.
16115 (__MATHCALL_NARROW): Likewise.
16116 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16117 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16119 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16120 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16121 (libm-narrow-fns): New variable.
16122 (libm-narrow-types-basic): Likewise.
16123 (libm-narrow-types-ldouble-yes): Likewise.
16124 (libm-narrow-types-float128-yes): Likewise.
16125 (libm-narrow-types-float128-alias-yes): Likewise.
16126 (libm-narrow-types): Likewise.
16127 (libm-routines): Add narrowing functions.
16128 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16129 (libc_feholdexcept_setroundf128): New macro.
16130 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16131 * sysdeps/ieee754/float128/float128_private.h: Include
16132 <math/math-narrow.h>.
16133 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16134 Undefine and redefine.
16135 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16136 (libm_alias_float_ldouble): Undefine and redefine.
16137 (libm_alias_double_ldouble): Likewise.
16139 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16141 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16143 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16146 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16148 * manual/creature.texi: Convert references to gcc.info to gcc.
16149 * manual/stdio.texi: Likewise.
16150 * manual/string.texi: Likewise.
16152 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16155 * posix/bits/types.h (__int_least8_t): New typedef.
16156 (__uint_least8_t): Likewise.
16157 (__int_least16_t): Likewise.
16158 (__uint_least16_t): Likewise.
16159 (__int_least32_t): Likewise.
16160 (__uint_least32_t): Likewise.
16161 (__int_least64_t): Likewise.
16162 (__uint_least64_t): Likewise.
16163 * sysdeps/generic/stdint.h (int_least8_t): Define using
16165 (int_least16_t): Define using __int_least16_t.
16166 (int_least32_t): Define using __int_least32_t.
16167 (int_least64_t): Define using __int_least64_t.
16168 (uint_least8_t): Define using __uint_least8_t.
16169 (uint_least16_t): Define using __uint_least16_t.
16170 (uint_least32_t): Define using __uint_least32_t.
16171 (uint_least64_t): Define using __uint_least64_t.
16172 * wcsmbs/uchar.h: Include <bits/types.h>.
16173 (char16_t): Define using __uint_least16_t conditional only on
16175 (char32_t): Define using __uint_least32_t conditional only on
16177 * wcsmbs/test-char-types.c: New file.
16178 * wcsmbs/Makefile (tests): Add test-char-types.
16180 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16183 2018-02-07 Zack Weinberg <zackw@panix.com>
16185 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16186 Delete all contents except for definitions of _G_HAVE_MMAP and
16187 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16188 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16189 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16192 * libio/libio.h: Don't include bits/_G_config.h here.
16193 Include stddef.h with __need_wchar_t defined. Include
16194 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16195 Define _IO_iconv_t here, directly.
16196 Don't define _IO_HAVE_ST_BLKSIZE.
16197 * libio/libioP.h: Include _G_config.h here. Move include of
16198 shlib-compat.h up with rest of includes. Simplify conditionals
16199 controlling definition of _IO_JUMPS_OFFSET.
16201 * csu/init.c: Remove always-true #if around entire file.
16202 Don't include stdio.h. Set _IO_stdin_used to hardwired
16203 constant 0x20001, and update commentary.
16204 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16205 Replace all uses of _G_va_list with __gnuc_va_list.
16206 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16207 instead of #if _IO_HAVE_ST_BLKSIZE.
16208 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16209 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16212 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16213 multiple-include guard to match.
16214 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16216 Remove preprocessor conditionals that are always true and/or
16217 redundant to other preprocessor conditionals in the same nest.
16218 Include shlib-compat.h unconditionally.
16219 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16220 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16221 defined after including stdio.h.
16222 Use __BEGIN_DECLS/__END_DECLS.
16224 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16225 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16226 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16228 2018-02-07 Zack Weinberg <zackw@panix.com>
16230 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16231 New single-type headers split from _G_config.h.
16232 * libio/bits/types/cookie_io_functions_t.h
16233 * libio/bits/types/struct_FILE.h
16234 New single-type headers split from libio.h.
16236 * libio/Makefile: Install the above new headers. Don't install
16237 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16239 * libio/_G_config.h, libio/libio.h: Delete file.
16241 * libio/bits/libio.h: Remove improper-inclusion guard.
16242 Include stdio.h and don't repeat anything that it does.
16243 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16244 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16245 __io_read_fn as cookie_read_function_t,
16246 __io_write_fn as cookie_write_function_t,
16247 __io_seek_fn as cookie_seek_function_t,
16248 __io_close_fn as cookie_close_function_t,
16249 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16250 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16251 here, in the "compatibility defines" section. Remove an #if 0
16252 block. Use the "body" macros from bits/types/struct_FILE.h to
16253 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16254 and _IO_ferror_unlocked.
16255 Move prototypes of __uflow and __overflow...
16257 * libio/stdio.h: ...here. Don't include bits/libio.h.
16258 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16259 directly from stdarg.h. Include bits/types/__fpos_t.h,
16260 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16261 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16262 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16263 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16264 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16265 __ssize_t, not _IO_ssize_t. Unconditionally define
16266 BUFSIZ as 8192 and EOF as (-1).
16268 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16269 macros from bits/types/struct_FILE.h instead of _IO_* macros
16270 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16271 instead of _IO_ssize_t.
16272 * libio/bits/stdio2.h: Similarly.
16274 * libio/iolibio.h: Add multiple-include guard.
16275 Include bits/libio.h after stdio.h.
16276 * libio/libioP.h: Add multiple-include guard.
16277 Include stdio.h and bits/libio.h before iolibio.h.
16279 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16280 * include/bits/types/cookie_io_functions_t.h
16281 * include/bits/types/struct_FILE.h: New wrappers.
16283 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16284 Get definitions of _G_fpos_t and _G_fpos64_t from
16285 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16286 respectively. Remove improper-inclusion guards.
16288 * conform/data/stdio.h-data: Update expectations of va_list.
16289 * scripts/check-installed-headers.sh: Remove special case for
16290 libio.h and _G_config.h.
16292 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16296 * include/sys/sysmacros.h [!_ISOMAC]
16297 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16298 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16299 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16300 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16302 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16303 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16305 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16306 Undefine and redefine to add use __gnu_dev_ prefix.
16307 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16309 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16310 and define as hidden inline function.
16311 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16313 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16315 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16316 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16317 (gnu_dev_minor): Likewise.
16318 (gnu_dev_makedev): Likewise.
16319 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16321 * posix/wordexp.c (exec_comm_child): Likewise.
16322 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16323 instead of minor and __gnu_dev_major instead of major.
16324 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16325 __gnu_dev_major instead of major.
16326 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16327 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16328 instead of gnu_dev_minor.
16329 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16330 (SLAVE_P): Likewise.
16331 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16332 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16336 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16338 * locale/weightwc.h (findidx): Likewise.
16340 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16342 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16343 (slowlog_inexact): Likewise
16344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16345 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16347 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16350 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16351 missing second underscore to parameter name.
16353 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16359 * bits/byteswap.h: Update file comment. Do not include
16360 <bits/byteswap-16.h>.
16361 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16363 (__bswap_16): Define as inline function.
16364 (__bswap_constant_32): Reformat definition.
16365 (__bswap_32): Always define as inline function, not macro, using
16366 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16367 otherwise __bswap_constant_32.
16368 (__bswap_constant_64): Reformat definition. Do not use
16369 __extension__ here.
16370 (__bswap_64): Always define as inline function, not macro. Use
16371 __extension__ on function definition. Use __builtin_bswap64 if
16372 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16373 * string/test-endian-file-scope.c: New file.
16374 * string/test-endian-sign-conversion.c: Likewise.
16375 * string/Makefile (headers): Remove bits/byteswap-16.h.
16376 (tests): Add test-endian-file-scope and
16377 test-endian-sign-conversion.
16378 (CFLAGS-test-endian-sign-conversion.c): New variable.
16379 * bits/byteswap-16.h: Remove file.
16380 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16381 * sysdeps/ia64/bits/byteswap.h: Likewise.
16382 * sysdeps/m68k/bits/byteswap.h: Likewise.
16383 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16384 * sysdeps/s390/bits/byteswap.h: Likewise.
16385 * sysdeps/tile/bits/byteswap.h: Likewise.
16386 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16387 * sysdeps/x86/bits/byteswap.h: Likewise.
16390 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16391 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16392 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16393 199901L] (__restrict): Define to restrict.
16396 * string/testcopy.c: Include <support/support.h>. Do not include
16397 <malloc.h>. Use <support/test-driver.c>.
16398 (main): Rename to do_test. Make static. Use xmalloc instead of
16402 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16403 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16404 (SSIZE_MAX): Define to INT_MAX.
16405 * posix/test-ssize-max.c: New file.
16406 * posix/Makefile (tests): Add test-ssize-max.
16409 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16410 <support/support.h>. Do not include <malloc.h>.
16411 (query_auxv): Use xmalloc instead of malloc.
16414 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16415 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16418 2018-02-06 Florian Weimer <fweimer@redhat.com>
16421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16422 Use scratch_buffer instead of extend_alloca.
16424 2018-02-06 Zack Weinberg <zackw@panix.com>
16426 * libio/stdio.h: Don't define getc or putc as macros.
16427 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16428 not _IO_getc and _IO_putc.
16430 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16431 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16433 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16435 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16436 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16438 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16441 * elf/elf.h (NT_PRFPREG): New macro.
16442 (NT_S390_VXRS_LOW): Likewise.
16443 (NT_S390_VXRS_HIGH): Likewise.
16444 (NT_S390_GS_CB): Likewise.
16445 (NT_S390_GS_BC): Likewise.
16446 (NT_S390_RI_CB): Likewise.
16448 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16449 (MAP_SYNC): New macro.
16450 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16452 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16453 (MAP_SYNC): Likewise.
16454 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16455 (MAP_SYNC): Likewise.
16456 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16457 (MAP_SYNC): Likewise.
16458 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16459 (MAP_SYNC): Likewise.
16460 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16461 (MAP_SYNC): Likewise.
16462 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16463 (MAP_SYNC): Likewise.
16464 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16466 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16469 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16470 (MAP_SHARED_VALIDATE): New macro.
16471 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16472 (MAP_SHARED_VALIDATE): Likewise.
16474 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16476 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16477 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16478 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16480 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16482 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16483 (DT_NUM): Updated to 35.
16485 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16488 __builtin_expect with __glibc_likely and __glibc_unlikely.
16489 (elf_machine_rela): Likewise.
16490 (elf_machine_lazy_rel): Likewise.
16492 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16495 __builtin_expect with __glibc_likely and __glibc_unlikely.
16496 (elf_machine_lazy_rel): Likewise.
16498 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16501 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16503 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16505 2018-02-05 Andreas Schwab <schwab@suse.de>
16508 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16511 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16513 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16514 not check against PTHREAD_STACK_MIN.
16516 2018-02-02 Sean McKean <smckean83@gmail.com>
16519 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16521 2018-02-02 Florian Weimer <fweimer@redhat.com>
16524 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16525 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16526 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16527 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16528 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16529 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16530 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16531 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16532 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16533 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16534 * misc/tst-preadvwritev2.c (do_test): Call it.
16535 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16537 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16539 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16541 * benchtests/bench-memcmp.c: Print json instead of plain text.
16543 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16546 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16548 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16550 (s390_sthyi): New syscall.
16552 * sysdeps/generic/ldbl-classify-compat.h: New file.
16553 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16554 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16555 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16556 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16557 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16558 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16560 <ldbl-classify-compat.h>.
16561 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16562 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16563 <ldbl-classify-compat.h>.
16564 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16565 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16566 <ldbl-classify-compat.h>.
16567 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16569 <ldbl-classify-compat.h>.
16570 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16572 <ldbl-classify-compat.h>.
16573 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16575 <ldbl-classify-compat.h>.
16576 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16577 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16578 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16579 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16580 * sysdeps/microblaze/math_private.h: Likewise.
16581 * sysdeps/nios2/math_private.h: Likewise.
16582 * sysdeps/sh/math_private.h: Likewise.
16584 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16585 * sysdeps/m68k/coldfire/math_private.h: ... here.
16586 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16587 * sysdeps/tile/math_private.h: Likewise.
16588 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16590 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16593 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16595 (libc_fetestexcept): Likewise.
16596 (libc_feupdateenv_test): Likewise.
16597 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16598 (libc_fetestexcept): Likewise.
16599 (libc_feupdateenv_test): Likewise.
16600 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16601 (libc_fetestexcept): Likewise.
16602 (libc_feupdateenv_test): Likewise.
16603 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16604 (libc_fetestexcept): Likewise.
16605 (libc_feupdateenv_test): Likewise.
16607 * sysdeps/generic/math_private.h
16608 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16609 New inline function.
16610 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16613 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16614 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16615 * sysdeps/generic/math_private.h
16616 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16618 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16620 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16622 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16624 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16626 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16628 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16629 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16630 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16631 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16632 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16633 (__fegetenv): Likewise.
16634 (fesetenv): Likewise.
16635 (__fesetenv): Likewise.
16636 (feupdateenv): Likewise.
16637 (__feupdateenv): Likewise.
16638 (fegetround): Likewise.
16639 (__fegetround): Likewise.
16640 (fesetround): Likewise.
16641 (__fesetround): Likewise.
16643 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16644 (feraiseexcept): New macro.
16645 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16646 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16648 (__feraiseexcept): Likewise.
16649 (feclearexcept): Likewise.
16650 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16651 (__feraiseexcept): Likewise.
16652 (feclearexcept): Likewise.
16653 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16654 (__feraiseexcept): Likewise.
16655 (feclearexcept): Likewise.
16656 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16657 (__feraiseexcept): Likewise.
16658 (feclearexcept): Likewise.
16659 (fetestexcept): Likewise.
16661 * sysdeps/m68k/coldfire/math-tests.h: New file.
16663 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16664 * sysdeps/m68k/bits/fenv.h: ... here.
16665 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16667 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16669 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16671 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16673 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16675 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16677 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16678 (__FE_UNDEFINED): New enum constant.
16679 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16681 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16683 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16685 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16686 to match generic bits/fenv.h.
16687 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16690 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16692 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16693 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16694 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16695 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16697 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16698 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16699 Joseph Myers <joseph@codesourcery.com>
16702 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16703 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16704 computation using c.
16705 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16706 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16707 computation using c.
16709 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16711 * version.h (RELEASE): Set to "development".
16712 (VERSION): Set to "2.27.9000".
16713 * NEWS (2.28): New section.
16715 * version.h (RELEASE): Set to "stable".
16716 (VERSION): Set to "2.27".
16717 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16719 * NEWS: Add the list of bugs fixed in 2.27.
16721 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16723 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16724 against PTHREAD_STACK_MIN.
16726 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16728 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16730 (Rafal Luzynski, Andreas Schwab): Update.
16732 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16735 * NEWS: List the languages which actually use the alternative
16736 months feature in this release. Also explain that "alt_mon" and
16737 "ab_alt_mon" are optional.
16739 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16742 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16744 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16746 * manual/install.texi (Tools for Compilation): Update the newest
16747 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16748 * INSTALL: Regenerated.
16750 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16752 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16753 instead of __builtin_expect.
16755 2018-01-30 Florian Weimer <fweimer@redhat.com>
16757 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16759 * nss/tst-nss-getpwent.c (do_test): Likewise.
16761 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16764 * localedata/locales/hr_HR (mon): Rename to...
16766 (mon): Import from CLDR (genitive case).
16767 (d_t_fmt): Update the comment.
16769 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16771 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16772 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16773 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16775 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16777 * mach/Versions: Fix version when __mach_host_self_ was added.
16778 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16779 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16780 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16781 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16782 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16783 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16784 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16785 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16786 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16787 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16788 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16789 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16790 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16791 || to respect codestyle.
16792 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16793 (do_test_bz20181): Rename accordingly.
16794 * malloc/malloc.c: Include <assert.h>.
16795 (assert): Do not define.
16796 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16797 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16798 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16799 * sysdeps/mach/hurd/hp-timing.h: New file.
16800 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16802 2018-01-29 Darius Rad <darius@bluespec.com>
16804 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16806 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16808 * sysdeps/init_array/crti.S (.section .init_array): Add
16809 PREINIT_FUNCTION when defined.
16810 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16811 * config.h.in: Regenerate.
16812 * manual/platform.texi: Add RISC-V documenation for
16813 __riscv_flush_icache.
16814 * sysdeps/riscv/__longjmp.S: New file.
16815 * sysdeps/riscv/backtrace.c: Likewise.
16816 * sysdeps/riscv/bits/endian.h: Likewise.
16817 * sysdeps/riscv/bits/setjmp.h: Likewise.
16818 * sysdeps/riscv/bits/wordsize.h: Likewise.
16819 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16820 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16821 * sysdeps/riscv/dl-trampoline.S: Likewise.
16822 * sysdeps/riscv/gccframe.h: Likewise.
16823 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16824 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16825 * sysdeps/riscv/machine-gmon.h: Likewise.
16826 * sysdeps/riscv/memusage.h: Likewise.
16827 * sysdeps/riscv/setjmp.S: Likewise.
16828 * sysdeps/riscv/sys/asm.h: Likewise.
16829 * sysdeps/riscv/tls-macros.h: Likewise.
16830 * sysdeps/riscv/dl-tls.h: New file.
16831 * sysdeps/riscv/libc-tls.c: Likewise.
16832 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16833 * sysdeps/riscv/nptl/tls.h: Likewise.
16834 * sysdeps/riscv/stackinfo.h: Likewise.
16835 * sysdeps/riscv/bits/fenv.h: New file.
16836 * sysdeps/riscv/e_sqrtl.c: Likewise.
16837 * sysdeps/riscv/fpu_control.h: Likewise.
16838 * sysdeps/riscv/math-tests.h: Likewise.
16839 * sysdeps/riscv/nofpu/Implies: Likewise.
16840 * sysdeps/riscv/sfp-machine.h: Likewise.
16841 * sysdeps/riscv/tininess.h: Likewise.
16842 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16843 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16844 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16845 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16846 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16847 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16848 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16849 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16850 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16851 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16852 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16853 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16854 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16855 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16856 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16857 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16858 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16859 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16860 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16861 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16862 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16863 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16864 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16865 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16866 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16867 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16868 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16869 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16870 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16871 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16872 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16873 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16874 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16875 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16876 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16877 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16878 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16879 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16880 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16881 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16882 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16883 * sysdeps/riscv/rvf/math_private.h: Likewise.
16884 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16885 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16886 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16887 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16888 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16889 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16890 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16891 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16892 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16893 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16894 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16895 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16896 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16897 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16898 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16899 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16900 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16901 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16902 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16903 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16904 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16905 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16906 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16907 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16908 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16909 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16910 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16911 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16912 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16913 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16914 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16915 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16916 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16917 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16918 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16919 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16920 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16921 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16922 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16923 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16924 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16925 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16926 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16927 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16928 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16929 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16930 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16931 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16932 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16933 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16934 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16935 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16936 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16937 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16938 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16939 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16940 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16941 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16942 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16943 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16944 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16945 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16946 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16947 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16948 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16949 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16950 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16951 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16952 * sysdeps/riscv/Implies: New file.
16953 * sysdeps/riscv/Makefile: Likewise.
16954 * sysdeps/riscv/configure: Likewise.
16955 * sysdeps/riscv/configure.ac: Likewise.
16956 * sysdeps/riscv/nptl/Makefile: Likewise.
16957 * sysdeps/riscv/preconfigure: Likewise.
16958 * sysdeps/riscv/rv64/Implies-after: Likewise.
16959 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16960 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16961 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16962 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16963 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16964 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16965 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16966 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16967 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16968 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16969 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16970 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16971 (Config): Likewise.
16973 2018-01-29 Florian Weimer <fweimer@redhat.com>
16976 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16977 libnsl_hidden_proto.
16978 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16979 libnsl_hidden_proto.
16980 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16981 * nis/Makefile (libnsl-routines): Add nss-default only for
16982 build-obsolete-nsl.
16983 * nis/nis_defaults.c (__nis_default_ttl): Add
16984 libnsl_hidden_nolink_def.
16985 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16987 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16988 * nis/ypclnt.c (yp_maplist): Likewise.
16990 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16993 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16995 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16997 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16998 clean -dxfq for git updates when replacing sources.
17000 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17001 --disable-libcilkrts unconditionally, not just for the final GCC
17004 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17007 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17010 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17013 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17016 * localedata/locales/be_BY (mon): Rename to...
17017 (alt_mon): This, then synchronize with CLDR (nominative case).
17018 (abmon): Rename to...
17019 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17020 (mon): Import from CLDR (genitive case).
17022 * localedata/locales/be_BY@latin (mon): Rename to...
17024 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17026 * localedata/locales/be_BY@latin (lang_name): Reworded to
17027 "biełaruskaja mova".
17029 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17032 * localedata/locales/el_CY (mon): Renamed to...
17034 (mon): Import from CLDR (genitive case).
17035 * localedata/locales/el_GR: Likewise.
17037 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17040 * localedata/locales/ru_RU (mon): Rename to...
17042 (abmon): Rename to...
17043 (ab_alt_mon): This.
17044 (mon): Import from CLDR (genitive case).
17045 (abmon): Copy from the old content except the 5th month which is
17046 now in the genitive case, even when abbreviated.
17047 * localedata/locales/ru_UA: Likewise.
17048 * time/tst-strptime.c (day_tests): Add an actual example of
17049 a difference between %b and %Ob in Russian.
17051 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17053 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17054 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17056 * resolv/res-close.c: Include <stdlib.h>.
17057 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17058 <sys/wait.h>, <time.h>, <sys/uio.h>.
17059 (NOT_CANCEL_H): Add inclusion guard.
17060 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17061 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17062 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17064 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17065 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17066 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17068 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17069 timer_ptr2id to cast struct timer_node * to void *.
17070 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17071 --disable-libcilkrts to gcc configure.
17072 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17073 and make them the default for now.
17074 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17075 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17076 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17077 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17078 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17080 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17081 __task_terminate would ever return successfully.
17082 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17084 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17085 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17086 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17087 critical section to make code simpler and avoid warning.
17088 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17089 critical section to make code simpler and avoid warning.
17090 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17091 const char * instead of char *.
17092 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17093 __hurd_file_name_split, hurd_file_name_split,
17094 __hurd_directory_name_split, hurd_directory_name_split,
17095 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17096 hurd_file_name_path_lookup): Make lookup function parameter take a
17097 const char *name instead of char *name.
17098 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17099 __hurd_directory_name_split): Likewise.
17100 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17101 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17102 * sysdeps/mach/hurd/check_native.c: New file.
17103 * sysdeps/mach/hurd/check_pf.c: New file.
17104 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17105 (__freeifaddrs): Define macro to freeifaddrs.
17106 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17107 * sysdeps/mach/libmachuser.abilist: New file.
17108 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17109 (do_test_bz20181): Rename accordingly.
17110 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17111 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17113 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17114 version only if __USE_EXTERN_INLINES is defined.
17115 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17116 __hurd_sockfail): Likewise.
17117 (_hurd_fd_get): Always declare functions, and provide inline versions
17118 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17119 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17120 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17121 _hurd_port_set): Always declare functions, and provide inline versions
17122 only if __USE_EXTERN_INLINES and _LIBC are defined and
17124 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17125 _hurd_critical_section_unlock): Likewise.
17126 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17127 * __hurd_threadvar_location): Likewise.
17128 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17129 _hurd_userlink_clear): Likewise.
17130 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17131 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17132 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17133 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17134 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17135 __spin_lock_locked): Likewise.
17136 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17137 __spin_lock_locked): Likewise.
17138 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17139 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17140 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17141 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17142 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17143 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17144 _POSIX_NO_TRUNC): Define to 0.
17145 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17146 check size against PTHREAD_STACK_MIN.
17147 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17148 IS_IN(libpthread)]: Include <sigsetops.h>.
17149 * mach/Makefile (user-interfaces): Add mach/gnumach.
17150 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17151 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17152 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17153 instead of invalid -1.
17154 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17155 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17156 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17159 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17161 * hurd/fcntl-internal.h: New file.
17163 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17165 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17167 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17169 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17172 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17173 Build only shared objects.
17175 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17177 * README: Update for hppa.
17179 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17181 * sysdeps/sparc/fpu/libm-test-ulps: Update
17182 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17184 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17188 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17191 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17192 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17193 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17194 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17197 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17200 * bits/types/__cancel_jmp_buf_tag.h: New file.
17201 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17202 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17203 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17204 * nptl/Makefile (headers): Add
17205 bits/types/__cancel_jmp_buf_tag.h.
17206 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17207 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17208 * sysdeps/nptl/pthread.h: Include
17209 <bits/types/__cancel_jmp_buf_tag.h>.
17210 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17212 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17214 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17217 * localedata/locales/uk_UA (mon): Renamed to...
17219 (alt_digits): "0" removed and then renamed to...
17221 (date_fmt): Definition changed not to use the alternative
17224 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17226 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17227 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17228 * elf/elf.h (EF_RISCV_RVC): New define.
17229 (EF_RISCV_FLOAT_ABI): Likewise.
17230 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17231 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17232 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17233 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17234 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17236 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17238 2018-01-25 Andreas Schwab <schwab@suse.de>
17240 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17242 * sysdeps/gnu/configure: Regenerate.
17243 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17244 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17246 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17247 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17248 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17249 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17252 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17254 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17255 URL, and run autoconf, make it the default for now.
17257 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17259 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17260 soft-float ColdFire configuration.
17262 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17263 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17264 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17266 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17269 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17271 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17273 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17276 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17277 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17278 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17281 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17284 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17285 Rename to __reserved and add comment.
17286 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17287 Rename to __reserved.
17289 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17291 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17292 i686-gnu configurations.
17293 (Context.run_builds): Include mig, gnumach and hurd in components
17295 (Context.checkout): Add mig, gnumach and hurd to components.
17296 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17298 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17299 (Config.build): Install gnumach headers, build mig and install
17300 hurd headers for 'gnu' OS.
17301 (Config.install_gnumach_headers): New function.
17302 (Config.install_hurd_headers): Likewise.
17303 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17304 when building for 'gnu' OS.
17306 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17308 * manual/tunables.texi (Hardware Capability Tunables): Fix
17311 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17313 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17314 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17315 (ALTMON_11, ALTMON_12): Improve documentation.
17316 * manual/time.texi (strftime): Likewise.
17318 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17321 * localedata/locales/pl_PL: Alternative month names added,
17322 primary month names are genitive now.
17323 * time/tst-strptime.c (day_tests): Actually use a genitive case
17324 of a month name in Polish language.
17326 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17329 * manual/locale.texi: Document ALTMON_1..12 constants for
17330 nl_langinfo. Specify when to use ALTMON instead of MON.
17331 * manual/time.texi (strftime, strptime): Document GNU extension
17332 permitting O modifier with %B and %b. Specify when to use
17335 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17338 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17339 names, define them as the same as abbreviated month names explicitly.
17340 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17341 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17342 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17343 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17344 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17345 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17346 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17347 _NL_WABALTMON_12): New enum constants.
17348 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17349 wab_alt_mon, and ab_alt_mon_defined members.
17350 (time_output): Output ab_alt_mon and wab_alt_mon members.
17351 (time_read): Read them, initialize them as copies of abmon and wabmon
17352 respectively if they are missing, initialize ab_alt_mon_defined.
17353 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17354 * locale/programs/locfile-kw.h: Regenerate.
17355 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17356 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17358 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17359 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17360 (__strftime_internal): Handle %Ob and %Oh formats.
17361 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17362 (__strptime_internal): Handle %Ob and %Oh formats.
17363 * time/tst-strptime.c (day_tests): Add more tests to parse different
17364 forms of month names including the new %Ob format specifier.
17366 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17369 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17370 define them as the same as primary full month names explicitly.
17371 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17372 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17373 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17374 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17375 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17376 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17377 _NL_WALTMON_12): New enum constants.
17378 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17379 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17381 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17382 walt_mon, and alt_mon_defined members.
17383 (time_output): Output alt_mon and walt_mon members.
17384 (time_read): Read them, initialize them as copies of mon and wmon
17385 respectively if they are missing, initialize alt_mon_defined.
17386 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17387 * locale/programs/locfile-kw.h: Regenerate.
17388 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17389 * localedata/tst-langinfo.c (map): Add tests for the new constants
17390 ALTMON_1 .. ALTMON_12.
17391 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17393 * time/strftime_l.c (f_altmonth): New macro.
17394 (__strftime_internal): Handle %OB format.
17395 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17396 (__strptime_internal): Handle %OB format.
17397 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17398 of month names including the new %OB format specifier.
17400 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17403 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17404 from ABORT_TRANSACTION.
17405 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17406 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17407 ABORT_TRANSACTION_IMPL): Likewise.
17408 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17409 Linux code, but remove the code that aborts transactions.
17411 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17413 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17415 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17417 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17418 in date: "2004-14-09" should be "2004-09-14".
17419 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17420 "2003-15-09" should be "2003-09-15".
17422 2018-01-18 Arjun Shankar <arjun@redhat.com>
17428 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17430 (_int_memalign): check for integer overflow before calling
17432 * malloc/tst-malloc-too-large.c: New test.
17433 * malloc/Makefile: Add tst-malloc-too-large.
17435 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17437 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17438 in date: "2017-24-07" should be "2017-07-24".
17439 * localedata/locales/mai_IN: Likewise.
17440 * localedata/locales/mai_NP: Likewise.
17442 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17444 * po/ru.po: Update translations.
17446 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17449 * sysdeps/hppa/backtrace.c: New file.
17451 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17454 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17455 align La_x86_64_retval to VEC_SIZE.
17457 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17459 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17460 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17462 2018-01-16 Florian Weimer <fweimer@redhat.com>
17464 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17465 Move tst-thread-exit-clobber ...
17466 [$(CXX)] (tests-unsupported): ... to here.
17468 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17470 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17471 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17472 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17473 (_dl_aarch64_cap_flags): Update.
17474 (_DL_HWCAP_COUNT): Update.
17476 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17478 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17479 (_DL_HWCAP_LAST): Remove.
17480 (_DL_HWCAP_COUNT): Move to ...
17481 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17482 (_DL_HWCAP_COUNT): ... here.
17484 2018-01-16 Florian Weimer <fweimer@redhat.com>
17486 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17487 mode with GNU extensions.
17489 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17491 * elf/elf.h (NT_ARM_SVE): Define.
17493 2018-01-15 Florian Weimer <fweimer@redhat.com>
17496 * nptl/tst-minstack-throw.cc: New file.
17497 * nptl/Makefile (tests): Add tst-minstack-throw.
17498 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17499 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17501 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17503 * scripts/build-many-glibcs.py (Context.checkout): Default
17504 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17507 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17510 * elf/elf.h (DF_1_STUB): Define.
17511 (DF_1_PIE): Define.
17513 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17517 Do not add 0.5 to integer or out-of-range arguments.
17519 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17521 * po/bg.po: Update translations.
17522 * po/cs.po: Likewise.
17523 * po/de.po: Likewise.
17524 * po/ko.po: Likewise.
17525 * po/pl.po: Likewise.
17526 * po/sv.po: Likewise.
17527 * po/uk.po: Likewise.
17528 * po/vi.po: Likewise.
17530 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17532 * aarch64/start.S (_start): Use __wrap_main.
17533 (__wrap_main): New local symbol.
17535 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17539 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17540 generic_getcwd if the path returned by getcwd syscall is not absolute.
17541 * io/tst-getcwd-abspath.c: New test.
17542 * io/Makefile (tests): Add tst-getcwd-abspath.
17544 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17546 * malloc/malloc.c (malloc_consolidate): Add size check.
17548 2018-01-12 Florian Weimer <fweimer@redhat.com>
17550 * support/write_message.c (write_message): Preserve errno.
17551 * support/check.c (print_failure): Likewise.
17552 * support/support_test_verify_impl.c (support_test_verify_impl):
17554 * support/support_test_compare_failure.c
17555 (support_test_compare_failure): Likewise.
17557 2018-01-12 Florian Weimer <fweimer@redhat.com>
17560 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17561 Prevent installation of libnsl.so.
17562 (libnsl-inhibit-o): Do not build (or install) static libraries.
17564 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17567 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17568 before the day number which may produce a double space.
17569 (date_fmt): Likewise.
17571 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17573 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17574 instead of fegetenv.
17576 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17579 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17580 comment to say exceptions are discarded.
17581 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17583 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17586 2018-01-11 Florian Weimer <fweimer@redhat.com>
17588 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17591 2018-01-11 Florian Weimer <fweimer@redhat.com>
17594 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17595 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17597 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17601 negative arguments in test for NaN or infinity argument.
17603 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17605 * po/libc.pot: Regenerate.
17607 2018-01-10 Florian Weimer <fweimer@redhat.com>
17610 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17611 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17613 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17615 * hurd/hurd/fd.h: Include <fcntl.h>
17616 (__hurd_at_flags): New function.
17617 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17618 with call to __hurd_at_flags.
17619 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17620 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17622 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17623 (__access_noerrno): Use __faccessat_common instead of access_common.
17624 (__access): Likewise.
17625 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17626 with a call to __faccessat.
17627 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17628 (__faccessat_common): ... this. Move implementation of __access into it when
17629 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17630 reauthenticate_cwdir_at helper to implement AT mechanism.
17631 (__faccessat_noerrno): New function, just calls __faccessat_common.
17632 (__faccessat): New function, just calls __faccessat_common.
17633 (faccessat): Define weak alias.
17635 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17638 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17639 (CFLAGS-s_fmaxmagl.c): New variable.
17640 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17644 long int for arguments of possibly overflowing addition or
17646 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17648 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17651 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17652 (CFLAGS-e_remainderl.c): New variable.
17655 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17657 (CFLAGS-s_cacoshl.c): Likewise.
17658 (CFLAGS-s_casinhl.c): Likewise.
17659 (CFLAGS-s_catanl.c): Likewise.
17660 (CFLAGS-s_catanhl.c): Likewise.
17661 (CFLAGS-s_cexpl.c): Likewise.
17662 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17663 (CFLAGS-s_csinhl.c): Likewise.
17664 (CFLAGS-s_clogl.c): Likewise.
17665 (CFLAGS-s_clog10l.c): Likewise.
17666 (CFLAGS-s_csinl.c): Likewise.
17667 (CFLAGS-s_csqrtl.c): Likewise.
17669 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17670 2017-01-09 Svante Signell <svante.signell@gmail.com>
17672 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17673 (_hurd_exec_paths): New function.
17674 * hurd/hurd.h (_hurd_exec): Deprecate function.
17675 (_hurd_exec_paths): Declare function.
17676 * hurd/Versions: Export _hurd_exec_paths.
17677 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17678 (__execve): Use __getcwd to build absolute path, and use
17679 _hurd_exec_paths instead of _hurd_exec.
17680 * sysdeps/mach/hurd/spawni.c: Likewise.
17681 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17684 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17686 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17687 test instead of failing in case of ENOENT returned by posix_openpt.
17689 2018-01-08 Florian Weimer <fweimer@redhat.com>
17691 resolv: Support binary labels in test framework.
17692 * support/resolv_test.c (struct to_be_freed): Remove.
17693 (struct compressed_name): New.
17694 (allocate_compressed_name, ascii_tolower)
17695 (compare_compressed_name): New functions.
17696 (struct resolv_response_builder): Update type of
17697 compression_offsets for use with tsearch. Rempve to_be_freed.
17698 (response_push_pointer_to_free): Remove function.
17699 (resolv_response_add_name): Rewrite using struct compressed_name
17700 and tsearch instead of hsearch_r.
17701 (response_builder_allocate): Remove initialization of
17702 compression_offsets.
17703 (response_builder_free): Update for removal of to_be_freed. Use
17704 tdestroy instead of hdestroy_r.
17705 * resolv/Makefile (tests): Add tst-resolv-binary.
17706 (tst-resolv-binary): Link with -lresolv -lpthread.
17708 2018-01-08 Florian Weimer <fweimer@redhat.com>
17710 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17711 time. Pass positive flag instead of negative flag to
17712 support_test_compare_failure.
17713 (support_test_compare_failure): Change negative parameter to
17715 * support/support_test_compare_failure.c (report)
17716 (support_test_compare_failure): Likewise.
17717 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17718 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17720 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17723 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17724 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17725 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17727 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17729 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17732 Add s_sincosf-sse2 and s_sincosf-fma.
17733 (CFLAGS-s_sincosf-fma.c): New.
17734 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17735 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17736 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17737 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17738 __sincosf is defined.
17740 2018-01-08 Florian Weimer <fweimer@redhat.com>
17742 * nptl/tst-thread-exit-clobber.cc: New file.
17743 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17745 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17746 (tests): Add tst-thread-exit-clobber.
17747 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17749 2018-01-08 Florian Weimer <fweimer@redhat.com>
17751 * support/check.h (support_static_assert): Define.
17752 (TEST_COMPARE): Use it.
17754 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17756 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17757 [!__RLIM_T_MATCHES_RLIM64_T]
17758 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17759 __getrlimit64. Add libc_hidden_weak.
17761 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17763 * elf/elf.h (R_RISCV_NONE): New define.
17764 (R_RISCV_32): Likewise.
17765 (R_RISCV_64): Likewise.
17766 (R_RISCV_RELATIVE): Likewise.
17767 (R_RISCV_COPY): Likewise.
17768 (R_RISCV_JUMP_SLOT): Likewise.
17769 (R_RISCV_TLS_DTPMOD32): Likewise.
17770 (R_RISCV_TLS_DTPMOD64): Likewise.
17771 (R_RISCV_TLS_DTPREL32): Likewise.
17772 (R_RISCV_TLS_DTPREL64): Likewise.
17773 (R_RISCV_TLS_TPREL32): Likewise.
17774 (R_RISCV_TLS_TPREL64): Likewise.
17775 * Makerules (make-link-multidir): Make directories before linking into
17777 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17779 (VDSO_HASH_LINUX_4_15): Likewise.
17780 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17781 in subdirectories of lib.
17782 * nptl/Makefile (/librt.so): Always depend on
17783 "$(shared-thread-library)".
17785 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17787 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17788 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17789 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17792 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17794 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17795 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17796 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17797 * sysdeps/gnu/glob-lstat-compat.c: New file.
17798 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17799 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17801 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17803 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17804 Reserve 16 chars to reloc_addr before calling _itoa_word.
17806 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17809 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17810 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17812 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17813 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17815 * resource/tst-getrlimit.c: Add copyright header.
17817 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17818 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17820 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17821 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17822 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17823 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17825 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17826 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17827 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17828 RLIM64_INFINITY): Fix values to match the kernel ones.
17829 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17830 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17831 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17832 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17833 getrlimit64@@GLIBC_2_27.
17834 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17836 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17837 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17838 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17839 setrlimit, getrlimit64 and setrlimit64.
17841 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17844 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17845 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17847 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17849 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17850 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17851 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17853 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17857 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17858 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17862 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17863 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17864 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17865 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17867 2018-01-04 Florian Weimer <fweimer@redhat.com>
17870 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17871 Align the stack before calling exit.
17872 * stdlib/tst-makecontext-align.c: New file.
17873 * stdlib/Makefile (tests): Add tst-makecontext-align.
17875 2018-01-04 Florian Weimer <fweimer@redhat.com>
17877 Add support for calling dlvsym from libc.so.
17878 * include/dlfcn.h (__libc_dlvsym): Declare.
17879 * elf/Makefile (tests-static-internal): Add
17880 tst-libc_dlvsym-static.
17881 (tests-internal): Add tst-libc_dlvsym.
17882 (modules-names): Add tst-libc_dlvsym-dso.
17883 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17884 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17885 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17886 object tst-libc_dlvsym-dso.so needs to be built before running
17888 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17889 * elf/Versions: Export __libc_dlvsym.
17890 * elf/dl-libc.c (struct do_dlvsym_args): New.
17891 (do_dlvsym, __libc_dlvsym): New functions.
17892 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17893 (_dl_open_hook2): New variable.
17894 (__libc_register_dl_open_hook): Set it.
17895 * elf/tst-libc_dlvsym-dso.c: New file.
17896 * elf/tst-libc_dlvsym-static.c: Likewise.
17897 * elf/tst-libc_dlvsym.c: Likewise.
17898 * elf/tst-libc_dlvsym.h: Likewise.
17900 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17902 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17903 include <sys/mount.h>.
17905 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17907 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17908 Add __NO_MATH_ERRNO__ check.
17910 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17912 * sysdeps/mips/mips32/libm-test-ulps: Update.
17913 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17915 2018-01-02 Florian Weimer <fweimer@redhat.com>
17917 * misc/tst-pselect.c: Add copyright header.
17919 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17921 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17923 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17925 (settrlimit): Rename into setrlimit.
17926 (__sttrlimit): Rename into __setrlimit.
17928 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17929 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17930 never defined in that case.
17932 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17934 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17936 * sysdeps/arm/libm-test-ulps: Update.
17938 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17939 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17941 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17943 * NEWS: Add cosf and sincosf to list of optimized functions.
17945 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17948 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17949 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17950 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17951 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17953 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17956 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17958 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17959 making a copy of it.
17961 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17963 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17964 trailing whitespace removed.
17965 * scripts/config.guess: Update to version 2018-01-01.
17966 * scripts/config.sub: Update to version 2018-01-01.
17967 * scripts/move-if-change: Update from gnulib.
17969 * NEWS: Update copyright dates.
17970 * catgets/gencat.c (print_version): Likewise.
17971 * csu/version.c (banner): Likewise.
17972 * debug/catchsegv.sh: Likewise.
17973 * debug/pcprofiledump.c (print_version): Likewise.
17974 * debug/xtrace.sh (do_version): Likewise.
17975 * elf/ldconfig.c (print_version): Likewise.
17976 * elf/ldd.bash.in: Likewise.
17977 * elf/pldd.c (print_version): Likewise.
17978 * elf/sotruss.sh: Likewise.
17979 * elf/sprof.c (print_version): Likewise.
17980 * iconv/iconv_prog.c (print_version): Likewise.
17981 * iconv/iconvconfig.c (print_version): Likewise.
17982 * locale/programs/locale.c (print_version): Likewise.
17983 * locale/programs/localedef.c (print_version): Likewise.
17984 * login/programs/pt_chown.c (print_version): Likewise.
17985 * malloc/memusage.sh (do_version): Likewise.
17986 * malloc/memusagestat.c (print_version): Likewise.
17987 * malloc/mtrace.pl: Likewise.
17988 * manual/libc.texinfo: Likewise.
17989 * nptl/version.c (banner): Likewise.
17990 * nscd/nscd.c (print_version): Likewise.
17991 * nss/getent.c (print_version): Likewise.
17992 * nss/makedb.c (print_version): Likewise.
17993 * posix/getconf.c (main): Likewise.
17994 * scripts/test-installation.pl: Likewise.
17995 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17997 * All files with FSF copyright notices: Update copyright dates
17998 using scripts/update-copyrights.
17999 * locale/programs/charmap-kw.h: Regenerated.
18000 * locale/programs/locfile-kw.h: Likewise.
18002 2017-12-31 Zack Weinberg <zackw@panix.com>
18004 * libio/bits/libio-ldbl.h: Correct check for improper
18005 inclusion. Add own multiple include guard.
18007 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18008 Dmitry V. Levin <ldv@altlinux.org>
18012 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18013 string token expansion. Check for NULL pointer or empty string possibly
18014 returned by expand_dynamic_string_token.
18015 (decompose_rpath): Check for empty path after dynamic string
18018 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18021 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18023 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18024 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18025 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18026 and PTRACE_SYSCALL.
18027 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18032 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18035 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18036 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18037 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18039 bits/ptrace-shared.h.
18040 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18041 <bits/ptrace-shared.h>.
18042 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18043 __ptrace_peeksiginfo_flags, ptrace): Remove.
18044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18046 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18048 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18050 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18053 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18054 end of the loop. Improve comments.
18056 2017-12-29 Zack Weinberg <zackw@panix.com>
18059 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18060 might be set on success.
18062 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18065 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18066 is unchanged on success.
18068 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18070 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18072 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18073 expand_dynamic_string_token): Likewise.
18074 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18077 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18080 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18081 is set and name contains ':', and all code depending on these checks.
18083 2017-12-24 Zack Weinberg <zackw@panix.com>
18085 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18086 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18088 * libio/libio.h: Rename the original version of this file to
18089 libio/bits/libio.h. Error out if not included by stdio.h or the
18091 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18092 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18093 if not included by bits/libio.h or the stub _G_config.h.
18094 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18095 sysdeps/unix/sysv/linux/bits. Error out if not included by
18096 bits/libio.h or the stub _G_config.h.
18097 * libio/stdio.h: Include bits/libio.h, not libio.h.
18098 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18099 well as libio.h and _G_config.h.
18101 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18102 * libio/strfile.h, stdio-common/vfscanf.c
18103 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18104 Include stdio.h, not _G_config.h nor libio.h.
18105 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18106 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18108 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18110 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18113 * stdlib/getrandom.c (getrandom): Fix comment.
18114 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18116 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18119 * manual/arith.texi (strtoul): Fix a typo.
18122 * manual/arith.texi (finite): Fix the description of the return
18125 2017-12-22 Eric Blake <ebb9@byu.net>
18127 Avoid gcc warnings on cygwin
18128 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18129 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18130 Avoid unused variable.
18132 2017-12-22 Florian Weimer <fweimer@redhat.com>
18134 * io/Makefile (routines): Add copy_file_range.
18135 (tests): Add tst-copy_file_range.
18136 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18137 * io/Versions (GLIBC_2.27): Export copy_file_range.
18138 * io/copy_file_range-compat.c: New file.
18139 * io/copy_file_range.c: Likewise.
18140 * io/tst-copy_file_range-compat.c: Likewise.
18141 * io/tst-copy_file_range.c: Likewise.
18142 * manual/llio.texi (Copying File Data): New section.
18143 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18144 * support/Makefile (libsupport-routines): Add support-xfstat,
18145 xftruncate, xlseek.
18146 * support/support-xfstat.c: New file.
18147 * support/xftruncate.c: Likewise.
18148 * support/xlseek.c: Likewise.
18149 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18150 * sysdeps/unix/sysv/linux/**.abilist: Update.
18151 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18153 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18155 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18156 disable-multi-arch variant to aarch64-linux-gnu.
18158 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18160 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18161 trailing whitespace removed.
18162 * scripts/config.guess: Update to version 2017-12-17.
18163 * scripts/config.sub: Update to version 2017-11-23.
18164 * scripts/install-sh: Update to version 2017-09-23.17.
18165 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18167 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18169 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18170 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18171 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18172 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18173 * sysdeps/tile/crtn.S: Likewise.
18174 * sysdeps/tile/dl-start.S (_start): Likewise.
18175 * sysdeps/tile/dl-trampoline.S: Likewise.
18176 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18177 * sysdeps/tile/start.S (_start): Likewise.
18178 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18179 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18180 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18181 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18182 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18183 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18184 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18186 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18188 * sysdeps/tile/preconfigure: Remove tilegx folder.
18189 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18190 * sysdeps/tile/Implies: ... here.
18191 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18192 * sysdeps/tile/Makefile: ... here.
18193 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18194 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18195 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18196 * sysdeps/tile/bits/wordsize.h: ... here.
18197 * sysdeps/tile/tilegx/*: Move to ...
18198 * sysdeps/tile/*: ... here.
18199 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18200 * sysdeps/tile/tilegx32/Implies: ... here.
18201 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18202 * sysdeps/tile/tilegx64/Implies: ... here.
18203 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18205 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18206 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18207 * sysdeps/unix/sysv/linux/tile/*: ... here.
18208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18209 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18211 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18213 * README: Remove tilepro-*-linux-gnu from supported architecture.
18214 * scripts/build-many-glibcs.py: Likewise.
18215 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18216 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18217 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18218 elf_machine_matches_host, elf_machine_dynamic,
18219 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18220 howto, elf_machine_rela): Likewise.
18221 * sysdeps/tile/dl-start.S (_start): Likewise.
18222 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18223 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18224 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18225 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18226 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18227 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18229 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18230 * sysdeps/tile/preconfigure: Likewise.
18231 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18232 POINTER_CHK_GUARD): Likewise.
18233 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18234 * sysdeps/tile/start.S (_start): Likewise.
18235 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18237 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18238 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18240 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18241 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18242 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18244 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18245 * sysdeps/tile/tilepro/Implies: Remove file.
18246 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18247 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18248 * sysdeps/tile/tilepro/memchr.c: Likewise.
18249 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18250 * sysdeps/tile/tilepro/memset.c: Likewise.
18251 * sysdeps/tile/tilepro/memusage.h: Likewise.
18252 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18253 * sysdeps/tile/tilepro/strchr.c: Likewise.
18254 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18255 * sysdeps/tile/tilepro/strlen.c: Likewise.
18256 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18257 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18258 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18259 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18260 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18262 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18264 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18276 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18277 tilepro mention in comment.
18279 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18280 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18281 * nptl/pthread_join_common.c: New file: common function used on
18282 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18283 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18284 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18285 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18286 (cleanup): Move definition to pthread_join_common.c.
18287 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18288 Remove superflous checks.
18289 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18292 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18294 * sysdeps/aarch64/libm-test-ulps: Update.
18296 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18298 * sysdeps/aarch64/memset.S (MEMSET): Define.
18300 2017-12-20 Florian Weimer <fweimer@redhat.com>
18303 nptl: Provide full implementation of pthread_self in libc.so.
18304 * nptl/Makefile (routines): Add pthread_self.
18305 (libpthread-routines): Replace pthread_self with
18306 compat-pthread_self.
18307 * nptl/forward.c (pthread_self): Remove.
18308 * nptl/nptl-init.c (pthread_functions): Do not initialize
18310 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18311 * nptl/compat-pthread_self.c: New file.
18312 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18313 Remove ptr_pthread_self.
18315 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18317 * posix/regcomp.c: Fix spelling in comments.
18318 * posix/regex.h: Likewise.
18319 * posix/regex_internal.c: Likewise.
18320 * posix/regexec.c: Likewise.
18322 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18325 * math/Makefile [C++] (tests): Add test for iseqsig.
18326 * math/math.h [C++] (iseqsig): New implementation, which does
18327 not rely on __MATH_TG/__builtin_types_compatible_p.
18328 * math/test-math-iseqsig.cc: New file.
18329 * sysdeps/powerpc/powerpc64le/Makefile
18330 (CFLAGS-test-math-iseqsig.cc): New variable.
18332 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18334 * elf/dl-load.c (is_trusted_path): Remove.
18335 (fillin_rpath): Remove check_trusted argument and its use,
18336 all callers changed.
18338 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18341 * Makeconfig (link-pie-before-libc): Replace -pie with
18342 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18343 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18344 (tst-dlopen-aout-no-pie): New.
18345 (LDFLAGS-tst-prelink): Removed.
18346 (tst-prelink-no-pie): New.
18347 (LDFLAGS-tst-main1): Removed.
18348 (tst-main1-no-pie): New.
18349 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18350 (tst-gmon-no-pie): New.
18352 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18354 * manual/install.texi: Document that --enable-static-pie
18356 * INSTALL: Regenerated.
18358 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18361 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18364 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18368 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18372 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18374 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18375 <errno.h>. Include "eexp.tbl".
18376 (half): New constant.
18378 (__ieee754_exp): Rewrite.
18379 (__slowexp): Remove prototype.
18380 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18381 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18382 * sysdeps/i386/fpu/slowexp.c: Likewise.
18383 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18384 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18385 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18386 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18388 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18389 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18391 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18392 (CPPFLAGS-slowexp.c): Remove variable.
18393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18394 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18395 (CFLAGS-slowexp-fma.c): Remove variable.
18396 (CFLAGS-slowexp-fma4.c): Likewise.
18397 (CFLAGS-slowexp-avx.c): Likewise.
18398 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18400 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18402 * math/Makefile (type-double-routines): Remove slowexp.
18403 * manual/probes.texi (slowexp_p6): Remove.
18404 (slowexp_p32): Likewise.
18406 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18408 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18411 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18413 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18417 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18419 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18420 <errno.h>. Include "eexp.tbl".
18421 (half): New constant.
18423 (__ieee754_exp): Rewrite.
18424 (__slowexp): Remove prototype.
18425 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18426 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18427 * sysdeps/i386/fpu/slowexp.c: Likewise.
18428 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18429 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18430 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18432 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18433 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18434 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18436 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18437 (CPPFLAGS-slowexp.c): Remove variable.
18438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18439 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18440 (CFLAGS-slowexp-fma.c): Remove variable.
18441 (CFLAGS-slowexp-fma4.c): Likewise.
18442 (CFLAGS-slowexp-avx.c): Likewise.
18443 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18445 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18446 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18447 * math/Makefile (type-double-routines): Remove slowexp.
18448 * manual/probes.texi (slowexp_p6): Remove.
18449 (slowexp_p32): Likewise.
18451 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18452 James Clarke <jrtc27@jrtc27.com>
18455 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18458 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18461 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18464 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18467 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18468 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18469 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18470 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18473 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18476 * bits/types/__cancel_jmp_buf_tag.h: New file.
18477 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18478 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18479 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18480 * nptl/Makefile (headers): Add
18481 bits/types/__cancel_jmp_buf_tag.h.
18482 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18483 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18484 * sysdeps/nptl/pthread.h: Include
18485 <bits/types/__cancel_jmp_buf_tag.h>.
18486 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18488 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18490 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18492 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18493 --enable-static-pie variants to x86_64, x32 and i686.
18495 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18498 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18499 argument for attrubutes. All callers changed.
18500 (__inline_mathop1): Likewise. All callers changed.
18501 (__inline_mathop): Likewise. All callers changed.
18502 [__USE_MISC] (scalbn): Use __inline_forward instead of
18503 __inline_forward_c.
18504 [__USE_ISOC99] (scalbln): Likewise.
18505 [__USE_ISOC99] (nearbyint): Likewise.
18506 [__USE_ISOC99] (lrint): Likewise.
18507 [__USE_MISC] (scalbnf): Likewise.
18508 [__USE_ISOC99] (scalblnf): Likewise.
18509 [__USE_ISOC99] (nearbyintf): Likewise.
18510 [__USE_ISOC99] (lrintf): Likewise.
18511 [__USE_MISC] (scalbnl): Likewise.
18512 [__USE_ISOC99] (scalblnl): Likewise.
18513 [__USE_ISOC99] (nearbyintl): Likewise.
18514 [__USE_ISOC99] (lrintl): Likewise.
18515 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18516 __inline_mathop and __m81_defun changed.
18518 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18519 CPU or FPU for ARM hard-float configurations.
18521 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18523 * nptl/tst-attr3.c: Include <libc-diag.h>.
18524 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18526 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18528 * string/tester.c (test_strncat): Also disable -Warray-bounds
18529 warnings for two tests.
18531 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18534 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18535 $(cc-pie-default) == yes.
18536 * config.make.in (cc-pie-default): New.
18537 * configure.ac (libc_cv_pie_default): Renamed to ...
18538 (libc_cv_cc_pie_default): This.
18539 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18540 * configure: Regenerated.
18542 2017-12-18 Florian Weimer <fweimer@redhat.com>
18545 ld.so: Harden dl-libc/libdl hooks.
18546 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18547 (rtld_active): New function.
18548 * dlfcn/dladdr.c (__dladdr): Call it.
18549 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18550 * dlfcn/dlclose.c (__dlcose): Likewise.
18551 * dlfcn/dlerror.c (__dlerror): Likewise.
18552 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18553 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18554 * dlfcn/dlopen.c (__dlopen): Likewise.
18555 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18556 * dlfcn/dlsym.c (__dlsym): Likewise.
18557 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18558 * libio/vtables.c (_IO_vtable_check): Likewise.
18559 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18560 (__libc_dlclose): Likewise.
18561 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18564 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18567 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18568 buffers for readlink input and output.
18570 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18573 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18574 inhibit_stack_protector.
18577 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18578 inhibit_stack_protector.
18580 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18583 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18584 code and invocation.
18586 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18588 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18590 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18593 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18595 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18597 * sysdeps/s390/fpu/libm-test-ulps: Update.
18599 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18603 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18605 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18606 constants to s_sincosf.h file.
18607 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18608 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18610 * sysdeps/ieee754/flt-32/s_sincosf.h:
18613 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18616 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18619 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18622 * INSTALL: Regenerated.
18623 * Makeconfig (real-static-start-installed-name): New.
18624 (pic-default): Updated for --enable-static-pie.
18625 (pie-default): New for --enable-static-pie.
18626 (default-pie-ldflag): Likewise.
18627 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18628 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18629 Replace $(static-start-installed-name) with
18630 $(real-static-start-installed-name).
18631 (+prectorT): Updated for --enable-static-pie.
18632 (+postctorT): Likewise.
18633 (CFLAGS-.o): Add $(pie-default).
18634 (CFLAGS-.op): Likewise.
18635 * NEWS: Mention --enable-static-pie.
18636 * config.h.in (ENABLE_STATIC_PIE): New.
18637 * configure.ac (--enable-static-pie): New configure option.
18638 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18639 (have-static-pie): Likewise.
18640 Enable static PIE if linker supports --no-dynamic-linker.
18641 (ENABLE_STATIC_PIE): New AC_DEFINE.
18642 (enable-static-pie): New LIBC_CONFIG_VAR.
18643 * configure: Regenerated.
18644 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18645 gr$(start-installed-name) for --enable-static-pie.
18646 (extra-objs): Likewise.
18647 (install-lib): Likewise.
18648 (extra-objs): Add static-reloc.o and static-reloc.os
18649 ($(objpfx)$(start-installed-name)): Also depend on
18650 $(objpfx)static-reloc.o.
18651 ($(objpfx)r$(start-installed-name)): New.
18652 ($(objpfx)g$(start-installed-name)): Also depend on
18653 $(objpfx)static-reloc.os.
18654 ($(objpfx)gr$(start-installed-name)): New.
18655 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18657 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18659 * csu/static-reloc.c: New file.
18660 * elf/Makefile (routines): Add dl-reloc-static-pie.
18661 (elide-routines.os): Likewise.
18662 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18663 (tst-tls1-static-non-pie-no-pie): New.
18664 * elf/dl-reloc-static-pie.c: New file.
18665 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18666 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18667 STATIC_PIE_BOOTSTRAP.
18668 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18669 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18670 (tests-static): Likewise.
18671 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18672 (tst-gmon-static-no-pie): New.
18673 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18674 (CRT-tst-gmon-static-pie): Likewise.
18675 (tst-gmon-static-pie-ENV): Likewise.
18676 (tests-special): Likewise.
18677 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18678 (clean-tst-gmon-static-pie-data): Likewise.
18679 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18680 * gmon/tst-gmon-static-pie.c: New file.
18681 * manual/install.texi: Document --enable-static-pie.
18682 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18683 (_dl_get_dl_main_map): Likewise.
18684 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18685 * sysdeps/x86_64/configure.ac: Likewise.
18686 * sysdeps/i386/configure: Regenerated.
18687 * sysdeps/x86_64/configure: Likewise.
18688 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18689 (ASFLAGS-.op): Likewise.
18691 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18693 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18694 * posix/tst-mmap-offset.c (fname): Use /tmp.
18695 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18697 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18699 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18701 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18703 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18706 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18708 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18709 --with-float=hard for arm-linux-gnueabihf configurations.
18712 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18713 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18714 ($(mo-installed)): Use $(objpfx)%.mo.
18715 (realclean): Remove rule.
18717 * po/Makefile (linguas): Remove rule and dependencies.
18718 (linguas.mo): Likewise.
18719 (.PHONY): Do not depend on linguas and linguas.mo.
18720 (podir): Remove variable.
18721 (pofiles): Likewise.
18722 [$(pofiles)] (%.po): Remove rule.
18724 * sysdeps/sparc/sparc32/Makefile
18725 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18726 start-of-line whitespace in argument of echo.
18727 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18728 with whitespace. Generate __wrap_.udiv alias.
18729 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18730 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18731 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18732 * sysdeps/sparc/sparc32/urem.S: Likewise.
18734 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18736 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18737 for aligned inputs.
18739 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18741 * benchtests/bench-strcmp.c: Print output in JSON format.
18743 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18745 2017-12-14 Florian Weimer <fweimer@redhat.com>
18749 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18750 the expanded path string.
18752 2017-12-14 Florian Weimer <fweimer@redhat.com>
18756 * elf/dl-load.c (system_dirs): Update comment.
18757 (nsystem_dirs_len): Use array_length.
18758 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18760 2017-12-14 Florian Weimer <fweimer@redhat.com>
18762 Simplify compiling most of support/ outside of glibc.
18763 * support/check_addrinfo.c: Include <string.h>.
18764 * support/check_dns_packet.c: Likewise.
18765 * support/check_hostent.c: Likewise.
18766 * support/support_can_chroot.c: Include <support/xunistd.h>.
18767 * support/support_format_addrinfo.c: Include <stdlib.h>
18768 * support/support_format_dns_packet.c: Include <stdbool.h>.
18769 * support/support_format_hostent.c: Include <stdlib.h>.
18770 * support/support_format_netent.c: Likewise.
18771 * support/support_write_string.c: Include <support/xunistd.h>.
18772 * support/xdlfcn.c: Include <stddef.h>.
18774 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18776 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18778 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18779 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18782 (sysdeps_routines): Add memset-niagara7.
18783 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18787 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18788 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18789 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18790 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18791 Add niagara7 option.
18792 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18795 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18796 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18797 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18799 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18801 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18802 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18803 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18804 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18805 and __memmove_niagara7.
18806 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18807 Add niagara7 option.
18808 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18809 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18810 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18811 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18812 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18814 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18816 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18817 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18818 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18819 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18821 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18822 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18823 _dl_sparc_cap_flags array.
18824 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18826 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18828 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18829 time whenever possible.
18831 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18833 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18834 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18836 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18838 * soft-fp/fmadf4.c: Move to ....
18839 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18840 * soft-fp/fmasf4.c: Move to ....
18841 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18842 * soft-fp/fmatf4.c: Move to ....
18843 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18844 * sysdeps/ieee754/soft-fp/Makefile: New file.
18845 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18846 * sysdeps/arm/preconfigure: Regenerated.
18847 * sysdeps/arm/nofpu/Implies: New file.
18848 * sysdeps/arm/s_fma.c: Remove file.
18849 * sysdeps/arm/s_fmaf.c: Likewise.
18850 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18851 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18852 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18853 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18854 * sysdeps/microblaze/s_fma.c: Remove file.
18855 * sysdeps/microblaze/s_fmaf.c: Likewise.
18856 * sysdeps/mips/mips32/nofpu/Implies: New file.
18857 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18858 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18859 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18860 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18861 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18862 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18863 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18865 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18866 * sysdeps/nios2/s_fma.c: Remove file.
18867 * sysdeps/nios2/s_fmaf.c: Likewise.
18868 * sysdeps/sh/nofpu/Implies: New file.
18869 * sysdeps/sh/s_fma.c: Remove file.
18870 * sysdeps/sh/s_fmaf.c: Likewise.
18871 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18872 * sysdeps/tile/s_fma.c: Remove file.
18873 * sysdeps/tile/s_fmaf.c: Likewise.
18875 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18878 Add s_cosf-sse2 and s_cosf-fma.
18879 (CFLAGS-s_cosf-fma.c): New.
18880 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18881 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18882 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18884 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18886 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18888 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18890 * libio/Makefile (tests): Add tst-bz22415.
18891 (tst-bz22415-ENV): New rule.
18892 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18893 (tests-special): Add tst-bz22415-mem.out.
18894 ($(objpfx)tst-bz22415-mem.out): New rule.
18895 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18896 in case of a successful seek operation.
18897 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18898 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18899 buffer is required.
18900 * libio/tst-bz22415.c: New test.
18902 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18904 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18906 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18907 __IPC_64 to 0 to avoid IPC_64 being set.
18909 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18912 * math/bits/mathcalls.h (nextafter): Remove const.
18913 (nexttoward): Likewise.
18915 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18917 * configure.ac (--with-fp): Remove configure option.
18918 (with_fp_cond): New variable.
18919 (libc_cv_with_fp): New configure test. Use this variable instead
18921 * configure: Regenerated.
18922 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18923 * manual/install.texi (Configuring and compiling): Remove
18925 * INSTALL: Regenerated.
18926 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18927 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18928 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18929 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18930 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18931 use --without-fp to configure glibc.
18933 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18935 * manual/locale.texi (nl_langinfo): Fix a typo.
18937 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18940 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18942 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18944 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18945 (CFLAGS-argp-parse.c): Likewise.
18946 (CFLAGS-argp-fmtstream.c): Likewise.
18947 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18948 (CPPFLAGS-sha512-crypt.c): Likewise.
18949 (CPPFLAGS-md5-crypt.c): Likewise.
18950 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18951 (CFLAGS-stack_chk_fail_local.c): Likewise.
18952 (CFLAGS-backtrace.c): Likewise.
18953 (CFLAGS-sprintf_chk.c): Likewise.
18954 (CFLAGS-snprintf_chk.c): Likewise.
18955 (CFLAGS-vsprintf_chk.c): Likewise.
18956 (CFLAGS-vsnprintf_chk.c): Likewise.
18957 (CFLAGS-asprintf_chk.c): Likewise.
18958 (CFLAGS-vasprintf_chk.c): Likewise.
18959 (CFLAGS-obprintf_chk.c): Likewise.
18960 (CFLAGS-dprintf_chk.c): Likewise.
18961 (CFLAGS-vdprintf_chk.c): Likewise.
18962 (CFLAGS-printf_chk.c): Likewise.
18963 (CFLAGS-fprintf_chk.c): Likewise.
18964 (CFLAGS-vprintf_chk.c): Likewise.
18965 (CFLAGS-vfprintf_chk.c): Likewise.
18966 (CFLAGS-gets_chk.c): Likewise.
18967 (CFLAGS-fgets_chk.c): Likewise.
18968 (CFLAGS-fgets_u_chk.c): Likewise.
18969 (CFLAGS-fread_chk.c): Likewise.
18970 (CFLAGS-fread_u_chk.c): Likewise.
18971 (CFLAGS-swprintf_chk.c): Likewise.
18972 (CFLAGS-vswprintf_chk.c): Likewise.
18973 (CFLAGS-wprintf_chk.c): Likewise.
18974 (CFLAGS-fwprintf_chk.c): Likewise.
18975 (CFLAGS-vwprintf_chk.c): Likewise.
18976 (CFLAGS-vfwprintf_chk.c): Likewise.
18977 (CFLAGS-fgetws_chk.c): Likewise.
18978 (CFLAGS-fgetws_u_chk.c): Likewise.
18979 (CFLAGS-read_chk.c): Likewise.
18980 (CFLAGS-pread_chk.c): Likewise.
18981 (CFLAGS-pread64_chk.c): Likewise.
18982 (CFLAGS-recv_chk.c): Likewise.
18983 (CFLAGS-recvfrom_chk.c): Likewise.
18984 (CFLAGS-tst-longjmp_chk.c): Likewise.
18985 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18986 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18987 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18988 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18989 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18990 (CFLAGS-tst-chk1.c): Likewise.
18991 (CFLAGS-tst-chk2.c): Likewise.
18992 (CFLAGS-tst-chk3.c): Likewise.
18993 (CFLAGS-tst-chk4.cc): Likewise.
18994 (CFLAGS-tst-chk5.cc): Likewise.
18995 (CFLAGS-tst-chk6.cc): Likewise.
18996 (CFLAGS-tst-lfschk1.c): Likewise.
18997 (CFLAGS-tst-lfschk2.c): Likewise.
18998 (CFLAGS-tst-lfschk3.c): Likewise.
18999 (CFLAGS-tst-lfschk4.cc): Likewise.
19000 (CFLAGS-tst-lfschk5.cc): Likewise.
19001 (CFLAGS-tst-lfschk6.cc): Likewise.
19002 (CFLAGS-tst-ssp-1.c): Likewise.
19003 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19004 (CFLAGS-scandir64.c): Likewise.
19005 (CFLAGS-scandir-tail.c): Likewise.
19006 (CFLAGS-scandir64-tail.c): Likewise.
19007 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19008 (CFLAGS-dl-tunables.c): Likewise.
19009 (CFLAGS-dl-runtime.c): Likewise.
19010 (CFLAGS-dl-lookup.c): Likewise.
19011 (CFLAGS-dl-iterate-phdr.c): Likewise.
19012 (CFLAGS-vismain.c): Likewise.
19013 (CFLAGS-tst-linkall-static.c): Likewise.
19014 (CFLAGS-tst-linkall-static.c): Likewise.
19015 (CPPFLAGS-dl-load.c): Likewise.
19016 (CFLAGS-ldconfig.c): Likewise.
19017 (CFLAGS-dl-cache.c): Likewise.
19018 (CFLAGS-cache.c): Likewise.
19019 (CFLAGS-rtld.c): Likewise.
19020 (CFLAGS-multiload.c): Likewise.
19021 (CFLAGS-filtmod1.c): Likewise.
19022 (CFLAGS-tst-align.c): Likewise.
19023 (CFLAGS-tst-align2.c): Likewise.
19024 (CFLAGS-tst-alignmod.c): Likewise.
19025 (CFLAGS-tst-alignmod2.c): Likewise.
19026 (CPPFLAGS-tst-execstack.c): Likewise.
19027 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19028 (CFLAGS-tst-latepthreadmod.c): Likewise.
19029 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19030 (CFLAGS-getgrnam_r.c): Likewise.
19031 (CFLAGS-getgrent_r.c): Likewise.
19032 (CFLAGS-getgrent.c): Likewise.
19033 (CFLAGS-fgetgrent.c): Likewise.
19034 (CFLAGS-fgetgrent_r.c): Likewise.
19035 (CFLAGS-putgrent.c): Likewise.
19036 (CFLAGS-initgroups.c): Likewise.
19037 (CFLAGS-getgrgid.c): Likewise.
19038 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19039 (CFLAGS-getsgent.c): Likewise.
19040 (CFLAGS-fgetsgent.c): Likewise.
19041 (CFLAGS-fgetsgent_r.c): Likewise.
19042 (CFLAGS-putsgent.c): Likewise.
19043 (CFLAGS-getsgnam.c): Likewise.
19044 (CFLAGS-getsgnam_r.c): Likewise.
19045 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19046 (CFLAGS-iconv_charmap.c): Likewise.
19047 (CFLAGS-dummy-repertoire.c): Likewise.
19048 (CFLAGS-charmap.c): Likewise.
19049 (CFLAGS-linereader.c): Likewise.
19050 (CFLAGS-simple-hash.c): Likewise.
19051 (CFLAGS-gconv_conf.c): Likewise.
19052 (CFLAGS-iconvconfig.c): Likewise.
19053 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19054 (CFLAGS-gethstbyad.c): Likewise.
19055 (CFLAGS-gethstbynm_r.c): Likewise.
19056 (CFLAGS-gethstbynm.c): Likewise.
19057 (CFLAGS-gethstbynm2_r.c): Likewise.
19058 (CFLAGS-gethstbynm2.c): Likewise.
19059 (CFLAGS-gethstent_r.c): Likewise.
19060 (CFLAGS-gethstent.c): Likewise.
19061 (CFLAGS-rcmd.c): Likewise.
19062 (CFLAGS-getnetbynm_r.c): Likewise.
19063 (CFLAGS-getnetbynm.c): Likewise.
19064 (CFLAGS-getnetbyad_r.c): Likewise.
19065 (CFLAGS-getnetbyad.c): Likewise.
19066 (CFLAGS-getnetent_r.c): Likewise.
19067 (CFLAGS-getnetent.c): Likewise.
19068 (CFLAGS-getaliasent_r.c): Likewise.
19069 (CFLAGS-getaliasent.c): Likewise.
19070 (CFLAGS-getrpcent_r.c): Likewise.
19071 (CFLAGS-getrpcent.c): Likewise.
19072 (CFLAGS-getservent_r.c): Likewise.
19073 (CFLAGS-getservent.c): Likewise.
19074 (CFLAGS-getprtent_r.c): Likewise.
19075 (CFLAGS-getprtent.c): Likewise.
19076 (CFLAGS-either_ntoh.c): Likewise.
19077 (CFLAGS-either_hton.c): Likewise.
19078 (CFLAGS-getnetgrent.c): Likewise.
19079 (CFLAGS-getnetgrent_r.c): Likewise.
19080 (CFLAGS-tst-checks-posix.c): Likewise.
19081 (CFLAGS-tst-sockaddr.c): Likewise.
19082 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19083 (CFLAGS-tst-translit.c): Likewise.
19084 (CFLAGS-tst-gettext2.c): Likewise.
19085 (CFLAGS-tst-codeset.c): Likewise.
19086 (CFLAGS-tst-gettext3.c): Likewise.
19087 (CFLAGS-tst-gettext4.c): Likewise.
19088 (CFLAGS-tst-gettext5.c): Likewise.
19089 (CFLAGS-tst-gettext6.c): Likewise.
19090 * io/Makefile (CFLAGS-open.c): Likewise.
19091 (CFLAGS-open64.c): Likewise.
19092 (CFLAGS-creat.c): Likewise.
19093 (CFLAGS-creat64.c): Likewise.
19094 (CFLAGS-fcntl.c): Likewise.
19095 (CFLAGS-poll.c): Likewise.
19096 (CFLAGS-ppoll.c): Likewise.
19097 (CFLAGS-lockf.c): Likewise.
19098 (CFLAGS-statfs.c): Likewise.
19099 (CFLAGS-fstatfs.c): Likewise.
19100 (CFLAGS-statvfs.c): Likewise.
19101 (CFLAGS-fstatvfs.c): Likewise.
19102 (CFLAGS-fts.c): Likewise.
19103 (CFLAGS-fts64.c): Likewise.
19104 (CFLAGS-ftw.c): Likewise.
19105 (CFLAGS-ftw64.c): Likewise.
19106 (CFLAGS-lockf.c): Likewise.
19107 (CFLAGS-posix_fallocate.c): Likewise.
19108 (CFLAGS-posix_fallocate64.c): Likewise.
19109 (CFLAGS-fallocate.c): Likewise.
19110 (CFLAGS-fallocate64.c): Likewise.
19111 (CFLAGS-read.c): Likewise.
19112 (CFLAGS-write.c): Likewise.
19113 (CFLAGS-test-stat.c): Likewise.
19114 (CFLAGS-test-lfs.c): Likewise.
19115 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19116 (CFLAGS-fputc.c): Likewise.
19117 (CFLAGS-fputwc.c): Likewise.
19118 (CFLAGS-freopen64.c): Likewise.
19119 (CFLAGS-freopen.c): Likewise.
19120 (CFLAGS-fseek.c): Likewise.
19121 (CFLAGS-fseeko64.c): Likewise.
19122 (CFLAGS-fseeko.c): Likewise.
19123 (CFLAGS-ftello64.c): Likewise.
19124 (CFLAGS-ftello.c): Likewise.
19125 (CFLAGS-fwide.c): Likewise.
19126 (CFLAGS-genops.c): Likewise.
19127 (CFLAGS-getc.c): Likewise.
19128 (CFLAGS-getchar.c): Likewise.
19129 (CFLAGS-getwc.c): Likewise.
19130 (CFLAGS-getwchar.c): Likewise.
19131 (CFLAGS-iofclose.c): Likewise.
19132 (CFLAGS-iofflush.c): Likewise.
19133 (CFLAGS-iofgetpos64.c): Likewise.
19134 (CFLAGS-iofgetpos.c): Likewise.
19135 (CFLAGS-iofgets.c): Likewise.
19136 (CFLAGS-iofgetws.c): Likewise.
19137 (CFLAGS-iofputs.c): Likewise.
19138 (CFLAGS-iofputws.c): Likewise.
19139 (CFLAGS-iofread.c): Likewise.
19140 (CFLAGS-iofsetpos64.c): Likewise.
19141 (CFLAGS-iofsetpos.c): Likewise.
19142 (CFLAGS-ioftell.c): Likewise.
19143 (CFLAGS-iofwrite.c): Likewise.
19144 (CFLAGS-iogetdelim.c): Likewise.
19145 (CFLAGS-iogetline.c): Likewise.
19146 (CFLAGS-iogets.c): Likewise.
19147 (CFLAGS-iogetwline.c): Likewise.
19148 (CFLAGS-ioputs.c): Likewise.
19149 (CFLAGS-ioseekoff.c): Likewise.
19150 (CFLAGS-ioseekpos.c): Likewise.
19151 (CFLAGS-iosetbuffer.c): Likewise.
19152 (CFLAGS-iosetvbuf.c): Likewise.
19153 (CFLAGS-ioungetc.c): Likewise.
19154 (CFLAGS-ioungetwc.c): Likewise.
19155 (CFLAGS-oldfileops.c): Likewise.
19156 (CFLAGS-oldiofclose.c): Likewise.
19157 (CFLAGS-oldiofgetpos64.c): Likewise.
19158 (CFLAGS-oldiofgetpos.c): Likewise.
19159 (CFLAGS-oldiofsetpos64.c): Likewise.
19160 (CFLAGS-oldiofsetpos.c): Likewise.
19161 (CFLAGS-peekc.c): Likewise.
19162 (CFLAGS-putc.c): Likewise.
19163 (CFLAGS-putchar.c): Likewise.
19164 (CFLAGS-putwc.c): Likewise.
19165 (CFLAGS-putwchar.c): Likewise.
19166 (CFLAGS-rewind.c): Likewise.
19167 (CFLAGS-wfileops.c): Likewise.
19168 (CFLAGS-wgenops.c): Likewise.
19169 (CFLAGS-oldiofopen.c): Likewise.
19170 (CFLAGS-iofopen.c): Likewise.
19171 (CFLAGS-iofopen64.c): Likewise.
19172 (CFLAGS-oldtmpfile.c): Likewise.
19173 (CFLAGS-tst_putwc.c): Likewise.
19174 * locale/Makefile (CFLAGS-md5.c): Likewise.
19175 (CFLAGS-charmap.c): Likewise.
19176 (CFLAGS-locfile.c): Likewise.
19177 (CFLAGS-charmap-dir.c): Likewise.
19178 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19179 (CFLAGS-getpt.c): Likewise.
19180 (CFLAGS-pt_chown.c): Likewise.
19181 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19182 (CFLAGS-obstack.c): Likewise.
19183 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19184 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19185 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19186 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19187 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19188 (CFLAGS-test-tgmath.c): Likewise.
19189 (CFLAGS-test-tgmath2.c): Likewise.
19190 (CFLAGS-test-tgmath-ret.c): Likewise.
19191 (CFLAGS-test-powl.c): Likewise.
19192 (CFLAGS-test-snan.c): Likewise.
19193 (CFLAGS-test-signgam-finite.c): Likewise.
19194 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19195 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19196 (CFLAGS-test-signgam-uchar.c): Likewise.
19197 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19198 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19199 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19200 (CFLAGS-test-signgam-uint.c): Likewise.
19201 (CFLAGS-test-signgam-uint-init.c): Likewise.
19202 (CFLAGS-test-signgam-uint-static.c): Likewise.
19203 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19204 (CFLAGS-test-signgam-ullong.c): Likewise.
19205 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19206 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19207 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19208 (CFLAGS-test-math-cxx11.cc): Likewise.
19209 (CFLAGS-test-math-isinff.cc): Likewise.
19210 (CFLAGS-test-math-iszero.cc): Likewise.
19211 (CFLAGS-test-math-issignaling.cc): Likewise.
19212 (CFLAGS-test-math-iscanonical.cc): Likewise.
19213 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19214 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19215 (CFLAGS-test-flt-eval-method.c): Likewise.
19216 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19217 (CFLAGS-test-finite-macros.c): Likewise.
19218 * misc/Makefile (CFLAGS-select.c): Likewise.
19219 (CFLAGS-tsearch.c): Likewise.
19220 (CFLAGS-lsearch.c): Likewise.
19221 (CFLAGS-pselect.c): Likewise.
19222 (CFLAGS-readv.c): Likewise.
19223 (CFLAGS-writev.c): Likewise.
19224 (CFLAGS-preadv.c): Likewise.
19225 (CFLAGS-preadv64.c): Likewise.
19226 (CFLAGS-pwritev.c): Likewise.
19227 (CFLAGS-pwritev64.c): Likewise.
19228 (CFLAGS-preadv2.c): Likewise.
19229 (CFLAGS-preadv64v2.c): Likewise.
19230 (CFLAGS-pwritev2.c): Likewise.
19231 (CFLAGS-pwritev64v2.c): Likewise.
19232 (CFLAGS-usleep.c): Likewise.
19233 (CFLAGS-syslog.c): Likewise.
19234 (CFLAGS-error.c): Likewise.
19235 (CFLAGS-getpass.c): Likewise.
19236 (CFLAGS-mkstemp.c): Likewise.
19237 (CFLAGS-mkstemp64.c): Likewise.
19238 (CFLAGS-getsysstats.c): Likewise.
19239 (CFLAGS-getusershell.c): Likewise.
19240 (CFLAGS-err.c): Likewise.
19241 (CFLAGS-tst-tsearch.c): Likewise.
19242 (CFLAGS-msync.c): Likewise.
19243 (CFLAGS-fdatasync.c): Likewise.
19244 (CFLAGS-fsync.c): Likewise.
19245 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19246 (CFLAGS-unwind.c): Likewise.
19247 (CFLAGS-unwind-forcedunwind.c): Likewise.
19248 (CFLAGS-pthread_cancel.c): Likewise.
19249 (CFLAGS-pthread_setcancelstate.c): Likewise.
19250 (CFLAGS-pthread_setcanceltype.c): Likewise.
19251 (CFLAGS-cancellation.c): Likewise.
19252 (CFLAGS-libc-cancellation.c): Likewise.
19253 (CFLAGS-pthread_exit.c): Likewise.
19254 (CFLAGS-forward.c): Likewise.
19255 (CFLAGS-pthread_testcancel.c): Likewise.
19256 (CFLAGS-pthread_join.c): Likewise.
19257 (CFLAGS-pthread_timedjoin.c): Likewise.
19258 (CFLAGS-pthread_once.c): Likewise.
19259 (CFLAGS-pthread_cond_wait.c): Likewise.
19260 (CFLAGS-sem_wait.c): Likewise.
19261 (CFLAGS-sem_timedwait.c): Likewise.
19262 (CFLAGS-fcntl.c): Likewise.
19263 (CFLAGS-lockf.c): Likewise.
19264 (CFLAGS-pread.c): Likewise.
19265 (CFLAGS-pread64.c): Likewise.
19266 (CFLAGS-pwrite.c): Likewise.
19267 (CFLAGS-pwrite64.c): Likewise.
19268 (CFLAGS-wait.c): Likewise.
19269 (CFLAGS-waitpid.c): Likewise.
19270 (CFLAGS-sigwait.c): Likewise.
19271 (CFLAGS-msgrcv.c): Likewise.
19272 (CFLAGS-msgsnd.c): Likewise.
19273 (CFLAGS-tcdrain.c): Likewise.
19274 (CFLAGS-open.c): Likewise.
19275 (CFLAGS-open64.c): Likewise.
19276 (CFLAGS-pause.c): Likewise.
19277 (CFLAGS-recv.c): Likewise.
19278 (CFLAGS-send.c): Likewise.
19279 (CFLAGS-accept.c): Likewise.
19280 (CFLAGS-sendto.c): Likewise.
19281 (CFLAGS-connect.c): Likewise.
19282 (CFLAGS-recvfrom.c): Likewise.
19283 (CFLAGS-recvmsg.c): Likewise.
19284 (CFLAGS-sendmsg.c): Likewise.
19285 (CFLAGS-close.c): Likewise.
19286 (CFLAGS-read.c): Likewise.
19287 (CFLAGS-write.c): Likewise.
19288 (CFLAGS-nanosleep.c): Likewise.
19289 (CFLAGS-sigsuspend.c): Likewise.
19290 (CFLAGS-msync.c): Likewise.
19291 (CFLAGS-fdatasync.c): Likewise.
19292 (CFLAGS-fsync.c): Likewise.
19293 (CFLAGS-pt-system.c): Likewise.
19294 (CFLAGS-tst-cleanup2.c): Likewise.
19295 (CFLAGS-tst-cleanupx2.c): Likewise.
19296 (CFLAGS-flockfile.c): Likewise.
19297 (CFLAGS-ftrylockfile.c): Likewise.
19298 (CFLAGS-funlockfile.c): Likewise.
19299 (CFLAGS-tst-initializers1.c): Likewise.
19300 (CFLAGS-tst-initializers1-c89.c): Likewise.
19301 (CFLAGS-tst-initializers1-c99.c): Likewise.
19302 (CFLAGS-tst-initializers1-c11.c): Likewise.
19303 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19304 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19305 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19306 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19307 (CFLAGS-nscd_getgr_r.c): Likewise.
19308 (CFLAGS-nscd_gethst_r.c): Likewise.
19309 (CFLAGS-nscd_getai.c): Likewise.
19310 (CFLAGS-nscd_initgroups.c): Likewise.
19311 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19312 (CFLAGS-pause.c): Likewise.
19313 (CFLAGS-pread.c): Likewise.
19314 (CFLAGS-pread64.c): Likewise.
19315 (CFLAGS-pwrite.c): Likewise.
19316 (CFLAGS-pwrite64.c): Likewise.
19317 (CFLAGS-sleep.c): Likewise.
19318 (CFLAGS-wait.c): Likewise.
19319 (CFLAGS-waitid.c): Likewise.
19320 (CFLAGS-waitpid.c): Likewise.
19321 (CFLAGS-getopt.c): Likewise.
19322 (CFLAGS-wordexp.c): Likewise.
19323 (CFLAGS-sysconf.c): Likewise.
19324 (CFLAGS-pathconf.c): Likewise.
19325 (CFLAGS-fpathconf.c): Likewise.
19326 (CFLAGS-spawn.c): Likewise.
19327 (CFLAGS-spawnp.c): Likewise.
19328 (CFLAGS-spawni.c): Likewise.
19329 (CFLAGS-glob.c): Likewise.
19330 (CFLAGS-glob64.c): Likewise.
19331 (CFLAGS-getconf.c): Likewise.
19332 (CFLAGS-nanosleep.c): Likewise.
19333 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19334 (CFLAGS-getpwent.c): Likewise.
19335 (CFLAGS-getpw.c): Likewise.
19336 (CFLAGS-fgetpwent_r.c): Likewise.
19337 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19338 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19339 (CFLAGS-mq_timedreceive.c): Likewise.
19340 (CFLAGS-mq_timedsend.c): Likewise.
19341 (CFLAGS-clock_nanosleep.c): Likewise.
19342 (CFLAGS-librt-cancellation.c): Likewise.
19343 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19344 (CFLAGS-getspent.c): Likewise.
19345 (CFLAGS-fgetspent.c): Likewise.
19346 (CFLAGS-fgetspent_r.c): Likewise.
19347 (CFLAGS-putspent.c): Likewise.
19348 (CFLAGS-getspnam.c): Likewise.
19349 (CFLAGS-getspnam_r.c): Likewise.
19350 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19351 (CFLAGS-sigsuspend.c): Likewise.
19352 (CFLAGS-sigtimedwait.c): Likewise.
19353 (CFLAGS-sigwait.c): Likewise.
19354 (CFLAGS-sigwaitinfo.c): Likewise.
19355 (CFLAGS-sigreturn.c): Likewise.
19356 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19357 (CFLAGS-vfwprintf.c): Likewise.
19358 (CFLAGS-tmpfile.c): Likewise.
19359 (CFLAGS-tmpfile64.c): Likewise.
19360 (CFLAGS-tempname.c): Likewise.
19361 (CFLAGS-psignal.c): Likewise.
19362 (CFLAGS-vprintf.c): Likewise.
19363 (CFLAGS-cuserid.c): Likewise.
19364 (CFLAGS-errlist.c): Likewise.
19365 (CFLAGS-siglist.c): Likewise.
19366 (CFLAGS-scanf15.c): Likewise.
19367 (CFLAGS-scanf17.c): Likewise.
19368 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19369 (CFLAGS-msort.c): Likewise.
19370 (CFLAGS-qsort.c): Likewise.
19371 (CFLAGS-system.c): Likewise.
19372 (CFLAGS-fmtmsg.c): Likewise.
19373 (CFLAGS-strfmon.c): Likewise.
19374 (CFLAGS-strfmon_l.c): Likewise.
19375 (CFLAGS-strfromd.c): Likewise.
19376 (CFLAGS-strfromf.c): Likewise.
19377 (CFLAGS-strfroml.c): Likewise.
19378 (CFLAGS-tst-bsearch.c): Likewise.
19379 (CFLAGS-tst-qsort.c): Likewise.
19380 (CFLAGS-tst-makecontext2.c): Likewise.
19381 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19382 (CFLAGS-xnlm_prot.c): Likewise.
19383 (CFLAGS-xrstat.c): Likewise.
19384 (CFLAGS-xyppasswd.c): Likewise.
19385 (CFLAGS-xklm_prot.c): Likewise.
19386 (CFLAGS-xrex.c): Likewise.
19387 (CFLAGS-xsm_inter.c): Likewise.
19388 (CFLAGS-xmount.c): Likewise.
19389 (CFLAGS-xrusers.c): Likewise.
19390 (CFLAGS-xspray.c): Likewise.
19391 (CFLAGS-xnfs_prot.c): Likewise.
19392 (CFLAGS-xrquota.c): Likewise.
19393 (CFLAGS-xkey_prot.c): Likewise.
19394 (CFLAGS-auth_unix.c): Likewise.
19395 (CFLAGS-key_call.c): Likewise.
19396 (CFLAGS-pmap_rmt.c): Likewise.
19397 (CFLAGS-clnt_perr.c): Likewise.
19398 (CFLAGS-openchild.c): Likewise.
19399 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19400 (CFLAGS-msgsnd.c): Likewise.
19401 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19402 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19403 (CFLAGS-tzset.c): Likewise.
19404 (CFLAGS-getdate.c): Likewise.
19405 (CFLAGS-test_time.c): Likewise.
19406 (CPPFLAGS-tst-tzname.c): Likewise.
19407 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19408 (CFLAGS-zic.c): Likewise.
19409 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19410 (CFLAGS-wcswidth.c): Likewise.
19411 (CFLAGS-wcstol.c): Likewise.
19412 (CFLAGS-wcstoul.c): Likewise.
19413 (CFLAGS-wcstoll.c): Likewise.
19414 (CFLAGS-wcstoull.c): Likewise.
19415 (CFLAGS-wcstod.c): Likewise.
19416 (CFLAGS-wcstold.c): Likewise.
19417 (CFLAGS-wcstof128.c): Likewise.
19418 (CFLAGS-wcstof.c): Likewise.
19419 (CFLAGS-wcstol_l.c): Likewise.
19420 (CFLAGS-wcstoul_l.c): Likewise.
19421 (CFLAGS-wcstoll_l.c): Likewise.
19422 (CFLAGS-wcstoull_l.c): Likewise.
19423 (CFLAGS-wcstod_l.c): Likewise.
19424 (CFLAGS-wcstold_l.c): Likewise.
19425 (CFLAGS-wcstof128_l.c): Likewise.
19426 (CFLAGS-wcstof_l.c): Likewise.
19427 (CPPFLAGS-tst-wchar-h.c): Likewise.
19428 (CPPFLAGS-wcstold_l.c): Likewise.
19430 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19432 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19434 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19437 * manual/tunables.texi (Hardware Capability Tunables): Document
19438 glibc.tune.cached_memopt.
19439 * sysdeps/powerpc/cpu-features.c: New file.
19440 * sysdeps/powerpc/cpu-features.h: New file.
19441 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19442 _dl_powerpc_cpu_features.
19443 * sysdeps/powerpc/dl-tunables.list: New file.
19444 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19445 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19446 (INIT_ARCH): Initialize use_aligned_memopt.
19447 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19448 IS_IN(rtld))]: Restrict dl_platform_init availability and
19449 initialize CPU features used by tunables.
19450 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19451 Add memcpy-power8-cached.
19452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19453 __memcpy_power8_cached.
19454 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19458 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19460 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19461 (CFLAGS-noinl-tester.c): Likewise.
19462 (CFLAGS-tst-strlen.c): Likewise.
19463 (CFLAGS-stratcliff.c): Likewise.
19464 (CFLAGS-test-ffs.c): Likewise.
19465 (CFLAGS-tst-inlcall.c): Likewise.
19466 (CFLAGS-tst-xbzero-opt.c): Likewise.
19467 (CFLAGS-memcpy.c): Likewise.
19468 (CFLAGS-wordcopy.c): Likewise.
19470 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19472 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19473 Store r15 on stack and add cfi rule.
19474 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19477 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19480 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19483 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19486 Add s_sinf-sse2 and s_sinf-fma.
19487 (CFLAGS-s_sinf-fma.c): New.
19488 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19489 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19490 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19492 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19494 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19496 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19499 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19500 part of result to imaginary part of argument if it is zero and the
19501 real part of the argument is not finite.
19502 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19503 of result to real part of argument if it is zero and the imaginary
19504 part of the argument is not finite.
19506 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19509 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19510 and to the list of locales to be built for testing.
19511 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19512 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19513 and build the collation rules upon that.
19515 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19517 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19518 * manual/math.texi (Mathematics): Document support for _Float32.
19519 * math/Makefile (test-types): Add float32.
19520 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19521 * stdlib/Versions (GLIBC_2.27): Likewise.
19522 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19523 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19524 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19527 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19528 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19530 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19531 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19532 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19533 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19535 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19537 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19538 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19540 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19541 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19542 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19543 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19546 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19547 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19567 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19585 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19587 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19591 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19592 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19594 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19596 * stdlib/strtof.c: Include <bits/floatn.h>
19597 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19598 and later undefine as macro. Define as weak alias if
19600 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19601 and later undefine as macro. Define as weak alias if
19603 * stdlib/strtof_l.c: Include <bits/floatn.h>
19604 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19605 and later undefine as macro. Define as weak alias if
19607 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19608 and later undefine as macro. Define as weak alias if
19611 * stdlib/strfromf.c: Include <bits/floatn.h>.
19612 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19613 and later undefine as macro and define as weak alias.
19615 * math/test-float32.h: New file.
19617 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19618 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19619 (libm_alias_float_other_r): Create f32 alias.
19620 (libm_alias_float_r): Use semicolon before call to
19621 libm_alias_float_other_r.
19623 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19624 second argument to libm_alias_float_other.
19625 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19626 second argument to libm_alias_float_other.
19627 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19628 argument to libm_alias_float_other.
19631 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19632 real part of result for argument 0 + i * NaN.
19633 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19634 results for tests of 0 + i * NaN.
19636 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19638 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19640 2017-12-06 David S. Miller <davem@davemloft.net>
19642 * sysdeps/sparc/fpu/libm-test-ulps: Update
19643 exp_{downward,towardzero,upward} ulps.
19645 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19650 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19652 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19654 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19656 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19659 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19662 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19663 and to the list of locales to be built for testing.
19664 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19665 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19666 and build the collation rules upon that.
19668 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19670 * NEWS: Add sinf to list of optimized functions.
19672 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19674 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19675 (__HAVE_FLOAT32X): Likewise.
19676 * manual/math.texi (Mathematics): Document support for _Float64
19678 * math/Makefile (test-types): Add float64 and float32x.
19679 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19681 * stdlib/Versions (GLIBC_2.27): Likewise.
19682 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19683 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19685 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19687 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19690 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19691 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19692 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19693 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19695 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19696 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19697 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19698 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19699 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19700 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19701 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19702 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19703 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19708 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19709 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19726 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19727 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19728 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19730 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19731 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19732 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19733 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19734 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19744 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19745 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19746 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19747 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19748 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19749 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19750 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19751 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19753 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19755 * bits/floatn-common.h: Include <bits/long-double.h>.
19756 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19757 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19758 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19759 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19760 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19761 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19762 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19763 (__builtin_huge_valf64): Use __builtin_huge_vall.
19764 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19765 (__builtin_inff64): Use __builtin_infl.
19766 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19767 (__builtin_nanf64): Use __builtin_nanl.
19768 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19769 (__builtin_nansf64): Use __builtin_nansl.
19771 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19772 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19773 Carlos O'Donnell <carlos@redhat.com>
19775 * elf/dl-tunables.list: Add elision parameters.
19776 * manual/tunables.texi: Add entries about elision tunable.
19777 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19778 Add callback functions to dynamically enable/disable elision.
19779 Add multiple callbacks functions to set elision parameters.
19780 Deleted __libc_enable_secure check.
19781 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19782 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19783 * configure: Regenerated.
19784 * configure.ac: Option enable_lock_elision was deleted.
19785 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19786 * config.make.in: Remove references to enable_lock_elision.
19787 * manual/install.texi: Elision configure option was removed.
19788 * INSTALL: Regenerated to remove enable_lock_elision.
19790 Disable elision so it can verify error case for destroying a mutex.
19791 * sysdeps/powerpc/nptl/elide.h:
19792 Cleanup ENABLE_LOCK_ELISION check.
19793 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19794 * sysdeps/s390/configure: Regenerated.
19795 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19796 * nptl/tst-mutex8.c:
19797 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19798 * sysdeps/powerpc/powerpc32/sysdep.h:
19799 Deleted all ENABLE_LOCK_ELISION checks.
19800 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19801 * sysdeps/powerpc/sysdep.h: Likewise.
19802 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19803 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19804 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19805 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19806 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19807 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19808 enable-lock-elision.
19810 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19812 * stdlib/strtod.c: Include <bits/floatn.h>.
19813 (BUILD_DOUBLE): New macro.
19814 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19815 (strtof64): Define and later undefine as macro. Define as weak
19816 alias if [!USE_WIDE_CHAR].
19817 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19818 (wcstof64): Define and later undefine as macro. Define as weak
19819 alias if [USE_WIDE_CHAR].
19820 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19821 (strtof32x): Define and later undefine as macro. Define as weak
19822 alias if [!USE_WIDE_CHAR].
19823 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19824 (wcstof32x): Define and later undefine as macro. Define as weak
19825 alias if [USE_WIDE_CHAR].
19826 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19827 (BUILD_DOUBLE): New macro.
19828 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19829 (strtof64_l): Define and later undefine as macro. Define as weak
19830 alias if [!USE_WIDE_CHAR].
19831 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19832 (wcstof64_l): Define and later undefine as macro. Define as weak
19833 alias if [USE_WIDE_CHAR].
19834 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19835 (strtof32x_l): Define and later undefine as macro. Define as weak
19836 alias if [!USE_WIDE_CHAR].
19837 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19838 (wcstof32x_l): Define and later undefine as macro. Define as weak
19839 alias if [USE_WIDE_CHAR].
19841 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19843 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19844 (reduced): Use ones as double instead of integer.
19846 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19848 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19850 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19852 * stdlib/strfromd.c: Include <bits/floatn.h>.
19853 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19854 and later undefine as macro and define as weak alias.
19855 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19858 * math/test-float32x.h: New file.
19859 * math/test-float64.h: Likewise.
19861 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19862 (libm_alias_double_other_r_f64): New macro.
19863 (libm_alias_double_other_r_f32x): Likewise.
19864 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19865 libm_alias_double_other_r_f32x.
19866 (libm_alias_double_r): Use semicolon before call to
19867 libm_alias_double_other_r.
19868 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19870 (libm_alias_double_other_r_f64): New macro.
19871 (libm_alias_double_other_r_f32x): Likewise.
19872 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19873 libm_alias_double_other_r_f32x.
19875 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19877 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19879 (SINF_FUNC): Likewise. Replace floor with simple casts.
19881 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19884 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19885 and to the list of locales to be built for testing.
19886 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19887 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19888 and build the collation rules upon that.
19890 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19892 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19893 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19894 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19895 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19896 instead of __insn__xxx.
19897 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19898 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19899 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19900 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19901 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19902 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19904 2017-12-05 Florian Weimer <fweimer@redhat.com>
19906 Linux: Implement interfaces for memory protection keys
19907 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19909 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19910 * support/xunistd.h (xsysconf): Declare.
19911 * support/xraise.c: New file.
19912 * support/xsigaction.c: Likewise.
19913 * support/xsignal.c: Likewise.
19914 * support/xsysconf.c: Likewise.
19915 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19916 pkey_set, pkey_get, pkey_mprotect.
19917 [misc] (tests): Add tst-pkey.
19918 (tst-pkey): Link with -lpthread.
19919 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19920 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19921 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19922 (PKEY_DISABLE_WRITE): Define.
19923 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19925 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19926 (SEGV_PKUERR): Add.
19927 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19928 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19929 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19930 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19932 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19933 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19934 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19935 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19936 * sysdeps/unix/sysv/linux/**.abilist: Update.
19938 2017-12-05 Florian Weimer <fweimer@redhat.com>
19940 * support/tst-test_compare.c (subprocess): Use long long instead
19941 of long argument for consistent type width across 32-bit and
19942 64-bit architectures.
19943 (do_test): Adjust expected output.
19945 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19947 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19948 (cosf): Define using libm_alias_float.
19949 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19950 (fabsf): Define using libm_alias_float.
19951 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19952 (fmaf): Define using libm_alias_float.
19953 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19954 (rintf): Define using libm_alias_float.
19955 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19956 (sinf): Define using libm_alias_float.
19957 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19958 <libm-alias-float.h>.
19959 (modff): Define using libm_alias_float.
19960 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19961 <libm-alias-float.h>.
19962 (logbf): Define using libm_alias_float.
19963 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19964 <libm-alias-float.h>.
19965 (ceilf): Define using libm_alias_float.
19966 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19967 <libm-alias-float.h>.
19968 (copysignf): Define using libm_alias_float.
19969 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19970 <libm-alias-float.h>.
19971 (floorf): Define using libm_alias_float.
19972 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19973 <libm-alias-float.h>.
19974 (llrintf): Define using libm_alias_float.
19975 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19976 <libm-alias-float.h>.
19977 (llroundf): Define using libm_alias_float.
19978 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19979 <libm-alias-float.h>.
19980 (lrintf): Define using libm_alias_float.
19981 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19982 <libm-alias-float.h>.
19983 (lroundf): Define using libm_alias_float.
19984 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19985 <libm-alias-float.h>.
19986 (nearbyintf): Define using libm_alias_float.
19987 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19988 <libm-alias-float.h>.
19989 (rintf): Define using libm_alias_float.
19990 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19991 <libm-alias-float.h>.
19992 (roundf): Define using libm_alias_float.
19993 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19994 <libm-alias-float.h>.
19995 (truncf): Define using libm_alias_float.
19996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19997 Include <libm-alias-float.h>.
19998 (ceilf): Define using libm_alias_float.
19999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20000 Include <libm-alias-float.h>.
20001 (copysignf): Define using libm_alias_float.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20003 Include <libm-alias-float.h>.
20004 (floorf): Define using libm_alias_float.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20006 Include <libm-alias-float.h>.
20007 (llrintf): Define using libm_alias_float.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20009 Include <libm-alias-float.h>.
20010 (llroundf): Define using libm_alias_float.
20011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20012 Include <libm-alias-float.h>.
20013 (logbf): Define using libm_alias_float.
20014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20015 Include <libm-alias-float.h>.
20016 (lrintf): Define using libm_alias_float.
20017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20018 Include <libm-alias-float.h>.
20019 (lroundf): Define using libm_alias_float.
20020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20021 Include <libm-alias-float.h>.
20022 (modff): Define using libm_alias_float.
20023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20024 Include <libm-alias-float.h>.
20025 (roundf): Define using libm_alias_float.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20027 Include <libm-alias-float.h>.
20028 (truncf): Define using libm_alias_float.
20029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20030 <libm-alias-float.h>.
20031 (llrintf): Define using libm_alias_float.
20032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20033 <libm-alias-float.h>.
20034 (llroundf): Define using libm_alias_float.
20035 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20036 <libm-alias-float.h>.
20037 (ceilf): Define using libm_alias_float.
20038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20039 <libm-alias-float.h>.
20040 (floorf): Define using libm_alias_float.
20041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20042 <libm-alias-float.h>.
20043 (llroundf): Define using libm_alias_float.
20044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20045 <libm-alias-float.h>.
20046 (lroundf): Define using libm_alias_float.
20047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20048 <libm-alias-float.h>.
20049 (roundf): Define using libm_alias_float.
20050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20051 <libm-alias-float.h>.
20052 (truncf): Define using libm_alias_float.
20053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20054 <libm-alias-float.h>.
20055 (copysignf): Define using libm_alias_float.
20056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20057 <libm-alias-float.h>.
20058 (llrintf): Define using libm_alias_float.
20059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20060 <libm-alias-float.h>.
20061 (llroundf): Define using libm_alias_float.
20062 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20063 <libm-alias-float.h>.
20064 (lrintf): Define using libm_alias_float.
20065 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20066 <libm-alias-float.h>.
20067 (lroundf): Define using libm_alias_float.
20068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20069 <libm-alias-float.h>.
20070 (ceilf): Define using libm_alias_float.
20071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20072 <libm-alias-float.h>.
20073 (copysignf): Define using libm_alias_float.
20074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20075 <libm-alias-float.h>.
20076 (cosf): Define using libm_alias_float.
20077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20078 <libm-alias-float.h>.
20079 (floorf): Define using libm_alias_float.
20080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20081 <libm-alias-float.h>.
20082 (llrintf): Define using libm_alias_float.
20083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20084 <libm-alias-float.h>.
20085 (llroundf): Define using libm_alias_float.
20086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20087 <libm-alias-float.h>.
20088 (logbf): Define using libm_alias_float.
20089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20090 <libm-alias-float.h>.
20091 (modff): Define using libm_alias_float.
20092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20093 <libm-alias-float.h>.
20094 (roundf): Define using libm_alias_float.
20095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20096 <libm-alias-float.h>.
20097 (sinf): Define using libm_alias_float.
20098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20099 <libm-alias-float.h>.
20100 (truncf): Define using libm_alias_float.
20101 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20102 <libm-alias-float.h>.
20103 (ceilf): Define using libm_alias_float.
20104 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20105 <libm-alias-float.h>.
20106 (copysignf): Define using libm_alias_float.
20107 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20108 <libm-alias-float.h>.
20109 (floorf): Define using libm_alias_float.
20110 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20111 <libm-alias-float.h>.
20112 (llrintf): Define using libm_alias_float.
20113 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20114 <libm-alias-float.h>.
20115 (llroundf): Define using libm_alias_float.
20116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20117 <libm-alias-float.h>.
20118 (nearbyintf): Define using libm_alias_float.
20119 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20120 <libm-alias-float.h>.
20121 (rintf): Define using libm_alias_float.
20122 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20123 <libm-alias-float.h>.
20124 (roundf): Define using libm_alias_float.
20125 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20126 <libm-alias-float.h>.
20127 (truncf): Define using libm_alias_float.
20128 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20129 <libm-alias-float.h>.
20130 (ceilf): Define using libm_alias_float.
20131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20132 <libm-alias-float.h>.
20133 (floorf): Define using libm_alias_float.
20134 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20135 <libm-alias-float.h>.
20136 (llroundf): Define using libm_alias_float.
20137 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20138 <libm-alias-float.h>.
20139 (roundf): Define using libm_alias_float.
20140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20141 <libm-alias-float.h>.
20142 (truncf): Define using libm_alias_float.
20143 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20144 <libm-alias-float.h>.
20145 (copysignf): Define using libm_alias_float.
20146 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20147 <libm-alias-float.h>.
20148 (llrintf): Define using libm_alias_float.
20149 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20150 <libm-alias-float.h>.
20151 (llroundf): Define using libm_alias_float.
20152 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20153 <libm-alias-float.h>.
20154 (cosf): Define using libm_alias_float.
20155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20156 <libm-alias-float.h>.
20157 (llrintf): Define using libm_alias_float.
20158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20159 <libm-alias-float.h>.
20160 (llroundf): Define using libm_alias_float.
20161 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20162 <libm-alias-float.h>.
20163 (sinf): Define using libm_alias_float.
20165 2017-12-04 Florian Weimer <fweimer@redhat.com>
20167 * support/check.h (TEST_COMPARE): Define.
20168 (support_test_compare_failure): Declare.
20169 * support/Makefile (libsupport-routines): Add
20170 support_test_compare_failure.
20171 (tests): Add tst-test_compare.
20172 * support /support_test_compare_failure.c: New file.
20173 * support/tst-test_compare.c: Likewise.
20175 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20178 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20179 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20180 available, this rewrite of the collation rules does reproduce
20181 the test file in the same order.
20183 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20186 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20187 digraphs in the month and day names. Using single code points for
20188 digraphs is deprecated. While there are dedicated Unicode
20189 codepoints, for the digraphs, these are included for backwards
20190 compatibility and modern texts use a sequence of Basic Latin
20191 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20192 This makes the month and day names agree exactly with CLDR now,
20193 CLDR does not use the single code points for the digraphs either.
20195 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20197 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20199 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20204 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20206 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20207 Define only for libc.so.
20209 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20211 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20212 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20213 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20214 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20217 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20220 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20222 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20225 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20226 PREINIT_FUNCTION_WEAK is nonzero.
20227 (gmon_initializer): New function. Put procedure label for it in
20228 .init_array section.
20229 (_init): Don't call PREINIT_FUNCTION.
20230 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20231 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20232 value when map argument is null.
20234 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20235 depi instruction from PIC pc-relative sequence.
20236 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20237 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20238 (elf_machine_load_address): Likewise.
20239 (elf_machine_runtime_setup): Likewise.
20241 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20243 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20244 <libm-alias-double.h>.
20245 (logb): Define using libm_alias_double.
20246 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20247 <libm-alias-double.h>.
20248 (copysign): Define using libm_alias_double.
20249 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20250 <libm-alias-double.h>.
20251 (llrint): Define using libm_alias_double.
20252 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20253 <libm-alias-double.h>.
20254 (llround): Define using libm_alias_double.
20255 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20256 <libm-alias-double.h>.
20257 (lrint): Define using libm_alias_double.
20258 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20259 <libm-alias-double.h>.
20260 (lround): Define using libm_alias_double.
20261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20262 Include <libm-alias-double.h>.
20263 (copysign): Define using libm_alias_double.
20264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20265 Include <libm-alias-double.h>.
20266 (llrint): Define using libm_alias_double.
20267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20268 Include <libm-alias-double.h>.
20269 (llround): Define using libm_alias_double.
20270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20271 <libm-alias-double.h>.
20272 (logb): Define using libm_alias_double.
20273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20274 Include <libm-alias-double.h>.
20275 (lrint): Define using libm_alias_double.
20276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20277 Include <libm-alias-double.h>.
20278 (lround): Define using libm_alias_double.
20279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20280 <libm-alias-double.h>.
20281 (llrint): Define using libm_alias_double.
20282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20283 <libm-alias-double.h>.
20284 (llround): Define using libm_alias_double.
20285 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20286 <libm-alias-double.h>.
20287 (llround): Define using libm_alias_double.
20288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20289 <libm-alias-double.h>.
20290 (lround): Define using libm_alias_double.
20291 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20292 <libm-alias-double.h>.
20293 (copysign): Define using libm_alias_double.
20294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20295 <libm-alias-double.h>.
20296 (llrint): Define using libm_alias_double.
20297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20298 <libm-alias-double.h>.
20299 (llround): Define using libm_alias_double.
20300 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20301 <libm-alias-double.h>.
20302 (lrint): Define using libm_alias_double.
20303 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20304 <libm-alias-double.h>.
20305 (lround): Define using libm_alias_double.
20306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20307 <libm-alias-double.h>.
20308 (copysign): Define using libm_alias_double.
20309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20310 <libm-alias-double.h>.
20311 (llrint): Define using libm_alias_double.
20313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20314 <libm-alias-double.h>.
20315 (llround): Define using libm_alias_double.
20316 (lround): Likewise.
20317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20318 <libm-alias-double.h>.
20319 (logb): Define using libm_alias_double.
20320 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20321 <libm-alias-double.h>.
20322 (copysign): Define using libm_alias_double.
20323 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20324 <libm-alias-double.h>.
20325 (llrint): Define using libm_alias_double.
20327 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20328 <libm-alias-double.h>.
20329 (llround): Define using libm_alias_double.
20330 (lround): Likewise.
20331 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20332 <libm-alias-double.h>.
20333 (llround): Define using libm_alias_double.
20334 (lround): Likewise.
20335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20336 <libm-alias-double.h>.
20337 (copysign): Define using libm_alias_double.
20338 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20339 <libm-alias-double.h>.
20340 (llrint): Define using libm_alias_double.
20342 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20343 <libm-alias-double.h>.
20344 (llround): Define using libm_alias_double.
20345 (lround): Likewise.
20346 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20347 <libm-alias-double.h>.
20348 (llrint): Define using libm_alias_double.
20350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20351 <libm-alias-double.h>.
20352 (llround): Define using libm_alias_double.
20353 (lround): Likewise.
20355 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20358 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20359 compat symbol based on llround.
20361 * sysdeps/powerpc/power7/fpu/s_logb.c
20362 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20363 symbol based on __logb, not on logb.
20364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20365 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20367 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20369 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20370 (rint): Define using libm_alias_double.
20371 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20372 <libm-alias-double.h>.
20373 (modf): Define using libm_alias_double.
20374 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20375 <libm-alias-double.h>.
20376 (ceil): Define using libm_alias_double.
20377 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20378 <libm-alias-double.h>.
20379 (floor): Define using libm_alias_double.
20380 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20381 <libm-alias-double.h>.
20382 (nearbyint): Define using libm_alias_double.
20383 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20384 <libm-alias-double.h>.
20385 (rint): Define using libm_alias_double.
20386 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20387 <libm-alias-double.h>.
20388 (round): Define using libm_alias_double.
20389 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20390 <libm-alias-double.h>.
20391 (trunc): Define using libm_alias_double.
20392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20393 <libm-alias-double.h>.
20394 (ceil): Define using libm_alias_double.
20395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20396 Include <libm-alias-double.h>.
20397 (floor): Define using libm_alias_double.
20398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20399 <libm-alias-double.h>.
20400 (modf): Define using libm_alias_double.
20401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20402 Include <libm-alias-double.h>.
20403 (round): Define using libm_alias_double.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20405 Include <libm-alias-double.h>.
20406 (trunc): Define using libm_alias_double.
20407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20408 <libm-alias-double.h>.
20409 (ceil): Define using libm_alias_double.
20410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20411 <libm-alias-double.h>.
20412 (floor): Define using libm_alias_double.
20413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20414 <libm-alias-double.h>.
20415 (round): Define using libm_alias_double.
20416 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20417 <libm-alias-double.h>.
20418 (trunc): Define using libm_alias_double.
20419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20420 <libm-alias-double.h>.
20421 (ceil): Define using libm_alias_double.
20422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20423 <libm-alias-double.h>.
20424 (floor): Define using libm_alias_double.
20425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20426 <libm-alias-double.h>.
20427 (modf): Define using libm_alias_double.
20428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20429 <libm-alias-double.h>.
20430 (round): Define using libm_alias_double.
20431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20432 <libm-alias-double.h>.
20433 (trunc): Define using libm_alias_double.
20434 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20435 <libm-alias-double.h>.
20436 (ceil): Define using libm_alias_double.
20437 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20438 <libm-alias-double.h>.
20439 (floor): Define using libm_alias_double.
20440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20441 <libm-alias-double.h>.
20442 (nearbyint): Define using libm_alias_double.
20443 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20444 <libm-alias-double.h>.
20445 (rint): Define using libm_alias_double.
20446 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20447 <libm-alias-double.h>.
20448 (round): Define using libm_alias_double.
20449 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20450 <libm-alias-double.h>.
20451 (trunc): Define using libm_alias_double.
20452 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20453 <libm-alias-double.h>.
20454 (ceil): Define using libm_alias_double.
20455 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20456 <libm-alias-double.h>.
20457 (floor): Define using libm_alias_double.
20458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20459 <libm-alias-double.h>.
20460 (round): Define using libm_alias_double.
20461 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20462 <libm-alias-double.h>.
20463 (trunc): Define using libm_alias_double.
20465 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20466 (fabs): Define using libm_alias_double.
20467 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20468 (fma): Define using libm_alias_double.
20469 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20470 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20471 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20472 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20474 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20476 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20478 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20479 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20480 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20483 due redirect macro.
20485 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20487 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20489 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20491 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20492 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20493 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20494 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20497 (libm-sysdep_routines): Add s_nearbyintf-generic and
20498 s_nearbyint-generic.
20499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20512 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20523 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20534 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20545 (sysdep_calls): New rule.
20546 (sysdep_routines): Use sysdep_calls as base.
20547 (libm-sysdep_routines): Add generic rule for symbols shared with
20548 libc. Add s_copysign-generic and s_copysign-generic objects.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20558 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20561 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20562 the list of locales to be built for testing.
20563 * localedata/is_IS.UTF-8.in: New file.
20564 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20567 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20569 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20570 <libm-alias-float.h>.
20571 (fabsf): Define using libm_alias_float.
20573 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20575 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20577 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20579 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20580 <libm-alias-float.h>.
20581 (fabsf): Define using libm_alias_float.
20582 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20583 <libm-alias-float.h>.
20584 (lrintf): Define using libm_alias_float.
20585 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20586 <libm-alias-float.h>.
20587 (rintf): Define using libm_alias_float.
20589 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20590 <libm-alias-double.h>.
20591 (fabs): Define using libm_alias_double.
20592 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20593 <libm-alias-double.h>.
20594 (lrint): Define using libm_alias_double.
20595 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20596 <libm-alias-double.h>.
20597 (rint): Define using libm_alias_double.
20599 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20600 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20601 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20602 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20603 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20604 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20605 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20606 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20607 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20608 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20609 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20610 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20611 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20612 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20613 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20614 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20615 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20616 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20618 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20619 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20620 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20622 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20623 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20624 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20626 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20627 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20628 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20629 s_expm1_template.c.
20630 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20631 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20632 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20634 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20635 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20636 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20637 s_floor_template.c.
20638 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20639 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20640 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20641 s_frexp_template.c.
20642 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20643 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20644 s_lrint_template.c.
20645 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20646 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20647 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20649 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20650 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20651 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20652 s_nearbyint_template.c.
20653 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20654 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20655 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20656 s_remquo_template.c.
20657 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20658 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20659 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20661 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20662 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20663 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20665 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20666 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20667 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20668 s_sincos_template.c.
20669 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20670 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20671 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20673 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20674 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20675 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20677 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20678 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20679 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20680 s_trunc_template.c.
20681 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20682 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20683 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20684 s_atan.c instead of including s_atan.c.
20685 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20686 s_atanf.c instead of including s_atanf.c.
20687 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20688 s_atanl.c instead of including s_atanl.c.
20689 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20690 instead of s_atan.c.
20691 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20692 instead of s_atanf.c.
20693 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20694 instead of s_atanl.c.
20696 * scripts/update-copyrights: Do not handle intl/plural.c
20699 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20702 * configure.ac (BISON): Require to be present.
20703 * configure: Regenerated.
20704 * intl/Makefile (generated): Add plural.c.
20705 [$(BISON) != no]: Make code unconditional.
20706 (plural.c): Change rule to $(objpfx)plural.c.
20707 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20708 * intl/plural.c: Remove.
20709 * manual/install.texi (Tools for Compilation): Document bison as
20711 * INSTALL: Regenerated.
20713 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20715 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20716 <libm-alias-double.h>.
20717 (llrint): Define using libm_alias_double.
20718 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20719 <libm-alias-float.h>.
20720 (llrintf): Define using libm_alias_float.
20721 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20722 <libm-alias-ldouble.h>.
20723 (llrintl): Define using libm_alias_ldouble.
20725 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20726 declare_mgen_alias instead of weak_alias.
20727 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20728 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20729 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20731 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20733 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20735 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20736 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20737 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20739 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20740 Add submul_1-generic.
20741 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20742 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20743 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20745 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20746 Add addmul_1-generic.
20747 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20748 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20749 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20751 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20753 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20754 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20755 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20757 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20759 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20760 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20761 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20763 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20765 According to CLDR, collation rules for Serbian and Bosnian
20766 should be the same as for Croatian.
20769 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20770 and to the list of locales to be built for testing.
20771 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20772 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20773 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20774 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20776 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20778 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20779 to make test case pass.
20780 * localedata/hr_HR.UTF-8.in: Add more test strings.
20782 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20784 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20786 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20788 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20789 the list of locales to built for testing.
20790 * localedata/hr_HR.UTF-8.in: New file.
20792 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20795 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20797 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20798 CLDR (except use ligatures for the digraphs, CLDR does not use
20799 the ligatures), add first_workday, some fixes in the date and time
20801 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20803 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20804 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20805 Add int_p_cs_precedes and int_n_cs_precedes.
20806 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20807 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20809 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20810 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20812 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20813 and lang_lib. Change postal_fmt.
20815 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20817 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20819 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20820 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20821 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20822 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20823 * sysdeps/generic/setjmpP.h: New file.
20824 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20825 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20826 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20827 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20828 Add jmp_buf-ssp.sym.
20829 (tests): Add tst-saved_mask-1.
20831 2017-11-30 Arjun Shankar <arjun@redhat.com>
20835 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20836 instead of request2size.
20838 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20841 (__lllrint): Remove alias.
20842 (lllrint): Likewise.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20844 (__lllrintf): Likewise.
20845 (lllrintf): Likewise.
20847 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20848 <libm-alias-float.h>.
20849 (copysignf): Define using libm_alias_float.
20850 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20851 <libm-alias-float.h>.
20852 (fabsf): Define using libm_alias_float.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20854 Include <libm-alias-float.h>.
20855 (copysignf): Define using libm_alias_float.
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20857 <libm-alias-float.h>.
20858 (fabsf): Define using libm_alias_float.
20859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20860 <libm-alias-float.h>.
20861 (fdimf): Define using libm_alias_float.
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20863 <libm-alias-float.h>.
20864 (fmaf): Define using libm_alias_float.
20865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20866 <libm-alias-float.h>.
20867 (llrintf): Define using libm_alias_float.
20868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20869 Include <libm-alias-float.h>.
20870 (nearbyintf): Define using libm_alias_float.
20871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20872 <libm-alias-float.h>.
20873 (rintf): Define using libm_alias_float.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20875 <libm-alias-float.h>.
20876 (llrintf): Define using libm_alias_float.
20877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20878 <libm-alias-float.h>.
20879 (lrintf): Define using libm_alias_float.
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20881 <libm-alias-float.h>.
20882 (nearbyintf): Define using libm_alias_float.
20883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20884 <libm-alias-float.h>.
20885 (rintf): Define using libm_alias_float.
20886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20887 <libm-alias-float.h>.
20888 (ceilf): Define using libm_alias_float.
20889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20890 <libm-alias-float.h>.
20891 (floorf): Define using libm_alias_float.
20892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20893 <libm-alias-float.h>.
20894 (fmaf): Define using libm_alias_float.
20895 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20896 <libm-alias-float.h>.
20897 (lrintf): Define using libm_alias_float.
20898 (llrintf): Likewise.
20899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20900 <libm-alias-float.h>.
20901 (nearbyintf): Define using libm_alias_float.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20903 <libm-alias-float.h>.
20904 (rintf): Define using libm_alias_float.
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20906 <libm-alias-float.h>.
20907 (truncf): Define using libm_alias_float.
20908 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20909 <libm-alias-float.h>.
20910 (copysignf): Define using libm_alias_float.
20911 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20912 <libm-alias-float.h>.
20913 (fabsf): Define using libm_alias_float.
20914 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20915 <libm-alias-float.h>.
20916 (lrintf): Define using libm_alias_float.
20917 (llrintf): Likewise.
20918 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20919 <libm-alias-float.h>.
20920 (nearbyintf): Define using libm_alias_float.
20921 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20922 <libm-alias-float.h>.
20923 (rintf): Define using libm_alias_float.
20925 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20927 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20928 <libm-alias-double.h>.
20929 (copysign): Define using libm_alias_double.
20930 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20931 <libm-alias-double.h>.
20932 (fabs): Define using libm_alias_double.
20933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20934 Include <libm-alias-double.h>.
20935 (copysign): Define using libm_alias_double.
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20937 <libm-alias-double.h>.
20938 (fabs): Define using libm_alias_double.
20939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20940 <libm-alias-double.h>.
20941 (fdim): Define using libm_alias_double.
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20943 <libm-alias-double.h>.
20944 (fma): Define using libm_alias_double.
20945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20946 <libm-alias-double.h>.
20947 (llrint): Define using libm_alias_double.
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20949 Include <libm-alias-double.h>.
20950 (nearbyint): Define using libm_alias_double.
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20952 <libm-alias-double.h>.
20953 (rint): Define using libm_alias_double.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20955 <libm-alias-double.h>.
20956 (fabs): Define using libm_alias_double.
20957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20958 <libm-alias-double.h>.
20959 (llrint): Define using libm_alias_double.
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20961 <libm-alias-double.h>.
20962 (nearbyint): Define using libm_alias_double.
20963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20964 <libm-alias-double.h>.
20965 (rint): Define using libm_alias_double.
20966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20967 <libm-alias-double.h>.
20968 (ceil): Define using libm_alias_double.
20969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20970 <libm-alias-double.h>.
20971 (floor): Define using libm_alias_double.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20973 <libm-alias-double.h>.
20974 (fma): Define using libm_alias_double.
20975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20976 <libm-alias-double.h>.
20977 (lrint): Define using libm_alias_double.
20978 (llrint): Likewise.
20979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20980 <libm-alias-double.h>.
20981 (nearbyint): Define using libm_alias_double.
20982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20983 <libm-alias-double.h>.
20984 (rint): Define using libm_alias_double.
20985 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20986 <libm-alias-double.h>.
20987 (trunc): Define using libm_alias_double.
20988 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20989 <libm-alias-double.h>.
20990 (copysign): Define using libm_alias_double.
20991 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20992 <libm-alias-double.h>.
20993 (fabs): Define using libm_alias_double.
20994 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20995 <libm-alias-double.h>.
20996 (lrint): Define using libm_alias_double.
20997 (llrint): Likewise.
20998 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20999 <libm-alias-double.h>.
21000 (nearbyint): Define using libm_alias_double.
21001 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21002 <libm-alias-double.h>.
21003 (rint): Define using libm_alias_double.
21006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21008 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21010 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21011 SPARC --disable-multi-arch glibc variants.
21013 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21014 <libm-alias-float.h>.
21015 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21017 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21018 <libm-alias-float.h>.
21019 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21021 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21022 <libm-alias-float.h>.
21023 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21025 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21026 <libm-alias-float.h>.
21027 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21029 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21030 <libm-alias-float.h>.
21031 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21033 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21034 <libm-alias-float.h>.
21035 (ceilf): Define using libm_alias_float.
21036 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21037 <libm-alias-float.h>.
21038 (floorf): Define using libm_alias_float.
21039 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21040 <libm-alias-float.h>.
21041 (fmaf): Define using libm_alias_float.
21042 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21043 <libm-alias-float.h>.
21044 (nearbyintf): Define using libm_alias_float.
21045 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21046 <libm-alias-float.h>.
21047 (rintf): Define using libm_alias_float.
21048 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21049 <libm-alias-float.h>.
21050 (truncf): Define using libm_alias_float.
21051 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21052 (copysignf): Define using libm_alias_float.
21053 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21054 (cosf): Define using libm_alias_float.
21055 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21056 (fabsf): Define using libm_alias_float.
21057 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21058 (fmaxf): Define using libm_alias_float.
21059 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21060 (fminf): Define using libm_alias_float.
21061 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21062 (llrintf): Define using libm_alias_float.
21063 [!__ILP32__] (lrintf): Likewise.
21064 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21065 (sincosf): Define using libm_alias_float.
21066 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21067 (sinf): Define using libm_alias_float.
21068 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21069 (lrintf): Define using libm_alias_float.
21071 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21072 <libm-alias-double.h>.
21073 (atan): Define using libm_alias_double.
21074 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21075 <libm-alias-double.h>.
21076 (ceil): Define using libm_alias_double.
21077 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21078 <libm-alias-double.h>.
21079 (floor): Define using libm_alias_double.
21080 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21081 <libm-alias-double.h>.
21082 (fma): Define using libm_alias_double.
21083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21084 <libm-alias-double.h>.
21085 (nearbyint): Define using libm_alias_double.
21086 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21087 <libm-alias-double.h>.
21088 (rint): Define using libm_alias_double.
21089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21090 <libm-alias-double.h>.
21091 (sin): Define using libm_alias_double.
21093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21094 <libm-alias-double.h>.
21095 (tan): Define using libm_alias_double.
21096 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21097 <libm-alias-double.h>.
21098 (trunc): Define using libm_alias_double.
21099 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21100 (copysign): Define using libm_alias_double.
21101 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21102 (fabs): Define using libm_alias_double.
21103 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21104 (fmax): Define using libm_alias_double.
21105 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21106 (fmin): Define using libm_alias_double.
21107 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21108 (llrint): Define using libm_alias_double.
21109 [!__ILP32__] (lrint): Likewise.
21110 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21111 (lrint): Define using libm_alias_double.
21113 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21116 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21126 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21136 (libm-sysdep_routines): Add s_nearbyint-generic and
21137 s_nearbyintf-generic objects.
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21146 Add s_finitef-generic and s_finite-generic objects.
21147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21155 Add s_isinff-generic and s_isinf-generic objects.
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21164 Add s_isnanf-generic and s_isnan-generic objects.
21165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21172 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21176 (sysdep_routines): Use sysdep_calls as base.
21177 (libm-sysdep_routines): Add generic rule for symbols shared with
21178 libc. Add s_signbit-generic and s_signbitf-generic objects.
21179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21186 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21188 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21189 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21190 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21191 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21192 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21193 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21194 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21195 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21196 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21197 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21198 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21199 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21200 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21201 libm_alias_float_r.
21202 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21203 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21205 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21206 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21207 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21208 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21209 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21210 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21211 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21212 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21213 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21214 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21216 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21218 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21219 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21220 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21221 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21222 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21223 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21224 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21225 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21226 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21227 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21228 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21229 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21230 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21231 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21232 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21233 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21234 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21235 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21236 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21238 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21239 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21240 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21241 * sysdeps/ia64/fpu/w_lgammaf_main.c
21242 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21243 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21245 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21246 Alexandre Oliva <aoliva@redhat.com>
21249 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21250 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21252 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21254 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21255 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21256 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21257 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21258 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21259 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21260 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21261 instead of “ifdef DIACRIT_BACKWARD”.
21263 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21265 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21266 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21267 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21268 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21269 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21270 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21277 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21278 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21279 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21280 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21281 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21282 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21284 ($(have-as-vis3) == yes): Remove conditional.
21285 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21304 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21306 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21307 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21308 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21309 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21310 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21311 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21312 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21313 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21314 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21315 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21316 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21317 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21318 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21319 libm_alias_double_r.
21320 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21322 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21323 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21324 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21325 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21326 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21327 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21328 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21329 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21330 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21331 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21332 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21334 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21336 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21337 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21338 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21339 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21340 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21341 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21342 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21343 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21344 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21345 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21346 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21347 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21348 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21349 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21350 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21351 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21352 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21353 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21355 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21356 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21357 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21358 * sysdeps/ia64/fpu/w_lgamma_main.c
21359 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21360 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21362 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21364 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21365 address of $global$ into %dp register earlier. Use pc-relative
21366 instruction sequence for PIC case.
21368 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21370 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21371 (asinhf): Define using libm_alias_float.
21372 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21373 (atanf): Define using libm_alias_float.
21374 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21375 (cbrtf): Define using libm_alias_float.
21376 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21377 (ceilf): Define using libm_alias_float.
21378 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21379 (copysignf): Define using libm_alias_float.
21380 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21381 (expm1f): Define using libm_alias_float.
21382 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21383 (fabsf): Define using libm_alias_float.
21384 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21385 (floorf): Define using libm_alias_float.
21386 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21387 (fmaxf): Define using libm_alias_float.
21388 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21389 (fminf): Define using libm_alias_float.
21390 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21391 (frexpf): Define using libm_alias_float.
21392 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21393 (llrintf): Define using libm_alias_float.
21394 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21395 (logbf): Define using libm_alias_float.
21396 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21397 (lrintf): Define using libm_alias_float.
21398 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21399 (nearbyintf): Define using libm_alias_float.
21400 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21401 (remquof): Define using libm_alias_float.
21402 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21403 (rintf): Define using libm_alias_float.
21404 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21405 (truncf): Define using libm_alias_float.
21406 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21407 <libm-alias-float.h>.
21408 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21410 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21411 <libm-alias-float.h>.
21412 (expf): Define using libm_alias_float, or libm_alias_float_other
21414 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21415 <libm-alias-float.h>.
21416 (log2f): Define using libm_alias_float, or libm_alias_float_other
21418 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21419 <libm-alias-float.h>.
21420 (logf): Define using libm_alias_float, or libm_alias_float_other
21422 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21423 <libm-alias-float.h>.
21424 (powf): Define using libm_alias_float, or libm_alias_float_other
21426 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21427 <libm-alias-float.h>.
21428 (cosf): Define using libm_alias_float.
21429 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21430 <libm-alias-float.h>.
21431 (sincosf): Define using libm_alias_float.
21432 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21433 <libm-alias-float.h>.
21434 (sinf): Define using libm_alias_float.
21435 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21436 (fmaxf): Define using libm_alias_float.
21437 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21438 (fminf): Define using libm_alias_float.
21439 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21440 <libm-alias-float.h>.
21441 (fmaf): Define using libm_alias_float.
21443 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21444 (asinh): Define using libm_alias_double.
21445 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21446 (atan): Define using libm_alias_double.
21447 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21448 (cbrt): Define using libm_alias_double.
21449 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21450 (ceil): Define using libm_alias_double.
21451 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21452 (copysign): Define using libm_alias_double.
21453 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21454 (expm1): Define using libm_alias_double.
21455 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21456 (fabs): Define using libm_alias_double.
21457 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21458 (fdim): Define using libm_alias_double.
21459 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21460 (floor): Define using libm_alias_double.
21461 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21462 (fmax): Define using libm_alias_double.
21463 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21464 (fmin): Define using libm_alias_double.
21465 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21466 (frexp): Define using libm_alias_double.
21467 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21468 (llrint): Define using libm_alias_double.
21469 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21470 (logb): Define using libm_alias_double.
21471 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21472 (lrint): Define using libm_alias_double.
21473 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21474 (nearbyint): Define using libm_alias_double.
21475 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21476 (remquo): Define using libm_alias_double.
21477 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21478 (rint): Define using libm_alias_double.
21479 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21480 (trunc): Define using libm_alias_double.
21481 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21482 (fmax): Define using libm_alias_double.
21483 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21484 (fmin): Define using libm_alias_double.
21485 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21486 (fma): Define using libm_alias_double.
21488 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21491 * elf/dl-hwcaps.c (ROUND): Removed.
21492 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21493 and ELF_NOTE_NEXT_OFFSET.
21494 * elf/dl-load.c (ROUND): Removed.
21495 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21496 * elf/readelflib.c (ROUND): Removed.
21497 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21498 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21499 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21500 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21502 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21504 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21505 [!__fmaf] (fmaf): Define using libm_alias_float.
21507 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21508 [!__fma] (fma): Define using libm_alias_double.
21509 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21511 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21514 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21515 and implement the collation rules for cs from CLDR on top of that.
21516 * Makefile: Add cs_CZ.UTF-8 to test-input.
21517 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21519 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21521 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21523 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21524 Icarus Sparry <icarus.w.sparry@intel.com>
21526 * benchtests/Makefile:Add BENCHSET to allow subsets of
21527 benchmarks to be run.
21528 * benchtests/README: Add documentation for: Running subsets of
21531 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21533 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21534 range of tests names.
21536 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21537 result from property and remove "max", min" and "mean" from
21538 required properties based on benchtests/bench-skeleton.c.
21540 2017-11-28 Florian Weimer <fweimer@redhat.com>
21543 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21544 due to Internet requirement.
21545 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21547 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21549 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21552 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21553 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21554 (sysdep_routines): Add memset-ultra1.
21555 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21558 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21559 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21560 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21561 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21562 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21564 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21568 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21569 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21570 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21571 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21572 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21573 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21574 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21577 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21578 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21579 (sysdep_routines): Add memcpy-ultra1.
21580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21581 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21583 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21585 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21586 (cfloat_versions): Take function argument without trailing 'f'.
21587 Call libm_alias_float_other.
21588 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21589 * sysdeps/alpha/fpu/cargf.c: Likewise.
21590 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21591 * sysdeps/alpha/fpu/conjf.c: Likewise.
21592 * sysdeps/alpha/fpu/crealf.c: Likewise.
21593 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21594 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21595 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21596 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21597 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21598 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21599 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21600 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21601 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21602 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21603 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21604 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21605 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21606 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21607 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21608 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21609 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21610 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21611 (clog10f): Use libm_alias_float_other.
21612 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21613 (ceilf): Define using libm_alias_float.
21614 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21615 (copysignf): Define using libm_alias_float.
21616 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21617 (fabsf): Define using libm_alias_float.
21618 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21619 (floorf): Define using libm_alias_float.
21620 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21621 (fmaxf): Define using libm_alias_float.
21622 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21623 (fminf): Define using libm_alias_float.
21624 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21625 (lrintf): Define using libm_alias_float.
21626 (llrintf): Likewise.
21627 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21628 (lroundf): Define using libm_alias_float.
21629 (llroundf): Likewise.
21630 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21631 (rintf): Define using libm_alias_float.
21632 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21633 (truncf): Define using libm_alias_float.
21635 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21636 (ceilf): Define using libm_alias_float.
21637 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21638 (floorf): Define using libm_alias_float.
21639 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21640 (fmaf): Define using libm_alias_float.
21641 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21642 (fmaxf): Define using libm_alias_float.
21643 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21644 (fminf): Define using libm_alias_float.
21645 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21646 (llrintf): Define using libm_alias_float.
21647 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21648 (llroundf): Define using libm_alias_float.
21649 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21650 (lrintf): Define using libm_alias_float.
21651 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21652 (lroundf): Define using libm_alias_float.
21653 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21654 <libm-alias-float.h>.
21655 (nearbyintf): Define using libm_alias_float.
21656 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21657 (rintf): Define using libm_alias_float.
21658 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21659 (roundf): Define using libm_alias_float.
21660 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21661 (truncf): Define using libm_alias_float.
21663 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21664 (ceil): Define using libm_alias_double.
21665 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21666 (copysign): Define using libm_alias_double.
21667 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21668 (fabs): Define using libm_alias_double.
21669 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21670 (floor): Define using libm_alias_double.
21671 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21672 (fmax): Define using libm_alias_double.
21673 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21674 (fmin): Define using libm_alias_double.
21675 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21676 (lrint): Define using libm_alias_double.
21677 (llrint): Likewise.
21678 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21679 (lround): Define using libm_alias_double.
21680 (llround): Likewise.
21681 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21682 (rint): Define using libm_alias_double.
21683 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21684 (trunc): Define using libm_alias_double.
21686 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21687 (libm_alias_double_r): Add semicolon after weak_alias call.
21689 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21691 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21692 (ceil): Define using libm_alias_double.
21693 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21694 (floor): Define using libm_alias_double.
21695 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21696 (fma): Define using libm_alias_double.
21697 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21698 (fmax): Define using libm_alias_double.
21699 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21700 (fmin): Define using libm_alias_double.
21701 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21702 (llrint): Define using libm_alias_double.
21703 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21704 (llround): Define using libm_alias_double.
21705 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21706 (lrint): Define using libm_alias_double.
21707 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21708 (lround): Define using libm_alias_double.
21709 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21710 (nearbyint): Define using libm_alias_double.
21711 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21712 (rint): Define using libm_alias_double.
21713 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21714 (round): Define using libm_alias_double.
21715 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21716 (trunc): Define using libm_alias_double.
21718 2017-11-27 Florian Weimer <fweimer@redhat.com>
21720 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21721 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21722 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21723 (tests): Add tst-mlock2.
21724 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21726 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21727 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21728 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21729 for mlock. Document mlock2.
21731 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21733 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21734 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21736 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21738 * sysdeps/x86/Makeconfig: New file.
21739 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21740 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21741 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21742 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21743 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21744 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21745 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21747 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21748 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21749 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21750 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21751 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21752 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21753 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21754 * manual/math.texi (Mathematics): Document support for _Float64x.
21755 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21756 * stdlib/Versions (GLIBC_2.27): Likewise.
21757 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21758 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21759 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21760 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21761 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21762 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21763 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21764 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21765 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21766 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21773 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21774 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21775 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21776 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21777 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21778 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21779 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21780 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21781 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21782 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21783 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21785 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21786 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21788 2017-11-27 Andreas Schwab <schwab@suse.de>
21790 * elf/Makefile (dl-routines): Add dl-sort-maps.
21791 * elf/dl-sort-maps.c: New file.
21792 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21793 (_dl_sort_maps): Declare.
21794 * elf/dl-fini.c (_dl_sort_fini): Remove.
21795 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21796 * elf/dl-close.c (_dl_close_worker): Likewise.
21797 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21799 * elf/dl-open.c (dl_open_worker): Likewise.
21801 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21803 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21804 using libm_alias_float128.
21805 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21807 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21809 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21810 (setpayloadsigf128): Likewise.
21811 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21813 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21816 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21817 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21818 -mfloat128 to CFLAGS.
21820 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21822 (CFLAGS-libm-test-support-float64x.c): New variable.
21823 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21824 $(f128-loader-link) to gnulib-tests.
21826 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21827 (libm_alias_float128_other_r): If
21828 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21830 (libm_alias_float128_r): Add semicolon after weak_alias call.
21831 * sysdeps/generic/libm-alias-ldouble.h
21832 (libm_alias_ldouble_other_r_f128): New macro.
21833 (libm_alias_ldouble_other_r_f64x): Likewise.
21834 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21835 and libm_alias_ldouble_other_r_f64x.
21836 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21837 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21838 (libm_alias_ldouble_other_r_f128): New macro.
21839 (libm_alias_ldouble_other_r_f64x): Likewise.
21840 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21841 and libm_alias_ldouble_other_r_f64x.
21843 * stdlib/strfroml.c: Always include <stdlib.h>.
21844 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21845 undefine as macro and define as weak alias.
21846 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21847 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21849 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21850 Define and later undefine as macro and define as weak alias.
21852 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21853 Define and later undefine as macro. Define as weak alias if
21855 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21856 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21857 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21858 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21859 Define and later undefine as macro. Define as weak alias if
21861 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21862 Define and later undefine as macro. Define as weak alias if
21864 * sysdeps/ieee754/float128/strtof128_l.c
21865 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21866 Define and later undefine as macro. Define as weak alias if
21868 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21869 Define and later undefine as macro. Define as weak alias if
21871 * sysdeps/ieee754/ldbl-128/strtold_l.c
21872 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21873 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21874 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21875 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21876 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21877 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21878 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21879 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21880 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21881 * sysdeps/ieee754/ldbl-96/strtold_l.c
21882 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21883 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21884 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21885 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21887 * math/test-float64x.h: New file.
21888 * math/Makefile (type-float64x-yes): New variable.
21889 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21891 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21892 function-like macro.
21893 (min_of_type_): Likewise.
21894 (min_of_type_l): Likewise.
21895 (min_of_type_f128): Likewise.
21896 (min_of_type): Pass () as last argument of __MATH_TG.
21898 * stdlib/tst-strtod-round-skeleton.c
21899 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21902 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21903 for combinations of long double with _Float64 and _Float64x.
21905 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21906 (__DECL_SIMD_cosf32): Likewise.
21907 (__DECL_SIMD_cosf64): Likewise.
21908 (__DECL_SIMD_cosf32x): Likewise.
21909 (__DECL_SIMD_cosf64x): Likewise.
21910 (__DECL_SIMD_cosf128x): Likewise.
21911 (__DECL_SIMD_sinf16): Likewise.
21912 (__DECL_SIMD_sinf32): Likewise.
21913 (__DECL_SIMD_sinf64): Likewise.
21914 (__DECL_SIMD_sinf32x): Likewise.
21915 (__DECL_SIMD_sinf64x): Likewise.
21916 (__DECL_SIMD_sinf128x): Likewise.
21917 (__DECL_SIMD_sincosf16): Likewise.
21918 (__DECL_SIMD_sincosf32): Likewise.
21919 (__DECL_SIMD_sincosf64): Likewise.
21920 (__DECL_SIMD_sincosf32x): Likewise.
21921 (__DECL_SIMD_sincosf64x): Likewise.
21922 (__DECL_SIMD_sincosf128x): Likewise.
21923 (__DECL_SIMD_logf16): Likewise.
21924 (__DECL_SIMD_logf32): Likewise.
21925 (__DECL_SIMD_logf64): Likewise.
21926 (__DECL_SIMD_logf32x): Likewise.
21927 (__DECL_SIMD_logf64x): Likewise.
21928 (__DECL_SIMD_logf128x): Likewise.
21929 (__DECL_SIMD_expf16): Likewise.
21930 (__DECL_SIMD_expf32): Likewise.
21931 (__DECL_SIMD_expf64): Likewise.
21932 (__DECL_SIMD_expf32x): Likewise.
21933 (__DECL_SIMD_expf64x): Likewise.
21934 (__DECL_SIMD_expf128x): Likewise.
21935 (__DECL_SIMD_powf16): Likewise.
21936 (__DECL_SIMD_powf32): Likewise.
21937 (__DECL_SIMD_powf64): Likewise.
21938 (__DECL_SIMD_powf32x): Likewise.
21939 (__DECL_SIMD_powf64x): Likewise.
21940 (__DECL_SIMD_powf128x): Likewise.
21942 * stdlib/Versions (libc): Move entries for wcstof128 and
21943 wcstof128_l to ....
21944 * wcsmbs/Versions (libc): ... here.
21945 Include <float128-abi.h>.
21947 2017-11-24 Florian Weimer <fweimer@redhat.com>
21949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21950 bits/mman-shared.h.
21951 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21952 <bits/mman-shared.h>.
21953 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21955 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21956 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21957 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21958 <bits/mman-shared.h>.
21960 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21963 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21964 posix_memalign/free.
21965 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21967 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21970 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21971 and implement the collation rules for pl from CLDR on top of that.
21972 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21973 of locales to be built for testing.
21974 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21976 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21978 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21979 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21980 libm_alias_ldouble_other.
21981 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21982 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21983 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21984 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21985 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21986 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21987 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21988 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21989 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21990 libm_alias_ldouble_r.
21991 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21992 libm_alias_ldouble_other.
21993 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21994 (log10l): Likewise.
21995 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21996 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21997 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21998 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21999 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22000 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22001 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22002 (atan2l): Likewise.
22003 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22004 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22005 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22006 libm_alias_ldouble.
22007 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22009 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22010 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22011 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22013 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22014 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22015 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22016 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22017 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22018 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22019 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22020 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22021 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22022 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22023 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22024 libm_alias_ldouble.
22025 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22026 libm_alias_ldouble_other.
22027 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22028 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22029 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22030 libm_alias_ldouble.
22031 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22032 libm_alias_ldouble_other.
22033 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22034 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22035 * sysdeps/ia64/fpu/w_lgammal_main.c
22036 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22037 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22039 2017-11-23 Florian Weimer <fweimer@redhat.com>
22041 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22042 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22043 alike. Remove freeres marker.
22044 * malloc/arena.c (arena_thread_freeres): Call
22045 tcache_thread_shutdown.
22047 2017-11-23 Florian Weimer <fweimer@redhat.com>
22050 Export nscd hash function as __nss_hash.
22051 * include/nss.h (__nss_hash): Declare.
22052 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22054 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22055 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22057 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22058 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22059 * nss/Makefiles (routines): Add nss_hash.
22060 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22061 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22062 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22063 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22065 2017-11-23 Florian Weimer <fweimer@redhat.com>
22068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22069 Return error code, not -1.
22070 * signal/tst-sigwait-eintr.c: New file.
22071 * signal/Makefile (tests): Add tst-sigwait-eintr.
22073 2017-11-23 Florian Weimer <fweimer@redhat.com>
22075 Linux: Add memfd_create system call wrapper
22076 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22078 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22079 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22080 [__USE_GNU] (memfd_create): Declare.
22081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22082 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22083 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22084 * sysdeps/unix/sysv/linux/**.abilist: Update.
22085 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22087 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22089 * localedata/gen-locale.sh: Fix typo in variable name.
22091 * resolv/res_debug.c (p_secstodate): Condition definition on
22092 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22093 directly as __p_secstodate, and as a compat symbol. Do not use
22094 libresolv_hidden_def.
22095 * resolv/resolv.h (p_secstodate): Remove macro and function
22097 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22098 using p_secstodate.
22099 * include/resolv.h (__p_secstodate): Do not use
22100 libresolv_hidden_proto.
22101 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22102 (tests-internal): ... here.
22103 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22104 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22105 and declare and use __p_secstodate and use compat_symbol_reference
22107 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22108 implementation returning 77.
22111 * resolv/res_debug.c: Include <libc-diag.h>.
22112 (p_secstodate): Assert time_t at least as wide as u_long. On
22113 overflow, use integer seconds since the epoch as output, or use
22114 "<overflow>" as output and set errno to EOVERFLOW if integer
22115 seconds since the epoch would be 14 or more characters.
22116 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22118 * resolv/tst-p_secstodate.c: New file.
22119 * resolv/Makefile (tests): Add tst-p_secstodate.
22120 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22122 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22123 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22124 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22126 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22128 * posix/regcomp.c (init_word_char): Add comments.
22130 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22133 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22134 strlen to compute length of ut_user and set trailing NUL byte of
22137 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22140 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22141 using “copy "iso14651_t1"” and then implementing the
22142 collation rules for lv from CLDR on top of that.
22143 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22144 of locales to be built for testing.
22145 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22148 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22150 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22151 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22152 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22153 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22154 [__USE_MISC] (MADV_HWPOISON): New macro.
22155 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22157 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22159 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22160 -Wmissing-braces on GCC 4.9.
22162 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22164 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22165 * sysdeps/s390/s390-32/start.S (_start): Likewise
22166 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22167 (thread_start): Likewise.
22168 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22169 (thread_start): Likewise.
22170 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22171 (__makecontext_ret): Likewise.
22172 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22173 (__makecontext_ret): Likewise.
22175 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22177 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22178 __wcschrnul): Remove attribute_hidden.
22180 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22182 regex: don't assume uint64_t or uint32_t
22183 This avoids -Werror=overflow errors for 32-bit systems in
22184 the 64-bit case. Problem reported by Joseph Myers in:
22185 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22186 Also, when this code is used in Gnulib it ports to platforms
22187 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22188 them, and on some 32-bit compilers there is no uint64_t.
22189 Problem reported by Gianluigi Tiesi in:
22190 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22191 * posix/regcomp.c (init_word_char): Don't assume that the types
22192 uint64_t and uint32_t exist. Adapted from Gnulib patch
22193 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22194 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22196 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22198 * sysdeps/aarch64/memset-reg.h: New file.
22199 * sysdeps/aarch64/memset.S: Use it.
22200 (__memset): Rename to MEMSET macro.
22201 [ZVA_MACRO]: Use zva_macro.
22202 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22203 Add memset_generic and memset_falkor.
22204 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22205 (__libc_ifunc_impl_list): Add memset ifuncs.
22206 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22207 local variable zva_size.
22208 * sysdeps/aarch64/multiarch/memset.c: New file.
22209 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22210 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22211 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22212 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22213 (DCZID_DZP_MASK): New macro.
22214 (DCZID_BS_MASK): Likewise.
22215 (init_cpu_features): Read and set zva_size.
22216 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22217 (struct cpu_features): New member zva_size.
22219 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22220 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22221 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22223 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22224 backwards. Fix timing computation.
22225 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22226 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22227 on memset by N at a time. Fix timing computation.
22229 2017-11-20 Florian Weimer <fweimer@redhat.com>
22231 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22232 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22234 2017-11-19 Florian Weimer <fweimer@redhat.com>
22236 manual: Document mprotect
22237 * manual/memory.texi (Memory Protection): New section.
22238 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22239 documentation of PROT_* flags and reference the Memory Protection
22242 2017-11-19 Florian Weimer <fweimer@redhat.com>
22244 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22245 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22246 (Scatter-Gather): ... to here. Remove misleading comment.
22248 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22250 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22253 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22254 when /proc/<pid>/setgroups does not exist.
22256 2017-11-18 Florian Weimer <fweimer@redhat.com>
22258 * sysdeps/unix/sysv/linux/tst-ttyname.c
22259 (become_root_in_mount_ns): Remove.
22260 (do_in_chroot_1): Call support_enter_mount_namespace.
22261 (do_in_chroot_2): Likewise.
22262 (do_test): Call support_become_root early.
22264 2017-11-18 Florian Weimer <fweimer@redhat.com>
22266 * support/namespace.h (support_enter_mount_namespace): Declare.
22267 * support/support_enter_mount_namespace.c: New file.
22268 * support/Makefile (libsupport-routines): Add
22269 support_enter_mount_namespace.
22271 2017-11-18 Florian Weimer <fweimer@redhat.com>
22273 * support/temp_file.c (support_create_temp_directory): Use
22274 test_dir and do not rely on the presence of the XXXXXX suffix.
22275 * support/temp_file.h (support_create_temp_directory): Update
22277 * support/tst-xreadlink.c (do_test): Adjust.
22278 * support/support_chroot.c (support_chroot_create): Likewise.
22280 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22282 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22284 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22287 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22289 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22290 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22291 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22292 (ceill): Define using libm_alias_ldouble.
22293 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22294 <libm-alias-ldouble.h>.
22295 (copysignl): Define using libm_alias_ldouble.
22296 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22297 (fabsl): Define using libm_alias_ldouble.
22298 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22299 (floorl): Define using libm_alias_ldouble.
22300 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22301 (fmaxl): Define using libm_alias_ldouble.
22302 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22303 (fminl): Define using libm_alias_ldouble.
22304 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22305 (llrintl): Define using libm_alias_ldouble.
22306 (lrintl): Likewise.
22307 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22308 <libm-alias-ldouble.h>.
22309 (nearbyintl): Define using libm_alias_ldouble.
22310 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22311 (truncl): Define using libm_alias_ldouble.
22312 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22313 <libm-alias-ldouble.h>.
22314 (lrintl): Define using libm_alias_ldouble.
22316 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22317 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22318 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22319 (asinhl): Define using libm_alias_ldouble.
22320 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22321 (atanl): Define using libm_alias_ldouble.
22322 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22323 (cbrtl): Define using libm_alias_ldouble.
22324 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22325 (ceill): Define using libm_alias_ldouble.
22326 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22327 (copysignl): Define using libm_alias_ldouble.
22328 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22329 (fabsl): Define using libm_alias_ldouble.
22330 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22331 (floorl): Define using libm_alias_ldouble.
22332 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22333 (fmaxl): Define using libm_alias_ldouble.
22334 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22335 (fminl): Define using libm_alias_ldouble.
22336 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22337 (frexpl): Define using libm_alias_ldouble.
22338 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22339 (llrintl): Define using libm_alias_ldouble.
22340 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22341 (logbl): Define using libm_alias_ldouble.
22342 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22343 (lrintl): Define using libm_alias_ldouble.
22344 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22345 (nearbyintl): Define using libm_alias_ldouble.
22346 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22347 (nextafterl): Define using libm_alias_ldouble.
22348 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22349 (remquol): Define using libm_alias_ldouble.
22350 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22351 (rintl): Define using libm_alias_ldouble.
22352 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22353 (truncl): Define using libm_alias_ldouble.
22354 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22355 (fmaxl): Define using libm_alias_ldouble.
22356 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22357 (fminl): Define using libm_alias_ldouble.
22359 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22360 to C syntax instead of availability and properties of types.
22361 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22362 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22363 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22364 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22365 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22366 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22368 2017-11-17 Florian Weimer <fweimer@redhat.com>
22370 support_become_root: Enable file creation in namespaces.
22371 * support/support_become_root.c (setup_mapping): New function.
22372 (support_become_root): Call it.
22374 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22376 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22379 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22381 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22382 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22384 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22386 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22388 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22391 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22393 * INSTALL: Fix botched up regeneration.
22395 * NEWS: Update sourceare link to https.
22396 * configure.ac: Likewise.
22397 * crypt/md5test-giant.c: Likewise.
22398 * dlfcn/bug-atexit1.c: Likewise.
22399 * dlfcn/bug-atexit2.c: Likewise.
22400 * localedata/README: Likewise.
22401 * malloc/tst-mallocfork.c: Likewise.
22402 * manual/install.texi: Likewise.
22403 * nptl/tst-pthread-getattr.c: Likewise.
22404 * stdio-common/tst-fgets.c: Likewise.
22405 * stdio-common/tst-fwrite.c: Likewise.
22406 * sunrpc/Makefile: Likewise.
22407 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22408 * wcsmbs/tst-mbrtowc2.c: Likewise.
22409 * configure: Regenerate.
22410 * INSTALL: Regenerate.
22412 2017-11-15 Martin Sebor <msebor@redhat.com>
22414 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22415 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22416 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22418 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22421 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22422 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22425 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22426 Defer is_pty check until end of the function.
22427 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22430 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22431 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22432 (ttyname): Likewise.
22433 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22434 (__ttyname_r): Likewise.
22436 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22439 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22441 * manual/terminal.texi (Is It a Terminal):
22442 Mention ENODEV for ttyname and ttyname_r.
22444 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22446 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22447 constant and macro.
22449 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22450 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22451 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22452 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22453 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22454 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22456 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22458 * signal/sigrelse.c (sigrelse): Optimize implementation.
22460 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22461 (__sigpause): Rely on __sigsuspend to implement single thread
22462 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22464 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22466 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22467 kernel version to 4.14.
22469 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22472 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22473 Check if ifname is too long.
22475 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22477 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22479 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22481 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22482 was accidentally lost.
22484 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22486 * localedata/locales/az_IR: Add standard copyright header.
22488 2017-11-15 Florian Weimer <fweimer@redhat.com>
22491 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22492 not just the top one. Output a new "subheaps" statistic.
22494 2017-11-15 Florian Weimer <fweimer@redhat.com>
22497 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22498 under the per-arena lock.
22499 * malloc/Makefile (tests): Add tst-malloc_info.
22500 (tst-malloc_info): Link with libpthread.
22501 * malloc/tst-malloc_info.c: New file.
22503 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22506 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22507 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22508 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22509 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22510 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22511 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22512 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22513 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22514 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22515 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22516 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22517 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22518 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22520 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22521 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22522 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22523 (__floating_type): Likewise.
22524 (__real_integer_type): Likewise.
22525 (__complex_integer_type): Likewise.
22526 (__expr_is_real): Likewise.
22527 (__tgmath_real_type_sub): Likewise.
22528 (__tgmath_real_type): Likewise.
22529 (__tgmath_complex_type_sub): Likewise.
22530 (__tgmath_complex_type): Likewise.
22531 (__TGMATH_F128): Likewise.
22532 (__TGMATH_CF128): Likewise.
22533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22535 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22540 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22545 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22546 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22548 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22549 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22552 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22553 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22554 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22558 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22560 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22561 for stpncpy calls for GCC 8.
22562 (test_strncat): Disable -Wstringop-truncation warning for strncat
22563 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22564 strncat call for GCC 7.
22565 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22567 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22570 * string/bug-strncat1.c: Include <libc-diag.h>.
22571 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22573 2017-11-13 Claude Paroz <claude@2xlibre.net>
22576 * localedata/locales/aa_DJ: Improved readibility by replacing
22577 <Uxxxx> sequences in the ASCII printable range by their ASCII
22578 character equivalents.
22579 * localedata/locales/aa_ER: Likewise.
22580 * localedata/locales/aa_ER@saaho: Likewise.
22581 * localedata/locales/aa_ET: Likewise.
22582 * localedata/locales/af_ZA: Likewise.
22583 * localedata/locales/agr_PE: Likewise.
22584 * localedata/locales/ak_GH: Likewise.
22585 * localedata/locales/am_ET: Likewise.
22586 * localedata/locales/anp_IN: Likewise.
22587 * localedata/locales/ar_AE: Likewise.
22588 * localedata/locales/ar_BH: Likewise.
22589 * localedata/locales/ar_DZ: Likewise.
22590 * localedata/locales/ar_EG: Likewise.
22591 * localedata/locales/ar_IN: Likewise.
22592 * localedata/locales/ar_IQ: Likewise.
22593 * localedata/locales/ar_JO: Likewise.
22594 * localedata/locales/ar_KW: Likewise.
22595 * localedata/locales/ar_LB: Likewise.
22596 * localedata/locales/ar_LY: Likewise.
22597 * localedata/locales/ar_MA: Likewise.
22598 * localedata/locales/ar_OM: Likewise.
22599 * localedata/locales/ar_QA: Likewise.
22600 * localedata/locales/ar_SA: Likewise.
22601 * localedata/locales/ar_SD: Likewise.
22602 * localedata/locales/ar_SS: Likewise.
22603 * localedata/locales/ar_SY: Likewise.
22604 * localedata/locales/ar_TN: Likewise.
22605 * localedata/locales/ar_YE: Likewise.
22606 * localedata/locales/as_IN: Likewise.
22607 * localedata/locales/ast_ES: Likewise.
22608 * localedata/locales/ayc_PE: Likewise.
22609 * localedata/locales/az_AZ: Likewise.
22610 * localedata/locales/az_IR: Likewise.
22611 * localedata/locales/be_BY: Likewise.
22612 * localedata/locales/be_BY@latin: Likewise.
22613 * localedata/locales/bem_ZM: Likewise.
22614 * localedata/locales/ber_DZ: Likewise.
22615 * localedata/locales/ber_MA: Likewise.
22616 * localedata/locales/bg_BG: Likewise.
22617 * localedata/locales/bhb_IN: Likewise.
22618 * localedata/locales/bho_IN: Likewise.
22619 * localedata/locales/bi_VU: Likewise.
22620 * localedata/locales/bn_BD: Likewise.
22621 * localedata/locales/bn_IN: Likewise.
22622 * localedata/locales/bo_CN: Likewise.
22623 * localedata/locales/bo_IN: Likewise.
22624 * localedata/locales/br_FR: Likewise.
22625 * localedata/locales/brx_IN: Likewise.
22626 * localedata/locales/bs_BA: Likewise.
22627 * localedata/locales/byn_ER: Likewise.
22628 * localedata/locales/ca_AD: Likewise.
22629 * localedata/locales/ca_ES: Likewise.
22630 * localedata/locales/ca_FR: Likewise.
22631 * localedata/locales/ca_IT: Likewise.
22632 * localedata/locales/ce_RU: Likewise.
22633 * localedata/locales/chr_US: Likewise.
22634 * localedata/locales/cmn_TW: Likewise.
22635 * localedata/locales/crh_UA: Likewise.
22636 * localedata/locales/cs_CZ: Likewise.
22637 * localedata/locales/csb_PL: Likewise.
22638 * localedata/locales/cv_RU: Likewise.
22639 * localedata/locales/cy_GB: Likewise.
22640 * localedata/locales/da_DK: Likewise.
22641 * localedata/locales/de_AT: Likewise.
22642 * localedata/locales/de_BE: Likewise.
22643 * localedata/locales/de_CH: Likewise.
22644 * localedata/locales/de_DE: Likewise.
22645 * localedata/locales/de_IT: Likewise.
22646 * localedata/locales/de_LI: Likewise.
22647 * localedata/locales/de_LU: Likewise.
22648 * localedata/locales/doi_IN: Likewise.
22649 * localedata/locales/dv_MV: Likewise.
22650 * localedata/locales/dz_BT: Likewise.
22651 * localedata/locales/el_CY: Likewise.
22652 * localedata/locales/el_GR: Likewise.
22653 * localedata/locales/en_AG: Likewise.
22654 * localedata/locales/en_AU: Likewise.
22655 * localedata/locales/en_BW: Likewise.
22656 * localedata/locales/en_CA: Likewise.
22657 * localedata/locales/en_DK: Likewise.
22658 * localedata/locales/en_GB: Likewise.
22659 * localedata/locales/en_HK: Likewise.
22660 * localedata/locales/en_IE: Likewise.
22661 * localedata/locales/en_IL: Likewise.
22662 * localedata/locales/en_IN: Likewise.
22663 * localedata/locales/en_NG: Likewise.
22664 * localedata/locales/en_NZ: Likewise.
22665 * localedata/locales/en_PH: Likewise.
22666 * localedata/locales/en_SG: Likewise.
22667 * localedata/locales/en_US: Likewise.
22668 * localedata/locales/en_ZA: Likewise.
22669 * localedata/locales/en_ZM: Likewise.
22670 * localedata/locales/en_ZW: Likewise.
22671 * localedata/locales/eo: Likewise.
22672 * localedata/locales/es_AR: Likewise.
22673 * localedata/locales/es_BO: Likewise.
22674 * localedata/locales/es_CL: Likewise.
22675 * localedata/locales/es_CO: Likewise.
22676 * localedata/locales/es_CR: Likewise.
22677 * localedata/locales/es_CU: Likewise.
22678 * localedata/locales/es_DO: Likewise.
22679 * localedata/locales/es_EC: Likewise.
22680 * localedata/locales/es_ES: Likewise.
22681 * localedata/locales/es_GT: Likewise.
22682 * localedata/locales/es_HN: Likewise.
22683 * localedata/locales/es_MX: Likewise.
22684 * localedata/locales/es_NI: Likewise.
22685 * localedata/locales/es_PA: Likewise.
22686 * localedata/locales/es_PE: Likewise.
22687 * localedata/locales/es_PR: Likewise.
22688 * localedata/locales/es_PY: Likewise.
22689 * localedata/locales/es_SV: Likewise.
22690 * localedata/locales/es_US: Likewise.
22691 * localedata/locales/es_UY: Likewise.
22692 * localedata/locales/es_VE: Likewise.
22693 * localedata/locales/et_EE: Likewise.
22694 * localedata/locales/eu_ES: Likewise.
22695 * localedata/locales/eu_ES@euro: Likewise.
22696 * localedata/locales/fa_IR: Likewise.
22697 * localedata/locales/ff_SN: Likewise.
22698 * localedata/locales/fi_FI: Likewise.
22699 * localedata/locales/fil_PH: Likewise.
22700 * localedata/locales/fo_FO: Likewise.
22701 * localedata/locales/fr_BE: Likewise.
22702 * localedata/locales/fr_CA: Likewise.
22703 * localedata/locales/fr_CH: Likewise.
22704 * localedata/locales/fr_FR: Likewise.
22705 * localedata/locales/fr_LU: Likewise.
22706 * localedata/locales/fur_IT: Likewise.
22707 * localedata/locales/fy_DE: Likewise.
22708 * localedata/locales/fy_NL: Likewise.
22709 * localedata/locales/ga_IE: Likewise.
22710 * localedata/locales/gd_GB: Likewise.
22711 * localedata/locales/gez_ER: Likewise.
22712 * localedata/locales/gez_ET: Likewise.
22713 * localedata/locales/gl_ES: Likewise.
22714 * localedata/locales/gu_IN: Likewise.
22715 * localedata/locales/gv_GB: Likewise.
22716 * localedata/locales/ha_NG: Likewise.
22717 * localedata/locales/hak_TW: Likewise.
22718 * localedata/locales/he_IL: Likewise.
22719 * localedata/locales/hi_IN: Likewise.
22720 * localedata/locales/hif_FJ: Likewise.
22721 * localedata/locales/hne_IN: Likewise.
22722 * localedata/locales/hr_HR: Likewise.
22723 * localedata/locales/hsb_DE: Likewise.
22724 * localedata/locales/ht_HT: Likewise.
22725 * localedata/locales/hu_HU: Likewise.
22726 * localedata/locales/hy_AM: Likewise.
22727 * localedata/locales/i18n: Likewise.
22728 * localedata/locales/ia_FR: Likewise.
22729 * localedata/locales/id_ID: Likewise.
22730 * localedata/locales/ig_NG: Likewise.
22731 * localedata/locales/ik_CA: Likewise.
22732 * localedata/locales/is_IS: Likewise.
22733 * localedata/locales/it_CH: Likewise.
22734 * localedata/locales/it_IT: Likewise.
22735 * localedata/locales/iu_CA: Likewise.
22736 * localedata/locales/ja_JP: Likewise.
22737 * localedata/locales/ka_GE: Likewise.
22738 * localedata/locales/kk_KZ: Likewise.
22739 * localedata/locales/kl_GL: Likewise.
22740 * localedata/locales/kn_IN: Likewise.
22741 * localedata/locales/ko_KR: Likewise.
22742 * localedata/locales/kok_IN: Likewise.
22743 * localedata/locales/ks_IN: Likewise.
22744 * localedata/locales/ks_IN@devanagari: Likewise.
22745 * localedata/locales/ku_TR: Likewise.
22746 * localedata/locales/kw_GB: Likewise.
22747 * localedata/locales/ky_KG: Likewise.
22748 * localedata/locales/lb_LU: Likewise.
22749 * localedata/locales/lg_UG: Likewise.
22750 * localedata/locales/li_BE: Likewise.
22751 * localedata/locales/li_NL: Likewise.
22752 * localedata/locales/lij_IT: Likewise.
22753 * localedata/locales/ln_CD: Likewise.
22754 * localedata/locales/lo_LA: Likewise.
22755 * localedata/locales/lt_LT: Likewise.
22756 * localedata/locales/lv_LV: Likewise.
22757 * localedata/locales/lzh_TW: Likewise.
22758 * localedata/locales/mag_IN: Likewise.
22759 * localedata/locales/mai_IN: Likewise.
22760 * localedata/locales/mg_MG: Likewise.
22761 * localedata/locales/mhr_RU: Likewise.
22762 * localedata/locales/mi_NZ: Likewise.
22763 * localedata/locales/mk_MK: Likewise.
22764 * localedata/locales/ml_IN: Likewise.
22765 * localedata/locales/mn_MN: Likewise.
22766 * localedata/locales/mni_IN: Likewise.
22767 * localedata/locales/mr_IN: Likewise.
22768 * localedata/locales/ms_MY: Likewise.
22769 * localedata/locales/mt_MT: Likewise.
22770 * localedata/locales/my_MM: Likewise.
22771 * localedata/locales/nan_TW: Likewise.
22772 * localedata/locales/nan_TW@latin: Likewise.
22773 * localedata/locales/nb_NO: Likewise.
22774 * localedata/locales/nds_DE: Likewise.
22775 * localedata/locales/nds_NL: Likewise.
22776 * localedata/locales/ne_NP: Likewise.
22777 * localedata/locales/nhn_MX: Likewise.
22778 * localedata/locales/niu_NU: Likewise.
22779 * localedata/locales/niu_NZ: Likewise.
22780 * localedata/locales/nl_AW: Likewise.
22781 * localedata/locales/nl_BE: Likewise.
22782 * localedata/locales/nl_NL: Likewise.
22783 * localedata/locales/nn_NO: Likewise.
22784 * localedata/locales/nr_ZA: Likewise.
22785 * localedata/locales/nso_ZA: Likewise.
22786 * localedata/locales/oc_FR: Likewise.
22787 * localedata/locales/om_ET: Likewise.
22788 * localedata/locales/om_KE: Likewise.
22789 * localedata/locales/or_IN: Likewise.
22790 * localedata/locales/os_RU: Likewise.
22791 * localedata/locales/pa_IN: Likewise.
22792 * localedata/locales/pa_PK: Likewise.
22793 * localedata/locales/pap_AW: Likewise.
22794 * localedata/locales/pap_CW: Likewise.
22795 * localedata/locales/pl_PL: Likewise.
22796 * localedata/locales/ps_AF: Likewise.
22797 * localedata/locales/pt_BR: Likewise.
22798 * localedata/locales/pt_PT: Likewise.
22799 * localedata/locales/quz_PE: Likewise.
22800 * localedata/locales/raj_IN: Likewise.
22801 * localedata/locales/ro_RO: Likewise.
22802 * localedata/locales/ru_RU: Likewise.
22803 * localedata/locales/ru_UA: Likewise.
22804 * localedata/locales/rw_RW: Likewise.
22805 * localedata/locales/sa_IN: Likewise.
22806 * localedata/locales/sat_IN: Likewise.
22807 * localedata/locales/sc_IT: Likewise.
22808 * localedata/locales/sd_IN: Likewise.
22809 * localedata/locales/sd_IN@devanagari: Likewise.
22810 * localedata/locales/se_NO: Likewise.
22811 * localedata/locales/sgs_LT: Likewise.
22812 * localedata/locales/shs_CA: Likewise.
22813 * localedata/locales/si_LK: Likewise.
22814 * localedata/locales/sid_ET: Likewise.
22815 * localedata/locales/sk_SK: Likewise.
22816 * localedata/locales/sl_SI: Likewise.
22817 * localedata/locales/sm_WS: Likewise.
22818 * localedata/locales/so_DJ: Likewise.
22819 * localedata/locales/so_ET: Likewise.
22820 * localedata/locales/so_KE: Likewise.
22821 * localedata/locales/so_SO: Likewise.
22822 * localedata/locales/sq_AL: Likewise.
22823 * localedata/locales/sq_MK: Likewise.
22824 * localedata/locales/sr_ME: Likewise.
22825 * localedata/locales/sr_RS: Likewise.
22826 * localedata/locales/sr_RS@latin: Likewise.
22827 * localedata/locales/ss_ZA: Likewise.
22828 * localedata/locales/st_ZA: Likewise.
22829 * localedata/locales/sv_FI: Likewise.
22830 * localedata/locales/sv_SE: Likewise.
22831 * localedata/locales/sw_KE: Likewise.
22832 * localedata/locales/sw_TZ: Likewise.
22833 * localedata/locales/szl_PL: Likewise.
22834 * localedata/locales/ta_IN: Likewise.
22835 * localedata/locales/ta_LK: Likewise.
22836 * localedata/locales/tcy_IN: Likewise.
22837 * localedata/locales/te_IN: Likewise.
22838 * localedata/locales/tg_TJ: Likewise.
22839 * localedata/locales/th_TH: Likewise.
22840 * localedata/locales/the_NP: Likewise.
22841 * localedata/locales/ti_ER: Likewise.
22842 * localedata/locales/ti_ET: Likewise.
22843 * localedata/locales/tig_ER: Likewise.
22844 * localedata/locales/tk_TM: Likewise.
22845 * localedata/locales/tl_PH: Likewise.
22846 * localedata/locales/tn_ZA: Likewise.
22847 * localedata/locales/to_TO: Likewise.
22848 * localedata/locales/tpi_PG: Likewise.
22849 * localedata/locales/tr_CY: Likewise.
22850 * localedata/locales/tr_TR: Likewise.
22851 * localedata/locales/ts_ZA: Likewise.
22852 * localedata/locales/tt_RU: Likewise.
22853 * localedata/locales/tt_RU@iqtelif: Likewise.
22854 * localedata/locales/ug_CN: Likewise.
22855 * localedata/locales/uk_UA: Likewise.
22856 * localedata/locales/unm_US: Likewise.
22857 * localedata/locales/ur_IN: Likewise.
22858 * localedata/locales/ur_PK: Likewise.
22859 * localedata/locales/uz_UZ: Likewise.
22860 * localedata/locales/uz_UZ@cyrillic: Likewise.
22861 * localedata/locales/ve_ZA: Likewise.
22862 * localedata/locales/vi_VN: Likewise.
22863 * localedata/locales/wa_BE: Likewise.
22864 * localedata/locales/wae_CH: Likewise.
22865 * localedata/locales/wal_ET: Likewise.
22866 * localedata/locales/wo_SN: Likewise.
22867 * localedata/locales/xh_ZA: Likewise.
22868 * localedata/locales/yi_US: Likewise.
22869 * localedata/locales/yo_NG: Likewise.
22870 * localedata/locales/yue_HK: Likewise.
22871 * localedata/locales/yuw_PG: Likewise.
22872 * localedata/locales/zh_CN: Likewise.
22873 * localedata/locales/zh_HK: Likewise.
22874 * localedata/locales/zh_SG: Likewise.
22875 * localedata/locales/zh_TW: Likewise.
22876 * localedata/locales/zu_ZA: Likewise.
22878 2017-11-13 Florian Weimer <fweimer@redhat.com>
22880 * support/next_to_fault.h, support/next_to_fault.c: New files.
22881 * support/Makefile (libsupport-routines): Add next_to_fault.
22882 * resolv/tst-inet_pton.c (struct next_to_fault)
22883 (next_to_fault_allocate, next_to_fault_free): Remove.
22884 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22886 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22888 * elf/dl-support.c: Include <dl-procruntime.c>.
22889 * include/link.h: Include <link_map.h>.
22890 * sysdeps/generic/dl-procruntime.c: New file.
22891 * sysdeps/generic/link_map.h: Likewise.
22892 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22893 the writable ld.so namespace.
22895 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22897 timezone: pacify GCC -Wstringop-truncation
22898 Problem reported by Martin Sebor in:
22899 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22900 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22902 2017-11-12 Florian Weimer <fweimer@redhat.com>
22904 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22906 (tests): Add tst-xreadlink.
22907 * support/support.h (xstrndup): Declare.
22908 * support/xunistd.h (xunlink, xreadlink): Declare.
22909 * support/temp_file.h (support_create_temp_directory): Declare.
22910 * support/temp_file.c (support_create_temp_directory): New function.
22911 * support/support_chroot.c (support_chroot_create): Use it.
22912 * support/xreadlink.c: New file.
22913 * support/xstrndup.c: Likewise.
22914 * support/xunlink.c: Likewise.
22915 * support/tst-xreadlink.c: Likewise.
22917 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22919 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22921 2017-11-11 Florian Weimer <fweimer@redhat.com>
22925 * resolv/res_comp.c (printable_string, binary_hnok)
22926 (binary_leading_dash): New functions.
22927 (res_hnok): Reimplement using these functions and ns_name_pton.
22928 (res_ownok): Likewise.
22929 (res_mailok): Reimplement using printable_string, ns_name_pton and
22931 (res_dnok): Reimplement using printable_string and ns_name_pton.
22932 * resolv/tst-res_hnok.c (tests): Add additional tests.
22933 (LETTERDIGITS, PRINTABLE): Define.
22934 (do_test): Adjust one_char results.
22936 2017-11-11 Florian Weimer <fweimer@redhat.com>
22939 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22940 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22942 2017-11-11 Florian Weimer <fweimer@redhat.com>
22944 * resolv/tst-ns_name_pton.c: New file.
22945 * resolv/Makefile (tests): Add tst-ns_name_pton.
22946 (tst-ns_name_pton): Link against libresolv.
22948 2017-11-11 Florian Weimer <fweimer@redhat.com>
22950 * resolv/tst-res_hnok.c: New file.
22951 * resolv/Makefile (tests): Add tst-res_hnok.
22952 (tst-res_hnok): Link against libresolv.
22954 2017-11-11 Florian Weimer <fweimer@redhat.com>
22956 * resolv/tst-resolv-network.c: Use test framework instead explicit
22959 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22961 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22962 <jmp_buf-macros.h>.
22963 [!_ISOMAC] (STR_HELPER): New.
22964 [!_ISOMAC] (STR): Likewise.
22965 [!_ISOMAC] (TEST_SIZE): Likewise.
22966 [!_ISOMAC] (TEST_ALIGN): Likewise.
22967 [!_ISOMAC] (TEST_OFFSET): Likewise.
22968 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22969 field offsets of jmp_buf as well as sigjmp_buf.
22970 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22971 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22972 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22973 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22974 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22975 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22976 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22977 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22978 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22979 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22981 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22983 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22988 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22989 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22990 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22991 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22992 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22997 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22998 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22999 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23001 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23005 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23007 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23008 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23009 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23010 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23011 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23012 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23013 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23014 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23015 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23017 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23019 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23021 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23023 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23025 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23027 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23029 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23031 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23033 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23035 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23037 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23039 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23041 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23043 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23045 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23047 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23049 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23051 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23053 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23055 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23057 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23059 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23061 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23063 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23065 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23067 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23069 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23071 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23073 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23075 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23077 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23079 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23081 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23083 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23085 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23087 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23089 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23091 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23093 * stdlib/tst-strtod.h (F16): New macro.
23099 (IF_FLOAT16): Likewise.
23100 (IF_FLOAT32): Likewise.
23101 (IF_FLOAT64): Likewise.
23102 (IF_FLOAT32X): Likewise.
23103 (IF_FLOAT64X): Likewise.
23104 (IF_FLOAT128X): Likewise.
23105 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23106 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23107 (STRTOD_TEST_FOREACH): Likewise.
23108 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23109 (CHOOSE_f64): Likewise.
23110 (CHOOSE_f32x): Likewise.
23111 (CHOOSE_f64x): Likewise.
23113 2017-11-07 Andreas Schwab <schwab@suse.de>
23115 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23117 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23120 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23122 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23125 2017-11-07 Claude Paroz <claude@2xlibre.net>
23128 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23130 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23132 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23135 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23138 * nptl/allocatestack.c (allocate_stack): Check if
23139 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23140 __PTHREAD_MUTEX_HAVE_PREV is defined.
23141 * nptl/descr.h (pthread): Likewise.
23142 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23144 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23145 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23146 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23147 * sysdeps/nptl/bits/thread-shared-types.h
23148 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23150 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23151 of __WORDSIZE for internal layout.
23152 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23153 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23154 instead of __WORDSIZE whether to use an union for __spins and __list
23156 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23158 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23159 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23161 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23162 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23164 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23165 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23167 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23168 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23170 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23171 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23173 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23174 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23176 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23177 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23179 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23180 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23182 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23183 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23185 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23186 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23188 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23189 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23191 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23192 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23194 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23195 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23197 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23198 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23200 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23201 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23204 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23206 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23207 checks for expected input type size.
23208 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23209 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23211 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23212 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23213 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23214 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23215 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23216 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23217 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23218 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23219 superflous runtime assert check.
23220 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23222 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23224 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23226 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23228 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23230 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23232 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23233 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23234 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23236 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23238 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23240 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23242 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23244 * nptl/pthread_attr_setinheritsched.c
23245 (__pthread_attr_setinheritsched): Likewise.
23246 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23248 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23250 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23251 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23252 __old_pthread_attr_setstack): Likewise.
23253 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23255 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23257 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23259 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23260 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23262 * nptl/tst-typesizes.c: Remove file.
23264 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23265 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23266 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23267 checks for internal pthread_mutex_t offsets.
23268 * sysdeps/aarch64/nptl/pthread-offsets.h
23269 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23270 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23271 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23272 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23273 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23274 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23275 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23276 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23277 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23278 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23279 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23280 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23281 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23282 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23283 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23284 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23285 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23286 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23288 2017-11-07 Florian Weimer <fweimer@redhat.com>
23290 * bits/mman-linux.h: Move ...
23291 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23293 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23296 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23298 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23299 Redefine STRNLEN as __strnlen_power8.
23301 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23303 * signal/sighold.c (sighold): Optimize implementation.
23305 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23306 __NR_rt_sigqueueinfo.
23308 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23310 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23311 assume __NR_rt_sigtimedwait.
23312 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23313 and add LIBC_CANCEL_HANDLED for cancellation marking.
23314 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23316 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23317 (sysdeps_routines): Add memchr_noneon.
23318 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23319 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23320 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23321 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23322 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23323 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23324 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23326 * sysdeps/arm/arm-ifunc.h: New file.
23327 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23328 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23329 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23330 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23331 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23332 (__memcpy_neon): Avoid create hidden alias.
23333 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23334 (__memcpy_vfp): Likewise.
23335 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23336 (sysdep_routines): Add memcpy_arm.
23337 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23339 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23342 * Makerules (make-link-multidir): New.
23343 * config.make.in (multidir): New.
23344 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23345 * configure: Regenerated.
23346 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23347 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23348 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23351 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23354 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23355 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23357 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23359 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23362 2017-11-04 Florian Weimer <fweimer@redhat.com>
23364 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23366 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23368 * math/math.h [__HAVE_DISTINCT_FLOAT16
23369 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23370 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23371 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23372 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23373 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23374 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23375 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23376 (__MATH_TG_F32): New macro.
23377 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23378 (__MATH_TG_F64X): Likewise.
23379 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23380 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23382 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23384 * po/de.po: Update translations.
23385 * po/ru.po: Likewise.
23387 2017-11-03 Florian Weimer <fweimer@redhat.com>
23389 * manual/filesys.texi (Hard Links): Document linkat.
23391 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23393 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23394 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23395 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23396 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23397 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23398 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23399 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23400 the same as _Float128.
23401 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23402 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23403 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23406 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23408 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23410 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23412 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23413 (strtof32x): Likewise.
23414 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23415 (strtof64x): Likewise.
23416 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23417 (strtof128x): Likewise.
23418 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23419 (strfromf16): Likewise.
23420 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23421 (strfromf32): Likewise.
23422 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23423 (strfromf64): Likewise.
23424 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23425 (strfromf32x): Likewise.
23426 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23427 (strfromf64x): Likewise.
23428 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23429 (strfromf128x): Likewise.
23430 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23431 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23432 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23433 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23434 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23435 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23437 2017-11-03 Richard Henderson <rth@twiddle.net>
23439 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23441 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23443 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23445 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23447 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23448 DT_TLSDESC_GOT initialization.
23449 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23450 (_dl_tlsdesc_resolve_hold): Likewise.
23451 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23452 (_dl_tlsdesc_resolve_hold): Likewise.
23453 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23454 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23456 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23458 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23460 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23463 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23464 non-lazily for R_ARM_TLS_DESC.
23466 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23469 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23470 R_ARM_TLS_DESC case.
23471 (elf_machine_lazy_rel): Remove the prelink check.
23473 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23475 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23476 DT_TLSDESC_GOT initialization.
23477 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23478 (_dl_tlsdesc_resolve_rela): Likewise.
23479 (_dl_tlsdesc_resolve_hold): Likewise.
23480 (_dl_tlsdesc_undefweak): Remove ldar.
23481 (_dl_tlsdesc_dynamic): Likewise.
23482 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23483 (_dl_tlsdesc_resolve_rela): Likewise.
23484 (_dl_tlsdesc_resolve_hold): Likewise.
23485 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23486 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23487 (_dl_tlsdesc_resolve_rela): Likewise.
23488 (_dl_tlsdesc_resolve_hold): Likewise.
23490 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23492 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23493 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23495 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23497 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23498 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23500 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23502 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23504 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23505 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23506 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23507 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23508 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23509 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23510 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23511 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23512 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23513 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23514 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23516 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23519 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23520 * localedata/locales/tpi_PG: Add standard header.
23522 2017-11-02 Florian Weimer <fweimer@redhat.com>
23524 test-errno-linux: quotactl can fail with EPERM in containers.
23525 * sysdeps/unix/sysv/linux/test-errno-linux.c
23526 (LIST, LIST_FORWARD): New macros.
23527 (check_error_in_list): New function.
23528 (test_wrp_rv): Accept list of permitted error codes.
23529 (test_wrp_rv2): Remove.
23530 (test_wrp): Call test_wrp_rv with list of error codes.
23531 (test_wrp2): Accept list of error codes.
23532 (do_test): Adjust. Allow EPERM for quotactl.
23534 2017-11-02 Florian Weimer <fweimer@redhat.com>
23536 * stdio-common/bug16.c (do_test): Use array_length.
23537 * stdio-common/errlist.c (_sys_nerr): Likewise.
23538 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23539 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23540 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23541 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23542 (do_test): Use array_length.
23543 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23544 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23545 * stdio-common/tst-printf-round.c (do_test): Likewise.
23546 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23547 (CHECK): Use array_length.
23548 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23549 * stdio-common/tstscanf.c (main): Likewise.
23550 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23552 2017-11-02 Florian Weimer <fweimer@redhat.com>
23554 Add array_length and array_end macros.
23555 * include/array_length.h: New file.
23557 2017-11-02 Florian Weimer <fweimer@redhat.com>
23560 * posix/tst-glob-tilde.c (do_noescape): New variable.
23561 (one_test): Process it.
23562 (do_test): Set do_noescape. Add unescaping test case.
23564 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23567 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23568 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23569 with appropriate macros defined and undefined.
23570 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23571 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23572 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23573 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23574 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23575 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23576 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23577 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23578 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23579 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23582 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23583 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23584 that for long double. Do not condition define and undefine of
23585 _Mdouble_complex_ on [__CFLOAT128].
23587 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23589 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23590 of <sysdeps/generic/sysdep.h>.
23591 (ALIGNARG): Removed.
23592 (ASM_SIZE_DIRECTIVE): Likewise.
23595 (ENTRY_CHK): Likewise.
23596 (END_CHK): Likewise.
23597 (syscall_error): Likewise.
23598 (mcount): Likewise.
23599 (PSEUDO_END): Likewise.
23601 (atom_text_section): Likewise.
23602 * sysdeps/x86/sysdep.h: New file.
23603 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23604 of <sysdeps/generic/sysdep.h>.
23605 (ALIGNARG): Removed.
23606 (ASM_SIZE_DIRECTIVE): Likewise.
23609 (ENTRY_CHK): Likewise.
23610 (END_CHK): Likewise.
23611 (syscall_error): Likewise.
23612 (mcount): Likewise.
23613 (PSEUDO_END): Likewise.
23615 (atom_text_section): Likewise.
23617 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23619 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23620 category of LC_CTYPE set to "i18n:2012".
23621 * localedata/locales/i18n_ctype: Regenerate.
23623 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23625 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23626 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23627 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23628 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23630 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23631 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23633 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23635 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23638 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23640 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23642 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23644 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23645 (CMPLXF32X): Likewise.
23646 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23647 (CMPLXF64X): Likewise.
23648 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23649 (CMPLXF128X): Likewise.
23652 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23653 (__MATH_EVAL_FMT2): Define to add 0.0f.
23655 2017-10-31 Alan Modra <amodra@gmail.com>
23657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23674 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23675 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23684 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23685 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23686 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23687 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23688 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23689 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23690 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23691 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23692 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23693 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23694 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23699 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23700 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23701 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23702 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23703 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23704 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23705 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23706 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23709 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23710 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23711 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23712 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23713 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23714 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23715 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23716 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23718 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23719 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23720 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23721 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23722 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23724 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23725 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23726 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23727 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23730 include sysdep.h and math_ldbl_opt.h.
23732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23733 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23759 2017-10-31 Alan Modra <amodra@gmail.com>
23761 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23762 string/strncase_l.c, not string/strncase.c.
23763 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23764 (libc_hidden_def): Redefine.
23766 2017-10-31 Alan Modra <amodra@gmail.com>
23768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23769 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23770 (__strcasecmp): Don't define.
23772 2017-10-31 Alan Modra <amodra@gmail.com>
23774 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23776 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23777 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23780 2017-10-31 Alan Modra <amodra@gmail.com>
23782 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23785 2017-10-31 Alan Modra <amodra@gmail.com>
23787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23788 Redefine only when SHARED.
23790 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23792 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23793 Include <bits/math-finite.h> with appropriate macros defined and
23795 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23796 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23797 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23798 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23799 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23801 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23802 [!_Mlong_double_] (_Mlong_double_): Likewise.
23803 [!_Mfloat16_] (_Mfloat16_): Likewise.
23804 [!_Mfloat32_] (_Mfloat32_): Likewise.
23805 [!_Mfloat64_] (_Mfloat64_): Likewise.
23806 [!_Mfloat128_] (_Mfloat128_): Likewise.
23807 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23808 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23809 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23810 (_Mdouble_): Define without indirection through those macros.
23811 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23812 [!_Mfloat128_] (_Mfloat128_): Likewise.
23813 [_Mlong_double_] (_Mlong_double_): Likewise.
23814 (_Mdouble_): Define without indirection through those macros.
23815 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23816 not add -D_Mlong_double_=double.
23817 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23818 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23820 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23822 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23824 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23826 * sysdeps/x86/libc-start.c: Reformat.
23828 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23831 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23832 (1): Renamed to ...
23835 (L(Src2)): Likewise.
23836 (L(1)): Renamed to ...
23839 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23841 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23842 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23843 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23844 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23845 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23846 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23847 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23848 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23849 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23850 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23851 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23852 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23853 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23854 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23855 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23856 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23857 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23858 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23859 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23860 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23861 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23862 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23863 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23864 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23865 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23866 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23867 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23868 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23869 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23870 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23871 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23872 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23873 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23874 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23875 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23876 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23877 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23878 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23879 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23880 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23881 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23882 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23883 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23884 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23885 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23886 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23887 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23888 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23889 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23890 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23891 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23892 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23893 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23894 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23895 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23896 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23897 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23898 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23899 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23900 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23901 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23902 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23903 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23904 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23905 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23906 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23908 2017-10-30 Florian Weimer <fweimer@redhat.com>
23910 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23912 * io/tst-mkdirat.c (do_test): Likewise.
23913 * io/tst-mkfifoat.c (do_test): Likewise.
23914 * io/tst-mknodat.c (do_test): Likewise.
23915 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23916 * locale/programs/locale.c (select_dirs): Likewise.
23917 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23918 * posix/bug-glob2.c (my_readdir): Likewise.
23919 * posix/tst-dir.c (main): Likewise.
23920 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23921 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23923 2017-10-30 Florian Weimer <fweimer@redhat.com>
23925 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23928 2017-10-30 Florian Weimer <fweimer@redhat.com>
23930 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23931 Convert to support/test-driver.c.
23932 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23933 New macro parameters.
23934 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23935 * posix/tst-gnuglob.c: New file.
23936 * posix/tst-gnuglob64.c: Likewise.
23937 * posix/Makefile (tests): Add tst-gnuglob64.
23939 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23942 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23943 and use a better translation for March in “mon”.
23944 * localedata/locales/csb_PL: Use more ASCII to improve the
23945 readability of the source.
23947 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23950 * localedata/locales/km_KH: Use ASCII as much
23951 as possible for better readability of the source and
23952 remove useless comments.
23953 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23954 was commented out and apparently wrong anyway because it was
23955 using Lao characters. If Buddhist era should be used
23956 for km_KH, a native speaker should write the correct formaat
23958 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23959 (According to CLDR, the first weekday for Cambodia is Sunday).
23960 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23961 (These were using Lao characters which must be wrong. If we get
23962 the correct data from a native speaker, we could add it back, until
23963 then it is better not to have name_mr and name_mrs at all than
23966 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23968 * locale/loadlocale.c: Correct size of
23969 _nl_value_type_LC_<category> arrays.
23971 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23973 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23974 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23975 with appropriate macros defined and undefined.
23976 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23977 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23978 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23979 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23980 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23982 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23984 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23987 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23989 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23990 with lowercase letters to make it agree with CLDR.
23992 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23995 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23996 first letters of yesstr and nostr in yesexpr and noexpr,
23997 not for the full words.
23998 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23999 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24000 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24001 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24002 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24003 first letters of yesstr and nostr in yesexpr and noexpr,
24004 until now only English was matched in yesexpr and noexpr.
24005 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24006 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24007 fil but not for tl. As tl and fil are very similar, using fil
24008 is probably better than using English.
24010 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24013 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24014 in yesstr and nostr.
24016 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24018 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24019 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24020 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24022 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24024 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24026 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24028 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24029 (SNANF128X): Likewise.
24031 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24032 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24033 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24034 (HUGE_VAL_F32): Likewise.
24035 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24036 (HUGE_VAL_F64): Likewise.
24037 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24038 (HUGE_VAL_F32X): Likewise.
24039 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24040 (HUGE_VAL_F64X): Likewise.
24041 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24042 (HUGE_VAL_F128X): Likewise.
24044 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24046 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24047 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24048 for the br_FR locale.
24050 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24053 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24055 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24057 * locale/programs/record-status.h: Define globals, and function
24058 prototypes. Move function bodies...
24059 * locale/programs/record-status.c: ... to here. New file.
24060 * iconv/Makefile (iconv_prog-modules): Add record-status.
24061 * locale/Makefile (lib-modules): Likewise.
24062 * iconv/iconv_prog.c: Remove verbose.
24063 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24064 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24065 record a warning about ASCII compatibility.
24066 * locale/programs/ld-monetary.c (monetary_finish): If
24067 warn_int_curr_symbol is true then record a warning about the symbol
24068 not being in our ISO 4217 list.
24069 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24070 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24071 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24072 (OPT_NO_WARN): Define.
24073 (OPT_WARN): Define.
24074 (options): Add entry for --no-warnings, and --warnings.
24075 (set_warnings): New function to enable/disable warnings.
24076 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24077 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24078 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24079 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24080 Pass flags to generate_locale.
24081 (generate_locale): Accept new flag argument and pass it to localedef
24083 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24084 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24086 * localedata/Makefile (test-input-data): Use full file name.
24087 * localedata/da_DK.in: Rename to...
24088 * localedata/da_DK.ISO-8859-1.in: ...this.
24089 * localedata/de_DE.in: Rename to...
24090 * localedata/de_DE.ISO-8859-1.in: ...this.
24091 * localedata/en_US.in: Rename to...
24092 * localedata/en_US.ISO-8859-1.in: ...this.
24093 * localedata/fr_FR.in: Rename to...
24094 * localedata/fr_FR.UTF-8.in: ... this.
24095 * localedata/hr_HR.in: Rename to...
24096 * localedata/hr_HR.ISO-8859-2.in: ...this.
24097 * localedata/hu_HU.in: Rename to...
24098 * localedata/hu_HU.UTF-8.in: ...this.
24099 * localedata/si_LK.in: Rename to...
24100 * localedata/si_LK.UTF-8.in: ...this.
24101 * localedata/sv_SE.in: Rename to...
24102 * localedata/sv_SE.ISO-8859-1.in: ...this.
24103 * localedata/tr_TR.in: Rename to...
24104 * localedata/tr_TR.UTF-8.in: ...this.
24105 * localedata/uk_UA.in: Rename to...
24106 * localedata/uk_UA.UTF-8.in: ...this.
24107 * localedata/sort-test.sh: Test file is locale name with the
24110 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24111 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24113 * localedata/locales/i18n_ctype: Regenerate.
24114 * localedata/locales/tr_TR: Likewise.
24115 * localedata/locales/translit_circle: Likewise.
24116 * localedata/locales/translit_cjk_compat: Likewise.
24117 * localedata/locales/translit_combining: Likewise.
24118 * localedata/locales/translit_compat: Likewise.
24119 * localedata/locales/translit_font: Likewise.
24120 * localedata/locales/translit_fraction: Likewise.
24122 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24125 lxvd2x/stxvd2x with lvx/stvx.
24126 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24128 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24130 * include/alloc_buffer.h: Replace "if if " with "if " in
24132 * sysdeps/mips/memcpy.S: Likkewise.
24133 * sysdeps/mips/memset.S: Likewise.
24134 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24136 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24138 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24141 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24144 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24145 yesexpr and noexpr.
24146 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24147 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24148 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24149 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24150 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24151 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24152 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24154 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24156 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24157 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24158 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24159 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24160 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24161 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24162 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24163 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24164 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24165 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24166 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24167 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24169 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24171 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24172 as possible for better readability of the source.
24173 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24174 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24175 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24176 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24177 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24178 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24179 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24180 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24181 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24182 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24183 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24184 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24185 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24186 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24187 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24188 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24189 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24190 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24191 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24192 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24193 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24194 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24195 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24196 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24197 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24198 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24199 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24200 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24201 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24202 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24203 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24204 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24205 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24206 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24207 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24208 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24209 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24210 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24211 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24212 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24213 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24214 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24215 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24216 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24217 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24218 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24219 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24220 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24221 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24222 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24223 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24224 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24225 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24226 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24227 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24228 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24229 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24230 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24231 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24232 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24233 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24234 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24235 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24236 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24237 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24238 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24239 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24240 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24241 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24242 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24243 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24244 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24245 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24246 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24247 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24248 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24249 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24250 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24251 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24252 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24253 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24254 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24255 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24256 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24257 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24258 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24259 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24260 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24261 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24262 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24263 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24264 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24265 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24266 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24267 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24268 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24269 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24270 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24271 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24272 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24273 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24274 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24275 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24276 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24277 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24278 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24279 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24280 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24281 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24282 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24283 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24284 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24285 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24286 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24287 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24288 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24289 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24290 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24291 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24292 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24293 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24294 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24295 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24296 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24297 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24298 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24299 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24300 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24301 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24302 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24303 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24304 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24305 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24306 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24307 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24308 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24309 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24310 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24311 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24312 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24313 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24314 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24315 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24316 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24317 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24318 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24319 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24320 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24321 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24322 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24323 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24324 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24325 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24326 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24327 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24328 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24329 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24330 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24331 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24332 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24333 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24334 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24335 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24336 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24337 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24338 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24339 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24340 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24341 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24342 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24343 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24344 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24345 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24346 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24348 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24350 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24351 (Use first letters of yesstr and nostr correctly instead of using
24354 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24356 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24357 (Use first letters of yesstr and nostr correctly).
24359 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24361 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24362 also check for the first characters of yesstr and nostr.
24363 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24364 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24366 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24368 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24369 also check for Chinese characters.
24371 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24373 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24374 match also for the contents of yesstr and nostr. As the first letter
24375 of yesstr and nostr is equal, checking only for the first letter
24378 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24380 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24381 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24383 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24385 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24386 of main contributor.
24388 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24390 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24391 instead of using English.
24393 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24395 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24396 by including the first letters of nostr and yesexpr in the regexp.
24397 Also make it more readable by using ASCII where possible.
24399 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24401 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24402 the first letter of nostr in the regexp. It agrees with CLDR now.
24403 Also make it more readable by using ASCII where possible.
24405 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24407 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24408 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24409 these strings contain a U+17D6 (which somewhat looks like a colon)
24410 instead of a real colon to separate the full words for “yes”
24411 and “no” from the single letter responses.
24413 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24415 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24416 it agree with CLDR (include the first letter of yesstr).
24417 Also make it more readable by using ASCII where possible.
24419 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24421 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24422 and improve yesexpr and noexpr. The yesstr and nostr apparently
24423 came from CLDR. And CLDR has a bug there: these strings contain
24424 a U+0903 (which looks like a colon) instead of a real colon
24425 to separate the full words for “yes” and “no” from the single
24428 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24430 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24431 letters of the full yesstr and nostr in yesexpr and noexpr.
24433 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24435 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24436 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24437 * localedata/locales/an_ES: Make source more readable by using ASCII
24440 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24443 * localedata/locales/yuw_PG: New file.
24444 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24445 * locale/iso-639.def: Add Yau (Uruwa).
24447 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24449 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24451 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24453 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24454 (__libc_realloc): Likewise.
24455 (_mid_memalign): Likewise.
24456 (__libc_calloc): Likewise.
24458 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24460 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24461 by adding the generic +1 and -0 as in all other locales.
24462 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24463 day names and make it more readable by using ASCII where possible.
24465 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24467 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24468 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24470 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24472 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24473 WNOHANG in waitpid call.
24475 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24477 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24478 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24480 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24481 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24482 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24483 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24484 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24485 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24486 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24487 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24490 2017-10-23 Michael Collison <michael.collison@arm.com>
24492 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24493 with __builtin_sqrt.
24494 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24495 with __builtin_sqrtf.
24496 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24497 with __builtin_ceil.
24498 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24499 with __builtin_ceilf.
24500 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24501 with __builtin_floor.
24502 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24503 with __builtin_floorf.
24504 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24505 with __builtin_fma.
24506 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24507 with __builtin_fmaf.
24508 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24509 with __builtin_fmax.
24510 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24511 with __builtin_fmaxf.
24512 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24513 with __builtin_fmin.
24514 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24515 with __builtin_fminf.
24516 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24517 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24518 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24519 with builtin_rint and conversion to int.
24520 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24521 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24522 with builtin_llround.
24523 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24524 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24525 with builtin_rint and conversion to long int.
24526 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24527 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24528 with builtin_lround.
24529 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24530 with builtin_lroundf.
24531 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24532 statements with __builtin_nearbyint.
24533 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24534 statements with __builtin_nearbyintf.
24535 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24536 with __builtin_rint.
24537 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24538 with __builtin_rintf.
24539 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24540 with __builtin_round.
24541 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24542 with __builtin_roundf.
24543 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24544 with __builtin_trunc.
24545 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24546 with __builtin_truncf.
24547 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24548 and s_l[l]round[f].c too.
24550 2017-10-23 Alan Modra <amodra@gmail.com>
24552 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24553 Adjust stack after restoring regs. Add missing LR cfi_restore.
24555 2017-10-23 Alan Modra <amodra@gmail.com>
24557 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24558 Move LR save and frame setup/teardown and LR restore to
24559 immediately around memset call. Provide cfi.
24561 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24563 * sysdeps/i386/fpu/e_powf.S: Removed.
24564 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24565 * sysdeps/i386/fpu/w_powf.c: Likewise.
24566 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24567 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24568 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24570 (CFLAGS-e_powf-sse2.c): New.
24571 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24572 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24574 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24576 * sysdeps/i386/fpu/e_log2f.S: Removed.
24577 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24578 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24579 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24580 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24581 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24583 (CFLAGS-e_log2f-sse2.c): New.
24584 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24585 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24587 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24589 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24591 (CFLAGS-e_powf-fma.c): New.
24592 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24593 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24595 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24597 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24599 (CFLAGS-e_log2f-fma.c): New.
24600 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24601 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24603 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24605 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24607 (CFLAGS-e_logf-fma.c): New.
24608 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24609 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24611 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24613 * sysdeps/i386/fpu/e_logf.S: Removed.
24614 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24615 * sysdeps/i386/fpu/w_logf.c: Likewise.
24616 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24617 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24618 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24619 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24621 (CFLAGS-e_logf-sse2.c): New.
24622 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24623 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24625 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24627 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24628 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24629 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24630 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24631 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24633 (CFLAGS-e_exp2f-sse2.c): New.
24634 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24635 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24637 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24641 (CFLAGS-e_exp2f-fma.c): New.
24642 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24643 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24645 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24647 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24648 * sysdeps/i386/fpu/e_expf.S: Likewise.
24649 * sysdeps/i386/fpu/math_errf.c: Likewise.
24650 * sysdeps/i386/fpu/w_expf.c: Likewise.
24651 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24653 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24654 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24655 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24656 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24657 Remove e_expf-ia32.
24658 (CFLAGS-e_expf-sse2.c): New.
24659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24660 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24662 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24664 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24665 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24666 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24667 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24669 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24671 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24672 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24674 (__redirect_expf): This.
24675 (SYMBOL_NAME): Changed to expf.
24676 (__ieee754_expf): Renamed to ...
24678 (__GI___expf): This.
24679 (__ieee754_expf): Add strong_alias.
24680 (__expf_finite): Likewise.
24682 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24684 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24687 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24690 2017-10-21 Florian Weimer <fweimer@redhat.com>
24692 * posix/Makefile (tests): Add tst-glob-tilde.
24693 (tests-special): Add tst-glob-tilde-mem.out
24694 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24695 (tst-glob-tilde-mem.out): Add mtrace check.
24696 * posix/tst-glob-tilde.c: New file.
24698 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24700 * bits/floatn-common.h: New file.
24701 * math/Makefile (headers): Add bits/floatn-common.h.
24702 * bits/floatn.h: Include <bits/floatn-common.h>.
24703 * sysdeps/ia64/bits/floatn.h: Likewise.
24704 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24705 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24706 * sysdeps/powerpc/bits/floatn.h: Likewise.
24707 * sysdeps/x86/bits/floatn.h: Likewise.
24709 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24711 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24712 indicates whether compiler emits an warning for alias for
24713 functions with incompatible types.
24716 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24717 the auxiliary process is terminated by a signal before calling _exit
24720 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24723 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24725 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24726 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24727 and bit_arch_XSAVEC_Usable if needed.
24728 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24729 and bit_arch_Use_dl_runtime_resolve_opt.
24730 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24732 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24733 (bit_arch_Prefer_No_AVX512): Updated.
24734 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24735 (bit_arch_XSAVEC_Usable): New.
24736 (STATE_SAVE_OFFSET): Likewise.
24737 (STATE_SAVE_MASK): Likewise.
24738 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24739 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24740 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24741 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24742 (index_arch_XSAVEC_Usable): New.
24743 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24744 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24745 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24747 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24748 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24749 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24750 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24751 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24752 _dl_runtime_resolve_xsavec.
24753 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24755 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24756 instead of VEC_SIZE.
24757 (REGISTER_SAVE_BND0): Removed.
24758 (REGISTER_SAVE_BND1): Likewise.
24759 (REGISTER_SAVE_BND3): Likewise.
24760 (REGISTER_SAVE_RAX): Always defined to 0.
24762 (_dl_runtime_resolve_avx): Likewise.
24763 (_dl_runtime_resolve_avx_slow): Likewise.
24764 (_dl_runtime_resolve_avx_opt): Likewise.
24765 (_dl_runtime_resolve_avx512): Likewise.
24766 (_dl_runtime_resolve_avx512_opt): Likewise.
24767 (_dl_runtime_resolve_sse): Likewise.
24768 (_dl_runtime_resolve_sse_vex): Likewise.
24770 (_dl_runtime_resolve_fxsave): Likewise.
24771 (USE_XSAVE): Likewise.
24772 (_dl_runtime_resolve_xsave): Likewise.
24773 (USE_XSAVEC): Likewise.
24774 (_dl_runtime_resolve_xsavec): Likewise.
24775 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24777 (_dl_runtime_resolve_avx512_opt): Likewise.
24778 (_dl_runtime_resolve_avx): Likewise.
24779 (_dl_runtime_resolve_avx_opt): Likewise.
24780 (_dl_runtime_resolve_sse): Likewise.
24781 (_dl_runtime_resolve_sse_vex): Likewise.
24782 (_dl_runtime_resolve_fxsave): New.
24783 (_dl_runtime_resolve_xsave): Likewise.
24784 (_dl_runtime_resolve_xsavec): Likewise.
24786 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24790 * posix/glob.c (__glob): Fix one-byte overflow.
24792 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24794 * malloc/malloc.c (sysdep-cancel.h): Add include.
24796 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24798 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24800 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24802 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24803 (tests): Remove $(objpfx)ga_test depdendency.
24804 * resolv/ga_test.c: Remove file.
24806 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24809 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24810 * localedata/locales/kab_DZ: New file.
24812 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24814 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24815 _dl_relocate_static_pie instead of _dl_start to compute load
24816 address in static PIE.
24818 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24820 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24822 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24825 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24826 * localedata/locales/shn_MM: New file.
24828 2017-10-20 Florian Weimer <fweimer@redhat.com>
24831 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24832 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24833 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24834 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24835 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24836 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24838 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24840 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24842 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24844 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24847 * sysdeps/mips/bits/long-double.h: Move to ....
24848 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24850 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24852 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24854 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24855 H.J. Lu <hongjiu.lu@intel.com>
24858 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24859 GLRO(dl_platform) to NULL.
24860 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24861 (modules-names): Add tst-platformmod-1 and
24862 x86_64/tst-platformmod-2.
24863 (CFLAGS-tst-platform-1.c): New.
24864 (CFLAGS-tst-platformmod-1.c): Likewise.
24865 (CFLAGS-tst-platformmod-2.c): Likewise.
24866 (LDFLAGS-tst-platformmod-2.so): Likewise.
24867 ($(objpfx)tst-platform-1): Likewise.
24868 ($(objpfx)tst-platform-1.out): Likewise.
24869 (tst-platform-1-ENV): Likewise.
24870 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24871 * sysdeps/x86_64/tst-platform-1.c: New file.
24872 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24873 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24875 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24878 * locale/iso-639.def: Add Karbi.
24879 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24880 * localedata/locales/mjw_IN: New file.
24882 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24884 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24885 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24886 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24887 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24888 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24889 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24890 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24892 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24893 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24894 * manual/math.texi (Mathematics): Document additional architecture
24895 support for _Float128.
24896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24897 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24899 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24900 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24901 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24902 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24904 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24905 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24906 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24907 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24908 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24909 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24910 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24912 2017-10-18 Renlin Li <renlin.li@arm.com>
24914 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24915 _DYNAMIC symbol to calculate load address.
24917 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24919 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24920 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24922 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24923 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24925 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24928 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24929 and improve readability by using more ASCII.
24930 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24931 and improve readability by using more ASCII.
24933 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24935 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24936 not all targets support atomics on bool.
24938 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24940 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24941 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24943 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24944 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24945 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24946 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24947 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24948 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24950 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24952 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24955 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24958 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24959 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24960 (do_check_remalloced_chunk): Fix build bug.
24961 (do_check_malloc_state): Add assert that checks arena->top.
24962 (malloc_consolidate): Remove initialization.
24963 (int_mallinfo): Remove call to malloc_consolidate.
24964 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24966 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24968 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24969 (have_fastchunks): Remove.
24970 (clear_fastchunks): Remove.
24971 (set_fastchunks): Remove.
24972 (malloc_state): Add have_fastchunks.
24973 (malloc_init_state): Use have_fastchunks.
24974 (do_check_malloc_state): Remove incorrect invariant checks.
24975 (_int_malloc): Use have_fastchunks.
24976 (_int_free): Likewise.
24977 (malloc_consolidate): Likewise.
24979 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24981 * malloc/malloc.c (tcache_put): Inline.
24982 (tcache_get): Inline.
24984 2017-10-17 Jordi Mallach <jordi@gnu.org>
24986 Aurelien Jarno <aurelien@aurel32.net>
24988 * localedata/locales/ca_ES@valencia: New file.
24989 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24991 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24994 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24997 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24999 * scripts/build-many-glibcs.py (Context.add_all_configs):
25000 Add arm-linux-gnueabihf multiarch extra_glibcs.
25002 * sysdeps/generic/ifunc-init.h: New file.
25003 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25005 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25008 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25009 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25010 * stdlib/tst-strfmon_l.c: adapt test case.
25012 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25014 * sysdeps/generic/float128-abi.h: New file.
25015 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25016 non-__prefixed symbols to ....
25017 * math/Versions: ... here. Include <float128-abi.h>.
25018 * stdlib/Versions ... and here. Include <float128-abi.h>
25020 2017-10-16 Florian Weimer <fweimer@redhat.com>
25022 * version.h (VERSION): Switch to ".9000" as the development
25025 2017-10-16 Florian Weimer <fweimer@redhat.com>
25028 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25029 compat_symbol_reference to access non-default version.
25031 2017-10-16 Florian Weimer <fweimer@redhat.com>
25033 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25035 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25037 * include/shlib-compat.h (compat_symbol_reference): Update
25040 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25042 * math/Makefile (test-types): Add
25043 $(type-float128-$(float128-alias-fcts)).
25044 * math/test-float128.h (TYPE_STR): Define conditional on
25045 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25046 (ULP_IDX): Likewise.
25047 (ULP_I_IDX): Likewise.
25049 * stdlib/strtold.c: Include <bits/floatn.h>
25050 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25051 and later undefine as macro. Define as weak alias if
25053 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25054 and later undefine as macro. Define as weak alias if
25056 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25057 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25058 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25059 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25060 Define and later undefine as macro. Define as weak alias if
25062 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25064 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25065 Define and later undefine as macro. Define as weak alias if
25067 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25068 Define and later undefine as macro. Define as weak alias if
25071 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25073 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25074 record_verbose messages.
25076 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25079 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25080 to silence -O3 -Wall warning with GCC 7.
25082 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25084 * Makeconfig (+link-static-before-libc): Use the first of
25085 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25086 * gmon/Makefile (tests): Add tst-gmon-static.
25087 (tests-static): Likewise.
25088 (CFLAGS-tst-gmon-static.c): New.
25089 (CRT-tst-gmon-static): Likewise.
25090 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25091 (tst-gmon-static-ENV): Likewise.
25092 (tests-special): Likewise.
25093 ($(objpfx)tst-gmon-static.out): Likewise.
25094 (clean-tst-gmon-static-data): Likewise.
25095 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25096 * gmon/tst-gmon-static-gprof.sh: New file.
25097 * gmon/tst-gmon-static.c: Likewise.
25099 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25102 * locale/programs/linereader.c (get_string): Don't warn on
25103 non-symbolic character.
25106 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25110 * locale/programs/record-status.h: New file
25111 * locale/programs/locale.c: Add comment.
25112 * locale/programs/charmap-dir.c: Don't include error.h.
25113 (charmap_opendir): Use record_error.
25114 * locale/programs/charmap.c: Don't include error.h.
25115 (charmap_read): Use record_error, and record_warning.
25116 (parse_charmap): Likewise.
25117 * locale/programs/ld-address.c: Don't include error.h.
25118 (address_finish): Use record_error, and record_warning.
25119 * locale/programs/ld-collate.c: Don't include error.h.
25120 (collate_finish): Use record_error, and record_error_at_line.
25121 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25122 (ctype_class_new): Likewise.
25123 (ctype_map_new): Likewise.
25124 (set_one_default): Likewise.
25125 (set_class_defaults): Likewise.
25126 (translit_flatten): Likewise.
25127 (allocate_arrays): Use record_error, and record_verbose.
25128 * locale/programs/ld-identification.c: Don't include error.h.
25129 (indentation_finish): Use record_error and record_warning.
25130 * locale/programs/ld-measurement.c: Don't include error.h.
25131 (measurement_finish): Use record_error.
25132 * locale/programs/ld-messages.c
25133 (message_finish): Likewise.
25134 * locale/programs/ld-monetary.c
25135 (monetary_finish): Likewise.
25136 * locale/programs/ld-name.c (name_finish): Use record_error
25137 and record_warning.
25138 * locale/programs/ld-numeric.c
25139 (numeric_finish): Use record_error.
25140 * locale/programs/ld-paper.c: Don't include error.h.
25141 (paper_finish): Use record_error.
25142 * locale/programs/ld-telephone.c: Don't include error.h.
25143 (telephone_finish): Use record_error.
25144 * locale/programs/ld-time.c (time_finish): Likewise.
25145 * locale/programs/linereader.h (lr_error): Make inline func.
25146 * locale/programs/localedef.c: Define recorded_warning_count,
25147 and recorded_error_count.
25148 (main): Use record_error. Use recorded_error_count and
25149 recorded_warning_count to issue correct error returns.
25150 (add_to_readlist): Use record_error.
25151 (find_locale): Likewise.
25152 (load_locale): Likewise.
25153 * locale/programs/localedef.h: Remove be_quiet
25154 and WITH_CUR_LOCALE.
25155 * locale/programs/locarchive.c (compare_from_file): Use
25157 * locale/programs/locfile.c (write_locale_data): Use
25159 * locale/programs/repertoire.c: Dont include error.h.
25160 (repertoire_complain): Use record_error.
25161 * localedata/tst-fmon.sh: Expect failures from localedef.
25162 * localedata/tst-locale.sh: Likewise.
25163 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25165 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25166 (REPORTS): Likewise.
25168 (i18n): Rename to...
25169 (i18n_ctype): ...this.
25170 (i18n-report): Rename to...
25171 (i18n_ctype-report): ...this.
25172 * localedata/locales/i18n_ctype: Regenerate.
25173 * localedata/locales/i18n: copy i18n_ctype.
25175 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25177 * stdlib/strfroml.c: Include <bits/floatn.h>.
25178 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25179 Define before include of <stdlib.h> and undefine afterwards, then
25180 define as weak alias.
25182 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25183 Undefine and restore default definition. Use
25184 libm_alias_ldouble_other.
25186 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25189 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25192 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25195 Assign sym_map to be map for local symbols, as TLS relocations
25196 use sym_map to determine whether the symbol is defined and to
25197 extract the TLS information.
25198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25201 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25204 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25205 (math_force_eval): Add powerpc version.
25208 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25210 (do_test): Likewise.
25211 * stdio-common/tst-printf.sh: Likewise.
25212 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25213 ifdef clause in order to set the carry bit right. Replace r0 by
25214 0 without changing the behavior.
25216 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25218 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25219 <libm-alias-ldouble.h>.
25220 (fabsl): Define using libm_alias_ldouble.
25221 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25222 <libm-alias-ldouble.h>.
25223 (fabsl): Define using libm_alias_ldouble.
25225 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25226 Remove conditional code.
25228 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25229 Rename to __clog10_internal_l.
25230 (__clog10_internal_l): Define aliases using
25231 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25234 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25236 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25237 * benchtests/sincosf-inputs: New file.
25238 * benchtests/cosf-inputs: New file.
25239 * benchtests/sinf-inputs: New file.
25241 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25243 * posix/tst-spawn.c (do_test): Wait for both children.
25245 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25248 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25249 tests-pie): Add tst-gmon-pie.
25250 (CFLAGS-tst-gmon-pie.c): New.
25251 (CRT-tst-gmon-pie): Likewise.
25252 (tst-gmon-pie-ENV): Likewise.
25253 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25254 ($(objpfx)tst-gmon-pie.out): Likewise.
25255 (clean-tst-gmon-pie-data): Likewise.
25256 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25257 * gmon/gmon.c [PIC]: Include <link.h>.
25258 [PIC] (callback): New function.
25259 (write_hist): Add an argument for load address. Subtract load
25261 (write_call_graph): Likewise.
25262 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25263 it to write_hist and write_call_graph.
25264 * gmon/tst-gmon-pie.c: New file.
25266 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25268 * math/Makefile (test-types-basic): New variable.
25269 (test-types): Likewise.
25270 (libm-test-support): Use $(test-types) instead of $(types).
25271 (libm-tests-base-normal): Likewise.
25272 (libm-tests-base-finite): Likewise.
25273 (libm-tests-base-inline): Likewise.
25274 (generated): Likewise.
25275 ($(objpfx)libm-test-support-$(t).c): Likewise.
25276 (libm-tests-for-type iterator): Likewise.
25277 (libm-test-support iterator): Likewise.
25278 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25279 (ulp_idx): Use ULP_IDX.
25280 * math/test-ldouble.h: Include <float.h>.
25281 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25282 (ULP_IDX): New macro.
25283 (ULP_I_IDX): Likewise.
25284 * math/test-double.h (ULP_IDX): Likewise.
25285 (ULP_I_IDX): Likewise.
25286 * math/test-float.h (ULP_IDX): Likewise.
25287 (ULP_I_IDX): Likewise.
25288 * math/test-float128.h (ULP_IDX): Likewise.
25289 (ULP_I_IDX): Likewise.
25291 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25293 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25294 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25295 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25296 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25297 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25298 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25299 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25301 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25302 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25303 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25304 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25305 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25307 (SINGLE_THREAD_BY_GLOBAL): Define.
25308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25310 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25312 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25314 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25316 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25317 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25321 2017-10-11 Andreas Schwab <schwab@suse.de>
25323 * nis/Makefile (aux): Remove.
25324 * nscd/Makefile (aux): Add nscd_hash.
25325 (nscd-modules): Likewise.
25326 ($(objpfx)nscd): Don't depend on libnsl.
25327 * nscd/nscd_hash.c: New file.
25328 * nscd/nscd_hash.h: Likewise.
25329 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25330 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25331 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25332 instead of <nis/rpcsvc/nis.h>.
25333 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25335 2017-10-11 Florian Weimer <fweimer@redhat.com>
25338 Avoid large NSS buffers with many addresses, aliases.
25339 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25340 using dynarrays and struct alloc_buffer.
25341 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25342 (tst-nss-files-hosts-multi): Link with -ldl.
25343 * nss/tst-nss-files-hosts-multi.c: New file.
25345 2017-10-11 Florian Weimer <fweimer@redhat.com>
25348 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25349 scratch_buffer. Eliminate gotos.
25351 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25353 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25354 libm_alias_ldouble_other.
25355 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25356 undefine and redefine.
25357 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25358 (exp10l): Do not define here.
25359 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25360 (weak_alias): Undefine and redefine.
25361 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25362 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25363 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25364 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25366 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25367 [!__fma] (fma): Define using libm_alias_double.
25368 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25369 [!__fmaf] (fmaf): Define using libm_alias_float.
25370 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25371 (fmal): Define using libm_alias_ldouble.
25373 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25375 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25377 (libm_alias_double_other): Likewise.
25378 (libm_alias_double_r): Use libm_alias_double_other_r.
25379 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25381 (libm_alias_float_other): Likewise.
25382 (libm_alias_float_r): Use libm_alias_float_other_r.
25383 * sysdeps/generic/libm-alias-float128.h
25384 (libm_alias_float128_other_r): New macro.
25385 (libm_alias_float128_other): Likewise.
25386 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25387 * sysdeps/generic/libm-alias-ldouble.h
25388 (libm_alias_ldouble_other_r): New macro.
25389 (libm_alias_ldouble_other): Likewise.
25390 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25391 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25392 (libm_alias_double_other_r): New macro.
25393 (libm_alias_double_other): Likewise.
25394 (libm_alias_double_r): Use libm_alias_double_other_r.
25395 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25396 (libm_alias_ldouble_other_r): New macro.
25397 (libm_alias_ldouble_other): Likewise.
25398 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25399 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25400 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25401 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25402 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25403 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25404 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25405 * math/w_exp2f.c: Use libm_alias_float_other.
25406 * math/w_expf.c: Likewise.
25407 * math/w_log2f.c: Likewise.
25408 * math/w_logf.c: Likewise.
25409 * math/w_powf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25411 [!__exp2f]: Use libm_alias_float_other.
25412 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25413 [!__expf]: Use libm_alias_float_other.
25414 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25415 [!__log2f]: Use libm_alias_float_other.
25416 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25417 [!__logf]: Use libm_alias_float_other.
25418 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25419 [!__powf]: Use libm_alias_float_other.
25421 2017-10-10 Florian Weimer <fweimer@redhat.com>
25423 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25425 (_nss_files_gethostbyname3_r): Call it.
25427 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25429 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25430 error. Remove default definition of declare_mgen_alias.
25431 [!declare_mgen_alias_r]: Likewise.
25432 * sysdeps/generic/math-type-macros-double.h
25433 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25434 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25435 (declare_mgen_alias_r): Likewise.
25436 * sysdeps/generic/math-type-macros-float128.h
25437 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25438 * sysdeps/generic/math-type-macros-ldouble.h
25439 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25440 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25442 (declare_mgen_alias_r_s): Likewise.
25443 (declare_mgen_alias_r): Likewise.
25444 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25445 (lgamma_r): Define using libm_alias_double_r.
25446 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25447 (lgammaf_r): Define using libm_alias_float_r.
25448 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25449 (lgammal_r): Define using libm_alias_ldouble_r.
25450 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25451 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25453 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25455 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25456 extern declaration.
25458 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25460 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25462 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25465 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25466 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25467 * math/Makefile (test-math-cxx11): New test.
25468 * math/test-math-cxx11.cc: New file.
25470 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25472 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25474 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25475 call to allocate the slave pty file descriptor.
25477 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25479 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25480 [!__fma] (fma): Define using libm_alias_double.
25481 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25482 [!__fma] (fma): Define using libm_alias_double.
25484 * sysdeps/ieee754/float128/float128_private.h: Include
25485 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25486 (libm_alias_ldouble_r): Undefine and redefine.
25487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25488 <libm-alias-ldouble.h>.
25489 (asinhl): Define using libm_alias_ldouble.
25490 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25491 <libm-alias-ldouble.h>.
25492 (atanl): Define using libm_alias_ldouble.
25493 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25494 <libm-alias-ldouble.h>.
25495 (cbrtl): Define using libm_alias_ldouble.
25496 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25497 <libm-alias-ldouble.h>.
25498 (ceill): Define using libm_alias_ldouble.
25499 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25500 <libm-alias-ldouble.h>.
25501 (copysignl): Define using libm_alias_ldouble.
25502 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25503 <libm-alias-ldouble.h>.
25504 (cosl): Define using libm_alias_ldouble.
25505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25506 <libm-alias-ldouble.h>.
25507 (erfl): Define using libm_alias_ldouble.
25509 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25510 <libm-alias-ldouble.h>.
25511 (expm1l): Define using libm_alias_ldouble.
25512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25513 <libm-alias-ldouble.h>.
25514 (fabsl): Define using libm_alias_ldouble.
25515 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25516 <libm-alias-ldouble.h>.
25517 (floorl): Define using libm_alias_ldouble.
25518 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25519 <libm-alias-ldouble.h>.
25520 (fmal): Define using libm_alias_ldouble.
25521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25522 <libm-alias-ldouble.h>.
25523 (frexpl): Define using libm_alias_ldouble.
25524 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25525 libm_alias_ldouble.
25526 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25527 <libm-alias-ldouble.h>.
25528 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25529 libm_alias_ldouble.
25530 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25531 <libm-alias-ldouble.h>.
25532 (getpayloadl): Define using libm_alias_ldouble.
25533 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25534 <libm-alias-ldouble.h>.
25535 (llrintl): Define using libm_alias_ldouble.
25536 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25537 <libm-alias-ldouble.h>.
25538 (llroundl): Define using libm_alias_ldouble.
25539 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25540 <libm-alias-ldouble.h>.
25541 (logbl): Define using libm_alias_ldouble.
25542 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25543 <libm-alias-ldouble.h>.
25544 (lrintl): Define using libm_alias_ldouble.
25545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25546 <libm-alias-ldouble.h>.
25547 (lroundl): Define using libm_alias_ldouble.
25548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25549 <libm-alias-ldouble.h>.
25550 (modfl): Define using libm_alias_ldouble.
25551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25552 <libm-alias-ldouble.h>.
25553 (nearbyintl): Define using libm_alias_ldouble.
25554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25555 <libm-alias-ldouble.h>.
25556 (nextafterl): Define using libm_alias_ldouble.
25557 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25558 <libm-alias-ldouble.h>.
25559 (nextupl): Define using libm_alias_ldouble.
25560 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25561 <libm-alias-ldouble.h>.
25562 (remquol): Define using libm_alias_ldouble.
25563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25564 <libm-alias-ldouble.h>.
25565 (rintl): Define using libm_alias_ldouble.
25566 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25567 <libm-alias-ldouble.h>.
25568 (roundevenl): Define using libm_alias_ldouble.
25569 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25570 <libm-alias-ldouble.h>.
25571 (roundl): Define using libm_alias_ldouble.
25572 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25573 using libm_alias_ldouble.
25574 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25575 <libm-alias-ldouble.h>.
25576 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25577 Define using libm_alias_ldouble.
25578 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25579 <libm-alias-ldouble.h>.
25580 (sincosl): Define using libm_alias_ldouble.
25581 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25582 <libm-alias-ldouble.h>.
25583 (sinl): Define using libm_alias_ldouble.
25584 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25585 <libm-alias-ldouble.h>.
25586 (tanhl): Define using libm_alias_ldouble.
25587 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25588 <libm-alias-ldouble.h>.
25589 (tanl): Define using libm_alias_ldouble.
25590 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25591 <libm-alias-ldouble.h>.
25592 (totalorderl): Define using libm_alias_ldouble.
25593 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25594 <libm-alias-ldouble.h>.
25595 (totalordermagl): Define using libm_alias_ldouble.
25596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25597 <libm-alias-ldouble.h>.
25598 (truncl): Define using libm_alias_ldouble.
25599 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25600 libm_alias_ldouble.
25601 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25602 libm_alias_ldouble.
25603 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25604 <libm-alias-ldouble.h>.
25605 (weak_alias): Do not undefine and redefine.
25606 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25607 (copysignl): Define with long_double_symbol only if [IS_IN
25609 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25610 <libm-alias-ldouble.h>.
25611 (weak_alias): Do not undefine and redefine.
25612 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25613 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25614 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25615 <libm-alias-ldouble.h>.
25616 (weak_alias): Do not undefine and redefine.
25617 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25618 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25619 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25620 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25623 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25626 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25629 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25636 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25644 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25647 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25648 (tcache_thread_freeres): Set tcache_shutting_down before
25649 freeing the tcache.
25650 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25651 * malloc/tst-malloc-tcache-leak.c: New file.
25653 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25655 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25656 back to powerpc32 file.
25657 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25658 (memrchr): Add __memrchr_power8 to ifunc list.
25659 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25660 extra bytes for unaligned inputs.
25662 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25664 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25665 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25670 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25672 * sysdeps/arm/libm-test-ulps: Update.
25674 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25675 <libm-alias-ldouble.h>.
25676 (asinhl): Define using libm_alias_ldouble.
25677 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25678 <libm-alias-ldouble.h>.
25679 (cbrtl): Define using libm_alias_ldouble.
25680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25681 <libm-alias-ldouble.h>.
25682 (copysignl): Define using libm_alias_ldouble.
25683 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25684 <libm-alias-ldouble.h>.
25685 (cosl): Define using libm_alias_ldouble.
25686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25687 <libm-alias-ldouble.h>.
25688 (erfl): Define using libm_alias_ldouble.
25690 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25691 <libm-alias-ldouble.h>.
25692 (fmal): Define using libm_alias_ldouble.
25693 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25694 <libm-alias-ldouble.h>.
25695 (frexpl): Define using libm_alias_ldouble.
25696 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25697 libm_alias_ldouble.
25698 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25699 <libm-alias-ldouble.h>.
25700 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25701 libm_alias_ldouble.
25702 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25703 <libm-alias-ldouble.h>.
25704 (getpayloadl): Define using libm_alias_ldouble.
25705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25706 <libm-alias-ldouble.h>.
25707 (llrintl): Define using libm_alias_ldouble.
25708 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25709 <libm-alias-ldouble.h>.
25710 (llroundl): Define using libm_alias_ldouble.
25711 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25712 <libm-alias-ldouble.h>.
25713 (lrintl): Define using libm_alias_ldouble.
25714 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25715 <libm-alias-ldouble.h>.
25716 (lroundl): Define using libm_alias_ldouble.
25717 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25718 <libm-alias-ldouble.h>.
25719 (modfl): Define using libm_alias_ldouble.
25720 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25721 <libm-alias-ldouble.h>.
25722 (nextupl): Define using libm_alias_ldouble.
25723 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25724 <libm-alias-ldouble.h>.
25725 (remquol): Define using libm_alias_ldouble.
25726 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25727 <libm-alias-ldouble.h>.
25728 (roundevenl): Define using libm_alias_ldouble.
25729 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25730 <libm-alias-ldouble.h>.
25731 (roundl): Define using libm_alias_ldouble.
25732 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25733 using libm_alias_ldouble.
25734 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25735 <libm-alias-ldouble.h>.
25736 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25737 <libm-alias-ldouble.h>.
25738 (setpayloadsigl): Define using libm_alias_ldouble.
25739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25740 <libm-alias-ldouble.h>.
25741 (sincosl): Define using libm_alias_ldouble.
25742 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25743 <libm-alias-ldouble.h>.
25744 (sinl): Define using libm_alias_ldouble.
25745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25746 <libm-alias-ldouble.h>.
25747 (tanhl): Define using libm_alias_ldouble.
25748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25749 <libm-alias-ldouble.h>.
25750 (tanl): Define using libm_alias_ldouble.
25751 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25752 <libm-alias-ldouble.h>.
25753 (totalorderl): Define using libm_alias_ldouble.
25754 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25755 <libm-alias-ldouble.h>.
25756 (totalordermagl): Define using libm_alias_ldouble.
25757 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25758 libm_alias_ldouble.
25759 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25760 libm_alias_ldouble.
25762 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25764 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25766 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25767 (__libc_ifunc_impl_list): Likewise.
25768 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25769 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25771 * benchtests/bench-memmove-walk.c: New file.
25772 * benchtests/Makefile (string-benchset): Add it.
25774 * benchtests/bench-memset-walk.c: New file.
25775 * benchtests/Makefile (string-benchset): Add it.
25777 * benchtests/bench-memcpy-walk.c: New file.
25778 * benchtests/Makefile (string-benchset): Add it.
25780 2017-10-05 Florian Weimer <fweimer@redhat.com>
25782 nscd: Eliminate compilation time dependency in the build output.
25783 * nscd/nscd_stat.c (STATDATA_VERSION)
25784 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25785 (STATDATA_VERSION_FULL): New macro definitions.
25786 (compilation): Remove.
25787 (struct statdata): Adjust version member.
25788 (send_stats): Set version from STATDATA_VERSION_FULL.
25789 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25791 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25793 * configure.ac (--enable-add-ons): Remove option.
25794 (machine): Do not mention add-ons in comment.
25795 (LIBC_PRECONFIGURE): Likewise.
25796 (add_ons): Remove variable and sanity checks and logic to locate
25798 (add_ons_automatic): Remove variable.
25799 (configured_add_ons): Likewise.
25800 (add_ons_sfx): Likewise.
25801 (add_ons_pfx): Likewise.
25802 (add_on_subdirs): Likewise.
25803 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25804 consideration of add-ons in Implies handling.
25805 (sysdeps_add_ons): Likewise.
25806 * configure: Regenerated.
25807 * libidn/configure.ac: Remove.
25808 * libidn/configure: Likewise.
25809 * sysdeps/unix/inet/configure.ac: New file.
25810 * sysdeps/unix/inet/configure: New generated file.
25811 * sysdeps/unix/inet/Subdirs: Add libidn.
25812 * Makeconfig (sysdeps-srcdirs): Remove variable.
25813 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25814 ($(common-objpfx)config.status): Do not depend on add-on files.
25815 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25817 (all-subdirs): Do not include $(add-on-subdirs).
25818 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25819 * config.make.in (add-ons): Remove variable.
25820 (add-on-subdirs): Likewise.
25821 (sysdeps-add-ons): Likewise.
25822 * manual/Makefile (add-chapters): Remove.
25823 ($(objpfx)texis): Do not depend on $(add-chapters).
25824 (nonexamples): Do not handle $(add-chapters).
25825 (examples): Do not handle $(add-ons).
25826 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25828 * manual/install.texi (Installation): Do not mention add-ons.
25829 (--enable-add-ons): Do not document configure option.
25830 * INSTALL: Regenerated.
25831 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25832 * manual/maint.texi (Hierarchy Conventions): Do not mention
25834 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25836 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25838 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25839 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25841 2017-10-05 Andreas Schwab <schwab@suse.de>
25844 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25845 (_IO_flush_all_lockp): Always lock list_all_lock.
25846 (_IO_flush_all_linebuffered): Likewise.
25847 (_IO_unbuffer_all): Likewise.
25849 2017-10-05 Florian Weimer <fweimer@redhat.com>
25852 Do not flush stdio streams on abort.
25853 * stdlib/abort.c (fflush): Remove macro definition.
25854 (abort): Remove stages related to stdio flushing.
25856 2017-10-05 Florian Weimer <fweimer@redhat.com>
25858 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25860 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25862 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25864 2017-10-05 Florian Weimer <fweimer@redhat.com>
25866 * support/support_format_hostent.c (support_format_hostent): Add
25867 more error information for NETDB_INTERNAL.
25869 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25871 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25872 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25873 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25874 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25875 AC_DEFINE if multi-arch is enabled.
25876 * sysdeps/i386/configure: Regenerated.
25878 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25880 * Makeconfig (+link-static-before-libc): Use
25881 $(DEFAULT-LDFLAGS-$(@F)).
25882 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25883 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25884 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25886 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25888 * elf/Makefile (tests): Add tst-main1.
25889 (modules-names): Add tst-main1mod.
25890 ($(objpfx)tst-main1): New.
25891 (CRT-tst-main1): Likewise.
25892 (LDFLAGS-tst-main1): Likewise.
25893 (LDLIBS-tst-main1): Likewise.
25894 (tst-main1mod.so-no-z-defs): Likewise.
25895 * elf/tst-main1.c: New file.
25896 * elf/tst-main1mod.c: Likewise.
25898 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25900 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25902 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25904 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25905 (fma): Define using libm_alias_double.
25906 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25907 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25909 (fmal): Do not define as compat symbol here.
25910 * sysdeps/alpha/fpu/s_fma.c: New file.
25912 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25914 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25916 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25919 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25921 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25924 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25925 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25926 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25928 Include <math_ldbl_opt.h>
25929 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25931 (compat_symbol): Undefine and redefine.
25932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25934 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25935 (compat_symbol): Undefine and redefine.
25936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25937 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25938 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25939 GLIBC_2_1 for libm.
25940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25941 GLIBC_2.0 copysignl symbol.
25942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25943 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25945 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25947 2017-10-04 Florian Weimer <fweimer@redhat.com>
25949 * scripts/check-local-headers.sh: Ignore nspr4 header file
25950 directory in addition to nspr.
25952 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25955 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25956 * configure: Regenerate.
25957 * crypt/Makefile (nss-cpp-flags): New variable.
25958 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25959 (CPPFLAGS-md5-crypt.c): Use it.
25960 * scripts/check-local-headers.sh: Ignore nspr header file
25963 2017-10-04 Andreas Schwab <schwab@suse.de>
25965 * nis/Makefile (services): Remove compat.
25966 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25967 ($(objpfx)libnss_compat.so): Remove rule.
25968 * nis/Versions (libnss_compat): Remove.
25969 * nss/Makefile (services): Add compat.
25970 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25971 * nss/Versions (libnss_compat): Define.
25972 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25973 Don't include <rpc/types.h>. Replace bool_t by bool.
25974 * nss/nss_compat/compat-initgroups.c: Likewise.
25975 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25976 instead of <rpcsrv/ypclnt.h>.
25977 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25978 yp_get_default_domain.
25979 * nss/nss_compat/compat-pwd.c: Likewise.
25980 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25981 yp_get_default_domain.
25982 * nss/nss_compat/nisdomain.c: New file.
25983 * nss/nss_compat/nisdomain.h: Likewise.
25985 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25989 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25991 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25997 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25999 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26000 "movl main@GOTOFF(%ebx), %eax".
26002 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26004 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26005 allow undefined _DYNAMIC in PIE libc.a.
26006 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26009 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26011 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26014 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26016 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26019 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26021 * math/test-math-iscanonical.cc (error): Replace bool with int.
26023 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26025 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26026 (modf): Define using libm_alias_double, only if [!__modf].
26027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26028 <libm-alias-double.h>.
26029 (modf): Define using libm_alias_double, only if [!__modf].
26030 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26031 compat symbol here.
26032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26033 (weak_alias): Do not undefine and redefine.
26034 (strong_alias): Likewise.
26035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26036 (weak_alias): Likewise.
26037 (strong_alias): Likewise.
26039 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26040 (logb): Define using libm_alias_double, only if [!__logb].
26041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26042 <libm-alias-double.h>.
26043 (logb): Define using libm_alias_double, only if [!__logb].
26044 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26046 (weak_alias): Do not undefine and redefine.
26047 (strong_alias): Likewise.
26048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26049 (weak_alias): Likewise.
26050 (strong_alias): Likewise.
26052 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26054 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26055 Check SHARED instead PIC.
26057 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26059 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26060 [!__fmaf] (fmaf): Define using libm_alias_float.
26062 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26063 (frexp): Define using libm_alias_double.
26064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26065 <libm-alias-double.h>.
26066 (frexp): Define using libm_alias_double.
26067 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26068 compat symbol here.
26070 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26073 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26074 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26075 (CFLAGS-test-math-iscanonical.cc): New variable.
26076 * math/test-math-iscanonical.cc: New file.
26077 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26078 Provide a C++ implementation based on function overloading,
26079 rather than using __MATH_TG, which uses C-only builtins.
26080 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26082 * sysdeps/powerpc/powerpc64le/Makefile
26083 (CFLAGS-test-math-iscanonical.cc): New variable.
26085 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26087 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26088 (ceil): Define using libm_alias_double.
26089 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26090 (floor): Define using libm_alias_double.
26091 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26092 <libm-alias-double.h>.
26093 (llround): Define using libm_alias_double.
26094 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26095 <libm-alias-double.h>.
26096 (lround): Define using libm_alias_double.
26097 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26098 <libm-alias-double.h>.
26099 (nearbyint): Define using libm_alias_double.
26100 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26101 <libm-alias-double.h>.
26102 (remquo): Define using libm_alias_double.
26103 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26104 (rint): Define using libm_alias_double.
26105 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26106 (round): Define using libm_alias_double.
26107 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26108 (trunc): Define using libm_alias_double.
26109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26110 <libm-alias-double.h>.
26111 (ceil): Define using libm_alias_double.
26112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26113 <libm-alias-double.h>.
26114 (floor): Define using libm_alias_double.
26115 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26116 <libm-alias-double.h>.
26117 (llround): Define using libm_alias_double.
26118 [_LP64] (lround): Likewise.
26119 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26120 <libm-alias-double.h>.
26121 [!_LP64] (lround): Define using libm_alias_double.
26122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26123 <libm-alias-double.h>.
26124 (nearbyint): Define using libm_alias_double.
26125 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26126 <libm-alias-double.h>.
26127 (remquo): Define using libm_alias_double.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26129 <libm-alias-double.h>.
26130 (rint): Define using libm_alias_double.
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26132 <libm-alias-double.h>.
26133 (round): Define using libm_alias_double.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26135 <libm-alias-double.h>.
26136 (trunc): Define using libm_alias_double.
26137 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26138 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26139 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26140 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26141 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26142 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26143 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26144 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26145 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26147 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26149 * math/w_remainder.c: New file.
26150 * math/w_remainderf.c: New file.
26151 * math/w_remainderl.c: New file.
26153 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26155 * elf/rtld.c (BOOTSTRAP_MAP): New.
26156 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26157 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26159 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26161 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26164 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26166 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26167 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26168 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26169 rtld_hidden_data_ver): Define to empty.
26170 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26171 __assert_perror_fail): Likewise.
26172 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26173 (__rewinddir): Likewise.
26174 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26175 (__profile_frequency): Likewise.
26176 * include/setjmp.h (__sigsetjmp): Likewise.
26177 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26178 __libc_sigaction): Likewise.
26179 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26180 not set hidden attribute.
26181 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26182 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26183 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26184 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26185 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26186 __fxstatat64): Likewise.
26187 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26188 (__uname): Likewise.
26189 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26190 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26191 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26192 (NO_RTLD_HIDDEN): Set.
26193 * sysdeps/mach/hurd/configure: Refresh.
26194 * config.h.in: Refresh.
26196 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26198 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26199 (atan): Define using libm_alias_double.
26200 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26201 (tan): Define using libm_alias_double.
26202 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26203 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26206 define as weak alias of __atan. Do not define any aliases if
26208 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26209 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26210 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26211 as weak alias of __tan. Do not define any aliases if [__tan].
26212 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26213 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26214 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26216 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26217 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26218 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26219 and define as weak alias of __atan.
26220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26222 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26224 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26225 define as weak alias of __tan.
26227 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26229 * math/w_lgamma.c: New file.
26230 * math/w_lgammaf.c: New file.
26231 * math/w_lgammal.c: New file.
26233 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26235 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26236 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26237 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26238 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26239 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26240 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26241 * sysdeps/i386/fpu/w_log2f.c: New file.
26242 * sysdeps/i386/fpu/w_logf.c: New file.
26243 * sysdeps/i386/fpu/w_powf.c: New file.
26244 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26245 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26246 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26248 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26249 H.J. Lu <hongjiu.lu@intel.com>
26251 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26252 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26253 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26254 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26257 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26258 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26259 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26260 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26261 * sysdeps/i386/fpu/w_exp2f.c: New file.
26262 * sysdeps/i386/fpu/w_expf.c: New file.
26263 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26264 * sysdeps/x86_64/fpu/w_expf.c: New file.
26266 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26268 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26271 * math/w_log2f.c: New file.
26272 * math/w_logf.c: New file.
26273 * math/w_powf.c: New file.
26274 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26275 * math/w_logf_compat.c (__logf_compat): Likewise.
26276 * math/w_powf_compat.c (__powf_compat): Likewise.
26277 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26278 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26279 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26281 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26282 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26283 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26284 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26285 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26286 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26289 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26290 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26291 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26300 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26302 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26304 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26309 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26310 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26311 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26313 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26315 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26316 (sysdep_routines): Add memrchr_power8.
26317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26318 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26319 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26321 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26322 (memrchr): Add __memrchr_power8 to ifunc list.
26323 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26328 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26329 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26331 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26332 (__posix_fallocate64_l64): Likewise.
26334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26337 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26338 (__sched_setaffinity_new): Add libc_hidden_proto and
26341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26344 * include/glob.h (__glob64): Add libc_hidden_proto.
26345 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26351 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26357 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26359 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26362 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26368 * csu/version.c (__libc_print_version): Add attribute_hidden.
26370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26373 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26378 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26383 * nscd/nscd_helper.c (__nis_hash): New prototype.
26385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26388 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26389 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26391 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26392 * termios/tcgetattr.c (__tcgetattr): Likewise.
26394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26397 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26398 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26399 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26400 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26401 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26406 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26411 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26412 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26417 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26422 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26423 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26428 * include/ifreq.h: New file.
26429 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26430 (__ifreq): Likewise.
26431 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26432 (__ifreq): Likewise.
26434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26437 * include/idna.h: New file.
26438 * inet/getnameinfo.c: Include <idna.h> instead of
26440 (__idna_to_unicode_lzlz): Removed.
26441 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26443 (__idna_to_ascii_lz): Removed.
26444 (__idna_to_unicode_lzlz): Likewise.
26446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26449 * include/plural-exp.h: New file.
26450 * intl/plural-exp.c: Include <plural-exp.h> instead of
26453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26456 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26457 "getsourcefilter.h".
26458 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26459 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26460 "getsourcefilter.h".
26461 (__get_sol): Removed.
26463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26466 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26468 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26473 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26479 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26484 * include/search.h (__tdestroy): Add libc_hidden_proto.
26485 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26490 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26495 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26501 * include/signal.h (__kill): Add libc_hidden_proto.
26502 (__sigblock): Likewise.
26503 (__sigprocmask): Likewise.
26504 (__sigaltstack): Likewise.
26505 * signal/kill.c (__kill): Add libc_hidden_def.
26506 * signal/sigblock.c (__sigblock): Likewise.
26507 * signal/sigprocmask.c (__sigprocmask): Likewise.
26508 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26509 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26510 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26511 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26512 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26514 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26516 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26517 (__sigprocmask): Likewise.
26518 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26520 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26521 (__sigprocmask): Likewise.
26522 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26528 * include/string.h (__strsep): Add libc_hidden_proto.
26529 * string/strsep.c (__strsep): Add libc_hidden_def.
26531 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26534 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26536 (__spawni): Likewise.
26538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26541 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26542 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26548 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26553 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26554 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26555 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26556 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26557 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26559 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26560 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26565 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26566 (__dcigettext): Likewise.
26568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26571 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26573 (__get_nprocs): Likewise.
26574 (__get_phys_pages): Likewise.
26575 (__get_avphys_pages): Likewise.
26576 (__get_child_max): Add attribute_hidden.
26577 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26578 (__get_nprocs): Likewise.
26579 (__get_phys_pages): Likewise.
26580 (__get_avphys_pages): Likewise.
26581 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26583 (__get_nprocs): Likewise.
26584 (__get_phys_pages): Likewise.
26585 (__get_avphys_pages): Likewise.
26586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26588 (__get_nprocs_conf): Likewise.
26589 (__get_phys_pages): Likewise.
26590 (__get_avphys_pages): Likewise.
26592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26595 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26597 (__netlink_close): Likewise.
26598 (__netlink_free_handle): Likewise.
26599 (__netlink_request): Likewise.
26601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26604 * include/rpc/rpc.h (__rpc_thread_variables): Add
26606 (__rpc_thread_svc_cleanup): Likewise.
26607 (__rpc_thread_clnt_cleanup): Likewise.
26608 (__rpc_thread_key_cleanup): Likewise.
26610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26613 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26614 (__writev): Likewise.
26615 * misc/readv.c (__readv): Add libc_hidden_def.
26616 * misc/writev.c (__writev): Likewise.
26617 * sysdeps/posix/readv.c (__readv): Likewise.
26618 * sysdeps/posix/writev.c (__writev): Likewise.
26619 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26620 (__readv): Likewise.
26621 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26622 (__writev): Likewise.
26624 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26627 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26628 (__regcomp): Add libc_hidden_proto.
26629 (__regexec): Likewise.
26630 (__regfree): Likewise.
26631 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26632 (__regfree): Likewise.
26633 * posix/regexec.c (__regexec): Likewise.
26635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26638 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26639 (__getutent): Likewise.
26640 (__getutid): Likewise.
26641 (__getutline): Likewise.
26642 (__pututline): Likewise.
26643 (__getutent_r): Likewise.
26644 (__getutid_r): Likewise.
26645 (__getutline_r): Likewise.
26646 (__utmpname): Add attribute_hidden.
26647 (__setutent): Likewise.
26648 (__endutent): Likewise.
26649 * login/getutent.c (__getutent): Add libc_hidden_def.
26650 * login/getutent_r.c (__getutent_r): Likewise.
26651 (__pututline): Likewise.
26652 * login/getutid.c (__getutid): Likewise.
26653 * login/getutid_r.c (__getutid_r): Likewise.
26654 * login/getutline.c (__getutline): Likewise.
26655 * login/getutline_r.c (__getutline_r): Likewise.
26656 * login/updwtmp.c (__updwtmp): Likewise.
26658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26661 * include/dirent.h (__opendir): Always add attribute_hidden.
26662 (__fdopendir): Likewise.
26663 (__closedir): Likewise.
26664 (__readdir): Likewise.
26665 (__readdir64): Add libc_hidden_proto.
26666 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26667 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26668 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26669 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26675 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26676 * include/netdb.h (__gethostbyaddr_r): Likewise.
26677 (__gethostbyname_r): Likewise.
26678 (__gethostbyname2_r): Likewise.
26679 (__getnetbyaddr_r): Likewise.
26680 (__getnetbyname_r): Likewise.
26681 (__getservbyname_r): Likewise.
26682 (__getservbyport_r): Likewise.
26683 (__getprotobyname_r): Likewise.
26684 (__getprotobynumber_r): Likewise.
26685 (__getnetgrent_r): Likewise.
26686 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26687 (__getrpcbynumber_r): Likewise.
26688 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26693 * include/stdio.h (__fcloseall): Add attribute_hidden.
26694 (__getline): Likewise.
26695 (__path_search): Likewise.
26696 (__gen_tempname): Likewise.
26697 (__libc_message): Likewise.
26698 (__flockfile): Likewise.
26699 (__funlockfile): Likewise.
26700 (__fxprintf): Likewise.
26701 (__fxprintf_nocancel): Likewise.
26703 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26706 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26707 (__sgetsgent_r): Likewise.
26709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26712 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26713 (__statfs64): Likewise.
26714 (__fstatfs64): Likewise.
26715 * include/sys/statvfs.h (__statvfs64): Likewise.
26716 (__fstatvfs64): Likewise.
26717 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26718 (__statfs_filesize_max): Likewise.
26719 (__statfs_symlinks): Likewise.
26720 (__statfs_chown_restricted): Likewise.
26722 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26725 * include/time.h (__tzstring): Add attribute_hidden.
26726 (__tzfile_read): Likewise.
26727 (__tzfile_compute): Likewise.
26728 (__tzfile_default): Likewise.
26729 (__tzset_parse_tz): Likewise.
26730 (__offtime): Likewise.
26731 (__asctime_r): Likewise.
26732 (__tzset): Likewise.
26733 (__tz_convert): Likewise.
26734 (__getdate_r): Likewise.
26735 (__getclktck): Likewise.
26737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26740 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26741 (__nscd_unmap): Likewise.
26742 (__nscd_cache_search): Likewise.
26743 (__nscd_get_nl_timestamp): Likewise.
26744 (__nscd_getpwnam_r): Likewise.
26745 (__nscd_getpwuid_r): Likewise.
26746 (__nscd_getgrnam_r): Likewise.
26747 (__nscd_getgrgid_r): Likewise.
26748 (__nscd_gethostbyname_r): Likewise.
26749 (__nscd_gethostbyname2_r): Likewise.
26750 (__nscd_gethostbyaddr_r): Likewise.
26751 (__nscd_getai): Likewise.
26752 (__nscd_getgrouplist): Likewise.
26753 (__nscd_getservbyname_r): Likewise.
26754 (__nscd_getservbyport_r): Likewise.
26755 (__nscd_innetgr): Likewise.
26756 (__nscd_setnetgrent): Likewise.
26758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26761 * include/gmp.h: Declare internal functions only if _ISOMAC is
26763 (__mpn_extract_double): Add attribute_hidden.
26764 (__mpn_extract_long_double): Likewise.
26765 (__mpn_extract_float128): Likewise.
26766 (__mpn_construct_float): Likewise.
26767 (__mpn_construct_double): Likewise.
26768 (__mpn_construct_long_double): Likewise.
26769 (__mpn_construct_float128): Likewise.
26770 (mpn_add_1): Likewise.
26771 (mpn_addmul_1): Likewise.
26772 (mpn_add_n): Likewise.
26773 (mpn_cmp): Likewise.
26774 (mpn_divrem): Likewise.
26775 (mpn_lshift): Likewise.
26776 (mpn_mul): Likewise.
26777 (mpn_mul_1): Likewise.
26778 (mpn_rshift): Likewise.
26779 (mpn_sub_1): Likewise.
26780 (mpn_submul_1): Likewise.
26781 (mpn_sub_n): Likewise.
26783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26786 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26787 (__wcscat): Likewise.
26788 (__btowc): Likewise.
26789 (__wcrtomb): Likewise.
26790 (__mbsrtowcs): Likewise.
26791 (__wcsrtombs): Likewise.
26792 (__mbsnrtowcs): Likewise.
26793 (__wcsnrtombs): Likewise.
26794 (__wcsncpy): Likewise.
26795 (__wcpncpy): Likewise.
26796 (__wmemcpy): Likewise.
26797 (__wmempcpy): Likewise.
26798 (__wmemmove): Likewise.
26799 (__wcschrnul): Likewise.
26800 (__vfwscanf): Likewise.
26801 (__vswprintf): Likewise.
26802 (__fwprintf): Likewise.
26803 (__vfwprintf): Likewise.
26805 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26808 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26809 (__getgrgid_r): Likewise.
26810 (__getgrnam_r): Likewise.
26811 * include/pwd.h (__getpwuid_r): Likewise.
26812 (__getpwnam_r): Likewise.
26813 (__fgetpwent_r): Likewise.
26814 * include/shadow.h (__getspnam_r): Likewise.
26815 (__sgetspent_r): Likewise.
26816 (__fgetspent_r): Likewise.
26818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26821 * include/unistd.h (__access): Add attribute_hidden.
26822 (__lseek64): Likewise.
26823 (__libc_pread64): Likewise.
26824 (__pipe2): Likewise.
26825 (__sleep): Likewise.
26826 (__chdir): Likewise.
26827 (__fchdir): Likewise.
26828 (__getcwd): Likewise.
26829 (__rmdir): Likewise.
26830 (__execvpe): Likewise.
26831 (__execve): Likewise.
26832 (__setsid): Likewise.
26833 (__getuid): Likewise.
26834 (__geteuid): Likewise.
26835 (__getgid): Likewise.
26836 (__getegid): Likewise.
26837 (__getgroups): Likewise.
26838 (__group_member): Likewise.
26839 (__ttyname_r): Likewise.
26840 (__isatty): Likewise.
26841 (__readlink): Likewise.
26842 (__unlink): Likewise.
26843 (__gethostname): Likewise.
26844 (__profil): Likewise.
26845 (__getdtablesize): Likewise.
26847 (__ftruncate): Likewise.
26848 (__ftruncate64): Likewise.
26850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26853 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26854 * argp/argp-fs-xinl.c: Likewise.
26855 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26856 * argp/argp-parse.c: Include <argp.h>.
26857 * argp/argp-xinl.c: Likewise.
26858 * include/argp-fmtstream.h: New file.
26859 * include/argp.h (__argp_error): Add attribute_hidden.
26860 (__argp_failure): Likewise.
26861 (__argp_input): Likewise.
26862 (__argp_state_help): Likewise.
26864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26867 * include/wchar.h (____wcstof_l_internal): New prototype.
26868 (____wcstod_l_internal): Likewise.
26869 (____wcstold_l_internal): Likewise.
26870 (____wcstol_l_internal): Likewise.
26871 (____wcstoul_l_internal): Likewise.
26872 (____wcstoll_l_internal): Likewise.
26873 (____wcstoull_l_internal): Likewise.
26874 (____wcstof128_l_internal): Likewise.
26875 * sysdeps/ieee754/float128/wcstof128.c
26876 (____wcstof128_l_internal): Removed.
26877 * sysdeps/ieee754/float128/wcstof128_l.c
26878 (____wcstof128_l_internal): Likewise.
26879 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26880 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26881 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26882 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26883 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26884 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26885 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26886 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26887 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26888 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26893 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26894 instead of <sys/statvfs.h>.
26895 (__internal_statvfs): Removed.
26896 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26897 instead of <sys/statvfs.h>.
26898 (__internal_statvfs64): Removed.
26899 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26900 "internal_statvfs.h" instead of <sys/statvfs.h>.
26901 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26902 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26903 instead of <sys/statvfs.h>.
26904 (__internal_statvfs): Removed.
26905 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26906 instead of <sys/statvfs.h>.
26907 (__internal_statvfs64): Removed.
26909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26912 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26913 (__gconv_close): Likewise.
26914 (__gconv): Likewise.
26915 (__gconv_find_transform): Likewise.
26916 (__gconv_lookup_cache): Likewise.
26917 (__gconv_compare_alias_cache): Likewise.
26918 (__gconv_load_cache): Likewise.
26919 (__gconv_get_path): Likewise.
26920 (__gconv_close_transform): Likewise.
26921 (__gconv_release_cache): Likewise.
26922 (__gconv_find_shlib): Likewise.
26923 (__gconv_release_shlib): Likewise.
26924 (__gconv_get_builtin_trans): Likewise.
26925 (__gconv_compare_alias): Likewise.
26926 * include/dlfcn.h (_dlerror_run): Likewise.
26927 * include/stdio.h (__fortify_fail_abort): Likewise.
26928 * include/time.h (__tz_compute): Likewise.
26929 (__strptime_internal): Likewise.
26930 * intl/gettextP.h (_nl_find_domain): Likewise.
26931 (_nl_load_domain): Likewise.
26932 (_nl_find_msg): Likewise.
26933 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26934 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26935 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26936 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26937 (__gai_find_request): Likewise.
26938 (__gai_remove_request): Likewise.
26939 (__gai_notify): Likewise.
26940 (__gai_notify_only): Likewise.
26941 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26942 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26943 (_dl_non_dynamic_init): Likewise.
26944 (_dl_aux_init): Likewise.
26945 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26946 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26948 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26949 (__wcsmbs_clone_conv): Likewise.
26950 (__wcsmbs_named_conv): Likewise.
26952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26955 * include/stdlib.h (__random): Add attribute_hidden.
26956 (__random_r): Likewise.
26957 (__srandom_r): Likewise.
26958 (__initstate_r): Likewise.
26959 (__setstate_r): Likewise.
26960 (__erand48_r): Likewise.
26961 (__nrand48_r): Likewise.
26962 (__jrand48_r): Likewise.
26963 (__srand48_r): Likewise.
26964 (__seed48_r): Likewise.
26965 (__lcong48_r): Likewise.
26966 (__drand48_iterate): Likewise.
26967 (__setenv): Likewise.
26968 (__unsetenv): Likewise.
26969 (__clearenv): Likewise.
26970 (__ptsname_r): Likewise.
26971 (__posix_openpt): Likewise.
26972 (__add_to_environ): Likewise.
26973 (__realpath): Add libc_hidden_proto.
26974 (__ecvt_r): Likewise.
26975 (__fcvt_r): Likewise.
26976 (__qecvt_r): Likewise.
26977 (__qfcvt_r): Likewise.
26978 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26979 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26984 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26985 * include/time.h (__mktime_internal): Likewise.
26986 * libio/iolibio.h (__fopen_internal): Likewise.
26988 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26990 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26992 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26993 Correct offset used to restore PIC register.
26995 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26998 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26999 code to load address of __getcontext_ret when generating PIC code.
27001 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27003 * elf/Makefile (tests-static-internal): Add
27004 tst-tls1-static-non-pie.
27005 (LDFLAGS-tst-tls1-static-non-pie): New.
27006 * elf/tst-tls1-static-non-pie.c: New file.
27008 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27010 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27011 (asinh): Define using libm_alias_double.
27012 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27013 (cbrt): Define using libm_alias_double.
27014 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27015 <libm-alias-double.h>.
27016 (copysign): Define using libm_alias_double.
27017 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27018 (erf): Define using libm_alias_double.
27020 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27021 (expm1): Define using libm_alias_double.
27022 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27023 (fabs): Define using libm_alias_double.
27024 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27026 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27027 <libm-alias-double.h>.
27028 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27030 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27031 <libm-alias-double.h>.
27032 (getpayload): Define using libm_alias_double.
27033 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27034 <libm-alias-double.h>.
27035 (llrint): Define using libm_alias_double.
27036 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27037 (lrint): Define using libm_alias_double.
27038 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27039 <libm-alias-double.h>.
27040 (nextup): Define using libm_alias_double.
27041 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27042 <libm-alias-double.h>.
27043 (roundeven): Define using libm_alias_double.
27044 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27046 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27047 <libm-alias-double.h>.
27048 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27049 using libm_alias_double.
27050 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27051 (cos): Define using libm_alias_double.
27053 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27054 <libm-alias-double.h>.
27055 (sincos): Define using libm_alias_double.
27056 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27057 (tanh): Define using libm_alias_double.
27058 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27059 <libm-alias-double.h>.
27060 (totalorder): Define using libm_alias_double.
27061 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27062 <libm-alias-double.h>.
27063 (totalordermag): Define using libm_alias_double.
27064 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27066 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27068 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27069 <libm-alias-double.h>.
27070 (getpayload): Define using libm_alias_double.
27071 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27072 <libm-alias-double.h>.
27073 (roundeven): Define using libm_alias_double.
27074 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27075 <libm-alias-double.h>.
27076 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27077 <libm-alias-double.h>.
27078 (totalorder): Define using libm_alias_double.
27079 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27080 <libm-alias-double.h>.
27081 (totalordermag): Define using libm_alias_double.
27082 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27083 libc compat symbol here.
27084 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27085 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27086 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27087 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27088 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27089 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27090 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27091 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27092 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27093 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27095 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27097 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27098 _dl_relocate_static_pie instead of _dl_start to compute load
27099 address in static PIE. Return 0 if _DYNAMIC is undefined for
27102 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27104 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27105 _DYNAMIC is undefined for static executable.
27107 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27109 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27111 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27115 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27117 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27118 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27119 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27120 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27122 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27123 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27124 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27125 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27126 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27127 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27128 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27129 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27130 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27131 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27132 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27133 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27135 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27137 * math/bits/cmathcalls.h (cimag): Remove inline.
27138 (creal): Remove inline.
27139 (conj): Remove inline.
27141 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27143 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27144 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27145 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27146 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27147 (issignalingf_inline): Likewise.
27148 (POWF_LOG2_TABLE_BITS): Likewise.
27149 (POWF_LOG2_POLY_ORDER): Likewise.
27150 (POWF_SCALE_BITS): Likewise.
27151 (POWF_SCALE): Likewise.
27152 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27153 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27154 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27156 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27158 * math/Makefile (type-float-routines): Add e_log2f_data.
27159 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27160 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27161 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27162 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27163 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27164 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27165 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27167 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27169 * math/Makefile (type-float-routines): Add e_logf_data.
27170 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27171 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27172 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27173 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27174 * sysdeps/i386/fpu/e_logf_data.c: New file.
27175 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27176 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27178 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27180 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27181 undefined _DYNAMIC in PIE libc.a.
27182 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27185 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27187 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27188 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27189 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27190 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27191 (__signbit): Remove.
27192 (__signbitl): Remove.
27193 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27194 (__signbit): Remove.
27195 (__signbitl): Remove.
27196 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27197 (__signbit): Remove.
27198 (__signbitl): Remove.
27199 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27200 (__signbit): Remove.
27201 (__signbitl): Remove.
27202 * sysdeps/tile/bits/mathinline.h: Delete file.
27203 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27204 (__signbit): Remove.
27205 (__signbitl): Remove.
27207 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27209 * math/math.h: Improve handling of C99 isgreater macros.
27210 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27211 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27212 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27213 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27214 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27216 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27218 * sysdeps/aarch64/libm-test-ulps: Update.
27220 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27223 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27224 math_opt_barrier on argument when doing arithmetic on it.
27225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27226 Likewise. Use math_force_eval not math_opt_barrier after
27228 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27229 math_opt_barrier on argument when doing arithmetic on it.
27230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27233 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27235 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27237 (__freeifaddrs): Likewise.
27239 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27241 * include/dirent.h (__dirfd): New declaration.
27242 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27244 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27245 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27246 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27247 * include/unistd.h (__revoke): New declaration.
27248 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27250 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27251 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27253 * include/dirent.h (__seekdir): New declaration.
27254 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27255 redefine as weak alias.
27256 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27258 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27259 and use libc_hidden_def on them.
27260 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27262 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27263 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27264 instead of getifaddrs and freeifaddrs.
27266 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27269 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27270 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27271 (__dso_handle): Remove declaration.
27272 * dlfcn/tstatexit.c (__dso_handle): Removed.
27273 (main): Don't check __dso_handle.
27274 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27275 (main): Don't check __dso_handle.
27276 * include/dso_handle.h: New file.
27277 * malloc/mtrace.c: Include <dso_handle.h>.
27278 (mtrace): Pass __dso_handle directly.
27279 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27280 (__dso_handle): Remove declaration.
27281 (__pthread_atfork): Pass __dso_handle directly.
27282 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27283 (__dso_handle): Removed.
27284 * posix/wordexp-test.c: Include <dso_handle.h>.
27285 (__dso_handle): Remove declaration.
27286 (__app_register_atfork): Pass __dso_handle directly.
27287 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27288 (__dso_handle): Remove declaration.
27289 (at_quick_exit): Pass __dso_handle directly.
27290 * stdlib/atexit.c: Include <dso_handle.h>.
27291 (__dso_handle): Remove declaration.
27292 (atexit): Pass __dso_handle directly.
27293 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27294 (__dso_handle): Removed.
27296 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27298 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27301 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27303 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27304 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27305 values to correct default value for given type.
27307 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27310 * elf/Makefile (tests): Add tst-debug1.
27311 ($(objpfx)tst-debug1): New.
27312 ($(objpfx)tst-debug1.out): Likewise.
27313 ($(objpfx)tst-debug1mod1.so): Likewise.
27314 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27315 with p_filesz == 0.
27316 * elf/tst-debug1.c: New file.
27318 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27320 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27321 Define using __ifunc.
27323 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27325 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27328 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27331 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27333 2017-09-26 Florian Weimer <fweimer@redhat.com>
27335 * resolv/Makefile (tests-internal): Fix typo in comment.
27337 2017-09-26 Florian Weimer <fweimer@redhat.com>
27339 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27341 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27343 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27344 Use an union instead of a max_align_t array for __space,
27345 so that __space is the same size on all platforms.
27346 * malloc/scratch_buffer_grow_preserve.c
27347 (__libc_scratch_buffer_grow_preserve): Likewise.
27350 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27352 * posix/Makefile (routines): Add glob-lstat-compat and
27353 glob64-lstat-compat.
27354 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27355 * posix/glob-lstat-compat.c: New file.
27356 * posix/glob64-lstat-compat.c: Likewise.
27357 * posix/tst-glob_lstat_compat.c: Likewise.
27358 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27359 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27360 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27361 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27363 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27364 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27365 * posix/glob.c (glob_lstat): New function.
27366 (glob): Rename to __glob and add versioned symbol to 2.27.
27367 (glob_in_dir): Use glob_lstat.
27368 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27369 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27372 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27373 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27374 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27375 gl_lstat on glob call.
27376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27377 and glob64 symbols.
27378 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27379 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27381 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27383 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27384 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27386 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27389 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27392 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27396 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27397 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27398 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27401 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27405 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27407 * configure.ac (AS): Require binutils 2.25 or later.
27408 * configure: Regenerated.
27410 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27413 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27416 2017-09-25 DJ Delorie <dj@redhat.com>
27419 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27422 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27424 * sysdeps/ieee754/dbl-64/sincos32.h
27425 [SINCCOS32_H]: Remove define.
27426 [SINCOS32_H]: Define.
27428 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27430 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27432 * math/w_exp2f.c: New file.
27433 * math/w_expf.c: New file.
27434 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27435 * math/w_expf_compat.c (__expf_compat): Likewise.
27436 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27437 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27438 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27439 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27440 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27441 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27442 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27443 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27444 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27445 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27446 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27447 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27448 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27449 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27458 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27459 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27460 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27461 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27462 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27467 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27468 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27469 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27471 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27473 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27474 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27475 (roundtoint, converttoint): Likewise.
27476 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27477 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27478 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27479 * sysdeps/ieee754/flt-32/math_config.h: New file.
27480 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27481 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27482 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27483 * sysdeps/i386/fpu/math_errf.c: New file.
27484 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27485 * sysdeps/ia64/fpu/math_errf.c: New file.
27486 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27487 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27489 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27491 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27492 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27493 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27494 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27495 to make sure that these symbols are defined.
27496 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27498 (__need_NULL): Do not define.
27499 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27501 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27502 CMGROUP_MAX, cmsgcred): Do not define.
27503 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27505 * bits/socket.h: Likewise.
27506 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27507 __gettimeofday instead of gettimeofday.
27508 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27509 instead of settimeofday.
27511 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27513 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27514 (asinhf): Define using libm_alias_float.
27515 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27516 (atanf): Define using libm_alias_float.
27517 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27518 (cbrtf): Define using libm_alias_float.
27519 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27520 (ceilf): Define using libm_alias_float.
27521 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27522 <libm-alias-float.h>.
27523 (copysignf): Define using libm_alias_float.
27524 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27525 (cosf): Define using libm_alias_float.
27526 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27527 (erff): Define using libm_alias_float.
27529 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27530 (expm1f): Define using libm_alias_float.
27531 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27532 (fabsf): Define using libm_alias_float.
27533 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27534 (floorf): Define using libm_alias_float.
27535 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27536 (frexpf): Define using libm_alias_float.
27537 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27539 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27540 <libm-alias-float.h>.
27541 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27543 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27544 <libm-alias-float.h>.
27545 (getpayloadf): Define using libm_alias_float.
27546 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27547 <libm-alias-float.h>.
27548 (llrintf): Define using libm_alias_float.
27549 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27550 <libm-alias-float.h>.
27551 (llroundf): Define using libm_alias_float.
27552 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27553 (logbf): Define using libm_alias_float.
27554 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27555 (lrintf): Define using libm_alias_float.
27556 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27557 (lroundf): Define using libm_alias_float.
27558 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27559 (modff): Define using libm_alias_float.
27560 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27561 <libm-alias-float.h>.
27562 (nearbyintf): Define using libm_alias_float.
27563 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27564 <libm-alias-float.h>.
27565 (nextafterf): Define using libm_alias_float.
27566 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27567 <libm-alias-float.h>.
27568 (nextupf): Define using libm_alias_float.
27569 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27570 <libm-alias-float.h>.
27571 (remquof): Define using libm_alias_float.
27572 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27573 (rintf): Define using libm_alias_float.
27574 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27575 <libm-alias-float.h>.
27576 (roundevenf): Define using libm_alias_float.
27577 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27578 (roundf): Define using libm_alias_float.
27579 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27580 using libm_alias_float.
27581 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27582 <libm-alias-float.h>.
27583 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27584 Define using libm_alias_float.
27585 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27586 <libm-alias-float.h>.
27587 (sincosf): Define using libm_alias_float.
27588 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27589 (sinf): Define using libm_alias_float.
27590 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27591 (tanf): Define using libm_alias_float.
27592 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27593 (tanhf): Define using libm_alias_float.
27594 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27595 <libm-alias-float.h>.
27596 (totalorderf): Define using libm_alias_float.
27597 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27598 <libm-alias-float.h>.
27599 (totalordermagf): Define using libm_alias_float.
27600 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27601 (truncf): Define using libm_alias_float.
27602 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27604 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27607 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27610 math/math.h: Let fpclassify use the builtin in C++ mode, even
27611 when optimazing for size.
27613 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27615 * csu/Makefile (generated): Do not add version-info.h.
27616 (before-compile): Likewise.
27617 (all-Banner-files): Remove variable.
27618 ($(objpfx)version-info.h): Remove rule.
27619 * csu/version.c (banner): Do not include "version-info.h".
27620 * libidn/Banner: Remove.
27621 * manual/contrib.texi (Simon Josefsson): New entry.
27623 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27626 Remove conditionals on LDBL_MANT_DIG.
27627 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27628 (__ieee754_lgammal_r): Likewise.
27630 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27632 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27634 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27635 _Float128 and L(). Replace _Float128 with long double and L(x)
27636 with xL, throughout the file.
27637 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27642 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27645 sysdeps/ieee754/ldbl-128ibm.
27646 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27647 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27648 of including it. Keep _Float128 and L() intact. These will be
27649 reviewed by a separate patch.
27650 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27655 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27658 (__finitef128): Define to __redirect___finitef128.
27659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27660 (__isinff128): Define to __redirect___isinff128.
27661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27662 (__isnanf128): Define to __redirect___isnanf128.
27664 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27666 * sysdeps/powerpc/powerpc64le/Makefile
27667 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27668 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27670 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27671 Carlos O'Donell <carlos@redhat.com>
27674 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27675 * stdlib/test-dlclose-exit-race.c: New file.
27676 * stdlib/test-dlclose-exit-race-helper.c: New file.
27677 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27679 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27681 * crypt/Banner: Remove file.
27682 * nptl/Banner: Likewise.
27683 * resolv/Banner: Likewise.
27684 * soft-fp/Banner: Likewise.
27685 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27686 ($(objpfx)version.d): Remove dependency on banner.h.
27687 ($(objpfx)version.os): Likewise.
27688 * nptl/version.c (banner): Do not include banner.h.
27689 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27690 Jelinek and BIND code.
27692 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27693 Carlos O'Donell <carlos@redhat.com>
27695 * support/xdlfcn.h: New file.
27696 * support/xdlfcn.c: New file.
27697 * support/Makefile (libsupport-routines): Add xdlfcn.
27698 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27700 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27704 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27705 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27706 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27707 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27708 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27709 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27710 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27712 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27713 Ricky Zhou <rickyz@google.com>
27714 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27717 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27719 (__new_exitfn): Fail registration when we finished at_exit processing.
27720 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27721 * stdlib/on_exit.c (__on_exit): Likewise.
27722 * stdlib/exit.c (__exit_funcs_done): New variable.
27723 (__run_exit_handlers): Use __exit_funcs_lock.
27724 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27726 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27727 (test-cxa_atexit-race, test-on_exit-race): New tests.
27728 * stdlib/test-atexit-race-common.c: New file.
27729 * stdlib/test-atexit-race.c: New file.
27730 * stdlib/test-at_quick_exit-race.c: New file.
27731 * stdlib/test-cxa_atexit-race.c: New file.
27732 * stdlib/test-on_exit-race.c: New file.
27734 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27736 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27737 * benchtests/exp2f-inputs: Copy of expf-inputs.
27738 * benchtests/log2f-inputs: Copy of logf-inputs.
27740 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27742 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27743 Explicitly take address of first element of array arguments in
27744 call to INLINE_SYSCALL.
27746 2017-09-19 Andreas Schwab <schwab@suse.de>
27749 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27751 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27754 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27755 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27756 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27757 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27758 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27760 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27761 * posix/Makefile (tests): Add tst-fexecve.
27762 * posix/tst-fexecve.c: New file.
27764 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27766 * benchtests/Makefile: Add logf benchmark.
27767 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27769 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27771 * benchtests/Makefile: Add expf benchmark.
27772 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27774 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27776 * csu/Makefile: Add -funwind-tables to libc-start.c.
27777 * debug/Makefile: Add -funwind-tables to backtrace.c.
27778 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27779 * sysdeps/arm/Makefile: Likewise.
27780 * sysdeps/i386/Makefile: Likewise.
27781 * sysdeps/m68k/Makefile: Likewise.
27782 * sysdeps/mips/Makefile: Likewise.
27783 * sysdeps/nios2/Makefile: Likewise.
27784 * sysdeps/sh/Makefile: Likewise.
27785 * sysdeps/sparc/Makefile: Likewise.
27787 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27789 * benchtests/Makefile (bench-math): Add trunc and truncf.
27790 (CFLAGS-bench-trunc.c): New variable.
27791 (CFLAGS-bench-truncf.c): Likewise.
27792 * benchtests/trunc-inputs: New file.
27793 * benchtests/truncf-inputs: Likewise.
27795 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27797 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27799 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27801 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27802 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27804 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27805 (exp10l): Define as weak alias.
27806 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27807 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27809 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27810 (remainderl): Define as weak alias.
27812 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27813 (fmal): Define using libm_alias_ldouble.
27814 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27815 (acoshl): Define using libm_alias_ldouble.
27816 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27817 (acosl): Define using libm_alias_ldouble.
27818 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27819 (asinl): Define using libm_alias_ldouble.
27820 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27821 (atan2l): Define using libm_alias_ldouble.
27822 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27823 (atanhl): Define using libm_alias_ldouble.
27824 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27825 (coshl): Define using libm_alias_ldouble.
27826 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27827 (exp10l): Define using libm_alias_ldouble.
27828 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27829 (exp2l): Define using libm_alias_ldouble.
27830 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27831 (expl): Define using libm_alias_ldouble.
27832 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27833 (fmodl): Define using libm_alias_ldouble.
27834 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27835 (hypotl): Define using libm_alias_ldouble.
27836 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27837 (j0l): Define using libm_alias_ldouble.
27839 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27840 (j1l): Define using libm_alias_ldouble.
27842 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27843 (jnl): Define using libm_alias_ldouble.
27845 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27846 (log10l): Define using libm_alias_ldouble.
27847 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27848 (log2l): Define using libm_alias_ldouble.
27849 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27850 (logl): Define using libm_alias_ldouble.
27851 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27852 (powl): Define using libm_alias_ldouble.
27853 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27854 (remainderl): Define using libm_alias_ldouble.
27855 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27856 (sinhl): Define using libm_alias_ldouble.
27857 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27858 (sqrtl): Define using libm_alias_ldouble.
27859 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27860 (tgammal): Define using libm_alias_ldouble.
27861 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27862 (exp10l): Do not use long_double_symbol here.
27863 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27864 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27865 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27866 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27867 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27868 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27869 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27870 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27871 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27872 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27873 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27874 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27875 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27876 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27877 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27878 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27879 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27880 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27881 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27882 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27883 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27884 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27886 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27888 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27889 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27891 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27893 * io/read.c (read): Add libc_hidden_weak.
27894 * sysdeps/mach/hurd/read.c (read): Likewise.
27895 * io/write.c (write): Likewise.
27896 * sysdeps/mach/hurd/write.c (write): Likewise.
27897 * io/pread64.c (__pread64): Likewise.
27898 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27899 * posix/pread64.c (__pread64): Add libc_hidden_def.
27901 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27903 * benchtests/scripts/compare_strings.py: New option -g.
27904 (draw_graph): Print a message that a graph is being generated.
27905 (process_results): Generate graph only if -g is passed.
27906 (main): Process option -g.
27908 * benchtests/scripts/compare_strings.py (process_results):
27909 Better spacing for output.
27911 * benchtests/scripts/compare_strings.py: Use argparse.
27912 * benchtests/README: Document existence of compare_strings.py.
27914 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27916 * math/s_fma.c: Include <libm-alias-double.h>.
27917 (fma): Define using libm_alias_double.
27918 * math/s_nextafter.c: Include <libm-alias-double.h>.
27919 (nextafter): Define using libm_alias_double.
27920 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27921 (acos): Define using libm_alias_double.
27922 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27923 (aocsh): Define using libm_alias_double.
27924 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27925 (asin): Define using libm_alias_double.
27926 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27927 (atan2): Define using libm_alias_double.
27928 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27929 (atanh): Define using libm_alias_double.
27930 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27931 (cosh): Define using libm_alias_double.
27932 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27933 (exp10): Define using libm_alias_double.
27934 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27935 (exp2): Define using libm_alias_double.
27936 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27937 (exp): Define using libm_alias_double.
27938 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27939 (fmod): Define using libm_alias_double.
27940 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27941 (hypot): Define using libm_alias_double.
27942 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27943 (j0): Define using libm_alias_double.
27945 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27946 (j1): Define using libm_alias_double.
27948 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27949 (jn): Define using libm_alias_double.
27951 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27952 (log10): Define using libm_alias_double.
27953 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27954 (log2): Define using libm_alias_double.
27955 * math/w_log_compat.c: Include <libm-alias-double.h>.
27956 (log): Define using libm_alias_double.
27957 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27958 (pow): Define using libm_alias_double.
27959 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27960 (remainder): Define using libm_alias_double.
27961 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27962 (sinh): Define using libm_alias_double.
27963 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27964 (sqrt): Define using libm_alias_double.
27965 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27966 (tgamma): Define using libm_alias_double.
27967 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27968 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27969 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27970 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27971 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27972 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27973 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27974 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27976 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27977 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27978 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27979 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27980 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27981 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27982 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27983 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27984 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27985 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27986 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27987 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27988 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27989 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27990 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27991 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27993 * math/e_acoshl.c: Remove.
27994 * math/e_acosl.c: Likewise.
27995 * math/e_asinl.c: Likewise.
27996 * math/e_atan2l.c: Likewise.
27997 * math/e_atanhl.c: Likewise.
27998 * math/e_coshl.c: Likewise.
27999 * math/e_expl.c: Likewise.
28000 * math/e_fmodl.c: Likewise.
28001 * math/e_gammal_r.c: Likewise.
28002 * math/e_hypotl.c: Likewise.
28003 * math/e_j0l.c: Likewise.
28004 * math/e_j1l.c: Likewise.
28005 * math/e_jnl.c: Likewise.
28006 * math/e_lgammal_r.c: Likewise.
28007 * math/e_log10l.c: Likewise.
28008 * math/e_log2l.c: Likewise.
28009 * math/e_logl.c: Likewise.
28010 * math/e_powl.c: Likewise.
28011 * math/e_rem_pio2l.c: Likewise.
28012 * math/e_sinhl.c: Likewise.
28013 * math/e_sqrtf128.c: Likewise.
28014 * math/e_sqrtl.c: Likewise.
28015 * math/k_cosl.c: Likewise.
28016 * math/k_sinl.c: Likewise.
28017 * math/k_tanl.c: Likewise.
28018 * math/s_asinhl.c: Likewise.
28019 * math/s_atanl.c: Likewise.
28020 * math/s_cbrtl.c: Likewise.
28021 * math/s_erfl.c: Likewise.
28022 * math/s_expm1l.c: Likewise.
28023 * math/s_log1pl.c: Likewise.
28024 * math/s_tanhl.c: Likewise.
28026 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28030 [$(subdir) = math] (sysdep_calls): New variable. Has the
28031 previous contents of sysdep_routines, but re-sorted..
28032 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28034 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28035 defined in sysdep_calls and replace by the respective m_* names.
28036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28037 (compat_symbol): Undefine to avoid duplicated compat symbols in
28040 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28042 * math/s_fmaf.c: Include <libm-alias-float.h>.
28043 (fmaf): Define using libm_alias_float.
28044 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28045 (acosf): Define using libm_alias_float.
28046 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28047 (acoshf): Define using libm_alias_float.
28048 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28049 (asinf): Define using libm_alias_float.
28050 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28051 (atan2f): Define using libm_alias_float.
28052 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28053 (atanhf): Define using libm_alias_float.
28054 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28055 (coshf): Define using libm_alias_float.
28056 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28057 (exp10f): Define using libm_alias_float.
28058 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28059 (fmodf): Define using libm_alias_float.
28060 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28061 (hypotf): Define using libm_alias_float.
28062 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28063 (j0f): Define using libm_alias_float.
28065 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28066 (j1f): Define using libm_alias_float.
28068 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28069 (jnf): Define using libm_alias_float.
28071 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28072 (log10f): Define using libm_alias_float.
28073 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28074 (log2f): Define using libm_alias_float.
28075 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28076 (logf): Define using libm_alias_float.
28077 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28078 (powf): Define using libm_alias_float.
28079 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28080 (remainderf): Define using libm_alias_float.
28081 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28082 (sinhf): Define using libm_alias_float.
28083 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28084 (sqrtf): Define using libm_alias_float.
28085 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28086 (tgammaf): Define using libm_alias_float.
28088 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28090 * include/math.h (roundeven): Change hidden_proto call to
28092 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28094 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28095 (y0): Rename to __y0 and define as weak alias.
28096 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28097 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28099 (y0f): Rename to __y0f and define as weak alias.
28100 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28102 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28103 (y1): Rename to __y1 and define as weak alias.
28104 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28105 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28107 (y1f): Rename to __y1f and define as weak alias.
28108 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28110 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28111 (yn): Rename to __yn and define as weak alias.
28112 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28113 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28115 (ynf): Rename to __ynf and define as weak alias.
28116 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28117 (fromfp): Define as weak alias.
28118 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28119 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28120 (fromfpx): Define as weak alias.
28121 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28122 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28123 __getpayload and define as weak alias.
28124 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28125 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28126 __roundeven and define as weak alias.
28127 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28128 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28130 (setpayload): Define as weak alias.
28131 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28132 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28134 (setpayloadsig): Define as weak alias.
28135 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28136 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28137 __totalorder and define as weak alias.
28138 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28139 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28140 to __totalordermag and define as weak alias.
28141 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28142 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28143 (ufromfp): Define as weak alias.
28144 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28145 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28147 (ufromfpx): Define as weak alias.
28148 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28149 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28150 Rename to __getpayload and define as weak alias.
28151 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28152 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28153 Rename to __roundeven and define as weak alias.
28154 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28155 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28156 Rename to __totalorder and define as weak alias.
28157 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28158 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28159 (totalordermag): Rename to __totalordermag and define as weak
28161 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28162 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28164 (__roundevenl): Likewise.
28165 (__totalorderl): Likewise.
28166 (__totalordermagl): Likewise
28167 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28169 (fromfpf128): Define as weak alias.
28170 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28172 (fromfpxf128): Define as weak alias.
28173 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28175 (setpayloadf128): Define as weak alias.
28176 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28177 __setpayloadsigf128.
28178 (setpayloadsigf128): Define as weak alias.
28179 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28181 (ufromfpf128): Define as weak alias.
28182 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28184 (ufromfpxf128): Define as weak alias.
28185 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28186 (fromfpf): Define as weak alias.
28187 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28189 (fromfpxf): Define as weak alias.
28190 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28191 __getpayloadf and define as weak alias.
28192 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28193 __roundevenf and define as weak alias.
28194 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28196 (setpayloadf): Define as weak alias.
28197 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28199 (setpayloadsigf): Define as weak alias.
28200 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28201 __totalorderf and define as weak alias.
28202 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28203 Rename to __totalordermagf and define as weak alias.
28204 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28206 (ufromfpf): Define as weak alias.
28207 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28209 (ufromfpxf): Define as weak alias.
28210 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28212 (fromfpl): Define as weak alias.
28213 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28215 (fromfpxl): Define as weak alias.
28216 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28217 to __getpayloadl and define as weak alias.
28218 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28219 __roundevenl and define as weak alias.
28220 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28222 (setpayloadl): Define as weak alias.
28223 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28225 (setpayloadsigl): Define as weak alias.
28226 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28227 to __totalorderl and define as weak alias.
28228 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28229 Rename to __totalordermagl and define as weak alias.
28230 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28232 (ufromfpl): Define as weak alias.
28233 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28235 (ufromfpxl): Define as weak alias.
28236 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28238 (fromfpl): Define as weak alias.
28239 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28241 (fromfpxl): Define as weak alias.
28242 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28243 Rename to __getpayloadl and define as weak alias.
28244 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28245 to __roundevenl and define as weak alias. Call __roundeven
28246 instead of roundeven.
28247 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28249 (setpayloadl): Define as weak alias.
28250 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28252 (setpayloadsigl): Define as weak alias.
28253 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28254 Rename to __totalorderl and define as weak alias.
28255 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28256 Rename to __totalordermagl and define as weak alias.
28257 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28259 (ufromfpl): Define as weak alias.
28260 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28262 (ufromfpxl): Define as weak alias.
28263 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28265 (fromfpl): Define as weak alias.
28266 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28268 (fromfpxl): Define as weak alias.
28269 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28270 __getpayloadl and define as weak alias.
28271 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28272 __roundevenl and define as weak alias.
28273 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28275 (setpayloadl): Define as weak alias.
28276 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28278 (setpayloadsigl): Define as weak alias.
28279 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28280 __totalorderl and define as weak alias.
28281 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28282 Rename to __totalordermagl and define as weak alias.
28283 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28285 (ufromfpl): Define as weak alias.
28286 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28288 (ufromfpxl): Define as weak alias.
28290 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28292 * benchtests/bench-string.h (realloc_bufs): New function.
28293 (test_init): Call it.
28294 * benchtests/bench-memset-large.c (do_test): Likewise.
28295 * benchtests/bench-memset.c (do_test): Likewise.
28297 * benchtests/bench-memset-large.c: Print output in JSON
28299 * benchtests/bench-memset.c: Likewise.
28301 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28304 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28305 * iconvdata/Makefile: Add IBM858.
28306 * iconvdata/gconv-modules: Likewise.
28307 * iconvdata/tst-tables.sh: Likewise.
28308 * iconvdata/ibm858.c: New file.
28309 * localedata/charmaps/IBM858: Likewise.
28311 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28314 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28315 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28317 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28320 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28321 and add tel_int_fmt.
28323 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28325 * sysdeps/generic/libm-alias-float128.h: New file.
28326 * sysdeps/generic/math-type-macros-float128.h: Include
28327 <libm-alias-float128.h>.
28328 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28330 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28332 * sysdeps/generic/libm-alias-ldouble.h: New file.
28333 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28334 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28335 * sysdeps/generic/math-type-macros-ldouble.h: Include
28336 <libm-alias-ldouble.h>.
28337 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28338 libm_alias_ldouble.
28340 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28342 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28343 * math/w_exp_compat.c: ... here.
28344 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28345 * math/w_expf_compat.c: ... here.
28346 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28347 * math/w_expl_compat.c: ... here.
28348 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28349 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28350 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28351 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28353 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28355 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28357 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28359 (ldexpl): Only define as compat symbol for libc, not libm.
28360 (scalbnl): Define as compat symbol for libc here.
28361 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28362 define for [IS_IN (libc)].
28363 (__ldexpl_2): Remove alias.
28364 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28365 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28366 name in long_double_symbol call.
28367 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28368 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28369 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28370 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28371 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28373 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28374 Define as compat symbol.
28376 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28378 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28379 * sysdeps/unix/sysv/linux/alpha/Makefile
28380 [$(subdir) = csu] (sysdep_routines): Remove rule.
28382 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28384 * sysdeps/generic/libm-alias-double.h: New file.
28385 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28386 * sysdeps/generic/math-type-macros-double.h: Include
28387 <libm-alias-double.h>.
28388 [declare_mgen_alias] (declare_mgen_alias): Define to use
28390 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28391 (M_LIBM_NEED_COMPAT): Remove macro.
28392 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28393 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28394 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28396 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28397 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28398 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28399 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28400 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28401 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28402 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28403 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28404 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28405 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28406 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28407 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28408 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28409 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28410 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28411 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28412 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28413 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28414 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28415 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28416 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28417 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28418 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28419 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28420 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28421 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28422 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28423 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28424 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28426 (declare_mgen_alias): New macro.
28427 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28428 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28430 (M_LIBM_NEED_COMPAT): Remove macro.
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28432 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28433 <first-versions.h>.
28434 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28435 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28437 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28439 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28440 (declare_mgen_alias_2): Remove.
28441 * sysdeps/generic/math-type-macros-double.h
28442 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28444 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28446 (ldexp): Define with declare_mgen_alias.
28447 (scalbn): Likewise.
28449 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28451 * grp/initgroups.c: Include config.h.
28452 (DEFAULT_CONFIG): New macro.
28453 (internal_getgrouplist): Use DEFAULT_CONFIG.
28454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28455 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28456 (DEFAULT_DEFCONFIG): New macro.
28457 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28458 * nss/grp-lookup.c: Include config.h
28459 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28460 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28461 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28462 * manual/nss.texi: Update default values section.
28464 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28467 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28469 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28470 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28471 Handle MathVec_Prefer_No_AVX512.
28472 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28473 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28476 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28478 * posix/sched_primax.c (__sched_get_priority_max): Add
28480 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28481 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28482 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28483 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28484 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28485 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28486 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28487 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28490 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28492 * sysdeps/generic/libm-alias-float.h: New file.
28493 * sysdeps/generic/math-type-macros-float.h: Include
28494 <libm-alias-float.h>.
28495 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28497 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28500 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28501 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28502 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28503 (HWCAP_IMPORTANT): Likewise.
28504 (HWCAP_X86_64): New enum.
28505 (HWCAP_X86_AVX512_1): Updated.
28506 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28507 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28508 (modules-names): Add x86_64/tst-x86_64mod-1.
28509 (LDFLAGS-tst-x86_64mod-1.so): New.
28510 ($(objpfx)tst-x86_64-1): Likewise.
28511 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28512 (tst-x86_64-1-clean): Likewise.
28513 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28514 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28516 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28518 * po/sv.po: Update translations.
28519 * po/fr.po: Likewise.
28521 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28523 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28525 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28527 * elf/rtld-Rules: Fix $(error) use.
28529 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28532 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28533 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28534 * localedata/locales/bn_BD: “Bengali” was still used in some
28535 comments. Change it to “Bangla”.
28537 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28539 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28541 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28543 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28544 thunderx2t99p1 to list of cpu names.
28545 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28546 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28548 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28550 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28551 Use strcmp instead of tunable_is_name.
28553 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28556 (F_GET_RW_HINT): New macro.
28557 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28558 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28559 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28560 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28561 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28562 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28563 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28564 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28565 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28568 (F_ADD_SEALS): New macro.
28569 [__USE_GNU] (F_GET_SEALS): Likewise.
28570 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28571 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28572 [__USE_GNU] (F_SEAL_GROW): Likewise.
28573 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28575 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28577 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28578 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28579 * posix/glob_internal.h (__glob_pattern_type):
28580 * posix/glob.c (glob):
28581 * posix/glob_pattern_p.c (__glob_pattern_p):
28584 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28585 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28586 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28587 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28588 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28590 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28591 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28592 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28593 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28594 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28595 * sysdeps/wordsize-64/glob.c: Likewise.
28596 * sysdeps/wordsize-64/glob64.c: Likewise.
28597 * sysdeps/wordsize-64/globfree.c: Likewise.
28598 * sysdeps/wordsize-64/globfree64.c: Likewise.
28599 * sysdeps/unix/sysv/linux/glob.c: New file.
28600 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28601 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28602 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28603 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28604 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28605 adds !GLOB_NO_OLD_VERSION as an extra condition.
28606 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28607 using relative path instead of absolute one.
28608 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28609 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28610 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28611 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28612 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28613 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28616 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28617 (glob): Use the same scratch buffer for both getlogin_r and
28618 getpwnam_r. Don’t require preallocation of the login name. This
28619 simplifies storage allocation, and corrects the handling of
28623 * posix/glob.c (glob): Port recent patches to platforms
28624 lacking getpwnam_r.
28625 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28626 returns an error number rather than setting errno.
28628 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28629 instead of GCC extension.
28630 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28631 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28632 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28636 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28637 * posix/bug-glob1.c: Remove file.
28638 * posix/tst-glob_symlinks.c: New file.
28639 * posix/glob.c (__lstat64): New macro.
28640 (is_dir): New function.
28641 (glob, glob_in_dir): Match symlinks even if they are dangling.
28642 (link_stat, link_exists_p): Remove. All uses removed.
28646 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28647 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28652 * posix/Makefile (routines): Add globfree, globfree64, and
28654 * posix/flexmember.h: New file.
28655 * posix/glob_internal.h: Likewise.
28656 * posix/glob_pattern_p.c: Likewise.
28657 * posix/globfree.c: Likewise.
28658 * posix/globfree64.c: Likewise.
28659 * sysdeps/gnu/globfree64.c: Likewise.
28660 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28661 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28662 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28663 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28664 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28665 * sysdeps/wordsize-64/globfree.c: Likewise.
28666 * sysdeps/wordsize-64/globfree64.c: Likewise.
28667 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28668 [NDEBUG): Remove comments.
28669 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28670 (dirent_type): New type. Use uint_fast8_t not
28671 uint8_t, as C99 does not require uint8_t.
28672 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28673 (struct readdir_result): Use dirent_type. Do not define skip_entry
28674 unless it is needed; this saves a byte on platforms lacking d_ino.
28675 (readdir_result_type, readdir_result_skip_entry):
28676 New functions, replacing ...
28677 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28678 these functions, which were removed. This makes the callers
28679 easier to read. All callers changed.
28680 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28681 (size_add_wrapv, glob_use_alloca): New static functions.
28682 (glob, glob_in_dir): Check for size_t overflow in several places,
28683 and fix some size_t checks that were not quite right.
28684 Remove old code using SHELL since Bash no longer
28686 (glob, prefix_array): Separate MS code better.
28687 (glob_in_dir): Remove old Amiga and VMS code.
28688 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28690 (glob_in_dir): Do not rely on undefined behavior in accessing
28691 struct members beyond their bounds. Use a flexible array member
28693 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28694 0/1. Caller changed.
28695 (glob): Fix memory leaks.
28696 * posix/glob64 (globfree64): Move to separate file.
28697 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28698 (globfree64): Remove hidden alias.
28699 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28701 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28703 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28705 Move compat code to separate file.
28706 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28709 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28711 * resolv/tst-resolv-qtypes.c (domain): Changed to
28712 "const char domain[] =".
28714 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28716 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28719 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28720 (TCP_MD5SIG_EXT): Likewise.
28721 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28722 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28723 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28725 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28727 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28729 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28731 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28734 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28736 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28738 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28739 before assuming that the file is empty. Avoid testing buffer content
28742 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28745 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28747 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28749 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28751 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28753 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28755 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28757 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28760 2017-09-06 Florian Weimer <fweimer@redhat.com>
28762 * malloc/dynarray_emplace_enlarge.c
28763 (__libc_dynarray_emplace_enlarge): Add missing else.
28765 2017-09-06 Florian Weimer <fweimer@redhat.com>
28768 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28769 case of failure to obtain the global conf object.
28771 2017-09-06 Florian Weimer <fweimer@redhat.com>
28774 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28775 dynarray allocation failure.
28777 2017-09-06 Florian Weimer <fweimer@redhat.com>
28779 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28780 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28781 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28783 (response): Call them. Add 'p', '6' flag processing.
28784 (test_reverse): New function.
28785 (test_get2_any): Call it.
28786 (test_no_inet6): Add 'p' test.
28787 (test_inet6): Likewise.
28789 2017-09-06 Florian Weimer <fweimer@redhat.com>
28791 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28792 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28794 (test_gai): Adjust query names. Add additional tests.
28795 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28796 test_get2. Adjust query names. Add additional tests.
28797 (test_no_inet6): New function, extracted from threadfunc.
28798 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28799 Add additional tests.
28801 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28804 * localedata/unicode-gen/utf8_gen.py: Set the width for
28805 characters with Prepended_Concatenation_Mark property to 1
28806 * localedata/charmaps/UTF-8: Updated using the improved script.
28808 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28811 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28812 use the range notation for all ranges of neighbouring characters
28813 with the same width.
28815 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28817 * sysdeps/generic/math-type-macros-double.h: Include
28818 <math-svid-compat.h>.
28819 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28820 * sysdeps/generic/math-type-macros-float.h: Include
28821 <math-svid-compat.h>.
28822 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28823 * sysdeps/generic/math-type-macros-ldouble.h: Include
28824 <math-svid-compat.h>.
28825 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28826 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28828 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28829 * math/w_acosf_compat.c: Likewise.
28830 * math/w_acosh_compat.c: Likewise.
28831 * math/w_acoshf_compat.c: Likewise.
28832 * math/w_acoshl_compat.c: Likewise.
28833 * math/w_acosl_compat.c: Likewise.
28834 * math/w_asin_compat.c: Likewise.
28835 * math/w_asinf_compat.c: Likewise.
28836 * math/w_asinl_compat.c: Likewise.
28837 * math/w_atan2_compat.c: Likewise.
28838 * math/w_atan2f_compat.c: Likewise.
28839 * math/w_atan2l_compat.c: Likewise.
28840 * math/w_atanh_compat.c: Likewise.
28841 * math/w_atanhf_compat.c: Likewise.
28842 * math/w_atanhl_compat.c: Likewise.
28843 * math/w_cosh_compat.c: Likewise.
28844 * math/w_coshf_compat.c: Likewise.
28845 * math/w_coshl_compat.c: Likewise.
28846 * math/w_exp10_compat.c: Likewise.
28847 * math/w_exp10f_compat.c: Likewise.
28848 * math/w_exp10l_compat.c: Likewise.
28849 * math/w_exp2_compat.c: Likewise.
28850 * math/w_exp2f_compat.c: Likewise.
28851 * math/w_exp2l_compat.c: Likewise.
28852 * math/w_fmod_compat.c: Likewise.
28853 * math/w_fmodf_compat.c: Likewise.
28854 * math/w_fmodl_compat.c: Likewise.
28855 * math/w_hypot_compat.c: Likewise.
28856 * math/w_hypotf_compat.c: Likewise.
28857 * math/w_hypotl_compat.c: Likewise.
28858 * math/w_j0_compat.c: Likewise.
28859 * math/w_j0f_compat.c: Likewise.
28860 * math/w_j0l_compat.c: Likewise.
28861 * math/w_j1_compat.c: Likewise.
28862 * math/w_j1f_compat.c: Likewise.
28863 * math/w_j1l_compat.c: Likewise.
28864 * math/w_jn_compat.c: Likewise.
28865 * math/w_jnf_compat.c: Likewise.
28866 * math/w_jnl_compat.c: Likewise.
28867 * math/w_lgamma_r_compat.c: Likewise.
28868 * math/w_lgammaf_r_compat.c: Likewise.
28869 * math/w_lgammal_r_compat.c: Likewise.
28870 * math/w_log10_compat.c: Likewise.
28871 * math/w_log10f_compat.c: Likewise.
28872 * math/w_log10l_compat.c: Likewise.
28873 * math/w_log2_compat.c: Likewise.
28874 * math/w_log2f_compat.c: Likewise.
28875 * math/w_log2l_compat.c: Likewise.
28876 * math/w_log_compat.c: Likewise.
28877 * math/w_logf_compat.c: Likewise.
28878 * math/w_logl_compat.c: Likewise.
28879 * math/w_pow_compat.c: Likewise.
28880 * math/w_powf_compat.c: Likewise.
28881 * math/w_powl_compat.c: Likewise.
28882 * math/w_remainder_compat.c: Likewise.
28883 * math/w_remainderf_compat.c: Likewise.
28884 * math/w_remainderl_compat.c: Likewise.
28885 * math/w_sinh_compat.c: Likewise.
28886 * math/w_sinhf_compat.c: Likewise.
28887 * math/w_sinhl_compat.c: Likewise.
28888 * math/w_sqrt_compat.c: Likewise.
28889 * math/w_sqrtf_compat.c: Likewise.
28890 * math/w_sqrtl_compat.c: Likewise.
28891 * math/w_tgamma_compat.c: Likewise.
28892 * math/w_tgammaf_compat.c: Likewise.
28893 * math/w_tgammal_compat.c: Likewise.
28894 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28895 [LIBM_SVID_COMPAT].
28896 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28897 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28898 [LIBM_SVID_COMPAT].
28899 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28900 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28901 [LIBM_SVID_COMPAT].
28902 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28903 * sysdeps/i386/fpu/w_sqrt.c: New file.
28904 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28905 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28906 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28907 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28908 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28909 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28910 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28911 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28912 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28913 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28914 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28915 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28916 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28917 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28918 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28919 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28920 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28921 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28922 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28923 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28924 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28925 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28926 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28927 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28928 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28929 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28930 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28931 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28932 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28933 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28934 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28935 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28936 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28937 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28938 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28939 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28940 * sysdeps/ia64/fpu/w_log.c: Likewise.
28941 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28942 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28943 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28944 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28945 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28946 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28947 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28948 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28949 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28950 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28951 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28952 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28953 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28954 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28955 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28956 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28957 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28958 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28959 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28960 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28961 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28962 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28963 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28965 [LIBM_SVID_COMPAT].
28966 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28967 * sysdeps/ieee754/k_standard.c: Likewise.
28968 * sysdeps/ieee754/k_standardf.c: Likewise.
28969 * sysdeps/ieee754/k_standardl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28972 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28973 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28974 long_double_symbol call on [LIBM_SVID_COMPAT].
28975 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28976 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28977 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28978 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28979 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28980 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28981 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28982 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28983 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28984 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28985 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28986 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28987 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28988 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28989 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28990 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28991 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28992 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28993 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28994 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28995 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28996 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28998 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29000 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29001 * malloc/tst-mallocstate.c: Convert from test-skeleton
29002 to test-driver. Ifdef code using TEST_COMPAT macro.
29003 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29004 * math/test-matherr.c: Likewise.
29006 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29009 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29010 comparing word with byte-swapped constant.
29012 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29015 * locale/iso-639.def: add Miskito.
29016 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29017 * localedata/locales/miq_NI: New file.
29019 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29022 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29023 (__mkdir): Likewise.
29024 * io/chmod.c (__chmod): Add libc_hidden_def.
29025 * io/mkdir.c (__mkdir): Likewise.
29026 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29027 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29028 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29029 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29031 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29033 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29037 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29038 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29040 2017-09-04 Florian Weimer <fweimer@redhat.com>
29042 * math/math.h: Issue warning if log is defined.
29044 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29046 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29047 kernel version to 4.13.
29049 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29051 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29052 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29054 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29055 just <bits/types.h>.
29056 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29057 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29058 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29059 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29060 * misc/preadv2.c: Include <errno.h>.
29061 * misc/preadv64v2.c: Include <errno.h>.
29062 * misc/pwritev2.c: Include <errno.h>.
29063 * misc/pwritev64v2.c: Include <errno.h>.
29064 * sysdeps/posix/preadv2.c: Include <errno.h>.
29065 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29066 Fix <unistd.h> inclusion.
29067 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29068 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29069 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29070 __strtoul_internal): New functions.
29071 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29072 * sysdeps/posix/system.c: Include <sigsetops.h>.
29073 * sysdeps/mach/hurd/i386/Makefile
29074 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29075 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29076 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29077 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29078 __feraiseexcept_renamed to feraiseexcept instead of
29079 __GI_feraiseexcept.
29080 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29081 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29082 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29083 RWF_NOWAIT): Define to 0 if undefined already.
29084 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29086 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29087 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29089 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29091 * manual/math.texi (pow10): Do not document.
29092 (pow10f): Likewise.
29093 (pow10l): Likewise.
29094 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29095 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29096 * math/libm-test-exp10.inc (pow10_test): Remove.
29097 (do_test): Do not call pow10.
29098 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29099 [NO_LONG_DOUBLE] (pow10l): Likewise.
29100 * math/w_exp10f_compat.c (pow10f): Likewise.
29101 * math/w_exp10l_compat.c (pow10l): Likewise.
29102 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29103 (pow10): Make into compat symbol.
29104 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29105 (pow10f): Make into compat symbol.
29106 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29107 (pow10l): Make into compat symbol.
29108 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29110 (CFLAGS-nldbl-pow10.c): Remove variable..
29111 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29112 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29113 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29114 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29115 Undefine and redefine.
29116 (pow10l): Make into compat symbol.
29117 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29118 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29119 * sysdeps/arm/libm-test-ulps: Likewise.
29120 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29121 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29122 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29123 * sysdeps/microblaze/libm-test-ulps: Likewise.
29124 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29125 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29126 * sysdeps/nios2/libm-test-ulps: Likewise.
29127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29128 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29129 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29130 * sysdeps/sh/libm-test-ulps: Likewise.
29131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29132 * sysdeps/tile/libm-test-ulps: Likewise.
29133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29135 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29137 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29139 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29141 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29142 "../ChangeLog.old/ChangeLog.8".
29143 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29144 "../ChangeLog.old/ChangeLog.14".
29146 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29148 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29151 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29153 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29155 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29157 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29158 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29160 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29162 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29163 32 atexit handlers.
29165 2017-09-01 Zack Weinberg <zackw@panix.com>
29167 * math/math.h (HUGE_VAL): Improve commentary.
29169 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29170 Andreas Schwab <schwab@suse.de>
29173 * include/stdio.h (__gen_tempfd): New function.
29174 * stdio-common/Makefile (routines): Add gentempfd.
29175 * stdio-common/gentempfd.c: New file.
29176 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29177 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29178 unnamed file first.
29180 2017-09-01 Florian Weimer <fweimer@redhat.com>
29184 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29185 result to determine success or failure, not the errno value.
29186 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29187 (tst-nss-files-hosts-erange): Link with -ldl.
29188 * nss/tst-nss-files-hosts-erange.c: New file.
29189 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29190 (do_test): Add NO_DATA tests.
29191 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29192 (do_test): Call it.
29194 2017-09-01 Florian Weimer <fweimer@redhat.com>
29197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29198 coming from gethostbyname2_r.
29200 2017-09-01 Florian Weimer <fweimer@redhat.com>
29202 * support/namespace.h (struct support_chroot_configuration): Add
29204 (struct support_chroot): Add path_hosts, path_host_conf.
29205 * support/support_chroot.c (write_file): New function.
29206 (support_chroot_create): Call it to process /etc/resolv.conf,
29207 /etc/hosts, /etc/host.conf.
29208 (support_chroot_free): Update.
29210 2017-09-01 Florian Weimer <fweimer@redhat.com>
29212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29213 status indicates it is set.
29215 2017-09-01 Florian Weimer <fweimer@redhat.com>
29218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29219 function lookup failures more reliable.
29221 2017-09-01 Florian Weimer <fweimer@redhat.com>
29223 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29224 (getcanonname): Likewise.
29225 (gaih_inet): Likewise.
29227 2017-09-01 Florian Weimer <fweimer@redhat.com>
29229 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29230 (getcanonname): Likewise.
29231 (gaih_inet): Likewise.
29233 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29234 Richard Henderson <rth@twiddle.net>
29236 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29237 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29238 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29239 (IREG_SIZE, OREG_SIZE): New macros.
29240 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29241 (IREG_SIZE, OREG_SIZE): New macros.
29242 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29243 (IREG_SIZE): New macro.
29244 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29245 (IREG_SIZE): New macro.
29246 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29248 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29249 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29250 (__CONCATX): Handle exceptions correctly on large values that may
29252 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29253 Initialize if not already set.
29254 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29256 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29258 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29259 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29261 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29263 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29265 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29267 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29269 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29271 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29273 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29274 (NO_CANCELLATION): Likewise.
29275 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29277 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29279 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29282 (NO_CANCELLATION): Likewise.
29283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29284 (NO_CANCELLATION): Likewise.
29285 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29287 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29289 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29291 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29293 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29295 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29296 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29298 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29300 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29303 2017-08-31 Florian Weimer <fweimer@redhat.com>
29305 * include/libc-symbols.h (internal_function): Remove.
29307 2017-08-31 Florian Weimer <fweimer@redhat.com>
29309 * stdlib/fmtmsg.c (internal_addseverity): Remove
29312 2017-08-31 Florian Weimer <fweimer@redhat.com>
29314 * stdio-common/printf_fp.c (group_number): Remove
29316 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29318 2017-08-31 Florian Weimer <fweimer@redhat.com>
29320 * posix/fnmatch.c (internal_function): Remove definition.
29321 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29322 * posix/regcomp.c (peek_token, init_word_char)
29323 (duplicate_node_closure, fetch_token, peek_token)
29324 (peek_token_bracket, build_range_exp, build_collating_symbol):
29326 * posix/regex_internal.c (re_string_construct_common)
29327 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29328 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29329 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29330 (re_string_translate_buffer, re_string_reconstruct)
29331 (re_string_peek_byte_case, re_string_fetch_byte_case)
29332 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29333 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29334 (re_node_set_add_intersect, re_node_set_init_union)
29335 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29336 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29337 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29338 (re_acquire_state_context): Likewise.
29339 * posix/regex_internal.h (internal_function): Remove definition.
29340 (re_string_realloc_buffers, build_wcs_buffer)
29341 (build_wcs_upper_buffer, build_upper_buffer)
29342 (re_string_translate_buffer, re_string_context_at)
29343 (re_string_char_size_at, re_string_wchar_at)
29344 (re_string_elem_size_at): Likewise.
29345 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29346 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29347 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29348 (re_search_internal, re_search_2_stub, re_search_stub)
29349 (re_copy_regs, prune_impossible_nodes, check_matching)
29350 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29351 (free_fail_stack_return, sift_states_iter_mb)
29352 (sift_states_backward, build_sifted_states)
29353 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29354 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29355 (check_subexp_limits, sift_states_bkref, merge_state_array)
29356 (find_recover_state, transit_state, merge_state_with_log)
29357 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29358 (transit_state_mb, transit_state_bkref, get_subexp)
29359 (get_subexp_sub, find_subexp_node, check_arrival)
29360 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29361 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29362 (check_node_accept_bytes, find_collation_sequence_value)
29363 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29364 (acquire_init_state_context, check_halt_node_context)
29365 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29366 (sub_epsilon_src_nodes): Likewise.
29367 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29368 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29369 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29370 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29371 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29372 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29373 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29374 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29375 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29376 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29377 (PREADV): Likewise.
29378 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29379 (PREADV): Likewise.
29380 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29381 (PWRITEV): Likewise.
29382 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29383 (PWRITEV): Likewise.
29384 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29385 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29387 2017-08-31 Florian Weimer <fweimer@redhat.com>
29389 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29390 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29391 Remove internal_function.
29392 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29393 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29394 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29395 (__deallocate_stack, __libc_pthread_init)
29396 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29397 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29398 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29400 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29401 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29402 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29404 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29405 (__pthread_mutex_unlock_usercnt): Likewise.
29407 2017-08-31 Florian Weimer <fweimer@redhat.com>
29409 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29410 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29411 (fts_safe_changedir): Remove internal_function.
29412 * io/ftw.c (internal_function): Remove definition.
29413 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29415 2017-08-31 Florian Weimer <fweimer@redhat.com>
29417 * inet/deadline.c (__deadline_current_time)
29418 (__deadline_from_timeval, __deadline_to_ms): Remove
29420 * inet/getnameinfo.c (nrl_domainname): Likewise.
29421 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29422 * inet/inet6_option.c (add_pad): Likewise.
29423 * inet/net-internal.h (__deadline_current_time)
29424 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29425 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29426 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29427 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29429 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29431 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29432 include <bits/nan.h>.
29433 * math/Makefile (headers): Remove bits/nan.h.
29434 * bits/nan.h: Remove.
29435 * sysdeps/ieee754/bits/nan.h: Likewise.
29436 * sysdeps/mips/bits/nan.h: Likewise.
29438 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29439 not include <bits/inf.h>.
29440 * math/Makefile (headers): Remove bits/inf.h.
29441 * bits/inf.h: Remove.
29442 * sysdeps/ieee754/bits/inf.h: Likewise.
29444 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29445 bits/huge_vall.h or bits/huge_val_flt128.h.
29446 (HUGE_VAL): Define directly here.
29447 [__USE_ISOC99] (HUGE_VALF): Likewise.
29448 [__USE_ISOC99] (HUGE_VALL): Likewise.
29449 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29450 (HUGE_VAL_F128): Likewise.
29451 * math/Makefile (headers): Remove bits/huge_val.h,
29452 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29453 * bits/huge_val.h: Remove.
29454 * bits/huge_val_flt128.h: Likewise.
29455 * bits/huge_valf.h: Likewise.
29456 * bits/huge_vall.h: Likewise.
29457 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29458 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29459 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29460 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29461 * sysdeps/sh/bits/huge_val.h: Likewise.
29462 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29463 * sysdeps/x86/bits/huge_vall.h: Likewise.
29465 2017-08-31 Florian Weimer <fweimer@redhat.com>
29467 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29469 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29471 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29472 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29473 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29474 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29475 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29476 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29477 * elf/dl-libc.c (dlerror_run): Likewise.
29478 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29479 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29480 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29481 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29483 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29484 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29485 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29486 * elf/dl-profile.c (_dl_start_profile): Likewise.
29487 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29488 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29490 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29491 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29492 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29493 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29494 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29495 (_dl_allocate_tls_storage): Likewise.
29496 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29497 (_dl_check_all_versions): Likewise.
29498 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29499 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29500 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29501 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29502 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29503 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29504 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29505 internal_function from __dl_start.
29506 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29507 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29508 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29509 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29510 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29511 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29512 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29513 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29514 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29515 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29516 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29517 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29518 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29519 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29520 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29522 (struct rtld_global_ro): Remove internal_function from the
29523 _dl_lookup_symbol_x member.
29524 (_dl_symbol_value): Remove. No longer defined anywhere.
29525 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29527 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29528 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29529 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29530 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29531 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29532 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29533 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29534 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29535 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29536 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29537 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29538 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29540 2017-08-31 Florian Weimer <fweimer@redhat.com>
29542 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29543 Remove internal_function.
29544 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29546 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29549 2017-08-31 Florian Weimer <fweimer@redhat.com>
29551 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29552 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29553 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29555 2017-08-31 Florian Weimer <fweimer@redhat.com>
29557 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29558 (__gai_enqueue_request): Remove internal_function.
29559 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29560 (__gai_remove_request, __gai_notify, __gai_notify_only)
29561 (__gai_sigqueue): Likewise.
29562 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29563 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29564 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29565 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29568 2017-08-31 Florian Weimer <fweimer@redhat.com>
29570 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29571 * include/dirent.h (__opendirat, __getdents, __getdents64)
29572 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29573 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29574 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29575 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29579 2017-08-31 Florian Weimer <fweimer@redhat.com>
29581 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29583 (GETCWD_RETURN_TYPE): Likewise.
29585 2017-08-31 Florian Weimer <fweimer@redhat.com>
29587 * include/time.h (__tz_compute, __strptime_internal): Remove
29589 * time/strptime_l.c (__strptime_internal): Likewise.
29590 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29592 2017-08-31 Florian Weimer <fweimer@redhat.com>
29594 * iconv/gconv.c (__gconv): Remove internal_function.
29595 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29596 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29597 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29598 (__gconv_release_cache): Likewise.
29599 * iconv/gconv_close.c (__gconv_close): Likewise.
29600 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29601 (read_conf_file, __gconv_get_path): Likewise.
29602 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29603 (__gconv_release_step, gen_steps, increment_counter)
29604 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29605 (__gconv_close_transform, free_modules_db): Likewise.
29606 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29608 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29609 (__gconv_find_transform, __gconv_lookup_cache)
29610 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29611 (__gconv_close_transform, __gconv_release_cache)
29612 (__gconv_loaded_object, __gconv_release_shlib)
29613 (__gconv_compare_alias): Likewise.
29614 * iconv/gconv_open.c (__gconv_open): Likewise.
29615 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29616 * iconv/iconvconfig.c (add_module): Likewise.
29617 * intl/dcigettext.c (plural_lookup, guess_category_value)
29618 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29619 * intl/eval-plural.h (plural_eval): Likewise.
29620 * intl/finddomain.c (_nl_find_domain): Likewise.
29621 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29622 (_nl_load_domain, _nl_find_msg): Likewise.
29623 (internal_function): Remove definition.
29624 * intl/loadinfo.h (internal_function): Likewise.
29625 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29627 * intl/localealias.c (internal_function): Remove definition.
29628 (read_alias_file): Remove internal_function.
29629 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29630 * intl/plural-exp.h (internal_function): Remove definition.
29631 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29633 * intl/plural.c: Regenerate.
29634 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29635 * locale/coll-lookup.c (__collidx_table_lookup)
29636 (__collseq_table_lookup): Likewise.
29637 * locale/coll-lookup.h (__collidx_table_lookup)
29638 (__collseq_table_lookup): Likewise.
29639 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29640 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29641 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29642 (_nl_unload_locale): Likewise.
29643 * locale/localeinfo.h (struct __locale_data): Remove
29644 internal_function from cleanup member.
29645 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29646 (_nl_remove_locale, _nl_load_locale_from_archive)
29647 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29648 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29649 (_nl_cleanup_time): Remove internal_function.
29650 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29651 (_nl_parse_alt_digit): Likewise.
29652 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29653 (_nl_select_era_entry): Likewise.
29654 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29655 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29656 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29657 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29658 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29660 2017-08-31 Florian Weimer <fweimer@redhat.com>
29662 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29663 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29664 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29665 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29667 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29668 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29669 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29670 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29672 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29674 2017-08-31 Florian Weimer <fweimer@redhat.com>
29676 * misc/getttyent.c (skip, value): Remove internal_function.
29677 * misc/syslog.c (openlog_internal): Likewise.
29678 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29680 2017-08-31 Florian Weimer <fweimer@redhat.com>
29682 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29683 (__nss_rewrite_field): Remove internal_function.
29684 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29685 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29686 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29687 * nss/nsswitch.c (nss_parse_file, nss_getline)
29688 (nss_parse_service_list, nss_new_service): Likewise.
29689 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29690 * nss/valid_field.c (__nss_valid_field): Likewise.
29691 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29693 2017-08-31 Florian Weimer <fweimer@redhat.com>
29695 * malloc/arena.c (__malloc_fork_lock_parent)
29696 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29697 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29698 internal_function from defintions.
29699 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29700 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29701 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29702 internal_function from declarations.
29703 * malloc/malloc.c (internal_function): Do not define.
29704 (mem2mem_check): Remove internal_function from declaration.
29705 (munmap_chunk, mremap_chunk): Remove internal_function.
29706 * malloc/mtrace.c (tr_where): Likewise.
29708 2017-08-31 Florian Weimer <fweimer@redhat.com>
29710 * include/rpc/pmap_clnt.h (__get_socket): Remove
29712 * sunrpc/auth_des.c (synchronize): Likewise.
29713 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29714 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29715 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29716 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29717 (key_call): Likewise.
29718 * sunrpc/pm_getport.c (__get_socket): Likewise.
29719 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29720 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29721 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29722 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29723 (invalidate): Likewise.
29724 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29725 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29726 (set_input_fragment, get_input_bytes): Likewise.
29728 2017-08-31 Florian Weimer <fweimer@redhat.com>
29730 * malloc/malloc.c (_int_free): Remove locked variable and related
29733 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29736 * Makerules (build-module-helper-objlist): Filter out
29737 $(elf-objpfx)sofini.os.
29738 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29741 2017-08-31 Florian Weimer <fweimer@redhat.com>
29743 * libio/fcloseall.c: Assume weak_alias is defined.
29744 * libio/feof.c: Likewise.
29745 * libio/fileno.c: Likewise.
29746 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29747 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29749 (_IO_file_open): Call __open directly.
29750 (_IO_new_file_sync): Assume ESPIPE is defined.
29751 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29752 (_IO_new_file_write): Call __write directly.
29753 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29754 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29755 * libio/genops.c: Assume _LIBC is defined.
29756 (save_for_backup): Remove internal_function.
29757 * libio/getc.c: Assume weak_alias is defined.
29758 * libio/getwc.c: Likewise.
29759 * libio/iofclose.c: Assume _LIBC is defined.
29760 * libio/iofdopen.c: Likewise.
29761 (_IO_fcntl): Remove macro definition.
29762 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29763 Call __fcntl directly.
29764 * libio/iofflush.c: Assume weak_alias is defined.
29765 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29767 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29768 * libio/iofgets.c: Likewise.
29769 * libio/iofopen.c: Assume _LIBC is defined.
29770 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29771 * libio/iofputs.c: Assume weak_alias is defined.
29772 * libio/iofread.c: Likewise.
29773 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29774 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29775 * libio/ioftell.c: Assume weak_alias is defined.
29776 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29777 * libio/iofwide.c: Assume _LIBC is defined.
29778 (_IO_fwide): Drop SHARED conditional because it is implied by
29780 * libio/iofwrite.c: Assume weak_alias is defined.
29781 * libio/iogetdelim.c: Likewise.
29782 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29783 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29784 (_IO_getwline): Call __wmemcpy directly.
29785 * libio/iopopen.c: Assume _LIBC is defined.
29786 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29787 (_IO_close): Remove macro definitions.
29788 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29790 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29792 * libio/ioputs.c: Assume weak_alias is defined.
29793 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29794 * libio/iosetbuffer.c: Assume weak_alias is defined.
29795 * libio/iosetvbuf.c: Likewise.
29796 * libio/ioungetc.c: Likewise.
29797 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29798 libc_hidden_def, libc_hidden_weak, NULL are defined.
29799 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29800 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29802 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29804 (_IO_old_file_init_internal): Drop SHARED conditional because it
29805 is implied by SHLIB_COMPAT.
29806 (_IO_old_file_fopen): Call __open directly.
29807 (_IO_old_file_sync): Assume ESPIPE is defined.
29808 (_IO_old_file_write): Call __write directly.
29809 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29810 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29811 Call __fcntl directly.
29812 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29813 (_IO_old_fgetpos): Assume EIO is defined.
29814 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29815 (_IO_old_fgetpos64): Assume EIO is defined.
29816 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29817 (_IO_old_fsetpos): Assume EIO is defined.
29818 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29819 (_IO_old_fsetpos64): Assume EIO is defined.
29820 * libio/oldiopopen.c: Assume _LIBC is defined.
29821 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29822 (_IO_close): Remove macro definitions.
29823 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29825 (_IO_old_proc_close): Call __close, __waitpid directly.
29826 * libio/put.c: Assume weak_alias is defined.
29827 * libio/stdfiles.c: Assume _LIBC is defined.
29828 * libio/stdio.c: Likewise.
29829 * libio/wfileops.c: Likewise.
29830 (_IO_wfile_sync): Assume ESPIPE is defined.
29831 * libio/wgenops.c: Assume _LIBC is defined.
29832 (save_for_wbackup): Remove internal_function.
29834 2017-08-31 Florian Weimer <fweimer@redhat.com>
29836 * malloc/malloc.c (top_check): Change return type to void. Remove
29838 * malloc/hooks.c (top_check): Likewise.
29839 (malloc_check, realloc_check, memalign_check): Adjust.
29841 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29844 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29845 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29846 sigcontext and namespace requirements.
29847 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29848 * sysdeps/m68k/sys/ucontext.h: Likewise.
29849 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29850 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29851 <bits/sigcontext.h>.
29852 (__ctx): Define earlier.
29853 (mcontext_t): Define structure contents rather than using struct
29855 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29856 __glibc_reserved1 instead of __reserved.
29857 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29858 <bits/sigcontext.h>.
29859 (__ctx): Define earlier.
29860 (mcontext_t): Define structure contents rather than using struct
29862 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29863 mcontext_t instead of struct sigcontext.
29864 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29865 <bits/sigcontext.h>.
29866 (__ctx): Define earlier.
29867 (mcontext_t): Define structure contents rather than using struct
29869 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29870 <bits/sigcontext.h>.
29871 (__ctx): Define earlier.
29872 (mcontext_t): Define structure contents rather than using struct
29874 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29875 mcontext_t instead of struct sigcontext.
29876 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29877 mcontext_t instead of struct sigcontext.
29878 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29879 <bits/sigcontext.h>.
29880 (__ctx): New macro.
29881 (struct __ia64_fpreg_mcontext): New type.
29882 (mcontext_t): Define structure contents rather than using struct
29884 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29885 (uc_sigmask): Define using __ctx.
29886 (uc_stack): Likewise.
29887 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29888 <bits/sigcontext.h>.
29889 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29890 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29891 <bits/sigcontext.h>.
29892 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29893 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29894 <bits/sigcontext.h>.
29895 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29896 <bits/sigcontext.h>.
29897 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29898 <bits/sigcontext.h>.
29899 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29900 <bits/sigcontext.h>.
29901 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29902 <bits/sigcontext.h>.
29903 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29904 <bits/sigcontext.h>.
29905 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29906 <bits/sigcontext.h>.
29907 (__ctx): Define earlier.
29908 (mcontext_t): Define structure contents rather than using struct
29910 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29911 <bits/sigcontext.h>. Include <bits/types.h>.
29912 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29913 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29914 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29915 (test-xfail-UNIX98/signal.h/conform): Likewise.
29916 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29917 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29918 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29919 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29920 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29921 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29922 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29923 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29924 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29926 2017-08-30 Florian Weimer <fweimer@redhat.com>
29928 * malloc/dynarray_emplace_enlarge.c
29929 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29930 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29931 * malloc/tst-dynarray.c (test_long_overflow): New function.
29932 (do_test): Call it.
29934 2017-08-30 Florian Weimer <fweimer@redhat.com>
29936 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29937 (set_arena_corrupt): Remove definitions.
29938 (mtrim): Do not check for corrupt arena.
29939 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29942 2017-08-30 Florian Weimer <fweimer@redhat.com>
29945 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29947 (ptmalloc_init): Do not set or use check_action.
29948 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29949 call to malloc_printerr. Remove return statement.
29950 (free_check): Likewise. Remove arena unlock.
29951 (top_check): Update comment. Adjust call to malloc_printerr.
29952 Remove heap repair code.
29953 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29954 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29955 (sysmalloc): Adjust call to malloc_printerr.
29956 (munmap_chunk, __libc_realloc): Likewise. Remove return
29958 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29959 Remove errout label and corresponding gotos.
29960 (_int_free): Likewise. Remove arena unlock.
29961 (do_set_mallopt_check): Do not set check_action.
29962 (malloc_printerr): Adjust parameter list. Do not mark arena as
29964 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29966 * manual/probes.texi (Memory Allocation Probes): Remove
29967 memory_mallopt_check_action.
29969 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29971 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29972 Use pointer to uint64_t instead of long int for sp.
29974 2017-08-30 Florian Weimer <fweimer@redhat.com>
29977 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29978 without printing a backtrace. Do not leak any information in the
29980 * manual/memory.texi (Heap Consistency Checking): Update.
29981 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29983 2017-08-30 Florian Weimer <fweimer@redhat.com>
29985 Do not scale NPTL tests with available number of CPUs.
29986 * nptl/tst-cond16.c (count): Set to constant value of 8.
29987 * nptl/tst-cond18.c (count): Likewise.
29989 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29992 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29993 Define to take a second argument that is a macro that
29994 concatentates a suffix, not the suffix itself.
29995 (__CONCAT_d): New macro.
29996 (__CONCAT_f): Likewise.
29997 (__CONCAT_l): Likewise.
29999 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30001 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30004 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30005 Aurelien Jarno <aurelien@aurel32.net>
30006 Maciej W. Rozycki <macro@imgtec.com>
30009 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30010 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30011 `mips16-syscall6' and `mips16-syscall7'.
30012 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30013 (CFLAGS-mips16-syscall7.c): Remove.
30014 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30015 Remove `__mips16_syscall5', `__mips16_syscall6' and
30016 `__mips16_syscall7'.
30017 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30018 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30019 `__mips_syscall_return'.
30020 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30021 (__mips16_syscall1): Likewise.
30022 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30023 (__mips16_syscall2): Likewise.
30024 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30025 (__mips16_syscall3): Likewise.
30026 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30027 (__mips16_syscall4): Likewise.
30028 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30030 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30032 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30034 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30035 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30036 `__mips16_syscall5'. Remove prototype.
30037 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30038 `__mips16_syscall6'. Remove prototype.
30039 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30040 `__mips16_syscall7'. Remove prototype.
30041 (__nomips16, __mips16_syscall_return): Move to...
30042 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30043 (__nomips16, __mips_syscall_return): ... here.
30044 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30045 `__mips16_syscall_return' to `__mips_syscall_return'.
30046 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30047 `internal_syscall##nr'.
30048 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30049 `internal_syscall##nr'.
30050 (FORCE_FRAME_POINTER): Remove.
30051 (__mips_syscall5): New prototype.
30052 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30053 (__mips_syscall6): New prototype.
30054 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30055 (__mips_syscall7): New prototype.
30056 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30057 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30058 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30059 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30060 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30061 (sysdep_routines): Add libc-do-syscall.
30062 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30063 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30065 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30068 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30069 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30070 (advise_stack_range): New function.
30071 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30072 stack non required to advise_stack_range at allocatestack.c
30074 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30076 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30078 2017-08-29 Florian Weimer <fweimer@redhat.com>
30081 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30082 __end_fct. Mangle __end_fct after setting it to NULL.
30083 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30084 (modules-names, modules-names-tests): Add
30085 tst-gconv-init-failure-mod.
30086 (gconv-modules): New target.
30087 (tst-gconv-init-failure-mod.so): Link against libsupport.
30088 (tst-gconv-init-failure): Depend on gconv-modules,
30089 tst-gconv-init-failure-mod.so.
30090 * iconv/tst-gconv-init-failure-mod.c: New file.
30091 * iconv/tst-gconv-init-failure.c: Likewise.
30092 * iconv/test-gconv-modules: Likewise.
30094 2017-08-29 Florian Weimer <fweimer@redhat.com>
30097 * iconv/gconv_db.c (free_derivation): Remove redundant
30099 (gen_steps): Unconditionally mangle __btowc_fct after
30101 (increment_counter): Likewise. Do not call init_fct for internal
30104 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30107 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30108 (_MSUF_): Remove macro.
30109 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30111 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30112 (__REDIRFROM_X): New macro.
30113 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30115 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30116 (__REDIRTO_X): Likewise.
30117 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30119 (__MATH_REDIRCALL_2): Likewise.
30120 (__MATH_REDIRCALL_INTERNAL): Likewise.
30121 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30122 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30123 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30124 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30125 * math/test-finite-macros.c: New file.
30126 * math/Makefile (tests): Add test-finite-macros.
30127 (CFLAGS-test-finite-macros.c): New variable.
30129 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30130 Jeff Law <law@redhat.com>
30133 Mangle NULL pointers in iconv/gconv.
30134 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30135 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30136 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30137 is non-NULL before demangling the end_fct. Check for NULL
30138 end_fct after demangling.
30139 (__gconv_release_step): Demangle the end_fct before checking
30140 it for NULL. Remove assert on __shlibc_handle != NULL.
30141 (gen_steps): Don't check btowc_fct for NULL before mangling.
30142 Demangle init_fct before checking for NULL.
30143 (increment_counter): Likewise.
30144 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30145 end_fct for NULL before mangling.
30146 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30149 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30152 * locale/iso-639.def: add Morisyen.
30154 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30157 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30158 (iszero): New C++ implementation that does not use
30159 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30160 signaling nans are enabled, since __builtin_types_compatible_p
30161 is a C-only feature.
30162 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30163 defined, include ieee754_float128.h for access to the union and
30164 member ieee854_float128.ieee.
30165 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30166 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30167 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30168 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30169 options of test-math-zero on powerpc64le.
30171 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30173 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30174 Change double to float.
30176 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30178 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30180 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30181 conditional code; define contents only for [LIBM_SVID_COMPAT].
30183 2017-08-28 Florian Weimer <fweimer@redhat.com>
30185 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30186 (abi-lp64_be-options): Remove.
30187 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30188 (abi-hard-options): Likewise.
30189 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30190 (abi-o32_hard-options, abi-o32_soft_2008-options)
30191 (abi-o32_hard_2008-options, abi-n32_soft-options)
30192 (abi-n32_hard-options, abi-n32_soft_2008-options)
30193 (abi-n32_hard_2008-options, abi-n64_soft-options)
30194 (abi-n64_hard-options, abi-n64_soft_2008-options)
30195 (abi-n64_hard_2008-options): Likewise.
30196 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30197 (abi-64-v1-options, abi-64-v2-options): Likewise.
30198 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30199 (abi-64-options): Likewise.
30200 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30201 (abi-64-options): Likewise.
30202 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30203 (abi-64-options): Likewise.
30204 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30205 (abi-64-options, abi-x32-options): Likewise.
30207 2017-08-28 Florian Weimer <fweimer@redhat.com>
30209 Store supported list of SYS_* system calls in the source tree.
30210 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30211 (bits/syscall.h): Generate from list file.
30212 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30213 [$(subdir) = misc] (tests): Add tst-syscall-list.
30214 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30215 [$(subdir) = misc] (tst-syscall-list-macros.list)
30216 [$(subdir) = misc] (tst-syscall-list-nr.list)
30217 (tst-syscall-list-sys.list): Helper targets for new
30218 tst-syscall-list test.
30219 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30220 tst-syscall-list.sh.
30221 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30222 target. Do not include bits/syscall.d.
30223 [$(subdir) = misc] (generated): Do not update.
30224 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30225 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30226 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30227 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30229 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30231 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30232 (tst-cxa_atexit, tst-on_exit): Likewise.
30233 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30234 tst-cxa_atexit, and tst-on_exit.
30235 * stdlib/tst-atexit-common.c: New file.
30236 * stdlib/tst-atexit.c: New file.
30237 * stdlib/tst-at_quick_exit.c: New file.
30238 * stdlib/tst-cxa_atexit.c: New file.
30239 * stdlib/tst-on_exit.c: New file.
30241 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30243 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30244 * mach/stack_chk_fail_local.c: New file.
30245 * hurd/stack_chk_fail_local.c: New file.
30246 * mach/Machrules ($(interface-library)-routines): Add
30247 stack_chk_fail_local.
30248 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30249 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30250 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30251 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30252 * hurd/Makefile (CFLAGS-hurdstartup.o,
30253 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30255 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30257 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30258 (index_cpu_*, index_arch_*): Removed.
30260 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30262 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30263 Use uint64_t instead of unsigned long.
30265 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30267 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30268 [__HAVE_DISTINCT_FLOAT128].
30270 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30271 of <bits/math-finite.h>.
30272 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30273 inclusion of <bits/math-finite.h>.
30274 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30275 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30276 __NO_LONG_DOUBLE_MATH].
30277 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30278 (__MATH_REDIRCALL_2): Likewise.
30279 (__MATH_REDIRCALL_INTERNAL): Likewise.
30280 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30281 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30282 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30297 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30299 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30301 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30302 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30303 w_sqrtf_compat-ppc32.
30305 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30307 * math/math.h [defined __cplusplus] (issignaling): In the long
30308 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30309 is not defined. Call __issignaling, otherwise.
30311 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30313 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30314 syscall definitions and replace __builtin_expect with __glibc_likely.
30315 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30317 (SYSCALL_CANCELLABLE): Removedefinition
30318 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30320 (PSEUDO_END): Likewise.
30321 [IS_IN (libpthread)] (CENABLE): Likewise.
30322 [IS_IN (libpthread)] (CDISABLE): Likewise.
30323 [IS_IN (libc)] (CENABLE): Likewise.
30324 [IS_IN (libc)] (CENABLE): Likewise.
30325 [IS_IN (librt)] (CDISABLE): Likewise.
30326 [IS_IN (librt)] (CDISABLE): Likewise.
30327 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30328 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30330 (PSEUDO_END): Likewise.
30331 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30332 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30333 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30334 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30335 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30336 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30337 (CENABLE): Likewise.
30338 (CDISABLE): Likewise.
30339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30340 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30342 (PSEUDO_END): Likewise.
30343 [IS_IN (libpthread)] (CENABLE): Likewise.
30344 [IS_IN (libpthread)] (CDISABLE): Likewise.
30345 [IS_IN (libc)] (CENABLE): Likewise.
30346 [IS_IN (libc)] (CENABLE): Likewise.
30347 [IS_IN (librt)] (CDISABLE): Likewise.
30348 [IS_IN (librt)] (CDISABLE): Likewise.
30349 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30350 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30352 (PSEUDO_END): Likewise.
30353 [IS_IN (libpthread)] (CENABLE): Likewise.
30354 [IS_IN (libpthread)] (CDISABLE): Likewise.
30355 [IS_IN (libc)] (CENABLE): Likewise.
30356 [IS_IN (libc)] (CENABLE): Likewise.
30357 [IS_IN (librt)] (CDISABLE): Likewise.
30358 [IS_IN (librt)] (CDISABLE): Likewise.
30359 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30360 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30362 (PSEUDO_END): Likewise.
30363 [IS_IN (libpthread)] (CENABLE): Likewise.
30364 [IS_IN (libpthread)] (CDISABLE): Likewise.
30365 [IS_IN (libc)] (CENABLE): Likewise.
30366 [IS_IN (libc)] (CENABLE): Likewise.
30367 [IS_IN (librt)] (CDISABLE): Likewise.
30368 [IS_IN (librt)] (CDISABLE): Likewise.
30369 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30370 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30372 (PSEUDO_END): Likewise.
30373 [IS_IN (libpthread)] (CENABLE): Likewise.
30374 [IS_IN (libpthread)] (CDISABLE): Likewise.
30375 [IS_IN (libc)] (CENABLE): Likewise.
30376 [IS_IN (libc)] (CENABLE): Likewise.
30377 [IS_IN (librt)] (CDISABLE): Likewise.
30378 [IS_IN (librt)] (CDISABLE): Likewise.
30379 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30380 * sysdeps/unix/sysv/linux/m68k/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/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
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 (SINGLE_THREAD_P): Likewise.
30410 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30412 (PSEUDO_END): Likewise.
30413 [IS_IN (libpthread)] (CENABLE): Likewise.
30414 [IS_IN (libpthread)] (CDISABLE): Likewise.
30415 [IS_IN (libc)] (CENABLE): Likewise.
30416 [IS_IN (libc)] (CENABLE): Likewise.
30417 [IS_IN (librt)] (CDISABLE): Likewise.
30418 [IS_IN (librt)] (CDISABLE): Likewise.
30419 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30420 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30422 (PSEUDO_END): Likewise.
30423 [IS_IN (libpthread)] (CENABLE): Likewise.
30424 [IS_IN (libpthread)] (CDISABLE): Likewise.
30425 [IS_IN (libc)] (CENABLE): Likewise.
30426 [IS_IN (libc)] (CENABLE): Likewise.
30427 [IS_IN (librt)] (CDISABLE): Likewise.
30428 [IS_IN (librt)] (CDISABLE): Likewise.
30429 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30430 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30431 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30432 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30435 (PSEUDO_END): Likewise.
30436 [IS_IN (libpthread)] (CENABLE): Likewise.
30437 [IS_IN (libpthread)] (CDISABLE): Likewise.
30438 [IS_IN (libc)] (CENABLE): Likewise.
30439 [IS_IN (libc)] (CENABLE): Likewise.
30440 [IS_IN (librt)] (CDISABLE): Likewise.
30441 [IS_IN (librt)] (CDISABLE): Likewise.
30442 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30445 (PSEUDO_END): Likewise.
30446 [IS_IN (libpthread)] (CENABLE): Likewise.
30447 [IS_IN (libpthread)] (CDISABLE): Likewise.
30448 [IS_IN (libc)] (CENABLE): Likewise.
30449 [IS_IN (libc)] (CENABLE): Likewise.
30450 [IS_IN (librt)] (CDISABLE): Likewise.
30451 [IS_IN (librt)] (CDISABLE): Likewise.
30452 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30453 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30455 (PSEUDO_END): Likewise.
30456 [IS_IN (libpthread)] (CENABLE): Likewise.
30457 [IS_IN (libpthread)] (CDISABLE): Likewise.
30458 [IS_IN (libc)] (CENABLE): Likewise.
30459 [IS_IN (libc)] (CENABLE): Likewise.
30460 [IS_IN (librt)] (CDISABLE): Likewise.
30461 [IS_IN (librt)] (CDISABLE): Likewise.
30462 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30465 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30466 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30468 (PSEUDO_END): Likewise.
30469 [IS_IN (libpthread)] (CENABLE): Likewise.
30470 [IS_IN (libpthread)] (CDISABLE): Likewise.
30471 [IS_IN (libc)] (CENABLE): Likewise.
30472 [IS_IN (libc)] (CENABLE): Likewise.
30473 [IS_IN (librt)] (CDISABLE): Likewise.
30474 [IS_IN (librt)] (CDISABLE): Likewise.
30475 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30476 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30478 (PSEUDO_END): Likewise.
30479 [IS_IN (libpthread)] (CENABLE): Likewise.
30480 [IS_IN (libpthread)] (CDISABLE): Likewise.
30481 [IS_IN (libc)] (CENABLE): Likewise.
30482 [IS_IN (libc)] (CENABLE): Likewise.
30483 [IS_IN (librt)] (CDISABLE): Likewise.
30484 [IS_IN (librt)] (CDISABLE): Likewise.
30485 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30487 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30489 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30491 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30493 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30495 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30498 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30499 middle and outer with size_t instead of int. Repleace %d and
30500 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30501 "MAX (outer, nchars - 64)" to support unsigned outer and
30502 nchars. Also exit loop when outer == 0.
30504 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30506 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30507 * include/signal.h (__sigsuspend_nocancel): Likewise.
30508 * include/time.h (__nanosleep_nocancel): Likewise.
30509 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30510 * login/utmp_file.c: Include non cancellable syscall header.
30511 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30514 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30516 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30517 .byte sequences with AVX512F instructions.
30518 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30519 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30520 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30526 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30527 Steve Ellcey <sellcey@cavium.com>
30529 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30530 Use PTR_REG macro in cmp instruction.
30532 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30534 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30535 Change the return type of the ifunc resolver to match the return
30536 type of the target function.
30538 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30541 (preadv64): Likewise.
30542 (pwrite64(: Likewise.
30543 (pwritev64): Likewise.
30545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30546 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30547 (LOAD_ARGS_0): Likewise.
30548 (LOAD_ARGS_1): Likewise.
30549 (LOAD_ARGS_2): Likewise.
30550 (LOAD_ARGS_3): Likewise.
30551 (LOAD_ARGS_4): Likewise.
30552 (LOAD_ARGS_5): Likewise.
30553 (LOAD_ARGS_6): Likewise.
30554 (LOAD_REGS_0): Likewise.
30555 (LOAD_REGS_1): Likewise.
30556 (LOAD_REGS_2): Likewise.
30557 (LOAD_REGS_3): Likewise.
30558 (LOAD_REGS_4): Likewise.
30559 (LOAD_REGS_5): Likewise.
30560 (LOAD_REGS_6): Likewise.
30561 (ASM_ARGS_0): Likewise.
30562 (ASM_ARGS_1): Likewise.
30563 (ASM_ARGS_2): Likewise.
30564 (ASM_ARGS_3): Likewise.
30565 (ASM_ARGS_4): Likewise.
30566 (ASM_ARGS_5): Likewise.
30567 (ASM_ARGS_6): Likewise.
30568 (LOAD_ARGS_TYPES_1): Likewise.
30569 (LOAD_ARGS_TYPES_2): Likewise.
30570 (LOAD_ARGS_TYPES_3): Likewise.
30571 (LOAD_ARGS_TYPES_4): Likewise.
30572 (LOAD_ARGS_TYPES_5): Likewise.
30573 (LOAD_ARGS_TYPES_6): Likewise.
30574 (LOAD_REGS_TYPES_1): Likewise.
30575 (LOAD_REGS_TYPES_2): Likewise.
30576 (LOAD_REGS_TYPES_3): Likewise.
30577 (LOAD_REGS_TYPES_4): Likewise.
30578 (LOAD_REGS_TYPES_5): Likewise.
30579 (LOAD_REGS_TYPES_6): Likewise.
30580 (TYPEFY): New define.
30581 (ARGIFY): Likewise.
30582 (internal_syscall0): Likewise.
30583 (internal_syscall1): Likewise.
30584 (internal_syscall2): Likewise.
30585 (internal_syscall3): Likewise.
30586 (internal_syscall4): Likewise.
30587 (internal_syscall5): Likewise.
30588 (internal_syscall6): Likewise.
30589 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30590 (INTERNAL_SYSCALL_NCS): Remove define.
30591 (internal_syscall1): Add define.
30593 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30595 * math/w_remainder_compat.c: Remove duplicate inclusion of
30596 math-svid-compat.h.
30597 * math/w_remainderf_compat.c: Likewise.
30598 * math/w_remainderl_compat.c: Likewise.
30600 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30604 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30607 * math/tgmath.h (__floating_type): Simplify definitions.
30608 (__real_integer_type): New macro.
30609 (__complex_integer_type): Likewise.
30610 (__expr_is_real): Likewise.
30611 (__tgmath_real_type_sub): Update comment to describe handling of
30613 (__tgmath_complex_type_sub): New macro.
30614 (__tgmath_complex_type): Likewise.
30615 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30616 (__TGMATH_CF128): Use __expr_is_real.
30617 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30619 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30620 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30621 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30624 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30626 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30628 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30630 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30633 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30634 nanosleep_not_cancel with __nanosleep_nocancel.
30635 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30636 (__nanosleep_nocancel): New macro.
30637 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30639 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30641 (__nanosleep_nocancel): New prototype.
30643 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30644 pause_not_cancel with __pause_nocancel.
30645 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30646 (__pause_nocancel): New macro.
30647 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30649 (__pause_nocancel): New prototype.
30650 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30652 2017-08-22 Martin Sebor <msebor@redhat.com>
30654 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30655 to return a pointer to the same type as the target function.
30657 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30661 * include/printf.h (__printf_fphex): Add attribute_hidden.
30662 (__guess_grouping): New prototype.
30663 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30664 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30665 libc_hidden_proto and libc_hidden_def.
30666 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30667 (__vstrfmon_l): Remove the third argument passed to
30670 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30672 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30673 definition for issignaling that does not rely on __MATH_TG,
30674 since __MATH_TG uses __builtin_types_compatible_p, which is only
30675 available in C mode.
30676 (CFLAGS-test-math-issignaling.cc): New variable.
30677 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30678 * math/test-math-issignaling.cc: New test for C++ implementation
30679 of type-generic issignaling.
30680 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30681 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30682 options of test-math-issignaling on powerpc64le.
30684 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30686 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30688 (hidden_proto): Likewise.
30689 (hidden_tls_proto): Likewise.
30690 (__hidden_proto): Likewise.
30692 2017-08-22 Florian Weimer <fweimer@redhat.com>
30694 math: Statically link tests of internal functionality.
30695 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30697 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30698 (gmp-objs): Remove assignment.
30699 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30701 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30704 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30706 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30708 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30711 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30712 variable definitions above inclusion of ../Rules.
30714 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30716 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30717 case calling __builtin_unreachable.
30719 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30721 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30722 __waitpid_nocancel.
30723 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30724 (__waitpid_nocancel): New macro.
30725 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30727 (__waitpid_nocancel): Replace macro with a function.
30728 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30731 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30733 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30734 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30736 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30737 __writev_nocancel_nostatus.
30738 (write_call_graph): Likewise.
30739 (write_bb_counts): Likewise.
30740 * resolv/herror.c (herror): Likewise.
30741 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30743 (__writev_nocancel_nostatus): New macro.
30744 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30746 (__writev_nocancel_nostatus): New function.
30748 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30751 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30753 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30755 (hidden_proto): Likewise.
30756 (hidden_tls_proto): Likewise.
30757 (__hidden_proto): Likewise.
30760 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30761 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30772 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30773 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30774 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30775 GLIBC_2.0 sqrtl symbol.
30777 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30778 [__USE_MISC] (_LIB_VERSION): Likewise.
30779 [__USE_MISC] (struct exception): Likewise.
30780 [__USE_MISC] (matherr): Likewise.
30781 [__USE_MISC] (DOMAIN): Likewise.
30782 [__USE_MISC] (SING): Likewise.
30783 [__USE_MISC] (OVERFLOW): Likewise.
30784 [__USE_MISC] (UNDERFLOW): Likewise.
30785 [__USE_MISC] (TLOSS): Likewise.
30786 [__USE_MISC] (PLOSS): Likewise.
30787 [__USE_MISC] (HUGE): Likewise.
30788 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30789 * math/math-svid-compat.h: New file.
30790 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30792 * include/math.h [!_ISOMAC] (__matherr): Remove.
30793 * manual/arith.texi (FP Exceptions): Do not document matherr.
30794 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30795 (tests-internal): New variable.
30796 (install-lib): Do not add libieee.a.
30797 (non-lib.a): Likewise.
30798 (extra-objs): Do not add libieee.a and ieee-math.o.
30799 (CPPFLAGS-s_lib_version.c): Remove variable.
30800 ($(objpfx)libieee.a): Remove rule.
30801 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30802 * math/ieee-math.c: Remove.
30803 * math/libm-test-support.c (matherr): Remove.
30804 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30805 and license notices. Include <math-svid-compat.h> and
30807 (matherr): Undefine as macro. Use compat_symbol_reference.
30808 (_LIB_VERSION): Likewise.
30809 * math/test-matherr-2.c: New file.
30810 * math/test-matherr-3.c: Likewise.
30811 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30813 (__kernel_standard_f): Likewise.
30814 (__kernel_standard_l): Likewise.
30815 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30816 <math_private.h>. Include <math-svid-compat.h>.
30817 (_LIB_VERSION): Undefine as macro.
30818 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30819 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30820 [LIBM_SVID_COMPAT], use compat_symbol.
30821 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30822 <math_private.h>. Include <math-svid-compat.h>.
30823 (matherr): Undefine as macro.
30824 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30826 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30827 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30828 compat_symbol_reference.
30829 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30830 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30831 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30832 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30833 (MATHERR_D): Remove declaration.
30834 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30835 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30836 [LIBM_BUILD] (pmatherrf): Likewise.
30837 [LIBM_BUILD] (pmatherr): Likewise.
30838 [LIBM_BUILD] (pmatherrl): Likewise.
30839 (DOMAIN): Likewise.
30841 (OVERFLOW): Likewise.
30842 (UNDERFLOW): Likewise.
30845 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30846 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30848 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30849 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30851 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30852 * math/w_acos_compat.c: Likewise.
30853 * math/w_acosf_compat.c: Likewise.
30854 * math/w_acosh_compat.c: Likewise.
30855 * math/w_acoshf_compat.c: Likewise.
30856 * math/w_acoshl_compat.c: Likewise.
30857 * math/w_acosl_compat.c: Likewise.
30858 * math/w_asin_compat.c: Likewise.
30859 * math/w_asinf_compat.c: Likewise.
30860 * math/w_asinl_compat.c: Likewise.
30861 * math/w_atan2_compat.c: Likewise.
30862 * math/w_atan2f_compat.c: Likewise.
30863 * math/w_atan2l_compat.c: Likewise.
30864 * math/w_atanh_compat.c: Likewise.
30865 * math/w_atanhf_compat.c: Likewise.
30866 * math/w_atanhl_compat.c: Likewise.
30867 * math/w_cosh_compat.c: Likewise.
30868 * math/w_coshf_compat.c: Likewise.
30869 * math/w_coshl_compat.c: Likewise.
30870 * math/w_exp10_compat.c: Likewise.
30871 * math/w_exp10f_compat.c: Likewise.
30872 * math/w_exp10l_compat.c: Likewise.
30873 * math/w_exp2_compat.c: Likewise.
30874 * math/w_exp2f_compat.c: Likewise.
30875 * math/w_exp2l_compat.c: Likewise.
30876 * math/w_fmod_compat.c: Likewise.
30877 * math/w_fmodf_compat.c: Likewise.
30878 * math/w_fmodl_compat.c: Likewise.
30879 * math/w_hypot_compat.c: Likewise.
30880 * math/w_hypotf_compat.c: Likewise.
30881 * math/w_hypotl_compat.c: Likewise.
30882 * math/w_j0_compat.c: Likewise.
30883 * math/w_j0f_compat.c: Likewise.
30884 * math/w_j0l_compat.c: Likewise.
30885 * math/w_j1_compat.c: Likewise.
30886 * math/w_j1f_compat.c: Likewise.
30887 * math/w_j1l_compat.c: Likewise.
30888 * math/w_jn_compat.c: Likewise.
30889 * math/w_jnf_compat.c: Likewise.
30890 * math/w_jnl_compat.c: Likewise.
30891 * math/w_lgamma_main.c: Likewise.
30892 * math/w_lgamma_r_compat.c: Likewise.
30893 * math/w_lgammaf_main.c: Likewise.
30894 * math/w_lgammaf_r_compat.c: Likewise.
30895 * math/w_lgammal_main.c: Likewise.
30896 * math/w_lgammal_r_compat.c: Likewise.
30897 * math/w_log10_compat.c: Likewise.
30898 * math/w_log10f_compat.c: Likewise.
30899 * math/w_log10l_compat.c: Likewise.
30900 * math/w_log2_compat.c: Likewise.
30901 * math/w_log2f_compat.c: Likewise.
30902 * math/w_log2l_compat.c: Likewise.
30903 * math/w_log_compat.c: Likewise.
30904 * math/w_logf_compat.c: Likewise.
30905 * math/w_logl_compat.c: Likewise.
30906 * math/w_pow_compat.c: Likewise.
30907 * math/w_powf_compat.c: Likewise.
30908 * math/w_powl_compat.c: Likewise.
30909 * math/w_remainder_compat.c: Likewise.
30910 * math/w_remainderf_compat.c: Likewise.
30911 * math/w_remainderl_compat.c: Likewise.
30912 * math/w_scalb_compat.c: Likewise.
30913 * math/w_scalbf_compat.c: Likewise.
30914 * math/w_scalbl_compat.c: Likewise.
30915 * math/w_sinh_compat.c: Likewise.
30916 * math/w_sinhf_compat.c: Likewise.
30917 * math/w_sinhl_compat.c: Likewise.
30918 * math/w_sqrt_compat.c: Likewise.
30919 * math/w_sqrtf_compat.c: Likewise.
30920 * math/w_sqrtl_compat.c: Likewise.
30921 * math/w_tgamma_compat.c: Likewise.
30922 * math/w_tgammaf_compat.c: Likewise.
30923 * math/w_tgammal_compat.c: Likewise.
30924 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30925 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30926 * sysdeps/ieee754/k_standard.c: Likewise.
30927 * sysdeps/ieee754/k_standardf.c: Likewise.
30928 * sysdeps/ieee754/k_standardl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30930 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30931 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30935 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30936 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30937 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30944 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30945 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30947 2017-08-21 Florian Weimer <fweimer@redhat.com>
30950 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30951 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30952 Move before inclusion of ../Rules.
30954 2017-08-21 Florian Weimer <fweimer@redhat.com>
30957 * assert/assert.h (assert): Use static_cast (bool) for C++.
30958 Use the ternary operator in the warning branch for GNU C.
30959 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30960 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30961 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30962 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30963 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30965 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30968 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30969 (__syscall_clock_gettime): Add attribute_hidden.
30970 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30971 (__start_context): Likewise.
30973 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30975 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30977 (hidden_proto): Likewise.
30978 (hidden_tls_proto): Likewise.
30979 (__hidden_proto): Likewise.
30981 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30983 * include/libc-symbols.h (attribute_hidden): Enable hidden
30984 visibility in libc.a compiled with PIE.
30986 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30989 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30990 Add attribute_hidden.
30992 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30995 * Makerules (all-nonlib): Add $(others-extras).
30996 * catgets/Makefile (others-extras): New.
30997 * elf/Makefile (others-extras): Likewise.
30998 * nss/Makefile (others-extras): Likewise.
31000 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31003 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31004 * elf/dl-open.c: Include <libc-internal.h>.
31005 (__libc_multiple_libcs): Removed.
31006 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31008 * include/libc-internal.h (__libc_multiple_libcs): New.
31009 * misc/sbrk.c: Include <libc-internal.h>.
31010 (__libc_multiple_libcs): Removed.
31012 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31015 * grp/initgroups.c (__nss_group_database): Removed.
31016 (__nss_initgroups_database): Likewise.
31017 * nscd/gai.c (__nss_hosts_database): Likewise.
31018 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31019 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31020 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31021 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31022 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31023 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31025 * nss/nsswitch.c (__nss_database_custom): Define only if
31026 USE_NSCD is defined.
31027 (__nss_configure_lookup): Use __nss_database_custom only if
31028 USE_NSCD is defined.
31029 * nss/nsswitch.h (__nss_database_custom): Declare only if
31030 USE_NSCD is defined. Add attribute_hidden.
31031 (__nss_setent): Add attribute_hidden.
31032 (__nss_endent): Likewise.
31033 (__nss_getent_r): Likewise.
31034 (__nss_getent): Likewise.
31035 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31037 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31040 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31041 libc_hidden_proto and libc_hidden_def.
31043 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31046 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31047 Add libc_hidden_proto.
31048 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31049 Add libc_hidden_def.
31051 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31054 * gmon/Makefile (routines): Remove bb_init_func and
31056 (elide-routines.os): Removed.
31057 * gmon/bb_exit_func.c: Likewise.
31058 * gmon/bb_init_func.c: Likewise.
31059 * include/sys/gmon.h (__bb): Likewise.
31060 (__bb_init_func): Likewise.
31061 (__bb_exit_func): Likewise.
31062 * sysdeps/alpha/bb_init_func.S: Likewise.
31064 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31066 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31067 * include/setjmp.h (____longjmp_chk): Here. Add
31070 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31073 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31075 (__strspn_sse2): Likewise.
31077 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31079 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31080 (close_not_cancel_no_status): Likewise.
31081 (__close_nocancel): New macro.
31082 (__close_nocancel_nostatus): Likewise.
31083 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31085 (close_not_cancel): Likewise.
31086 (close_not_cancel_no_status): Likewise.
31087 (__close_nocancel): New prototype.
31088 (__close_nocancel_nostatus): New function.
31089 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31090 * catgets/open_catalog.c (__open_catalog): Replace
31091 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31092 * gmon/gmon.c (write_gmon): Likewise.
31093 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31094 * intl/loadmsgcat.c (close): Likewise.
31095 * io/ftw.c (open_dir_stream): Likewise.
31096 (ftw_startup): Likewise.
31097 * libio/fileops.c (_IO_file_open): Likewise.
31098 (_IO_file_close_mmap): Likewise.
31099 (_IO_file_close): Likewise.
31100 * libio/iopopen.c (_IO_dup2): Likewise.
31101 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31102 * locale/loadlocale.c (_nl_load_locale): Likewise.
31103 * login/utmp_file.c (pututline_file): Likewise.
31104 (endutent_file): Likewise.
31105 * misc/daemon.c (daemon): Likewise.
31106 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31107 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31108 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31109 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31111 * nscd/nscd_helper.c (open_socket): Likewise.
31112 (__nscd_open_socket): Likewise.
31113 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31114 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31115 (__nscd_innetgr): Likewise.
31116 * nss/nss_db/db-open.c (internal_setent): Likewise.
31117 * resolv/res-close.c (__res_iclose): Likewise.
31118 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31119 * sysdeps/posix/closedir.c (__closedir): Likewise.
31120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31121 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31122 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31123 (opendir_tail): Likewise.
31124 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31125 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31126 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31127 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31128 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31129 (gethostid): Likewise.
31130 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31134 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31135 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31136 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31138 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31139 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31140 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31142 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31143 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31145 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31147 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31149 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31152 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31153 (openat_not_cancel_3): Likewise.
31154 (openat64_not_cancel_3): Likewise).
31155 (openat_not_cancel_3): Likewise).
31156 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31158 (openat_not_cancel_3): Likewise.
31159 (openat64_not_cancel): Likewise.
31160 (openat64_not_cancel_3): Likewise.
31161 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31162 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31163 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31164 __open{64}_nocancel.
31165 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31166 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31167 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31169 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31172 * include/argz.h (__argz_create_sep): New function prototype.
31173 (__argz_append): Likewise.
31174 (__argz_add): Likewise.
31175 (__argz_add_sep): Likewise.
31176 (__argz_delete): Likewise.
31177 (__argz_insert): Likewise.
31178 (__argz_replace): Likewise.
31179 * string/argz.h (__argz_create_sep): Removed.
31180 (__argz_append): Likewise.
31181 (__argz_add): Likewise.
31182 (__argz_add_sep): Likewise.
31183 (__argz_delete): Likewise.
31184 (__argz_insert): Likewise.
31185 (__argz_replace): Likewise.
31187 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31189 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31190 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31191 (GNU_PROPERTY_STACK_SIZE): Likewie.
31192 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31193 (GNU_PROPERTY_LOPROC): Likewise.
31194 (GNU_PROPERTY_HIPROC): Likewise.
31195 (GNU_PROPERTY_LOUSER): Likewise.
31196 (GNU_PROPERTY_HIUSER): Likewise.
31197 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31198 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31199 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31200 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31201 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31202 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31203 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31204 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31205 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31206 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31207 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31208 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31209 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31210 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31211 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31212 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31213 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31214 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31215 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31216 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31217 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31218 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31219 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31221 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31223 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31226 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31229 * math/math.h (isinf): Check if in C or C++ mode before using
31230 __builtin_types_compatible_p, since this is a C mode feature.
31232 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31234 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31235 (__write_nocancel): New macro.
31236 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31237 Rewrite as a function prototype.
31238 (write_not_cancel): Remove macro.
31239 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31240 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31241 (write_gmon): Likewise.
31242 * libio/fileops.c (_IO_new_file_write): Likewise.
31243 * login/utmp_file.c (pututline_file): Likewise.
31244 (updwtmp_file): Likewise.
31245 * stdio-common/psiginfo.c (psiginfo): Likewise.
31246 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31247 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31248 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31250 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31253 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31254 (__read_nocancel): New macro.
31255 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31257 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31259 (__read_nocancel): New prototype.
31260 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31261 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31262 with __read_nocancel.
31263 * intl/loadmsgcat.c (read): Likewise.
31264 * libio/fileops.c (_IO_file_read): Likewise.
31265 * locale/loadlocale.c (_nl_load_locale): Likewise.
31266 * login/utmp_file.c (getutent_r_file): Likewise.
31267 (internal_getut_r): Likewise.
31268 (getutline_r_file): Likewise.
31269 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31270 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31271 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31274 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31275 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31276 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31278 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31282 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31286 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31289 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31290 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31293 2017-08-17 DJ Delorie <dj@redhat.com>
31295 * bug17079.c: Update to new test harness.
31296 * test-digits-dots.c: Likewise.
31297 * test-netdb.c: Likewise.
31298 * tst-field.c: Likewise.
31299 * tst-nss-getpwent.c: Likewise.
31300 * tst-nss-static.c: Likewise.
31301 * tst-nss-test1.c: Likewise.
31302 * tst-nss-test2.c: Likewise.
31303 * tst-nss-test3.c: Likewise.
31304 * tst-nss-test4.c: Likewise.
31305 * tst-nss-test5.c: Likewise.
31307 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31309 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31310 (open_not_cancel_2): Likewise.
31311 (open_nocancel): New macro.
31312 (open64_nocancel): Likewise.
31313 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31314 (open_not_cancel_2): Likewise.
31315 (__open_nocancel): New prototype.
31316 (__open64_nocancel): Likewise.
31317 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31319 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31320 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31321 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31322 with __open_nocancel.
31323 * csu/check_fds.c (check_one_fd): Likewise.
31324 * gmon/gmon.c (write_gmon): Likewise.
31325 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31326 * intl/loadmsgcat.c (open): Likewise.
31327 * libio/fileops.c (_IO_file_open): Likewise.
31328 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31329 * locale/loadlocale.c (_nl_load_locale): Likewise.
31330 * login/utmp_file.c (setutent_file): Likewise.
31331 * misc/daemon.c (daemon): Likewise.
31332 * nss/nss_db/db-open.c (internal_setent): Likewise.
31333 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31334 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31335 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31336 (__opendir): Likewise.
31337 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31338 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31339 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31340 (gethostid): Likewise.
31341 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31345 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31346 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31347 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31349 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31351 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31353 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31355 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31357 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31359 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31360 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31362 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31364 * benchtests/bench-skeleton.c (main): Add support for
31365 latency benchmarking.
31366 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31368 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31370 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31371 the startup object.
31373 2017-08-17 Florian Weimer <fweimer@redhat.com>
31375 * include/sys/socket.h (__opensock): Remove internal_function.
31376 * socket/opensock.c (__opensock): Likewise.
31377 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31379 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31382 * signal/bits/types/__sigval_t.h: New file.
31383 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31384 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31385 and define sigval_t using __sigval_t.
31386 * include/bits/types/__sigval_t.h: New file.
31387 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31388 instead of <bits/types/__sigval_t.h>.
31389 (struct sigevent): Use __sigval_t instead of sigval_t.
31390 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31391 instead of <bits/types/__sigval_t.h>.
31392 (siginfo_t): Use __sigval_t instead of sigval_t.
31393 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31394 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31395 (struct sigevent): Use __sigval_t instead of sigval_t.
31396 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31397 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31398 (siginfo_t): Use __sigval_t instead of sigval_t.
31399 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31401 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31403 * NEWS: Remove "[Add new features here]" for 2.27.
31405 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31407 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31410 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31412 * NEWS: Mention x86-64 FMA optimization.
31414 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31417 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31419 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31420 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31421 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31423 2017-08-16 Andreas Schwab <schwab@suse.de>
31427 * elf/ldd.bash.in: Never run file directly.
31429 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31432 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31433 (L(SP_INF_0)): Likewise.
31435 2017-08-15 Florian Weimer <fweimer@redhat.com>
31437 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31440 2017-08-15 Florian Weimer <fweimer@redhat.com>
31442 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31443 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31444 BROKEN_THREAD_SIGNALS code.
31445 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31446 request_list): Remove caller_pid member used for
31447 BROKEN_THREAD_SIGNALS.
31448 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31449 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31450 Remove BROKEN_THREAD_SIGNALS support.
31451 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31452 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31454 2017-08-15 Florian Weimer <fweimer@redhat.com>
31456 * gmon/Makefile (tests): Add tst-gmon.
31457 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31459 (tests-special): Add tst-gmon-prof.out.
31460 (tst-gmon.out): Depend on clean-tst-gmon-data.
31461 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31462 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31463 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31465 * aclocal.m4 (GPROF): Set and substitute.
31466 * config.amke.in (GPROF): Set.
31467 * configure: Regenerate.
31469 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31471 * elf/elf.h A (NT_PPC_TAR): New macro.
31472 (NT_PPC_PPR): Likewise.
31473 (NT_PPC_DSCR): Likewise.
31474 (NT_PPC_EBB): Likewise.
31475 (NT_PPC_PMU): Likewise.
31476 (NT_PPC_TM_CGPR): Likewise.
31477 (NT_PPC_TM_CFPR): Likewise.
31478 (NT_PPC_TM_CVMX): Likewise.
31479 (NT_PPC_TM_CVSX): Likewise.
31480 (NT_PPC_TM_SPR): Likewise.
31481 (NT_PPC_TM_CTAR): Likewise.
31482 (NT_PPC_TM_CPPR): Likewise.
31483 (NT_PPC_TM_CDSCR): Likewise.
31485 2017-08-15 Florian Weimer <fweimer@redhat.com>
31487 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31488 regparm (2) instead of internal_function.
31489 (_MCOUNT_DECL): Adjust.
31491 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31493 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31494 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31496 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31498 * conform/data/sys/wait.h-data (si_value): Do not expect for
31501 2017-08-14 Florian Weimer <fweimer@redhat.com>
31504 NSS: Create stubs for accidentally exported lookup functions.
31505 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31506 Remove declaration.
31507 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31508 (ether_hostton): Call __nss_ethers_lookup2 instead.
31509 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31510 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31511 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31512 (setup): Call __nss_netgroup_lookup2 instead.
31513 * nss/Makefile (routines): Add compat-lookup.
31514 * nss/Versions (GLIBC_2.27): Add symbol version.
31515 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31516 (DB_COMPAT_FCT): Remove.
31517 * nss/compat-lookup.c: New file.
31518 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31519 from databases.def.
31520 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31521 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31522 (netname2user): Call __nss_publickey_lookup2 instead.
31523 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31524 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31527 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31528 Sergei Trofimovich <slyfox@inbox.ru>
31531 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31532 Rename to MMAP2_PAGE_UNIT.
31533 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31534 __OFF_T_MATCHES_OFF64_T is not defined.
31535 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31537 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31538 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31540 2017-08-14 Florian Weimer <fweimer@redhat.com>
31542 i386: Do not set internal_function.
31543 * config.h.in (USE_REGPARMS, internal_function): Remove.
31544 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31545 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31547 2017-08-14 Florian Weimer <fweimer@redhat.com>
31549 * elf/dl-init.c (_dl_init): Remove internal_function.
31550 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31551 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31553 2017-08-14 Florian Weimer <fweimer@redhat.com>
31555 * elf/rtld.c (_dl_start): Remove internal_function.
31556 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31559 2017-08-14 Florian Weimer <fweimer@redhat.com>
31561 * elf/dl-fini.c (_dl_fini): Remove internal_function
31562 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31564 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31566 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31567 (bit_cpu_SHSTK): Likewise.
31568 (index_cpu_IBT): Likewise.
31569 (index_cpu_SHSTK): Likewise.
31570 (reg_IBT): Likewise.
31571 (reg_SHSTK): Likewise.
31572 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31573 Handle index_cpu_IBT and index_cpu_SHSTK.
31575 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31578 * po/fr.po: Fix spelling mistake.
31580 2017-08-13 Florian Weimer <fweimer@redhat.com>
31582 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31583 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31584 (_dl_catch_error, _dl_receive_error): Likewise.
31585 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31586 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31587 (_dl_deallocate_tls): Likewise.
31588 * include/dlfcn.h (_dl_addr): Likewise.
31589 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31590 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31591 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31594 2017-08-13 Florian Weimer <fweimer@redhat.com>
31596 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31597 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31599 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31601 2017-08-13 Florian Weimer <fweimer@redhat.com>
31603 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31605 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31606 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31607 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31608 internal_function from _dl_make_stack_executable_hook member.
31609 (_dl_make_stack_executable): Remove internal_function.
31610 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31612 * sysdeps/unix/sysv/linux/dl-execstack.c
31613 (_dl_make_stack_executable): Likewise.
31615 2017-08-13 Florian Weimer <fweimer@redhat.com>
31617 * sysdeps/unix/sysv/linux/netlinkaccess.h
31618 (__netlink_assert_response): Remove internal_function.
31619 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31620 (__netlink_assert_response): Likewise.
31622 2017-08-13 Florian Weimer <fweimer@redhat.com>
31624 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31626 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31628 2017-08-13 Florian Weimer <fweimer@redhat.com>
31630 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31632 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31633 * inet/netgroup.h (__internal_setnetgrent)
31634 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31635 * inet/getnetgrent_r.c (__internal_setnetgrent)
31636 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31637 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31638 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31639 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31640 * nss/nsswitch.h (db_lookup_function): Likewise.
31642 2017-08-13 Florian Weimer <fweimer@redhat.com>
31644 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31645 Remove internal_function.
31646 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31647 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31648 message argument on the stack.
31649 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31652 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31654 Adapt test case data to the changes in the thousands
31658 * localedata/tst-langinfo.sh: Adapt test case data.
31659 * stdlib/tst-strfmon_l.c: Likewise.
31660 * stdlib/tst-strtod4.c: Likewise.
31661 * stdlib/tst-strtod5i.c: Likewise.
31663 2017-08-11 Florian Weimer <fweimer@redhat.com>
31666 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31667 Suppress pedantic warning resulting from statement expression.
31668 (__ASSERT_FUNCTION): Add missing __extension__.
31670 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31672 * benchtests/bench-memmove-large.c: Print output in JSON
31674 * benchtests/bench-memmove.c: Likewise.
31676 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31677 * benchtests/bench-memchr.c (do_one_test): Likewise.
31678 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31679 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31680 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31681 * benchtests/bench-memmove.c (do_one_test): Likewise.
31682 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31683 * benchtests/bench-memset.c (do_one_test): Likewise.
31684 * benchtests/bench-string.h (test_init): Remove memsets.
31686 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31689 (Computing the Width of an Integer Data Type): Rename section to
31690 "Width of an Integer Type". Remove inaccurate statement regarding
31691 lack of C language facilities for determining width of integer
31692 types, and reorder content to improve flow and context of
31695 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31697 * lang.texi (va_copy): Change standard from ISO to C99.
31698 (__va_copy): Add standard and header annotation.
31699 Update description for clarity of origins and current use.
31701 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31704 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31705 xssqrtqp requires operands to be in Vector Registers
31706 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31707 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31708 (__ieee754_sqrtf128): Likewise.
31710 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31712 * sysdeps/aarch64/memcmp.S (memcmp):
31713 Rewrite of optimized memcmp.
31715 2017-08-10 Florian Weimer <fweimer@redhat.com>
31717 Introduce ld.so exceptions.
31718 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31719 (_dl_exception_create, _dl_exception_create_format)
31720 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31721 (_dl_catch_exception): Declare.
31722 (_dl_catch_error): Update comment.
31723 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31724 errstring, malloced members with exception member.
31725 (_dl_out_of_memory): Remove.
31726 (fatal_error): New function, extracted from _dl_signal_error.
31727 (_dl_signal_exception, _dl_signal_cexception): New functions.
31728 (_dl_signal_error): Call _dl_exception_create to allocate an
31730 (_dl_catch_exception): New function, based on _dl_catch_error.
31731 (_dl_catch_error): Implement using _dl_catch_exception.
31732 * elf/dl-exception.c: New file.
31733 * elf/Makefile (dl-routines): Add dl-exception.
31734 (elide-routines.os): Likewise.
31735 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31736 _dl_exception_create_format, _dl_exception_free.
31737 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31738 _dl_signal_exception.
31739 * elf/dl-lookup.c (make_string): Remove.
31740 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31741 _dl_signal_cexception, _dl_exception_free.
31742 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31743 _dl_signal_exception.
31744 * elf/dl-sym.c (do_sym): Likewise.
31745 * elf/dl-version.c (make_string): Remove.
31746 (match_symbol): Use _dl_exception_create_format,
31747 _dl_signal_cexception, _dl_exception_free.
31748 (_dl_check_map_versions): Likewise.
31749 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31750 _dl_catch_exception.
31751 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31752 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31753 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31754 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31755 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31756 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31757 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31758 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31760 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31767 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31768 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31769 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31771 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31773 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31775 2017-08-10 Florian Weimer <fweimer@redhat.com>
31777 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31778 attribute_hidden, internal_function.
31779 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31782 2017-08-10 Florian Weimer <fweimer@redhat.com>
31784 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31785 function which calls __builtin_unreachable.
31787 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31789 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31790 Indian monetary formatting
31791 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31794 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31796 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31797 Fix typo in comment.
31800 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31801 PTRACE_SEIZE_DEVEL): Remove.
31802 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31806 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31808 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31810 * posix/bits/types.h (__qaddr_t): Remove.
31813 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31814 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31816 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31817 (ucontext_t): Use __ctx with uc_flags.
31818 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31819 (__ctxt): Likewise.
31820 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31822 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31823 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31825 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31826 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31828 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31830 (ucontext_t): Use __ctx with uc_flags.
31831 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31832 (ucontext_t): Use __ctx with uc_flags.
31833 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31834 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31835 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31836 (ucontext_t): Use __ctx with uc_flags.
31837 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31838 undefine further down.
31839 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31841 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31842 undefine further down.
31843 (ucontext_t): Use __ctx with uc_flags.
31844 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31845 undefine further down.
31846 (ucontext_t): Use __ctx with uc_flags.
31847 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31848 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31849 Rename uc_pad to __glibc_reserved1.
31850 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31851 undefine further down.
31852 (ucontext_t): Use __ctx with uc_flags.
31853 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31855 (ucontext_t): Use __ctx with uc_flags.
31856 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31857 __ctx with uc_flags.
31858 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31859 (ucontext_t): Use __ctx with uc_flags.
31860 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31861 __ctx with uc_flags.
31863 2017-08-09 Florian Weimer <fweimer@redhat.com>
31866 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31867 before early return.
31869 2017-08-09 Andreas Schwab <schwab@suse.de>
31872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31876 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31877 tst-compat-forwarder.
31878 (modules-names): Add tst-compat-forwarder-mod.
31879 ($(objpfx)tst-compat-forwarder): Depend on
31880 $(objpfx)tst-compat-forwarder-mod.so.
31881 * nptl/tst-compat-forwarder.c: New file.
31882 * nptl/tst-compat-forwarder-mod.c: New file.
31884 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31886 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31889 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31890 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31892 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31894 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31895 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31896 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31897 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31899 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31902 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31905 * manual/setjmp.texi (getcontex): Document uc_stack value
31906 compatibility differences.
31908 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31910 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31911 (old_malloc_hook): Likewise.
31912 (old_memalign_hook): Likewise.
31913 (old_realloc_hook): Likewise.
31914 (struct hdr): Likewise.
31916 (freehook): Likewise.
31917 (mallochook): Likewise.
31918 (memalignhook): Likewise.
31919 (reallochook): Likewise.
31920 (mprobe): Likewise.
31921 * malloc/mtrace.c (mallwatch): Likewise.
31922 (tr_old_free_hook): Likewise.
31923 (tr_old_malloc_hook): Likewise.
31924 (tr_old_realloc_hook): Likewise.
31925 (tr_old_memalign_hook): Likewise.
31926 (tr_where): Likewise.
31927 (lock_and_info): Likewise.
31928 (tr_freehook): Likewise.
31929 (tr_mallochook): Likewise.
31930 (tr_reallochook): Likewise.
31931 (tr_memalignhook): Likewise.
31932 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31933 * misc/mmap.c (__mmap): Likewise.
31934 * misc/mmap64.c (__mmap64): Likewise.
31935 * misc/mprotect.c (__mprotect): Likewise.
31936 * misc/msync.c (msync): Likewise.
31937 * misc/munmap.c (__munmap): Likewise.
31938 * posix/posix_madvise.c (posix_madvise): Likewise.
31939 * socket/send.c (__send): Likewise.
31940 * socket/sendto.c (__sendto): Likewise.
31941 * socket/setsockopt.c (__setsockopt): Likewise.
31942 * string/memcmp.c (__ptr_t): Remove macro.
31943 (MEMCMP): Use void * instead of ptr_t.
31944 * string/memrchr.c (__ptr_t): Remove macro.
31945 (__memrchr): Use void * instead of ptr_t.
31946 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31947 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31948 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31949 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31950 * sysdeps/mach/msync.c (msync): Likewise.
31951 * sysdeps/mach/munmap.c (__munmap): Likewise.
31952 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31954 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31955 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31956 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31957 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31958 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31959 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31960 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31961 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31963 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31964 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31965 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31966 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31967 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31968 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31969 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31970 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31971 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31973 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31974 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31975 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31976 (MEMCMP): Use void * instead of ptr_t.
31977 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31978 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31980 2017-08-08 Florian Weimer <fweimer@redhat.com>
31982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31985 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31988 * csu/libc-tls.c: Include <startup.h> first.
31989 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31990 * elf/dl-tunables.c: Include <startup.h> first.
31991 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31992 * sysdeps/generic/startup.h: New file.
31993 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31994 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31995 (I386_USE_SYSENTER): New. Defined to 0.
31997 2017-08-08 Andreas Schwab <schwab@suse.de>
32000 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32001 * nptl/pt-system.c (system): Likewise.
32003 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32006 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32008 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32009 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32010 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32011 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32012 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32013 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32014 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32016 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32019 * bits/sigaction.h (struct sigaction): Define sa_handler and
32020 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32021 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32022 [__USE_XOPEN_EXTENDED].
32023 (SA_RESTART): Likewise.
32024 (SA_NODEFER): Likewise.
32025 (SA_RESETHAND): Likewise.
32026 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32027 (struct sigaction): Define sa_handler and sa_sigaction using union
32028 also for [__USE_XOPEN_EXTENDED].
32029 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32030 [__USE_XOPEN_EXTENDED].
32031 (SA_RESTART): Likewise.
32032 (SA_NODEFER): Likewise.
32033 (SA_RESETHAND): Likewise.
32034 * sysdeps/unix/sysv/linux/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 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32043 (struct sigaction): Define sa_handler and sa_sigaction using union
32044 also for [__USE_XOPEN_EXTENDED].
32045 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32046 [__USE_XOPEN_EXTENDED].
32047 (SA_RESTART): Likewise.
32048 (SA_NODEFER): Likewise.
32049 (SA_RESETHAND): Likewise.
32050 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32051 (struct sigaction): Define sa_handler and sa_sigaction using union
32052 also for [__USE_XOPEN_EXTENDED].
32053 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32054 [__USE_XOPEN_EXTENDED].
32055 (SA_RESTART): Likewise.
32056 (SA_NODEFER): Likewise.
32057 (SA_RESETHAND): Likewise.
32058 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32059 (struct sigaction): Define sa_handler and sa_sigaction using union
32060 also for [__USE_XOPEN_EXTENDED].
32061 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32062 [__USE_XOPEN_EXTENDED].
32063 (SA_RESTART): Likewise.
32064 (SA_NODEFER): Likewise.
32065 (SA_RESETHAND): Likewise.
32066 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32067 (struct sigaction): Define sa_handler and sa_sigaction using union
32068 also for [__USE_XOPEN_EXTENDED].
32069 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32070 [__USE_XOPEN_EXTENDED].
32071 (SA_RESTART): Likewise.
32072 (SA_NODEFER): Likewise.
32073 (SA_RESETHAND): Likewise.
32074 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32075 (struct sigaction): Define sa_handler and sa_sigaction using union
32076 also for [__USE_XOPEN_EXTENDED].
32077 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32078 [__USE_XOPEN_EXTENDED].
32079 (SA_RESTART): Likewise.
32080 (SA_NODEFER): Likewise. Define directly rather than as alias.
32081 (SA_RESETHAND): Likewise.
32082 (SA_INTERRUPT): Define only for [__USE_MISC].
32083 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32084 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32086 (SA_STACK): Define only for [__USE_MISC].
32087 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32088 (struct sigaction): Define sa_handler and sa_sigaction using union
32089 also for [__USE_XOPEN_EXTENDED].
32090 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32091 [__USE_XOPEN_EXTENDED].
32092 (SA_RESTART): Likewise.
32093 (SA_NODEFER): Likewise.
32094 (SA_RESETHAND): Likewise.
32095 (SA_NOPTRACE): Define only for [__USE_MISC].
32097 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32098 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32099 (struct catalog_info): Likewise.
32100 * inet/htontest.c (lo): Likewise.
32102 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32103 * inet/inet_net.c (inet_network): Likewise.
32104 * inet/inet_netof.c (inet_netof): Likewise.
32105 * inet/rcmd.c (__ivaliduser): Likewise.
32106 (iruserok): Likewise.
32107 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32108 * locale/programs/locale-spec.c (locale_special): Likewise.
32109 * nis/nis_findserv.c (struct findserv_req): Likewise.
32110 (__nis_findfastest_with_timeout): Likewise.
32111 * nss/test-netdb.c (test_network): Likewise.
32112 * resolv/inet_neta.c (inet_neta): Likewise.
32113 * resolv/ns_date.c (ns_datetosecs): Likewise.
32114 (SECS_PER_DAY): Likewise.
32115 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32117 * resolv/res_comp.c (__putlong): Likewise.
32118 (__putshort): Likewise.
32119 (_getlong): Likewise.
32120 (_getshort): Likewise.
32121 * resolv/res_debug.c (p_time): Likewise.
32122 (precsize_ntoa): Likewise.
32123 (precsize_aton): Likewise.
32124 (latlon2ul): Likewise.
32125 (loc_aton): Likewise.
32126 (loc_ntoa): Likewise.
32127 * resolv/res_hconf.c (struct netaddr): Likewise.
32128 (_res_hconf_reorder_addrs): Likewise.
32129 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32130 (clnttcp_control): Likewise.
32131 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32132 (clntudp_control): Likewise.
32133 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32134 (clntunix_control): Likewise.
32135 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32136 * sunrpc/rpc/auth.h (union des_block): Likewise.
32137 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32138 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32139 (xdrrec_create): Likewise.
32140 (xdrrec_endofrecord): Likewise.
32141 (flush_out): Likewise.
32142 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32143 (xdrstdio_putlong): Likewise.
32144 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32147 * misc/sys/cdefs.h (__long_double_t): Remove.
32148 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32149 instead of __long_double_t,
32150 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32152 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32154 * benchtests/scripts/compare_strings.py: Avoid display error when
32155 running on a text terminal.
32157 * benchtests/scripts/compare_strings.py (main): Add an
32158 optional -base option.
32159 (process_results): New argument base_func.
32161 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32163 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32164 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32166 2017-08-07 Andreas Schwab <schwab@suse.de>
32168 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32169 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32170 * intl/Makefile ($(objpfx)tst-gettext.out)
32171 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32172 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32173 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32174 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32175 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32176 * posix/Makefile ($(objpfx)globtest.out)
32177 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32179 ($(objpfx)tst-printf.out): Likewise.
32180 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32181 ($(objpfx)tst-setcontext3.out): Likewise.
32183 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32186 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32187 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32188 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32189 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32191 (CFLAGS-doasin-fma.c): New.
32192 (CFLAGS-dosincos-fma.c): Likewise.
32193 (CFLAGS-e_asin-fma.c): Likewise.
32194 (CFLAGS-e_atan2-fma.c): Likewise.
32195 (CFLAGS-e_exp-fma.c): Likewise.
32196 (CFLAGS-e_log-fma.c): Likewise.
32197 (CFLAGS-e_pow-fma.c): Likewise.
32198 (CFLAGS-halfulp-fma.c): Likewise.
32199 (CFLAGS-mpa-fma.c): Likewise.
32200 (CFLAGS-mpatan-fma.c): Likewise.
32201 (CFLAGS-mpatan2-fma.c): Likewise.
32202 (CFLAGS-mpexp-fma.c): Likewise.
32203 (CFLAGS-mplog-fma.c): Likewise.
32204 (CFLAGS-mpsqrt-fma.c): Likewise.
32205 (CFLAGS-mptan-fma.c): Likewise.
32206 (CFLAGS-s_atan-fma.c): Likewise.
32207 (CFLAGS-sincos32-fma.c): Likewise.
32208 (CFLAGS-slowexp-fma.c): Likewise.
32209 (CFLAGS-slowpow-fma.c): Likewise.
32210 (CFLAGS-s_sin-fma.c): Likewise.
32211 (CFLAGS-s_tan-fma.c): Likewise.
32212 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32213 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32214 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32215 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32217 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32218 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32219 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32220 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32221 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32222 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32226 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32228 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32230 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32235 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32239 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32240 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32241 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32242 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32244 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32246 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32247 (min_of_type_f): New macro.
32248 (min_of_type_): Likewise.
32249 (min_of_type_l): Likewise.
32250 (min_of_type_f128): Likewise.
32251 (min_of_type): Define using __MATH_TG and taking an expression
32253 (math_check_force_underflow): Pass expression instead of type to
32255 (math_check_force_underflow_nonneg): Likewise.
32257 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32259 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32260 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32261 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32263 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32266 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32267 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32268 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32269 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32270 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32271 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32272 memmove_chk-nonshared and memset_chk-nonshared
32273 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32274 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32275 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32276 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32277 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32278 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32279 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32280 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32281 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32282 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32283 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32284 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32285 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32286 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32287 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32288 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32289 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32290 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32291 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32292 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32294 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32296 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32297 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32298 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32300 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32301 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32303 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32306 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32309 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32311 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32312 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32313 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32315 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32317 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32319 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32321 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32323 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32325 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32326 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32327 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32328 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32329 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32330 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32331 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32332 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32333 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32334 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32335 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32336 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32337 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32338 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32339 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32340 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32341 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32342 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32343 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32345 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32346 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32347 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32348 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32349 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32350 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32351 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32352 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32353 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32357 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32358 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32360 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32363 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32364 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32365 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32367 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32368 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32369 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32370 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32371 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32372 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32373 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32374 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32375 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32376 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32377 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32378 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32379 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32380 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32382 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32384 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32385 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32386 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32387 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32388 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32389 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32390 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32391 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32392 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32393 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32394 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32395 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32396 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32397 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32398 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32399 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32400 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32401 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32402 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32403 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32404 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32405 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32407 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32411 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32412 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32413 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32414 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32415 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32417 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32418 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32424 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32425 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32427 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32428 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32429 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32430 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32431 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32432 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32433 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32435 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32436 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32440 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32441 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32442 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32445 Don't include <sysdep.h> nor <init-arch.h>.
32446 (_ZGVbN2v_cos): Removed.
32447 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32449 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32450 Don't include <sysdep.h> nor <init-arch.h>.
32451 (_ZGVdN4v_cos): Removed.
32452 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32454 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32455 Don't include <sysdep.h> nor <init-arch.h>.
32456 (_ZGVeN8v_cos): Removed.
32457 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32459 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32460 Don't include <sysdep.h> nor <init-arch.h>.
32461 (_ZGVbN2v_exp): Removed.
32462 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32464 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32465 Don't include <sysdep.h> nor <init-arch.h>.
32466 (_ZGVdN4v_exp): Removed.
32467 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32469 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32470 Don't include <sysdep.h> nor <init-arch.h>.
32471 (_ZGVeN8v_exp): Removed.
32472 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32474 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32475 Don't include <sysdep.h> nor <init-arch.h>.
32476 (_ZGVbN2v_log): Removed.
32477 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32479 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32480 Don't include <sysdep.h> nor <init-arch.h>.
32481 (_ZGVdN4v_log): Removed.
32482 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32484 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32485 Don't include <sysdep.h> nor <init-arch.h>.
32486 (_ZGVeN8v_log): Removed.
32487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32489 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32490 Don't include <sysdep.h> nor <init-arch.h>.
32491 (_ZGVbN2vv_pow): Removed.
32492 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32494 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32495 Don't include <sysdep.h> nor <init-arch.h>.
32496 (_ZGVdN4vv_pow): Removed.
32497 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32499 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32500 Don't include <sysdep.h> nor <init-arch.h>.
32501 (_ZGVeN8vv_pow): Removed.
32502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32504 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32505 Don't include <sysdep.h> nor <init-arch.h>.
32506 (_ZGVbN2v_sin): Removed.
32507 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32510 Don't include <sysdep.h> nor <init-arch.h>.
32511 (_ZGVbN4v_sin): Removed.
32512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32514 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32515 Don't include <sysdep.h> nor <init-arch.h>.
32516 (_ZGVbN8v_sin): Removed.
32517 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32519 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32520 Don't include <sysdep.h> nor <init-arch.h>.
32521 (_ZGVbN2vvv_sincos): Removed.
32522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32524 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32525 Don't include <sysdep.h> nor <init-arch.h>.
32526 (_ZGVdN4vvv_sincos): Removed.
32527 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32530 Don't include <sysdep.h> nor <init-arch.h>.
32531 (_ZGVeN8vvv_sincos): Removed.
32532 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32534 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32535 Don't include <sysdep.h> nor <init-arch.h>.
32536 (_ZGVeN16v_cosf): Removed.
32537 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32539 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32540 Don't include <sysdep.h> nor <init-arch.h>.
32541 (_ZGVbN4v_cosf): Removed.
32542 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32544 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32545 Don't include <sysdep.h> nor <init-arch.h>.
32546 (_ZGVdN8v_cosf): Removed.
32547 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32549 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32550 Don't include <sysdep.h> nor <init-arch.h>.
32551 (_ZGVeN16v_expf): Removed.
32552 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32554 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32555 Don't include <sysdep.h> nor <init-arch.h>.
32556 (_ZGVbN4v_expf): Removed.
32557 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32559 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32560 Don't include <sysdep.h> nor <init-arch.h>.
32561 (_ZGVdN8v_expf): Removed.
32562 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32564 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32565 Don't include <sysdep.h> nor <init-arch.h>.
32566 (_ZGVeN16v_logf): Removed.
32567 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32569 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32570 Don't include <sysdep.h> nor <init-arch.h>.
32571 (_ZGVbN4v_logf): Removed.
32572 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32574 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32575 Don't include <sysdep.h> nor <init-arch.h>.
32576 (_ZGVdN8v_logf): Removed.
32577 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32579 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32580 Don't include <sysdep.h> nor <init-arch.h>.
32581 (_ZGVeN16vv_powf): Removed.
32582 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32584 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32585 Don't include <sysdep.h> nor <init-arch.h>.
32586 (_ZGVbN4vv_powf): Removed.
32587 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32589 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32590 Don't include <sysdep.h> nor <init-arch.h>.
32591 (_ZGVdN8vv_powf): Removed.
32592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32594 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32595 Don't include <sysdep.h> nor <init-arch.h>.
32596 (_ZGVeN16vvv_sincosf): Removed.
32597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32600 Don't include <sysdep.h> nor <init-arch.h>.
32601 (_ZGVbN4vvv_sincosf): Removed.
32602 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32604 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32605 Don't include <sysdep.h> nor <init-arch.h>.
32606 (_ZGVdN8vvv_sincosf): Removed.
32607 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32609 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32610 Don't include <sysdep.h> nor <init-arch.h>.
32611 (_ZGVeN16v_sinf): Removed.
32612 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32614 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32615 Don't include <sysdep.h> nor <init-arch.h>.
32616 (_ZGVbN4v_sinf): Removed.
32617 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32619 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32620 Don't include <sysdep.h> nor <init-arch.h>.
32621 (_ZGVdN8v_sinf): Removed.
32623 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32626 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32627 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32628 s_rint-sse4_1 and s_rintf-sse4_1.
32629 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32630 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32631 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32632 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32633 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32635 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32636 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32639 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32640 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32642 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32643 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32644 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32645 (__ceilf): Removed.
32646 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32647 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32648 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32649 (__floor): Removed.
32650 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32651 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32652 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32653 (__floorf): Removed.
32654 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32656 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32657 (__nearbyint): Removed.
32658 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32660 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32661 (__nearbyintf): Removed.
32662 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32663 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32664 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32666 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32667 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32668 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32669 (__rintf): Removed.
32671 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32673 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32674 SHARED. Avoid dynamic relocation against main in static PIE.
32676 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32679 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32680 (LDFLAGS-tst-prelink): Likewise.
32682 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32684 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32685 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32686 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32687 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32688 (INTERNAL_SYSCALL_NCS): Likewise.
32689 (LOADARGS_1): Likewise.
32690 (LOADARGS_5): Likewise.
32691 (RESTOREARGS_1): Likewise.
32692 (RESTOREARGS_5): Likewise.
32694 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32696 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32697 (MEMPCPY_SYMBOL): Likewise.
32698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32699 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32703 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32705 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32706 (__hidden_ver1): Don't use in libc.a.
32707 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32708 (__mempcpy): Don't create a weak alias in libc.a.
32709 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32711 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32712 (__hidden_ver1): Don't use in libc.a.
32714 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32716 * config.make.in (have-insert): New.
32717 * configure.ac (libc_cv_insert): New. Set to yes if linker
32718 supports INSERT in linker script.
32719 (AC_SUBST(libc_cv_insert): New.
32720 * configure: Regenerated.
32721 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32722 if $(have-insert) == yes.
32724 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32726 * elf/Makefile (tests): Add vismain only if
32727 $(have-protected-data) == yes.
32728 (tests-pie): Likewise.
32730 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32733 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32734 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32736 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32739 * sysdeps/i386/i586/memset.S
32740 (__memset_zero_constant_len_parameter): Removed.
32741 * sysdeps/i386/i686/memset.S
32742 (__memset_zero_constant_len_parameter): Likewise.
32743 * sysdeps/i386/i686/multiarch/memset_chk.S
32744 (__memset_zero_constant_len_parameter): Likewise.
32745 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32748 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32750 * stdlib/getentropy.c (getentropy): Change return type to int.
32752 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32754 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32756 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32758 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32760 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32761 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32763 (ieee_float_shape_type): Likewise.
32764 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32765 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32766 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32767 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32768 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32769 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32770 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32771 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32772 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32774 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32775 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32776 (__ieee754_yn): Likewise.
32777 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32778 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32781 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32782 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32783 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32784 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32785 (__erfc): Likewise.
32786 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32787 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32788 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32789 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32790 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32791 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32793 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32794 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32795 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32796 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32797 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32798 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32799 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32800 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32801 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32802 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32803 (__issignaling): Likewise.
32804 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32805 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32806 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32808 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32809 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32810 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32811 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32813 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32815 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32816 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32817 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32818 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32819 (__erfcf): Likewise.
32820 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32821 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32822 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32823 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32825 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32826 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32828 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32829 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32830 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32831 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32832 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32833 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32834 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32835 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32837 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32839 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32841 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32844 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32846 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32847 (__ieee754_ynl): Likewise.
32848 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32849 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32851 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32853 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32855 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32858 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32859 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32860 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32861 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32862 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32863 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32866 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32867 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32868 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32870 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32871 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32872 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32873 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32874 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32877 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32883 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32884 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32886 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32887 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32888 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32894 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32897 (__ieee754_remainderl): Likewise.
32898 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32899 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32900 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32901 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32906 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32907 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32908 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32909 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32910 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32911 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32914 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32915 (__ieee754_y0l): Likewise.
32918 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32919 (__ieee754_y1l): Likewise.
32922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32923 (__ieee754_ynl): Likewise.
32924 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32925 (__ieee754_lgammal_r): Likewise.
32926 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32928 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32929 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32930 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32931 (__erfcl): Likewise.
32932 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32933 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32935 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32936 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32937 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32938 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32939 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32940 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32941 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32943 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32944 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32945 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32946 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32947 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32949 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32950 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32952 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32953 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32954 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32955 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32956 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32958 2017-08-03 Florian Weimer <fweimer@redhat.com>
32961 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32962 on memory allocation failure.
32964 2017-08-03 Alan Modra <amodra@gmail.com>
32966 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32967 tst-tlsopt-powerpc.c with function name change and no test harness.
32968 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32969 Call tls_get_addr_opt_test.
32970 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32971 (modules-names): Add mod-tlsopt-powerpc.
32972 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32973 (tst-tlsopt-powerpc): Depend on .so.
32974 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32975 define. Expand use in TLS_GD and TLS_LD.
32977 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32979 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32981 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32983 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32986 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32987 comparing size with that of double.
32988 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32989 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32990 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32991 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32992 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32993 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32994 unsigned __int128 types.
32996 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32998 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32999 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33000 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33001 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33002 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33004 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33006 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33008 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33012 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33016 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33020 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33023 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33024 bit-field expressions passed to sizeof or typeof.
33025 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33026 (__TGMATH_F128): Likewise.
33027 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33028 (__TGMATH_CF128): Likewise.
33029 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33030 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33031 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33032 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33033 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33034 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33035 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33036 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33037 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33038 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33039 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33040 (__TGMATH_UNARY_IMAG): Likewise.
33041 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33042 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33043 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33045 (define_vars_for_type): Handle bit_field type specially.
33046 (Tests.__init__): Declare structure with bit-field element.
33048 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33051 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33052 (MEMCPY_CHK): Define only if SHARED is defined.
33053 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33058 See ChangeLog.18 for earlier changes.