1 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
8 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
10 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
14 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
15 length. Clear the upper 32 bits of RDX register.
16 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
23 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
25 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
29 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
30 length. Clear the upper 32 bits of RDX register.
31 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
35 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
36 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
38 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
42 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
43 upper 32 bits of RDX register.
44 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
45 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
47 * sysdeps/x86_64/x32/test-size_t.h: New file.
48 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
49 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
51 2019-01-18 Florian Weimer <fweimer@redhat.com>
54 resolv: Do not send queries for non-host-names in nss_dns.
55 * resolv/nss_dns/dns-host.c (check_name): New function.
56 (_nss_dns_gethostbyname2_r): Use it.
57 (_nss_dns_gethostbyname_r): Likewise.
58 (_nss_dns_gethostbyname4_r): Likewise.
60 2019-01-21 Florian Weimer <fweimer@redhat.com>
62 * resolv/inet_addr.c: Reformat to GNU style.
63 (__inet_addr, __inet_aton): Update comment.
65 2019-01-18 Florian Weimer <fweimer@redhat.com>
67 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
68 ("malloc: Use current (C11-style) atomics for fastbin access").
69 This commit introduces a substantial performance regression on
71 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
73 (_int_malloc): Use it and reindent.
74 (_int_free): Use CAS loop with
75 catomic_compare_and_exchange_val_rel.
76 (malloc_consolidate): Use atomic_exchange_acq.
79 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
81 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
83 (LDFLAGS-tst-minsigstksz-2): Likewise.
84 (LDFLAGS-tst-minsigstksz-3): Likewise.
85 (LDFLAGS-tst-minsigstksz-3a): Likewise.
86 (LDFLAGS-tst-minsigstksz-4): Likewise.
88 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
90 * manual/time.texi (strftime): Fix the wording to "alternative" rather
93 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
95 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
97 2019-01-16 Zack Weinberg <zackw@panix.com>
99 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
100 (xget_sigstack_location): New test support functions.
101 * support/xsigstack.c: New file, implementing them.
102 * support/tst-xsigstack.c: New test for them.
103 * support/Makefile: Update.
105 * signal/tst-minsigstksz-1.c
106 * signal/tst-minsigstksz-2.c
107 * signal/tst-minsigstksz-3.c
108 * signal/tst-minsigstksz-3a.c
109 * signal/tst-minsigstksz-4.c: New tests.
110 * signal/Makefile: Run them.
112 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
114 * po/libc.pot: Regenerate.
116 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
118 * math/libm-test-fma.inc (fma_test_data): Set
119 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
121 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
123 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
124 (do_test): Changed __vector __int128_t to __vector unsigned int.
126 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
129 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
130 stpcpy-avx2 and stpncpy-avx2.
131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
132 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
133 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
135 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
136 ifunc-strcpy.h}: rename header for a more generic name.
137 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
138 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
139 AVX unaligned load is fast and vzeroupper is preferred.
140 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
141 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
142 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
143 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
144 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
145 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
147 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
149 * argp/argp-help.c: Fix typo in comment.
150 * misc/sys/cdefs.h: Likewise.
151 * posix/regexec.c (sift_states_iter_mb): Likewise.
152 * socket/sockatmark.c: Likewise.
153 * socket/sys/socket.h: Likewise.
154 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
155 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
156 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
158 * sysdeps/unix/sockatmark.c: Likewise.
159 * time/strptime_l.c: Likewise.
161 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
163 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
164 missing space after the cast of "_NL_CURRENT".
166 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
168 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
169 ifdef to fix read of VSCR.
170 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
171 tst-ucontext-ppc64-vscr.c to test list.
172 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
174 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
176 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
179 2019-01-09 Jim Wilson <jimw@sifive.com>
181 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
183 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
185 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
186 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
187 __memcpy_falkor for ares.
188 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
190 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
193 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
196 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
197 4_FP_W_TYPEs are used for IEEE quad precision.
198 * soft-fp/extendhftf2.c: Likewise.
199 * soft-fp/extendsftf2.c: Likewise.
200 * soft-fp/extendxftf2.c: Likewise.
201 * soft-fp/trunctfdf2.c: Likewise.
202 * soft-fp/trunctfhf2.c: Likewise.
203 * soft-fp/trunctfsf2.c: Likewise.
204 * soft-fp/trunctfxf2.c: Likewise.
205 * sysdeps/alpha/ots_cvttx.c: Likewise.
206 * sysdeps/alpha/ots_cvtxt.c: Likewise.
207 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
208 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
209 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
210 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
211 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
212 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
213 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
214 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
215 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
216 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
217 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
218 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
219 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
220 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
221 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
222 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
224 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
227 * Makeconfig: Build libm with -fno-math-errno but build the remaining
228 code with -fmath-errno.
229 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
230 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
231 * string/test-strerror-errno.c: New file.
233 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
236 * localedata/locales/en_US (date_fmt): Add, set to
239 2019-01-07 Florian Weimer <fweimer@redhat.com>
242 * manual/arith.texi (Math Error Reporting): Use @code{errno}
243 instead of @var{errno}.
244 (Parsing of Integers): Likewise.
245 (Parsing of Floats): Likewise.
246 * manual/filesys.texi (Working with Directory Trees): Likewise.
247 (Temporary Files): Likewise.
248 * manual/job.texi (Terminal Access Functions): Likewise.
249 * manual/llio.texi (Synchronizing I/O): Likewise.
250 * manual/math.texi (SVID Random): Likewise.
251 * manual/message.texi (The catgets Functions): Likewise.
252 (Translation with gettext): Likewise.
253 (Locating gettext catalog): Likewise.
254 (Charset conversion in gettext): Likewise.
255 * manual/nss.texi (NSS Module Function Internals): Likewise.
256 * manual/search.texi (Hash Search Function): Likewise.
257 * manual/setjmp.texi (System V contexts): Likewise.
258 * manual/time.texi (Sleeping): Likewise.
259 * manual/users.texi (Lookup User): Likewise.
260 (Lookup Group): Likewise.
262 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
264 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
267 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
270 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
271 __builtin_unreachable for default case in switch.
272 (__ieee754_yn): Likewise.
273 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
274 (__ieee754_ynl): Likewise.
275 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
276 (__ieee754_ynl): Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
278 (__ieee754_ynl): Likewise.
280 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
282 * manual/maint.texi: Use @{ and @}.
284 2019-01-04 Florian Weimer <fweimer@redhat.com>
286 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
288 (do_in_chroot_1): Call it.
290 Improve error reporting in case it is not possible to create a
291 collision for the PTY name required by the test.
293 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
295 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
296 lll_wait_tid with timeout.
297 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
298 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
299 futex_reltimed_wait_cancelable for cancelabla mode.
300 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
301 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
303 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
304 * sysdeps/posix/waitid.c (__sigwait): Likewise.
305 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
306 SYSCALL_CANCEL_NCS): New macro.
307 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
308 (lll_timedwait_tid): Remove macro.
309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
311 (lll_timedwait_tid): Likewise.
312 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
314 (lll_timedwait_tid): Likewise.
315 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
317 (lll_timedwait_tid): Likewise.
318 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
319 Use INTERNAL_SYSCALL_CANCEL.
320 * sysdeps/unix/sysv/linux/futex-internal.h
321 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
322 instead of __pthread_{enable,disable}_asynccancel.
323 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
324 (lll_futex_wait_cancel): New macro.
326 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
327 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
329 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
330 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
332 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
333 in backtrace analysis.
334 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
338 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
339 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
340 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
341 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
342 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
343 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
344 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
345 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
346 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
347 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
348 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
349 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
351 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
352 tst-cancel-wrappers.sh.
353 (generated): Remove tst-cancel-wrappers.out.
354 (tst-cancel-wrappers.out): Remove rule.
355 * nptl/tst-cancel-wrappers.sh: Remove file.
357 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
359 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
360 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
363 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
366 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
367 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
368 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
369 close-on-exec reset for adddup2 file action.
370 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
372 2019-01-03 Zack Weinberg <zackw@panix.com>
374 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
375 parameter. Only use deprecated scanf when __USE_GNU is defined
376 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
377 than 201103L, whichever is relevant for the language being compiled.
379 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
380 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
381 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
382 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
383 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
392 * stdio-common/fscanf.c
393 * stdio-common/scanf.c
394 * stdio-common/vfscanf.c
395 * stdio-common/vfwscanf.c
396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
397 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
398 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
399 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
400 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
401 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
402 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
403 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
404 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
405 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
406 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
407 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
408 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
409 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
410 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
412 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
413 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
414 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
416 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
417 with a preprocessor macro.
419 * stdio-common/bug21.c, stdio-common/scanf14.c:
420 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
421 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
422 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
423 to xscanf, xfscanf, xsscanf.
425 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
426 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
427 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
428 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
430 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
431 override feature selection macros or provide definitions of u_char etc.
432 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
433 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
434 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
437 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
441 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
442 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
443 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
445 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
446 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
448 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
449 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
450 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
451 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
452 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
453 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
455 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
456 (sysdep_headers): Add termios-misc.h.
458 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
459 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
460 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
464 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
465 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
466 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
467 TCSAFLUSH): Move to termios-tcflow.h.
468 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
469 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
471 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
475 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
476 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
477 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
478 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
479 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
480 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
481 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
482 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
484 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
485 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
487 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
491 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
492 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
493 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
494 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
495 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
497 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
498 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
499 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
500 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
505 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
506 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
508 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
509 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
510 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
511 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
512 __MAX_BAUD): Move to termios-baud.h.
513 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
514 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
515 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
517 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
521 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
522 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
524 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
525 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
526 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
528 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
529 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
531 [USE_MISC] (XTABS): Likewise.
532 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
533 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
534 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
535 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
537 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
539 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
540 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
542 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
543 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
544 IUTF8): Move to termios-c_iflag.h.
545 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
546 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
548 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
550 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
552 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
553 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
554 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
555 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
556 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
557 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
558 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
559 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
560 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
561 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
562 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
563 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
565 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
566 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
567 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
568 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
571 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
573 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
575 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
577 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
579 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
581 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
582 _HAVE_C_OSPEED): Define.
583 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
584 _HAVE_C_OSPEED): Likewise.
585 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
586 _HAVE_C_OSPEED): Likewise.
587 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
588 (cfsetospeed): Check for define value instead of existence.
589 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
590 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
591 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
592 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
593 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
596 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
598 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
599 (TIOCSER_TEMT): Likewise.
600 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
601 (TEOCSER_TEMT): Likewise.
603 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
606 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
608 2019-01-02 Joseph Myers <joseph@codesourcery.com>
610 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
612 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
614 * sysdeps/htl/pt-barrierattr-setpshared.c
615 (pthread_barrierattr_setpshared): Add stub warning.
616 * sysdeps/htl/pt-condattr-setpshared.c
617 (pthread_condattr_setpshared): Likewise.
618 * sysdeps/htl/pt-mutexattr-setpshared.c
619 (pthread_mutexattr_setpshared): Likewise.
620 * sysdeps/htl/pt-rwlockattr-setpshared.c
621 (pthread_rwlockattr_setpshared): Likewise.
622 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
623 (pthread_mutexattr_setpshared): Likewise.
625 2019-01-02 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
628 constants to match with Linux 4.20.
630 * sysdeps/mips/mips32/libm-test-ulps: Update.
631 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
633 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
636 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
637 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
638 than __typeof (...) for the a_ptr variable.
640 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
642 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
643 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
644 * libio/Makefile (tests): Add tst-sprintf-ub and
646 (CFLAGS-tst-sprintf-ub.c): New variable.
647 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
648 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
649 destination buffer and check for overflows in fortified mode.
650 * libio/libioP.h (PRINTF_CHK): New macro.
651 * libio/tst-sprintf-chk-ub.c: New file.
652 * libio/tst-sprintf-ub.c: Likewise.
654 2019-01-02 Florian Weimer <fweimer@redhat.com>
657 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
660 2019-01-02 Florian Weimer <fweimer@redhat.com>
662 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
664 2019-01-01 Joseph Myers <joseph@codesourcery.com>
666 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
669 * sysdeps/unix/sysv/linux/netpacket/packet.h
670 (PACKET_IGNORE_OUTGOING): New macro.
672 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
675 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
677 (riscv_flush_icache): New syscall.
679 * manual/texinfo.tex: Update to version 2018-12-28.17 with
680 trailing whitespace removed.
681 * scripts/config.guess: Update to version 2019-01-01.
682 * scripts/config.sub: Update to version 2019-01-01.
683 * scripts/move-if-change: Update from gnulib.
685 * NEWS: Update copyright dates.
686 * catgets/gencat.c (print_version): Likewise.
687 * csu/version.c (banner): Likewise.
688 * debug/catchsegv.sh: Likewise.
689 * debug/pcprofiledump.c (print_version): Likewise.
690 * debug/xtrace.sh (do_version): Likewise.
691 * elf/ldconfig.c (print_version): Likewise.
692 * elf/ldd.bash.in: Likewise.
693 * elf/pldd.c (print_version): Likewise.
694 * elf/sotruss.sh: Likewise.
695 * elf/sprof.c (print_version): Likewise.
696 * iconv/iconv_prog.c (print_version): Likewise.
697 * iconv/iconvconfig.c (print_version): Likewise.
698 * locale/programs/locale.c (print_version): Likewise.
699 * locale/programs/localedef.c (print_version): Likewise.
700 * login/programs/pt_chown.c (print_version): Likewise.
701 * malloc/memusage.sh (do_version): Likewise.
702 * malloc/memusagestat.c (print_version): Likewise.
703 * malloc/mtrace.pl: Likewise.
704 * manual/libc.texinfo: Likewise.
705 * nptl/version.c (banner): Likewise.
706 * nscd/nscd.c (print_version): Likewise.
707 * nss/getent.c (print_version): Likewise.
708 * nss/makedb.c (print_version): Likewise.
709 * posix/getconf.c (main): Likewise.
710 * scripts/test-installation.pl: Likewise.
711 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
713 * All files with FSF copyright notices: Update copyright dates
714 using scripts/update-copyrights.
715 * locale/programs/charmap-kw.h: Regenerated.
716 * locale/programs/locfile-kw.h: Likewise.
718 2018-12-31 Joseph Myers <joseph@codesourcery.com>
720 * timezone/zdump.c: Update from tzcode 2018i.
721 * timezone/zic.c: Likewise.
723 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
725 regex: improve Gnulib port to AIX
726 From the glibc point of view, this removes duplicate macro
727 definitions and is obviously safe.
728 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
729 * posix/regex_internal.h:
730 (__attribute__, __attribute_warn_unused_result__):
731 Remove; already defined elsewhere.
733 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
736 * malloc/malloc.c (_int_realloc): Always call memcpy for the
737 copying operation. (ncopies had the wrong type, resulting in an
738 integer wraparound and too few elements being copied.)
740 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
743 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
744 <asm/syscalls.h> exists with __has_include__ before including it.
746 2018-12-31 Joseph Myers <joseph@codesourcery.com>
748 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
751 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
753 * hurd/lookup-retry: Include <unistd.h>.
754 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
755 Release it on return. Handle "pid" magical lookup retry.
757 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
760 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
761 (t_fmt_ampm): Likewise.
762 * localedata/locales/aa_ER (t_fmt): Likewise.
763 (t_fmt_ampm): Likewise.
764 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
765 (t_fmt_ampm): Likewise.
766 * localedata/locales/aa_ET (t_fmt): Likewise.
767 (t_fmt_ampm): Likewise.
768 * localedata/locales/am_ET (t_fmt): Likewise.
769 (t_fmt_ampm): Likewise.
770 * localedata/locales/byn_ER (t_fmt): Likewise.
771 (t_fmt_ampm): Likewise.
772 * localedata/locales/om_ET (t_fmt): Likewise.
773 (t_fmt_ampm): Likewise.
774 * localedata/locales/sid_ET (t_fmt): Likewise.
775 (t_fmt_ampm): Likewise.
776 * localedata/locales/so_DJ (t_fmt): Likewise.
777 (t_fmt_ampm): Likewise.
778 * localedata/locales/so_ET (t_fmt): Likewise.
779 (t_fmt_ampm): Likewise.
780 * localedata/locales/so_SO (t_fmt): Likewise.
781 (t_fmt_ampm): Likewise.
782 * localedata/locales/ti_ER (t_fmt): Likewise.
783 (t_fmt_ampm): Likewise.
784 * localedata/locales/ti_ET (t_fmt): Likewise.
785 (t_fmt_ampm): Likewise.
786 * localedata/locales/tig_ER (t_fmt): Likewise.
787 (t_fmt_ampm): Likewise.
788 * localedata/locales/wal_ET (t_fmt): Likewise.
789 (t_fmt_ampm): Likewise.
791 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
792 * localedata/locales/ar_IN (t_fmt): Likewise.
793 * localedata/locales/bhb_IN (t_fmt): Likewise.
794 * localedata/locales/bho_IN (t_fmt): Likewise.
795 * localedata/locales/bi_VU (t_fmt): Likewise.
796 * localedata/locales/bn_BD (t_fmt): Likewise.
797 * localedata/locales/bn_IN (t_fmt): Likewise.
798 * localedata/locales/brx_IN (t_fmt): Likewise.
799 * localedata/locales/doi_IN (t_fmt): Likewise.
800 * localedata/locales/en_HK (t_fmt): Likewise.
801 (t_fmt_ampm): Likewise.
802 * localedata/locales/en_IN (t_fmt): Likewise.
803 * localedata/locales/en_PH (t_fmt): Likewise.
804 * localedata/locales/gu_IN (t_fmt): Likewise.
805 * localedata/locales/hi_IN (t_fmt): Likewise.
806 * localedata/locales/hif_FJ (t_fmt): Likewise.
807 * localedata/locales/hne_IN (t_fmt): Likewise.
808 * localedata/locales/kn_IN (t_fmt): Likewise.
809 * localedata/locales/kok_IN (t_fmt): Likewise.
810 * localedata/locales/ks_IN (t_fmt): Likewise.
811 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
812 * localedata/locales/mag_IN (t_fmt): Likewise.
813 * localedata/locales/mai_IN (t_fmt): Likewise.
814 * localedata/locales/mjw_IN (t_fmt): Likewise.
815 * localedata/locales/ml_IN (t_fmt): Likewise.
816 * localedata/locales/mni_IN (t_fmt): Likewise.
817 * localedata/locales/mr_IN (t_fmt): Likewise.
818 * localedata/locales/ms_MY (t_fmt): Likewise.
819 * localedata/locales/pa_IN (t_fmt): Likewise.
820 * localedata/locales/raj_IN (t_fmt): Likewise.
821 * localedata/locales/sa_IN (t_fmt): Likewise.
822 * localedata/locales/sat_IN (t_fmt): Likewise.
823 * localedata/locales/sd_IN (t_fmt): Likewise.
824 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
825 * localedata/locales/tcy_IN (t_fmt): Likewise.
826 * localedata/locales/the_NP (t_fmt): Likewise.
827 * localedata/locales/to_TO (t_fmt): Likewise.
828 * localedata/locales/ur_IN (t_fmt): Likewise.
830 * localedata/locales/hif_FJ (d_t_fmt): Set to
831 "%A %d %b %Y %I:%M:%S %p".
832 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
834 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
835 * localedata/locales/ar_BH (t_fmt): Likewise.
836 * localedata/locales/ar_DZ (t_fmt): Likewise.
837 * localedata/locales/ar_EG (t_fmt): Likewise.
838 * localedata/locales/ar_IQ (t_fmt): Likewise.
839 * localedata/locales/ar_JO (t_fmt): Likewise.
840 * localedata/locales/ar_KW (t_fmt): Likewise.
841 * localedata/locales/ar_LB (t_fmt): Likewise.
842 * localedata/locales/ar_LY (t_fmt): Likewise.
843 * localedata/locales/ar_OM (t_fmt): Likewise.
844 * localedata/locales/ar_QA (t_fmt): Likewise.
845 * localedata/locales/ar_SD (t_fmt): Likewise.
846 * localedata/locales/ar_SS (t_fmt): Likewise.
847 * localedata/locales/ar_SY (t_fmt): Likewise.
848 * localedata/locales/ar_TN (t_fmt): Likewise.
849 * localedata/locales/ar_YE (t_fmt): Likewise.
851 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
852 (t_fmt_ampm): Likewise.
853 * localedata/locales/gez_ET (t_fmt): Likewise.
854 (t_fmt_ampm): Likewise.
856 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
857 (t_fmt_ampm): Likewise.
858 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
860 * localedata/locales/zh_HK (t_fmt):
861 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
863 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
864 because this locale does not use the 12-hour clock.
865 (t_fmt): Set to "%Z %H:%M:%S".
866 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
868 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
869 because this locale does not use the 12-hour clock.
870 (t_fmt): Set to "%H:%M:%S %Z".
871 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
873 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
874 because this locale does not use the 12-hour clock.
875 (t_fmt): Set to "%T".
876 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
877 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
879 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
880 because this locale does not use the 12-hour clock.
881 (t_fmt): Set to "%H:%M:%S %Z".
882 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
884 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
885 because this locale does not use the 12-hour clock.
886 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
887 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
889 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
893 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
894 (t_fmt_ampm): Likewise.
895 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
896 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
897 (d_fmt): Set to "%-d.%-m.%y".
899 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
901 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
902 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
903 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
905 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
906 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
907 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
909 * support/blob_repeat.c (check_mul_overflow_size_t,
910 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
912 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
914 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
916 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
918 regex: simplify Gnulib port
919 This simplifies the code, by removing stuff intended for porting
920 to Gnulib but no longer needed there.
921 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
922 uses of libc_hidden_def, weak_alias.
923 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
924 _Restrict_ except for public-facing headers.
925 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
926 Remove; already defined elsewhere.
927 * posix/regex.c, posix/regex_internal.h:
928 Use __GNUC_PREREQ instead of rolling our own.
929 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
931 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
933 * benchtests/bench-strlen.c (generic_strlen): New function.
934 (memchr_strlen): New function.
936 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
938 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
939 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
940 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
942 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
946 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
948 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
949 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
950 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
951 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
952 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
953 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
954 <sysdeps/ieee754/flt-32/s_sincosf.c>.
956 2018-12-21 Joseph Myers <joseph@codesourcery.com>
959 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
960 PLT reference in libc.so.
961 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
962 _Q_lltoq and _Q_qtod PLT references in libc.so.
964 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
966 * benchtests/bench-memchr.c: Cleanup defines.
967 * benchtests/bench-memcmp.c: Likewise.
968 * benchtests/bench-memset.c: Likewise.
969 * benchtests/bench-memset-large.c: Likewise.
970 * benchtests/bench-memset-walk.c: Likewise.
971 * benchtests/bench-stpcpy.c: Likewise.
972 * benchtests/bench-stpncpy.c: Likewise.
973 * benchtests/bench-strcat.c: Likewise.
974 * benchtests/bench-strchr.c: Likewise.
975 * benchtests/bench-strcmp.c: Likewise.
976 * benchtests/bench-strcpy.c: Likewise.
977 * benchtests/bench-strcspn.c: Likewise.
978 * benchtests/bench-string.h: Likewise.
979 * benchtests/bench-strlen.c: Likewise.
980 * benchtests/bench-strncat.c: Likewise.
981 * benchtests/bench-strncmp.c: Likewise.
982 * benchtests/bench-strncpy.c: Likewise.
983 * benchtests/bench-strnlen.c: Likewise.
984 * benchtests/bench-strpbrk.c: Likewise.
985 * benchtests/bench-strrchr.c: Likewise.
986 * benchtests/bench-strspn.c: Likewise.
988 2018-12-21 Joseph Myers <joseph@codesourcery.com>
990 * stdlib/longlong.h: Update from GCC.
993 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
994 * configure: Regenerated.
995 * manual/install.texi (Tools for Compilation): Update minimum GCC
997 * INSTALL: Regenerated.
999 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1001 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1003 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1005 * malloc/malloc.c (mremap_chunk): Additional checks.
1007 2018-12-21 Mao Han <han_mao@c-sky.com>
1009 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1010 * scripts/build-many-glibcs.py: Add C-SKY targets.
1011 * sysdeps/csky/Implies: New file.
1012 * sysdeps/csky/Makefile: Likewise.
1013 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1014 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1015 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1016 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1017 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1018 * sysdeps/csky/abiv2/memmove.S: Likewise.
1019 * sysdeps/csky/abiv2/memset.S: Likewise.
1020 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1021 * sysdeps/csky/abiv2/start.S: Likewise.
1022 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1023 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1024 * sysdeps/csky/abiv2/strlen.S: Likewise.
1025 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1026 * sysdeps/csky/abort-instr.h: Likewise.
1027 * sysdeps/csky/atomic-machine.h: Likewise.
1028 * sysdeps/csky/bits/endian.h: Likewise.
1029 * sysdeps/csky/bits/fenv.h: Likewise.
1030 * sysdeps/csky/bits/link.h: Likewise.
1031 * sysdeps/csky/bits/setjmp.h: Likewise.
1032 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1033 * sysdeps/csky/bsd-setjmp.S: Likewise.
1034 * sysdeps/csky/configure: Likewise.
1035 * sysdeps/csky/configure.ac: Likewise.
1036 * sysdeps/csky/dl-machine.h: Likewise.
1037 * sysdeps/csky/dl-procinfo.c: Likewise.
1038 * sysdeps/csky/dl-procinfo.h: Likewise.
1039 * sysdeps/csky/dl-sysdep.h: Likewise.
1040 * sysdeps/csky/dl-tls.h: Likewise.
1041 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1042 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1043 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1044 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1045 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1046 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1047 * sysdeps/csky/fpu/fegetround.c: Likewise.
1048 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1049 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1050 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1051 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1052 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1053 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1054 * sysdeps/csky/fpu/fesetround.c: Likewise.
1055 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1056 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1057 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1058 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1059 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1060 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1061 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1062 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1063 * sysdeps/csky/fpu_control.h: Likewise.
1064 * sysdeps/csky/gccframe.h: Likewise.
1065 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1066 * sysdeps/csky/ldsodefs.h: Likewise.
1067 * sysdeps/csky/libc-tls.c: Likewise.
1068 * sysdeps/csky/linkmap.h: Likewise.
1069 * sysdeps/csky/machine-gmon.h: Likewise.
1070 * sysdeps/csky/memusage.h: Likewise.
1071 * sysdeps/csky/nofpu/Implies: Likewise.
1072 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1073 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1074 * sysdeps/csky/nptl/Makefile: Likewise.
1075 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1076 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1077 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1078 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1079 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1080 * sysdeps/csky/nptl/tls.h: Likewise.
1081 * sysdeps/csky/preconfigure: Likewise.
1082 * sysdeps/csky/sfp-machine.h: Likewise.
1083 * sysdeps/csky/sotruss-lib.c: Likewise.
1084 * sysdeps/csky/stackinfo.h: Likewise.
1085 * sysdeps/csky/sysdep.h: Likewise.
1086 * sysdeps/csky/tininess.h: Likewise.
1087 * sysdeps/csky/tst-audit.h: Likewise.
1088 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1089 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1090 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1091 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1092 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1093 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1094 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1095 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1096 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1097 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1098 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1099 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1100 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1101 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1102 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1103 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1104 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1105 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1106 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1107 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1108 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1109 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1110 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1111 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1112 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1113 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1114 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1115 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1116 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1117 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1118 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1119 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1120 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1121 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1122 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1123 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1124 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1125 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1126 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1127 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1128 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1129 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1130 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1131 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1133 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1135 * include/time.h (__difftime64): Add.
1136 * time/difftime.c (subtract): convert to 64-bit time.
1137 * time/difftime.c (__difftime64): Add.
1138 * time/difftime.c (__difftime): Wrap around __difftime64.
1140 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1142 * manual/examples/add.c: Remove redundant "if not".
1143 * manual/examples/argp-ex1.c: Likewise.
1144 * manual/examples/argp-ex2.c: Likewise.
1145 * manual/examples/argp-ex3.c: Likewise.
1146 * manual/examples/argp-ex4.c: Likewise.
1147 * manual/examples/atexit.c: Likewise.
1148 * manual/examples/db.c: Likewise.
1149 * manual/examples/dir.c: Likewise.
1150 * manual/examples/dir2.c: Likewise.
1151 * manual/examples/execinfo.c: Likewise.
1152 * manual/examples/filecli.c: Likewise.
1153 * manual/examples/filesrv.c: Likewise.
1154 * manual/examples/fmtmsgexpl.c: Likewise.
1155 * manual/examples/genpass.c: Likewise.
1156 * manual/examples/inetcli.c: Likewise.
1157 * manual/examples/inetsrv.c: Likewise.
1158 * manual/examples/isockad.c: Likewise.
1159 * manual/examples/longopt.c: Likewise.
1160 * manual/examples/memopen.c: Likewise.
1161 * manual/examples/memstrm.c: Likewise.
1162 * manual/examples/mkdirent.c: Likewise.
1163 * manual/examples/mkfsock.c: Likewise.
1164 * manual/examples/mkisock.c: Likewise.
1165 * manual/examples/mygetpass.c: Likewise.
1166 * manual/examples/pipe.c: Likewise.
1167 * manual/examples/popen.c: Likewise.
1168 * manual/examples/rprintf.c: Likewise.
1169 * manual/examples/search.c: Likewise.
1170 * manual/examples/select.c: Likewise.
1171 * manual/examples/setjmp.c: Likewise.
1172 * manual/examples/sigh1.c: Likewise.
1173 * manual/examples/sigusr.c: Likewise.
1174 * manual/examples/stpcpy.c: Likewise.
1175 * manual/examples/strdupa.c: Likewise.
1176 * manual/examples/strftim.c: Likewise.
1177 * manual/examples/subopt.c: Likewise.
1178 * manual/examples/swapcontext.c: Likewise.
1179 * manual/examples/termios.c: Likewise.
1180 * manual/examples/testopt.c: Likewise.
1181 * manual/examples/testpass.c: Likewise.
1182 * manual/examples/timeval_subtract.c: Likewise.
1184 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1186 * sysdeps/x86/fpu/math_private.h: New file.
1187 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1189 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1194 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1196 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1197 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1198 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1199 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1201 (_dl_show_auxv): Give a special treatment to
1202 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1203 and AT_L3_CACHEGEOMETRY.
1204 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1205 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1206 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1207 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1209 2018-12-19 Andreas Schwab <schwab@suse.de>
1211 * nscd/connections.c (check_use): Don't abort on invalid len.
1213 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1215 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1216 values in the 64bit value cases.
1218 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1224 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1230 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1233 (__gmtime64_r): Add.
1235 (__gmtime64_r): Add.
1236 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1242 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1245 (__localtime64_r): Add.
1247 (__localtime64_r): Add.
1248 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1250 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1252 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1253 kernel_sigction definition.
1255 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1257 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1259 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1260 __syscall_rt_sigaction.
1261 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1262 (kernel_sigaction): Use Linux generic defintion.
1264 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1265 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1266 (__syscall_rt_sigaction): Remove implementation.
1267 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1269 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1270 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1271 INTERNAL_SYSCALL): Remove definitions.
1272 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1273 action and signal set size.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1275 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1277 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1278 James Clarke <jrtc27@jrtc27.com>
1281 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1282 Define if SA_RESTORER is defined.
1283 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1284 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1286 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1287 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1289 (HAS_SA_RESTORER): Define.
1290 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1291 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1292 (HAS_SA_RESTORER): Define.
1293 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1294 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1295 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1297 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1299 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/unix/sysv/linux/kernel-features.h
1302 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1303 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1304 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1305 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1306 (__ASSUME_ST_INO_64_BIT): Likewise.
1307 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1308 <kernel-features.h>.
1309 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1310 Remove conditional code.
1311 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1312 <kernel-features.h>.
1313 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1314 Remove conditional code.
1315 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1316 <kernel-features.h>.
1317 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1318 Remove conditional code.
1319 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1320 <kernel-features.h>.
1321 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1322 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1324 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1326 * sysdeps/s390/multiarch/ifunc-resolve.h
1327 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1328 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1329 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1330 Delete macro definition.
1331 (s390_libc_ifunc_init): Rename to
1332 s390_libc_ifunc_expr_stfle_init.
1333 * sysdeps/s390/bzero: Use
1334 s390_libc_ifunc_expr_stfle_init instead of
1335 s390_libc_ifunc_init.
1336 * sysdeps/s390/memcmp.c: Likewise.
1337 * sysdeps/s390/memcpy.c: Likewise.
1338 * sysdeps/s390/mempcpy.c: Likewise.
1339 * sysdeps/s390/memset.c: Likewise.
1341 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1343 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1344 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1348 * sysdeps/s390/multiarch/Makefile
1349 (sysdep_routines): Remove wmemcmp variants.
1350 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1351 * sysdeps/s390/multiarch/ifunc-impl-list.c
1352 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1353 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1354 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1355 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1356 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1357 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1358 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1359 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1363 * sysdeps/s390/multiarch/Makefile
1364 (sysdep_routines): Remove wmemset variants.
1365 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1366 * sysdeps/s390/multiarch/ifunc-impl-list.c
1367 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1368 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1369 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1370 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1371 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1372 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1373 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1374 * sysdeps/s390/ifunc-wmemset.h: New file.
1376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1378 * sysdeps/s390/multiarch/Makefile
1379 (sysdep_routines): Remove wmemchr variants.
1380 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1381 * sysdeps/s390/multiarch/ifunc-impl-list.c
1382 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1383 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1384 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1385 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1386 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1387 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1388 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1389 * sysdeps/s390/ifunc-wmemchr.h: New file.
1391 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1393 * sysdeps/s390/multiarch/Makefile
1394 (sysdep_routines): Remove wcscspn variants.
1395 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1396 * sysdeps/s390/multiarch/ifunc-impl-list.c
1397 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1398 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1399 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1400 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1401 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1402 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1403 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1404 * sysdeps/s390/ifunc-wcscspn.h: New file.
1406 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1408 * sysdeps/s390/multiarch/Makefile
1409 (sysdep_routines): Remove wcspbrk variants.
1410 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1411 * sysdeps/s390/multiarch/ifunc-impl-list.c
1412 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1413 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1414 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1415 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1416 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1417 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1418 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1419 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1423 * sysdeps/s390/multiarch/Makefile
1424 (sysdep_routines): Remove wcsspn variants.
1425 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1426 * sysdeps/s390/multiarch/ifunc-impl-list.c
1427 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1428 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1429 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1430 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1431 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1432 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1433 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1434 * sysdeps/s390/ifunc-wcsspn.h: New file.
1436 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1438 * sysdeps/s390/multiarch/Makefile
1439 (sysdep_routines): Remove wcsrchr variants.
1440 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1441 * sysdeps/s390/multiarch/ifunc-impl-list.c
1442 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1443 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1444 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1445 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1446 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1447 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1448 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1449 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1453 * sysdeps/s390/multiarch/Makefile
1454 (sysdep_routines): Remove wcschrnul variants.
1455 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1456 * sysdeps/s390/multiarch/ifunc-impl-list.c
1457 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1458 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1459 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1460 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1461 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1462 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1463 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1464 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1466 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1468 * sysdeps/s390/multiarch/Makefile
1469 (sysdep_routines): Remove wcschr variants.
1470 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1471 * sysdeps/s390/multiarch/ifunc-impl-list.c
1472 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1473 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1474 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1475 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1476 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1477 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1478 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1479 * sysdeps/s390/ifunc-wcschr.h: New file.
1481 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1483 * sysdeps/s390/multiarch/Makefile
1484 (sysdep_routines): Remove wcsncmp variants.
1485 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1486 * sysdeps/s390/multiarch/ifunc-impl-list.c
1487 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1488 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1489 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1490 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1491 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1492 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1493 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1494 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1498 * sysdeps/s390/multiarch/Makefile
1499 (sysdep_routines): Remove wcscmp variants.
1500 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1501 * sysdeps/s390/multiarch/ifunc-impl-list.c
1502 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1503 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1504 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1505 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1506 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1507 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1508 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1509 * sysdeps/s390/ifunc-wcscmp.h: New file.
1511 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1513 * sysdeps/s390/multiarch/Makefile
1514 (sysdep_routines): Remove wcsncat variants.
1515 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1516 * sysdeps/s390/multiarch/ifunc-impl-list.c
1517 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1518 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1519 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1520 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1521 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1522 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1523 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1524 * sysdeps/s390/ifunc-wcsncat.h: New file.
1526 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1528 * sysdeps/s390/multiarch/Makefile
1529 (sysdep_routines): Remove wcscat variants.
1530 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1531 * sysdeps/s390/multiarch/ifunc-impl-list.c
1532 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1533 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1534 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1535 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1536 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1537 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1538 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1539 * sysdeps/s390/ifunc-wcscat.h: New file.
1541 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1543 * sysdeps/s390/multiarch/Makefile
1544 (sysdep_routines): Remove wcpncpy variants.
1545 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1546 * sysdeps/s390/multiarch/ifunc-impl-list.c
1547 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1548 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1549 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1550 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1551 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1552 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1553 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1554 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1556 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1558 * sysdeps/s390/multiarch/Makefile
1559 (sysdep_routines): Remove wcsncpy variants.
1560 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1561 * sysdeps/s390/multiarch/ifunc-impl-list.c
1562 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1563 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1564 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1565 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1566 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1567 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1568 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1569 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1571 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1573 * sysdeps/s390/multiarch/Makefile
1574 (sysdep_routines): Remove wcpcpy variants.
1575 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1576 * sysdeps/s390/multiarch/ifunc-impl-list.c
1577 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1578 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1579 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1580 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1581 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1582 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1583 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1584 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1586 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1588 * sysdeps/s390/multiarch/Makefile
1589 (sysdep_routines): Remove wcscpy variants.
1590 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1591 * sysdeps/s390/multiarch/ifunc-impl-list.c
1592 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1593 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1594 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1595 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1596 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1597 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1598 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1599 * sysdeps/s390/ifunc-wcscpy.h: New file.
1601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1603 * sysdeps/s390/multiarch/Makefile
1604 (sysdep_routines): Remove wcsnlen variants.
1605 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1606 * sysdeps/s390/multiarch/ifunc-impl-list.c
1607 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1608 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1609 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1610 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1611 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1612 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1613 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1614 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1616 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1618 * sysdeps/s390/multiarch/Makefile
1619 (sysdep_routines): Remove wcslen variants.
1620 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1621 * sysdeps/s390/multiarch/ifunc-impl-list.c
1622 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1623 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1624 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1625 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1626 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1627 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1628 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1629 * sysdeps/s390/ifunc-wcslen.h: New file.
1631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1633 * sysdeps/s390/multiarch/Makefile
1634 (sysdep_routines): Remove memrchr variants.
1635 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1636 * sysdeps/s390/multiarch/ifunc-impl-list.c
1637 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1638 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1639 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1640 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1641 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1642 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1643 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1644 * sysdeps/s390/ifunc-memrchr.h: New file.
1646 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1648 * sysdeps/s390/multiarch/Makefile
1649 (sysdep_routines): Remove memccpy variants.
1650 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1651 * sysdeps/s390/multiarch/ifunc-impl-list.c
1652 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1653 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1654 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1655 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1656 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1657 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1658 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1659 * sysdeps/s390/ifunc-memccpy.h: New file.
1661 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1663 * sysdeps/s390/multiarch/Makefile
1664 (sysdep_routines): Remove rawmemchr variants.
1665 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1666 * sysdeps/s390/multiarch/ifunc-impl-list.c
1667 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1668 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1669 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1670 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1671 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1672 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1673 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1674 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1678 * sysdeps/s390/multiarch/Makefile
1679 (sysdep_routines): Remove memchr variants.
1680 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1681 * sysdeps/s390/multiarch/ifunc-impl-list.c
1682 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1683 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1684 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1685 * sysdeps/s390/multiarch/memchr.c: Move to ...
1686 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1687 * sysdeps/s390/ifunc-memchr.h: New file.
1688 * sysdeps/s390/s390-64/memchr.S: Move to ...
1689 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1690 for 31/64bit and ifunc handling.
1691 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1692 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1693 * sysdeps/s390/s390-32/memchr.S: Likewise.
1695 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1697 * sysdeps/s390/multiarch/Makefile
1698 (sysdep_routines): Remove strcspn variants.
1699 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1700 * sysdeps/s390/multiarch/ifunc-impl-list.c
1701 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1702 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1703 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1704 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1705 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1706 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1707 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1708 * sysdeps/s390/ifunc-strcspn.h: New file.
1710 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1712 * sysdeps/s390/multiarch/Makefile
1713 (sysdep_routines): Remove strpbrk variants.
1714 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1715 * sysdeps/s390/multiarch/ifunc-impl-list.c
1716 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1717 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1718 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1719 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1720 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1721 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1722 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1723 * sysdeps/s390/ifunc-strpbrk.h: New file.
1725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1727 * sysdeps/s390/multiarch/Makefile
1728 (sysdep_routines): Remove strspn variants.
1729 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1730 * sysdeps/s390/multiarch/ifunc-impl-list.c
1731 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1732 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1733 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1734 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1735 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1736 * sysdeps/s390/multiarch/strspn.c: Move to ...
1737 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1738 * sysdeps/s390/ifunc-strspn.h: New file.
1740 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1742 * sysdeps/s390/multiarch/Makefile
1743 (sysdep_routines): Remove strrchr variants.
1744 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1745 * sysdeps/s390/multiarch/ifunc-impl-list.c
1746 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1747 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1748 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1749 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1750 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1751 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1752 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1753 * sysdeps/s390/ifunc-strrchr.h: New file.
1755 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1757 * sysdeps/s390/multiarch/Makefile
1758 (sysdep_routines): Remove strchrnul variants.
1759 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1760 * sysdeps/s390/multiarch/ifunc-impl-list.c
1761 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1762 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1763 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1764 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1765 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1766 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1767 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1768 * sysdeps/s390/ifunc-strchrnul.h: New file.
1770 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1772 * sysdeps/s390/multiarch/Makefile
1773 (sysdep_routines): Remove strchr variants.
1774 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1775 * sysdeps/s390/multiarch/ifunc-impl-list.c
1776 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1777 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1778 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1779 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1780 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1781 * sysdeps/s390/multiarch/strchr.c: Move to ...
1782 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1783 * sysdeps/s390/ifunc-strchr.h: New file.
1785 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1787 * sysdeps/s390/multiarch/Makefile
1788 (sysdep_routines): Remove strncmp variants.
1789 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1790 * sysdeps/s390/multiarch/ifunc-impl-list.c
1791 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1792 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1793 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1794 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1795 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1796 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1797 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1798 * sysdeps/s390/ifunc-strncmp.h: New file.
1800 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1802 * sysdeps/s390/multiarch/Makefile
1803 (sysdep_routines): Remove strcmp variants.
1804 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1805 * sysdeps/s390/multiarch/ifunc-impl-list.c
1806 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1807 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1808 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1809 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1810 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1811 * sysdeps/s390/ifunc-strcmp.h: New file.
1812 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1813 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1814 for 31/64bit and ifunc handling.
1815 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1816 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1817 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1821 * sysdeps/s390/multiarch/Makefile
1822 (sysdep_routines): Remove strncat variants.
1823 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1824 * sysdeps/s390/multiarch/ifunc-impl-list.c
1825 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1826 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1827 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1828 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1829 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1830 * sysdeps/s390/multiarch/strncat.c: Move to ...
1831 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1832 * sysdeps/s390/ifunc-strncat.h: New file.
1834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1836 * sysdeps/s390/multiarch/Makefile
1837 (sysdep_routines): Remove strcat variants.
1838 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1839 * sysdeps/s390/multiarch/ifunc-impl-list.c
1840 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1841 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1842 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1843 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1844 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1845 * sysdeps/s390/multiarch/strcat.c: Move to ...
1846 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1847 * sysdeps/s390/ifunc-strcat.h: New file.
1849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1851 * sysdeps/s390/multiarch/Makefile
1852 (sysdep_routines): Remove stpncpy variants.
1853 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1854 * sysdeps/s390/multiarch/ifunc-impl-list.c
1855 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1856 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1857 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1858 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1859 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1860 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1861 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1862 * sysdeps/s390/ifunc-stpncpy.h: New file.
1864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1866 * sysdeps/s390/multiarch/Makefile
1867 (sysdep_routines): Remove strncpy variants.
1868 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1869 * sysdeps/s390/multiarch/ifunc-impl-list.c
1870 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1871 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1872 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1873 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1874 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1875 * sysdeps/s390/ifunc-strncpy.h: New file.
1876 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1877 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1878 and adjust ifunc handling.
1879 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1880 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1881 and adjust ifunc handling.
1882 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1883 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1887 * sysdeps/s390/multiarch/Makefile
1888 (sysdep_routines): Remove stpcpy variants.
1889 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1890 * sysdeps/s390/multiarch/ifunc-impl-list.c
1891 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1892 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1893 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1894 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1895 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1896 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1897 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1898 * sysdeps/s390/ifunc-stpcpy.h: New file.
1900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1902 * sysdeps/s390/multiarch/Makefile
1903 (sysdep_routines): Remove strcpy variants.
1904 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1905 * sysdeps/s390/multiarch/ifunc-impl-list.c
1906 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1907 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1908 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1909 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1910 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1911 * sysdeps/s390/ifunc-strcpy.h: New file.
1912 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1913 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1914 for 31/64bit and ifunc handling.
1915 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1916 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1917 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1919 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1921 * sysdeps/s390/multiarch/Makefile
1922 (sysdep_routines): Remove strnlen variants.
1923 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1924 * sysdeps/s390/multiarch/ifunc-impl-list.c
1925 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1926 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1927 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1928 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1929 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1930 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1931 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1932 * sysdeps/s390/ifunc-strnlen.h: New file.
1934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1936 * sysdeps/s390/multiarch/Makefile
1937 (sysdep_routines): Remove strlen variants.
1938 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1939 * sysdeps/s390/multiarch/ifunc-impl-list.c
1940 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1941 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1942 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1943 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1944 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1945 * sysdeps/s390/multiarch/strlen.c: Move to ...
1946 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1947 * sysdeps/s390/ifunc-strlen.h: New file.
1949 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1951 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1952 * sysdeps/s390/multiarch/ifunc-impl-list.c
1953 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1954 * sysdeps/s390/ifunc-memmem.h: New file.
1955 * sysdeps/s390/memmem.c: Likewise.
1956 * sysdeps/s390/memmem-c.c: Likewise.
1957 * sysdeps/s390/memmem-vx.c: Likewise.
1959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1961 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1962 * sysdeps/s390/multiarch/ifunc-impl-list.c
1963 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1964 * sysdeps/s390/ifunc-strstr.h: New file.
1965 * sysdeps/s390/strstr.c: Likewise.
1966 * sysdeps/s390/strstr-c.c: Likewise.
1967 * sysdeps/s390/strstr-vx.c: Likewise.
1969 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1971 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1972 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1973 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1974 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1976 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1977 * sysdeps/s390/memmove-c.c: New file.
1978 * sysdeps/s390/memmove.c: Likewise.
1979 * sysdeps/s390/multiarch/ifunc-impl-list.c
1980 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1982 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1984 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1985 * sysdeps/s390/configure.ac: Add check for z13 support.
1986 * sysdeps/s390/configure: Regenerated.
1988 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1990 * sysdeps/s390/memcopy.h: New file.
1992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1994 * sysdeps/s390/s390-32/bcopy.S: Remove.
1995 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1999 * sysdeps/s390/ifunc-memcpy.h: New File.
2000 * sysdeps/s390/memcpy.S: Move to ...
2001 * sysdeps/s390/memcpy-z900.S ... here.
2002 Move implementations from memcpy-s390x.s to here.
2003 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2004 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2005 Remove memcpy/mempcpy variants.
2006 * sysdeps/s390/Makefile (sysdep_routines):
2007 Add memcpy/mempcpy variants.
2008 * sysdeps/s390/multiarch/ifunc-impl-list.c
2009 (__libc_ifunc_impl_list): Adjust ifunc variants for
2011 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2013 * sysdeps/s390/memcpy.c: ... here.
2014 Adjust ifunc variants for memcpy.
2015 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2016 * sysdeps/s390/mempcpy.c: ... here.
2017 Adjust ifunc variants for mempcpy.
2018 * sysdeps/s390/mempcpy.S: Delete file.
2020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2022 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2023 * sysdeps/s390/memcpy.S: ... here.
2024 Adjust to be usable for 31/64bit.
2025 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2026 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2027 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2028 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2029 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2030 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2031 Adjust to be usable for 31/64bit.
2032 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2033 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2034 * sysdeps/s390/multiarch/memcpy.c: ... here.
2035 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2039 * sysdeps/s390/ifunc-memcmp.h: New File.
2040 * sysdeps/s390/memcmp.S: Move to ...
2041 * sysdeps/s390/memcmp-z900.S ... here.
2042 Move implementations from memcmp-s390x.s to here.
2043 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2044 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2045 Remove memcmp variants.
2046 * sysdeps/s390/Makefile (sysdep_routines):
2047 Add memcmp variants.
2048 * sysdeps/s390/multiarch/ifunc-impl-list.c
2049 (__libc_ifunc_impl_list): Adjust ifunc variants for
2051 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2053 * sysdeps/s390/memcmp.c: ... here.
2054 Adjust ifunc variants for memcmp.
2056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2058 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2059 * sysdeps/s390/memcmp.S: ... here.
2060 Adjust to be usable for 31/64bit.
2061 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2062 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2063 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2065 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2066 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2067 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2068 Adjust to be usable for 31/64bit.
2069 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2070 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2071 * sysdeps/s390/multiarch/memcmp.c: ... here.
2072 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2076 * sysdeps/s390/s390-32/bzero.S: Delete file.
2077 * sysdeps/s390/s390-64/bzero.S: Likewise.
2078 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2079 * sysdeps/s390/bzero.c: New file.
2080 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2081 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2082 * sysdeps/s390/multiarch/ifunc-impl-list.c
2083 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2085 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2087 * sysdeps/s390/ifunc-memset.h: New File.
2088 * sysdeps/s390/memset.S: Move to ...
2089 * sysdeps/s390/memset-z900.S ... here.
2090 Move implementations from memset-s390x.s to here.
2091 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2092 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2093 Remove memset variants.
2094 * sysdeps/s390/Makefile (sysdep_routines):
2095 Add memset variants.
2096 * sysdeps/s390/multiarch/ifunc-impl-list.c
2097 (__libc_ifunc_impl_list): Adjust ifunc variants for
2099 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2101 * sysdeps/s390/memset.c: ... here.
2102 Adjust ifunc variants for memset.
2104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2106 * sysdeps/s390/s390-64/memset.S: Move to ...
2107 * sysdeps/s390/memset.S: ... here.
2108 Adjust to be usable for 31/64bit.
2109 * sysdeps/s390/s390-32/memset.S: Delete File.
2110 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2111 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2113 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2114 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2115 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2116 Adjust to be usable for 31/64bit.
2117 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2118 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2119 * sysdeps/s390/multiarch/memset.c: ... here.
2120 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2122 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2124 * sysdeps/s390/multiarch/ifunc-resolve.h
2125 (s390_libc_ifunc_init, s390_libc_ifunc,
2126 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2128 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2130 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2131 * sysdeps/s390/configure.ac: Add check for z10 support.
2132 * sysdeps/s390/configure: Regenerated.
2134 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2136 * sysdeps/i386/atomic-machine.h: Merged with ...
2137 * sysdeps/x86_64/atomic-machine.h: To ...
2138 * sysdeps/x86/atomic-machine.h: This. New file.
2140 2018-12-18 Florian Weimer <fweimer@redhat.com>
2142 Rewrite locale/gen-translit.pl in Python.
2143 * locale/Makefile (generated): Add C-translit.h.
2144 (before-compile): Add $(objpfx)C-translit.h.
2145 (C-translit.h): Move to $(objpfx). Create target directory.
2146 Build using Python script.
2147 * locale/gen-translit.py: New file.
2148 * locale/gen-translit.pl: Remove file.
2149 * locale/C-translit.h.in: Change comment character to '#' for
2150 easier parsing without a C preprocessor.
2151 * locale/C-translit.h: Remove generated file.
2152 * manual/install.texi (Tools for Compilation): Do not mention
2154 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2155 Remove locale/C-translit.h.
2156 * scripts/update-copyrights: Likewise.
2157 * INSTALL: Regenerate.
2159 2018-12-18 Florian Weimer <fweimer@redhat.com>
2162 * localedata/locales/bi_VU: Remove executable bit from file.
2164 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2167 (__localtime64): Add.
2168 * manual/maint.texi: Document Y2038 symbol handling.
2170 (__localtime64): Add.
2171 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2173 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2175 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2178 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2179 to allow extra macros from first or second sources.
2180 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2181 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2182 (tests-special): Add $(objpfx)tst-mman-consts.out.
2183 ($(objpfx)tst-mman-consts.out): New makefile target.
2185 2018-12-17 Mao Han <han_mao@c-sky.com>
2187 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2188 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2189 without stat64 system call support.
2190 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2191 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2192 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2193 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2194 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2195 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2196 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2197 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2198 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2199 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2200 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2202 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2204 regex: fix storage-exhaustion error
2206 * posix/regexec.c (get_subexp):
2207 Do not continue if storage is exhausted.
2209 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2211 regex: fix heap-use-after-free error
2213 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2214 https://debbugs.gnu.org/32592
2215 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2216 call extend_buffers which reallocates the re_string_t internal buffer.
2217 Local variable 'buf' was not updated in such case, resulting in
2219 * posix/regexec.c (get_subexp): Update 'buf' after call to
2222 2018-12-15 Florian Weimer <fweimer@redhat.com>
2224 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2225 (minimum_stride_size): Use it.
2226 (support_blob_repeat_allocate): Likewise.
2228 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2230 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2235 2018-12-14 Florian Weimer <fweimer@redhat.com>
2237 * manual/process.texi (Process Creation Concepts): Remove
2238 documentation of process (ID) lifetime. List more process
2239 creation functions. Reference Process Identification section.
2240 (Process Identification): Add information about process ID
2241 lifetime. Describe Linux thread/task IDs.
2242 * manual/signal.texi (Signaling Another Process): Mention that the
2243 signal is always sent to the process.
2245 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2247 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2248 and tst-ldbl-efgcvt.
2249 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2250 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2251 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2252 (fcvt_tests, output_error, output_r_error, do_test): Use the
2253 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2254 select the type of floating-point variables and arguments; to
2255 produce extra tests for double and conversion specifiers for
2256 printf; and to set the names of called functions.
2257 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2258 in tst-efgcvt-template.c.
2259 * misc/tst-ldbl-efgcvt.c: Likewise.
2261 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2263 * nss/Makefile (tst-nss-test3.out): New rule.
2265 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2267 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2270 2018-12-13 fanjinke <fanjinke@hygon.cn>
2272 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2275 2018-12-13 Andreas Schwab <schwab@suse.de>
2278 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2279 (__pthread_rwlock_rdlock_full): Update expected value for
2280 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2281 * nptl/tst-rwlock-pwn.c: New file.
2282 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2284 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2286 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2289 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2291 * benchtests/scripts/compare_bench.py (do_compare): write to
2292 stderr in casestat is not present.
2293 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2294 stderr in case timings field is not present. Also string showing
2295 the output filename goes into the stderr.
2297 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2299 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2300 and ZeroDivisorError exceptions.
2301 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2302 argument to loop through user provided statistics.
2303 * benchtests/scripts/compare_bench.py (main): Include the --stats
2306 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2308 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2311 2018-12-12 Florian Weimer <fweimer@redhat.com>
2313 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2314 clause to copyright header.
2316 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2319 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2320 registers saved in the stack frame.
2321 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2322 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2324 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2326 * include/bits/monetary-ldbl.h: New file.
2327 * include/bits/printf-ldbl.h: Likewise.
2328 * include/bits/stdio-ldbl.h: Likewise.
2329 * include/bits/stdlib-ldbl.h: Likewise.
2330 * include/bits/syslog-ldbl.h: Likewise.
2331 * include/bits/wchar-ldbl.h: Likewise.
2333 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2335 * libio/libio.h: Remove redirection for _IO_vfprintf.
2337 2018-12-11 Andreas Schwab <schwab@suse.de>
2339 * Makerules: Remove all references to abilist-pattern.
2340 (update-all-abi): Simplify find expression.
2342 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2345 * math/auto-libm-test-in: Add new test case.
2346 * math/auto-libm-test-out-pow: Regenerated.
2347 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2349 2018-12-10 DJ Delorie <dj@redhat.com>
2352 * support/test-container.c: Move postclean step to before we
2355 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2357 * scripts/gen-as-const.py (main): Handle --python option.
2358 * scripts/gen-py-const.awk: Remove.
2359 * Makerules (py-const-script): Use gen-as-const.py.
2360 ($(py-const)): Likewise.
2361 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2362 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2363 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2364 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2365 ~PTHREAD_MUTEX_NO_ELISION_NP.
2366 * manual/README.pretty-printers: Update reference to
2369 * scripts/glibcextract.py: New file.
2370 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2371 or tempfile. Import glibcexctract.
2372 (compute_c_consts): Remove. Moved to glibcextract.py.
2373 (gen_test): Update reference to compute_c_consts.
2375 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2376 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2377 * sysdeps/unix/sysv/linux/Makefile
2378 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2379 Redirect stderr as well as stdout.
2381 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2384 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2385 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2386 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2387 ALWAYS_USE_VSYSCALL.
2388 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2389 ALWAYS_USE_VSYSCALL.
2390 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2391 ALWAYS_USE_VSYSCALL.
2393 2018-12-10 Florian Weimer <fweimer@redhat.com>
2396 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2397 offset instead of count for clarity. Fix typo in comment.
2398 (__old_getdents64): Keep track of previous offset. Use it to call
2400 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2401 that d_off is never zero.
2403 2018-12-10 Andreas Schwab <schwab@suse.de>
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2406 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2408 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2409 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2411 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2413 * timezone/private.h: Update from tzcode 2018g.
2414 * timezone/tzfile.h: Likewise.
2415 * timezone/tzselect.ksh: Likewise.
2416 * timezone/zdump.c: Likewise.
2417 * timezone/zic.c: Likewise.
2419 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2422 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2423 (do_test): Adjust buffer size and fix format.
2425 2018-12-07 DJ Delorie <dj@redhat.com>
2428 * malloc/tst-tcfree3.c: New.
2429 * malloc/Makefile: Add it.
2431 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2433 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2435 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2437 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2438 used as a mask for the mode argument of __vfscanf_internal and
2439 __vfwscanf_internal.
2440 * stdio-common/vfscanf-internal.c
2441 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2442 (__strtof128_internal): Define to __wcstof128_internal.
2443 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2444 __strtof128_internal or __wcstof128_internal when the format of
2445 long double is the same as _Float128.
2447 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2449 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2450 * posix/confstr.c (confstr): Rename to __confstr.
2451 (__confstr): Add hidden def.
2452 (confstr): Add weak alias for __confstr.
2453 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2456 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2458 * NEWS: Mention getcpu.
2459 * include/sched.h (__getcpu): New libc_hidden_proto.
2460 * manual/resource.texi: Document getcpu.
2461 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2462 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2463 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2464 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2465 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2466 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2467 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2468 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2469 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2470 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2471 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2472 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2473 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2475 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2477 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2486 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2487 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2489 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2491 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2492 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2493 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2494 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2495 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2496 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2499 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2501 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2503 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2505 2018-12-07 Florian Weimer <fweimer@redhat.com>
2508 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2509 * posix/Versions (GLIBC_2.29): Export
2510 posix_spawn_file_actions_addfchdir_np.
2511 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2512 * posix/spawn_faction_destroy.c
2513 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2514 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2515 and the field action.fchdir_action.
2516 * posix/tst-spawn-chdir.c (add_chdir): New function.
2517 (do_test): Add do_fchdir loop. Call add_chdir.
2518 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2519 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2520 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2521 posix_spawn_file_actions_addfchdir_np.
2522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2524 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2526 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2527 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2529 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2531 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2533 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2535 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2537 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2539 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2540 (GLIBC_2.29): Likewise.
2541 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2542 (GLIBC_2.29): Likewise.
2543 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2544 (GLIBC_2.29): Likewise.
2545 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2546 (GLIBC_2.29): Likewise.
2547 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2550 (GLIBC_2.29): Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2552 (GLIBC_2.29): Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2554 (GLIBC_2.29): Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2556 (GLIBC_2.29): Likewise.
2557 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2559 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2561 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2563 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2564 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2568 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2570 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2573 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2575 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2576 trailing whitespace removed.
2577 * scripts/config.guess: Update to version 2018-11-28.
2578 * scripts/config.sub: Update to version 2018-11-28.
2579 * scripts/install-sh: Update to version 2018-03-11.20.
2580 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2581 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2583 2018-12-07 Florian Weimer <fweimer@redhat.com>
2587 * inet/tst-if_index-long.c: New file.
2588 * inet/Makefile (tests): Add tst-if_index-long.
2590 2018-12-07 Florian Weimer <fweimer@redhat.com>
2592 * support/check.h (support_record_failure_is_failed): Declare.
2593 * support/descriptors.h: New file.
2594 * support/support_descriptors.c: Likewise.
2595 * support/tst-support_descriptors.c: Likewise.
2596 * support/support_record_failure.c
2597 (support_record_failure_is_failed): New function.
2598 * support/Makefile (libsupport-routines): Add support_descriptors.
2599 (tests): Add tst-support_descriptors.
2601 2018-12-05 Zack Weinberg <zackw@panix.com>
2602 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2604 * stdio-common/vfprintf-internal.c
2605 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2606 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2608 and __no_long_double.
2609 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2610 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2611 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2612 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2613 and __nldbl_*syslog* functions.
2614 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2615 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2616 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2617 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2618 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2619 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2620 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2621 (__nldbl_vwprintf, __nldbl_wprintf):
2622 Directly call the appropriate __v*printf_internal routine, passing
2623 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2625 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2626 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2627 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2628 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2629 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2630 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2631 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2632 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2633 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2634 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2635 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2636 (__nldbl_syslog, __nldbl_vsyslog):
2637 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2638 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2640 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2643 2018-12-05 Zack Weinberg <zackw@panix.com>
2644 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2647 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2648 Moved here from debug/vsprintf_chk.c.
2649 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2650 and completion logic for the strfile to match exactly what
2651 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2652 _IO_str_init_static_internal instead of maxlen-1.
2653 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2654 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2655 __vsprintf_internal.
2657 * debug/vsprintf_chk.c (__vsprintf_chk)
2658 * debug/sprintf_chk.c (__sprintf_chk):
2659 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2660 'flags' argument is positive, and slen as maxlen. No need to lock
2661 the FILE and/or construct a temporary FILE. Minimize and normalize
2662 header inclusions and variable names. Do not libc_hidden_def anything.
2664 * debug/asprintf_chk.c (__asprintf_chk)
2665 * debug/dprintf_chk.c (__dprintf_chk)
2666 * debug/fprintf_chk.c (__fprintf_chk)
2667 * debug/fwprintf_chk.c (__fwprintf_chk)
2668 * debug/printf_chk.c (__printf_chk)
2669 * debug/snprintf_chk.c (__snprintf_chk)
2670 * debug/swprintf_chk.c (__swprintf_chk)
2671 * debug/vasprintf_chk.c (__vasprintf_chk)
2672 * debug/vdprintf_chk.c (__vdprintf_chk)
2673 * debug/vfprintf_chk.c (__vfprintf_chk)
2674 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2675 * debug/vprintf_chk.c (__vprintf_chk)
2676 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2677 * debug/vswprintf_chk.c (__vswprintf_chk)
2678 * debug/vwprintf_chk.c (__vwprintf_chk)
2679 * debug/wprintf_chk.c (__wprintf_chk):
2680 Directly call the corresponding vxxprintf_internal function, passing
2681 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2682 the FILE and/or construct a temporary FILE. Minimize and normalize
2683 header inclusions and variable names. Do not libc_hidden_def anything.
2685 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2686 __obstack_vprintf_internal.
2687 (__obstack_vprintf_chk): Convert into a wrapper that calls
2688 __obstack_vprintf_internal (these two functions already had the
2689 same code) and move to new file...
2690 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2692 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2693 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2694 * debug/Makefile (routines): Add vobprintf_chk.
2696 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2697 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2698 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2699 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2700 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2701 (__nldbl___obstack_vfprintf_chk):
2702 Directly call the corresponding vxxprintf_internal function,
2703 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2704 duplicate comparison of slen with 0 or maxlen from the corresponding
2705 non-__nldbl function.
2707 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2708 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2709 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2710 Remove libc_hidden_proto.
2712 * stdio-common/vfprintf-internal.c
2713 (__vfprintf_internal, __vfwprintf_internal):
2714 Do not check _IO_FLAGS2_FORTIFY.
2715 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2716 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2717 a comment explaining why it has the maxlen argument.
2718 (_IO_acquire_lock_clear_flags2_fct): Remove.
2719 (_IO_acquire_lock_clear_flags2): Remove.
2720 (_IO_release_lock): Remove conditional statement which will
2722 (_IO_acquire_lock): Remove variable which is now unused.
2723 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2724 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2726 * stdio-common/Makefile (tests): Add tst-bz11319 and
2727 tst-bz11319-fortify2.
2728 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2729 * stdio-common/tst-bz11319-fortify2.c: New file.
2730 * stdio-common/tst-bz11319.c: Likewise.
2732 2018-12-05 Zack Weinberg <zackw@panix.com>
2733 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2735 * misc/syslog.c: Include libioP.h, not iolibio.h.
2736 (__vsyslog_internal): New function with the former body of
2737 __vsyslog_chk; takes mode_flags argument same as
2738 __v*printf_internal. Call __vfprintf_internal directly.
2740 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2741 Remove libc_hidden_def.
2742 (__syslog, __syslog_chk): Use __vsyslog_internal.
2743 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2745 * include/sys/syslog.h: Add multiple inclusion guard.
2746 Add prototype for __vsyslog_internal.
2747 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2750 Use __vsyslog_internal.
2752 2018-12-05 Zack Weinberg <zackw@panix.com>
2753 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2755 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2756 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2757 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2759 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2760 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2762 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2763 Include wctype.h here if COMPILE_WPRINTF is defined.
2764 Define __vfprintf_internal or __vfwprintf_internal, depending
2766 Temporarily, on entry to this function, update mode_flags
2767 according to the environmental settings corresponding to
2768 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2769 Throughout, check mode_flags instead of __ldbl_is_dbl and
2770 _IO_FLAGS2_FORTIFY on the destination FILE.
2771 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2772 Include vfprintf-internal.c. Don't include wctype.h.
2773 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2774 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2776 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2777 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2779 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2781 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2782 and add mode_flags argument; use __vfprintf_internal.
2783 (__vdprintf): New function. Alias vdprintf to this.
2784 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2785 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2786 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2787 (__obstack_printf): Use __obstack_printf_internal.
2788 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2789 public aliases __vsnprintf and vsnprintf.
2790 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2792 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2793 public aliases _IO_vsprintf and vsprintf.
2794 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2795 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2796 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2797 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2798 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2800 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2801 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2802 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2803 * stdio-common/printf.c: Use __vfprintf_internal.
2805 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2806 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2807 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2810 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2811 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2812 __vfwprintf_internal.
2814 * libio/libio.h: Remove libc_hidden_proto and declaration for
2816 Remove declaration of _IO_vfwprintf.
2817 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2819 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2821 * include/stdio.h: Add prototype for __vasprintf.
2822 (__vsnprintf): Remove declaration, because there are no more
2824 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2825 declaration, because there are no more internal calls.
2827 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2828 __vsnprintf_internal, instead of _IO_vsnprintf.
2829 * argp/argp-help.c (__argp_error, __argp_failure): Use
2830 __vasprintf_internal, instead of _IO_vasprintf.
2831 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2832 redefine, because there are no more internal calls.
2834 2018-12-05 Zack Weinberg <zackw@panix.com>
2835 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2837 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2838 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2839 Include libio/strfile.h instead of libioP.h.
2840 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2841 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2842 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2843 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2844 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2845 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2846 necessary. Do not set __no_long_double. Normalize variable names.
2847 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2848 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2849 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2850 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2851 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2852 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2853 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2854 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2855 Do not set __no_long_double. Normalize variable names.
2857 2018-12-05 Zack Weinberg <zackw@panix.com>
2858 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2860 * stdio-common/isoc99_scanf.c
2861 * stdio-common/isoc99_fscanf.c
2862 * stdio-common/isoc99_sscanf.c
2863 * stdio-common/isoc99_vscanf.c
2864 * stdio-common/isoc99_vfscanf.c
2865 * stdio-common/isoc99_vsscanf.c
2866 * wcsmbs/isoc99_wscanf.c
2867 * wcsmbs/isoc99_fwscanf.c
2868 * wcsmbs/isoc99_swscanf.c
2869 * wcsmbs/isoc99_vwscanf.c
2870 * wcsmbs/isoc99_vfwscanf.c
2871 * wcsmbs/isoc99_vswscanf.c:
2872 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2873 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2874 No need to lock and unlock the FILE passed to that function.
2876 * stdio-common/vfscanf-internal.c
2877 (__vfscanf_internal, __vfwscanf_internal):
2878 Don't look at _IO_FLAGS2_SCANF_STD.
2879 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2880 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2881 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2883 2018-12-05 Zack Weinberg <zackw@panix.com>
2884 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2886 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2887 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2888 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2889 * libio/strfile.h: Add multiple inclusion guard.
2890 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2892 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2893 consistency with the other version of this file.
2894 (ldbl_compat_symbol): New macro.
2895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2898 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2899 Define __vfscanf_internal or __vfwscanf_internal, depending on
2900 COMPILE_WSCANF; don't define any other public symbols.
2901 Remove errval and code to set errp.
2902 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2903 as the mode_flags argument.
2904 (encode_error, conv_error, input_error): Don't set errval.
2905 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2906 Include vfscanf-internal.c.
2907 * stdio-common/vfscanf.c: New file defining the public entry
2908 point vfscanf, which calls __vfscanf_internal.
2909 * stdio-common/vfwscanf.c: New file defining the public entry
2910 point vfwscanf, which calls __vfwscanf_internal.
2912 * stdio-common/iovfscanf.c: New file.
2913 * stdio-common/iovfwscanf.c: Likewise.
2915 * stdio-common/Makefile (routines): Add vfscanf-internal,
2916 vfwscanf-internal, iovfscanf, iovfwscanf.
2917 * stdio-common/Versions: Mention GLIBC_2.29, so that
2918 it can be used in SHLIB_COMPAT expressions.
2919 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2920 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2921 Call __vfscanf_internal, instead of _IO_vfscanf.
2922 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2924 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2927 * libio/iovsscanf.c: Clean up includes, when possible. Use
2928 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2929 __vfscanf_internal or __vfwscanf_internal directly.
2930 * libio/iovswscanf.c: Likewise.
2931 * libio/swscanf.c: Likewise.
2932 * libio/vscanf.c: Likewise.
2933 * libio/vwscanf.c: Likewise.
2934 * libio/wscanf.c: Likewise.
2935 * stdio-common/isoc99_fscanf.c: Likewise.
2936 * stdio-common/isoc99_scanf.c: Likewise.
2937 * stdio-common/isoc99_sscanf.c: Likewise.
2938 * stdio-common/isoc99_vfscanf.c: Likewise.
2939 * stdio-common/isoc99_vscanf.c: Likewise.
2940 * stdio-common/isoc99_vsscanf.c: Likewise.
2941 * stdio-common/scanf.c: Likewise.
2942 * stdio-common/sscanf.c: Likewise.
2943 * wcsmbs/isoc99_fwscanf.c: Likewise.
2944 * wcsmbs/isoc99_swscanf.c: Likewise.
2945 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2946 * wcsmbs/isoc99_vswscanf.c: Likewise.
2947 * wcsmbs/isoc99_vwscanf.c: Likewise.
2948 * wcsmbs/isoc99_wscanf.c: Likewise.
2950 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2953 (__tz_compute): Replace time_t with __time64_t.
2954 (__tz_convert): Replace time_t* with __time64_t.
2955 (__offtime): Replace time_t* with __time64_t.
2957 (__gmtime_r): Adjust call to __tz_convert.
2960 (__localtime_r): Likewise.
2961 (localtime): Likewise.
2962 * time/offtime.c: Replace time_t with __time64_t.
2963 * time/tzset.c: Likewise.
2965 2018-12-04 Joseph Myers <joseph@codesourcery.com>
2967 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2968 dynamic linker unless [$(run-built-tests) = yes].
2970 2018-12-03 DJ Delorie <dj@delorie.com>
2972 * support/test-container.c (check_for_unshare_hints): New.
2973 (main): Call it if unshare fails. Add support for "su" scriptlet
2976 2018-12-03 Joseph Myers <joseph@codesourcery.com>
2978 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2979 'START' to indicate that start text should be output.
2980 (gen_test): Likewise.
2981 (main): Generate 'START' for first symbol or '--' line, or at end
2982 of input if not previously generated.
2984 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2987 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2988 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2989 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2990 ALWAYS_USE_VSYSCALL.
2992 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2995 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2998 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3001 * locale/programs/localedef.c: Declare boolean hard_links default true.
3002 (options): Add --no-hard-links option.
3003 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3004 * locale/programs/localedef.h: Declare prototype for hard_links.
3005 * locale/programs/locfile.c (write_locale_data): Don't use hard
3006 links if hard_links is false.
3008 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3010 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3012 (__cache_sysconf): Likewise.
3013 (init_cacheinfo): Likewise.
3014 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3015 populate COMMON_CPUID_INDEX_80000007 and
3016 COMMON_CPUID_INDEX_80000008.
3017 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3018 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3019 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3020 (init_cpu_features): Use _Static_assert on
3021 index_arch_Fast_Unaligned_Load.
3022 __get_cpuid_registers and __get_arch_feature. Updated for
3023 cpu_features_basic. Set stepping in cpu_features.
3024 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3025 (FEATURE_INDEX_2): New.
3026 (FEATURE_INDEX_MAX): Changed to enum.
3027 (COMMON_CPUID_INDEX_D_ECX_1): New.
3028 (COMMON_CPUID_INDEX_80000007): Likewise.
3029 (COMMON_CPUID_INDEX_80000008): Likewise.
3030 (cpuid_registers): Likewise.
3031 (cpu_features_basic): Likewise.
3032 (CPU_FEATURE_USABLE): Likewise.
3033 (bit_arch_XXX_Usable): Likewise.
3034 (cpu_features): Use cpuid_registers and cpu_features_basic.
3035 (bit_arch_XXX): Reweritten.
3036 (bit_cpu_XXX): Likewise.
3037 (index_cpu_XXX): Likewise.
3038 (reg_XXX): Likewise.
3039 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3041 (CHECK_CPU_FEATURE): New.
3042 (CHECK_CPU_FEATURE_USABLE): Likewise.
3043 (cpu_kinds): Likewise.
3044 (do_test): Print vendor, family, model and stepping. Check
3045 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3046 (TEST_FUNCTION): Removed.
3047 Include <support/test-driver.c> instead of
3048 "../../test-skeleton.c".
3049 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3050 Check POPCNT instead of POPCOUNT.
3051 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3053 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3055 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3056 there is no element in `consts'.
3058 2018-12-01 Florian Weimer <fweimer@redhat.com>
3060 * support/support_capture_subprocess.c
3061 (support_capture_subprocess): Check that pipe descriptors have
3062 expected values. Close original pipe descriptors in subprocess.
3064 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3067 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3068 attr with __pthread_default_barrierattr.
3069 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3070 attr with __pthread_default_condattr.
3071 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3072 attr with __pthread_default_mutexattr.
3073 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3074 attr with __pthread_default_rwlockattr.
3076 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3078 * manual/tunables.texi (POSIX Thread Tunables): New node.
3079 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3080 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3081 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3082 __pthread_tunables_init.
3083 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3084 (max_adaptive_count): Define.
3085 * nptl/pthread_mutex_conf.c: New file.
3086 * nptl/pthread_mutex_conf.h: New file.
3087 * sysdeps/generic/adaptive_spin_count.h: New file.
3088 * sysdeps/nptl/dl-tunables.list: New file.
3089 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3090 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3091 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3094 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3097 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3098 * stdlib/on_exit.c (__on_exit): Likewise.
3099 * stdlib/Makefile (tests): Add tst-bz20544.
3100 * stdlib/tst-bz20544.c: New test.
3102 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3105 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3106 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3109 2018-11-30 Florian Weimer <fweimer@redhat.com>
3111 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3112 Extend error logging.
3113 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3116 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3118 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3119 __sigismember instead of sigismember.
3120 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3121 cancel_handler): New definitions.
3122 (do_system): Use posix_spawn instead of fork and execl and remove
3124 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3125 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3126 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3127 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3128 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3129 * sysdeps/unix/sysv/linux/system.c: Likewise.
3133 * NEWS: Add new semantic for atfork with popen and system.
3134 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3137 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3140 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3141 modification order when accessing reloc_result->addr.
3142 * include/link.h (reloc_result): Add field init.
3143 * nptl/Makefile (tests): Add tst-audit-threads.
3144 (modules-names): Add tst-audit-threads-mod1 and
3145 tst-audit-threads-mod2.
3146 Add rules to build tst-audit-threads.
3147 * nptl/tst-audit-threads-mod1.c: New file.
3148 * nptl/tst-audit-threads-mod2.c: Likewise.
3149 * nptl/tst-audit-threads.c: Likewise.
3150 * nptl/tst-audit-threads.h: Likewise.
3152 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3154 * scripts/gen-as-const.py: New file.
3155 * scripts/gen-as-const.awk: Remove.
3156 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3158 ($(objpfx)test-as-const-%.c): Likewise.
3160 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3162 * elf/dl-exception.c: Include <_itoa.h>.
3164 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3166 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3167 returned by __f_setlk.
3169 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3170 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3172 * elf/Makefile (tests-internal): Add tst-create_format1.
3173 * elf/dl-exception.c (_dl_exception_create_format): Support
3175 * elf/tst-create_format1.c: New file.
3177 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3179 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3180 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3182 * argp/argp-help.c (__argp_failure): Likewise.
3184 2018-11-29 Mao Han <han_mao@c-sky.com>
3186 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3187 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3188 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3189 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3190 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3191 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3192 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3193 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3194 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3195 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3196 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3197 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3198 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3199 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3200 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3201 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3202 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3203 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3204 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3205 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3206 (R_CKCORE_TLS_TPOFF32): New defines.
3208 2018-11-29 Florian Weimer <fweimer@redhat.com>
3210 * posix/Makefile (before-compile): Remove testcases.h and
3212 (generated): Add testcases.h and ptestcases.h.
3213 (testcases.h, ptestcases.h): Move to $(objpfx).
3214 (runtests.o): Add dependency on testcases.h.
3215 (runptests.o): Add dependency on ptestcases.h.
3216 * posix/testcases.h, posix/ptestcases.h: Remove files.
3217 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3218 not touch posix/testcases.h and posix/ptestcases.h.
3220 2018-11-28 Florian Weimer <fweimer@redhat.com>
3222 support: Add signal support to support_capture_subprocess_check.
3223 * support/capture_subprocess.h (support_capture_subprocess_check):
3224 Adjust comment and rename parameter.
3225 * support/support_capture_subprocess_check.c
3226 (print_actual_status): New function.
3227 (support_capture_subprocess_check): Support negative
3228 status_or_signal. Call print_actual_status.
3229 * support/tst-support_capture_subprocess.c (do_test): Call
3230 support_capture_subprocess_check.
3231 * libio/tst-vtables-common.c (termination_status)
3232 (init_termination_status): Remove.
3233 (check_for_termination): Adjust support_capture_subprocess_check
3235 (do_test): Remove call to init_termination_status.
3237 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3239 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3240 source directory instead of a copy.
3241 (CommandList.create_copy_dir): Remove.
3243 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3245 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3247 2018-11-28 Florian Weimer <fweimer@redhat.com>
3249 * support/support.h (support_quote_string): Do not use str
3252 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3254 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3255 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3257 2018-11-27 Florian Weimer <fweimer@redhat.com>
3259 * support/support.h (support_quote_string): Declare.
3260 * support/support_quote_string.c: New file.
3261 * support/tst-support_quote_string.c: Likewise.
3262 * support/Makefile (libsupport-routines): Add
3263 support_quote_string.
3264 (tests): Add tst-support_quote_string.
3266 2018-11-27 Florian Weimer <fweimer@redhat.com>
3270 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3271 descriptor leak in case of ENODEV error.
3273 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3276 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3277 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3278 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3280 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3282 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3283 Error for unknown lines.
3285 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3287 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3288 Touch additional files.
3290 2018-11-26 Florian Weimer <fweimer@redhat.com>
3293 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3296 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3299 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3300 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3301 SHARED. Include sysdep.h.
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3303 ALWAYS_USE_VSYSCALL.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3305 ALWAYS_USE_VSYSCALL.
3307 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3310 * nptl/Makefile (tests-static): Add tst-cond11-static.
3312 * nptl/tst-cond11-static.c: New File.
3313 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3314 tst-affinity-static.
3316 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3318 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3319 (USE_VSYSCALL): Likewise.
3320 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3321 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3323 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3328 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3331 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3332 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3335 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3337 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3338 (tst-cet-legacy-1a-ARGS): New.
3339 ($(objpfx)tst-cet-legacy-1a): New target.
3340 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3342 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3344 * conform/conformtest.py (CompileSubTest.__init__): Set
3345 self.run_early to False.
3346 (ExecuteSubTest.__init__): Likewise.
3347 (HeaderTests.run): Try running all non-optional, non-XFAILed
3348 compilation tests in a single execution of the compiler.
3350 * conform/conformtest.py (CompileSubTest): New class.
3351 (ExecuteSubTest): Likewise.
3352 (ElementTest.run): Rename to gen_subtests. Append tests to
3353 self.subtests instead of running them.
3354 (ConstantTest.run): Likewise.
3355 (SymbolTest.run): Likewise.
3356 (TypeTest.run): Likewise.
3357 (TagTest.run): Likewise.
3358 (FunctionTest.run): Likewise.
3359 (VariableTest.run): Likewise.
3360 (MacroFunctionTest.run): Likewise.
3361 (MacroStrTest.run): Likewise.
3362 (HeaderTests.handle_test_line): Generate subtests for tests.
3363 (HeaderTests.run): Run subtests for tests.
3365 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3367 * math/Versions (GLIBC_2.29): Add pow.
3368 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3370 * math/w_pow.c: New file.
3371 * sysdeps/i386/fpu/w_pow.c: New file.
3372 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3374 and add necessary aliases.
3375 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3376 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3377 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3378 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3379 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3380 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3381 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3382 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3383 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3384 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3385 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3386 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3387 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3388 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3389 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3395 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3396 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3397 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3398 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3399 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3400 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3403 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3404 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3405 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3407 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3409 * math/Versions (GLIBC_2.29): Add log2.
3410 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3412 * math/w_log2.c: New file.
3413 * sysdeps/i386/fpu/w_log2.c: New file.
3414 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3415 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3416 and add necessary aliases.
3417 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3418 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3419 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3420 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3421 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3422 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3423 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3424 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3425 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3426 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3427 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3428 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3429 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3430 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3431 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3436 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3437 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3438 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3439 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3440 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3441 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3442 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3444 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3446 * math/Versions (GLIBC_2.29): Add log.
3447 * math/w_log_compat.c (__log_compat): Change to versioned compat
3449 * math/w_log.c: New file.
3450 * sysdeps/i386/fpu/w_log.c: New file.
3451 * sysdeps/ia64/fpu/e_log.S: Update.
3452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3453 and add necessary aliases.
3454 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3455 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3456 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3457 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3458 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3459 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3460 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3461 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3462 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3463 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3464 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3465 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3466 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3467 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3468 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3473 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3474 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3475 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3476 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3477 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3478 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3479 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3480 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3482 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3483 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3484 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3485 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3487 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3489 * math/Versions (GLIBC_2.29): Add exp and exp2.
3490 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3491 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3492 * math/w_exp_compat.c (__exp_compat): Likewise.
3493 * math/w_exp.c: New file.
3494 * math/w_exp2.c: New file.
3495 * sysdeps/i386/fpu/w_exp.c: New file.
3496 * sysdeps/i386/fpu/w_exp2.c: New file.
3497 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3498 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3500 and add necessary aliases.
3501 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3502 and add necessary aliases.
3503 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3504 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3505 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3506 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3507 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3508 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3509 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3510 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3511 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3512 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3513 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3514 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3515 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3516 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3517 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3519 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3524 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3525 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3526 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3527 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3528 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3529 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3530 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3531 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3532 (__ieee754_exp): Rename to __exp.
3533 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3534 (__ieee754_exp): Rename to __exp.
3535 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3536 (__ieee754_exp): Rename to __exp.
3537 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3539 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3541 2018-11-20 DJ Delorie <dj@redhat.com>
3543 * malloc/malloc.c (tcache_entry): Add key field.
3544 (tcache_put): Set it.
3545 (tcache_get): Likewise.
3546 (_int_free): Check for double free in tcache.
3547 * malloc/tst-tcfree1.c: New.
3548 * malloc/tst-tcfree2.c: New.
3549 * malloc/Makefile: Run the new tests.
3550 * manual/probes.texi: Document memory_tcache_double_free probe.
3552 * dlfcn/dlerror.c (check_free): Prevent double frees.
3554 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3556 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3558 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3560 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3561 in tests. Use names for format arguments.
3562 (ConstantTest.run): Likewise.
3563 (SymbolTest.run): Likewise.
3564 (TypeTest.run): Likewise.
3565 (TagTest.run): Likewise.
3566 (FunctionTest.run): Likewise.
3567 (VariableTest.run): Likewise.
3568 (MacroFunctionTest.run): Likewise.
3569 (MacroStrTest.run): Likewise.
3570 (HeaderTests.__init__): Set self.num_tests.
3571 (HeaderTests.handle_test_line): Set test.num. Increment
3574 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3576 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3577 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3580 2018-11-19 Mao Han <han_mao@c-sky.com>
3582 * scripts/config.guess: Update to version 2018-08-29.
3583 * scripts/config.sub: Update to version 2018-08-29.
3585 2018-11-19 Florian Weimer <fweimer@redhat.com>
3587 support: Print timestamps in timeout handler.
3588 * support/support_test_main.c (print_timestamp): New function.
3589 (signal_handler): Use it to print the termination time and the
3590 time of the last write to standard output.
3592 2018-11-16 Zack Weinberg <zackw@panix.com>
3593 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3595 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3596 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3598 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3599 and add flags argument. Check flags instead of __ldbl_is_dbl when
3600 deciding whether to set is_long_double.
3601 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3602 passing zero for flags argument.
3603 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3606 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3607 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3608 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3609 variable names. Remove libc_hidden_def/libc_hidden_proto from
3610 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3611 longer called from within the library.
3612 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3613 for __nldbl___vstrfmon_l, declare it explicitly.
3615 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3617 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3619 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3621 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3622 F_SETLK64, F_SETLKW64, respectively.
3623 * sysdeps/mach/hurd/f_setlk.c: New file.
3624 * sysdeps/mach/hurd/f_setlk.h: New file.
3625 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3627 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3628 (__libc_fcntl): Move non-flock operations to...
3629 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3630 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3632 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3634 mktime: DEBUG_MKTIME cleanup
3635 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3636 And it’s no longer needed now that glibc and Gnulib both have
3637 their own testing mechanisms for mktime.
3638 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3640 mktime: fix non-EOVERFLOW errno handling
3642 mktime was not properly reporting failures when the underlying
3643 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3644 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3645 The problem could happen on non-glibc platforms, with Gnulib.
3646 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3647 (tm_diff): ... this simpler function, which does not change errno.
3648 All callers changed to deal with errno themselves.
3649 (ranged_convert, __mktime_internal): Return failure immediately if
3650 the underlying function reports any failure other than EOVERFLOW.
3651 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3654 mktime: fix bug with Y2038 DST transition
3656 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3657 mishandle a DST transition that jumps over the Y2038 boundary.
3658 No such DST transitions are known so this is only a theoretical
3659 bug, but we might as well do things right.
3661 mktime: make more room for overflow
3663 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3664 This is so that we can add tm_diff results to a previous guess,
3665 which will be useful in a later patch.
3667 mktime: simplify offset guess
3669 * time/mktime.c (__mktime_internal): Omit excess precision.
3671 mktime: new test for mktime failure
3673 Based on a test suggested by Albert Aribaud in:
3674 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3675 * time/Makefile (tests): Add bug-mktime4.
3676 * time/bug-mktime4.c: New file.
3678 mktime: fix EOVERFLOW bug
3680 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3681 Include libc-config.h, not config.h, for __set_errno.
3682 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3684 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3686 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3687 __attribute_copy__ to copy attributes from name. Drop static qualifier
3688 to avoid warnings about leaf attribute not having effect on static
3691 2018-11-13 Florian Weimer <fweimer@redhat.com>
3693 * malloc/malloc.c (fastbin_push_entry): New function.
3694 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3695 (REMOVE_FB): Remove macro.
3696 (_int_malloc): Use fastbin_pop_entry and reindent.
3697 (_int_free): Use fastbin_push_entry.
3698 (malloc_consolidate): Use atomic_exchange_acquire.
3700 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3702 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3703 alias attribute, not with strong_alias.
3705 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3706 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3707 with additional parameter thread.
3708 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3709 in terms of __hidden_ver2.
3710 (hidden_tls_def): New macro.
3711 (libc_hidden_tls_def): Likewise.
3712 (rtld_hidden_tls_def): Likewise.
3713 (libm_hidden_tls_def): Likewise.
3714 (libmvec_hidden_tls_def): Likewise.
3715 (libresolv_hidden_tls_def): Likewise.
3716 (librt_hidden_tls_def): Likewise.
3717 (libdl_hidden_tls_def): Likewise.
3718 (libnss_files_hidden_tls_def): Likewise.
3719 (libnsl_hidden_tls_def): Likewise.
3720 (libnss_nisplus_hidden_tls_def): Likewise.
3721 (libutil_hidden_tls_def): Likewise.
3722 (libutil_hidden_tls_def): Likweise.
3723 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3724 libc_hidden_tls_def.
3725 (__sim_disabled_exceptions_thread): Likewise.
3726 (__sim_round_mode_thread): Likewise.
3728 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3729 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3730 copy attributes from name.
3732 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3734 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3735 Use __attribute_copy__ to copy attributes from name.
3737 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3738 with __hidden_ver1 call.
3739 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3740 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3741 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3742 (__cosf): Do not declare here.
3743 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3744 (__sincosf): Do not declare here.
3745 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3746 (__sinf): Do not declare here.
3748 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3749 (__BIG_ENDIAN): Likewise.
3750 (__BYTE_ORDER): Likewise.
3751 (strong_alias): Likewise.
3752 (_strong_alias): Likewise.
3754 2018-11-12 Florian Weimer <fweimer@redhat.com>
3756 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3757 function. Move after the definition of in_smallbin_range. Do not
3758 use __builtin_expect for paths that lead to a noreturn function.
3759 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3760 because it is unclear whether this is in fact an unlikely
3762 (_int_malloc, _int_free): Adjust.
3763 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3765 * malloc/arena.c (heap_trim): Likewise.
3767 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3769 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3770 it, free it if needed.
3771 (reauthenticate): Test and use ccwdir.
3772 (child_init_port): In non-resetids case, test and use ccwdir.
3773 (child_chdir): New nested function to set ccwdir.
3774 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3775 * hurd/hurd/port.h (_hurd_port_move): New function.
3776 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3777 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3778 * hurd/Versions (_hurd_port_move): Export function.
3779 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3781 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3782 of dtablesize for allocating dtable_cloexec.
3784 2018-11-09 Martin Sebor <msebor@redhat.com>
3786 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3787 it's already defined.
3788 (_strong_alias): Use __attribute_copy__.
3789 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3790 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3791 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3792 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3793 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3794 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3795 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3796 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3797 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3798 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3799 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3800 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3801 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3802 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3803 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3804 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3805 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3806 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3807 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3809 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3811 * misc/tst-efgcvt.c: Include support/check.h and
3812 support/test-driver.c. Do not include test-skeleton.c.
3813 (error_count): Remove.
3814 (output_error): Replace increments to error_count with calls to
3815 support_record_failure.
3816 (output_r_error): Likewise.
3817 (special): Likewise.
3818 (do_test): Unconditionally return zero.
3819 (TEST_FUNCTION): Remove.
3821 2018-11-09 Joseph Myers <joseph@codesourcery.com>
3823 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3825 ($(linknamespace-header-tests)): Likewise.
3827 * conform/conformtest.py: New file.
3828 * conform/conformtest.pl: Remove.
3829 * conform/GlibcConform.pm: Likewise.
3830 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3831 (KEYWORDS_C99): Likewise.
3832 (KEYWORDS): Likewise.
3833 * conform/Makefile ($(conformtest-header-tests)): Use
3834 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3835 option. Use --header instead of --headers.
3836 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3838 * conform/data/spawn.h-data: Likewise.
3839 * conform/data/fcntl.h-data (openat): Add space after function
3841 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3842 (wcscasecmp_l): Likewise.
3843 * conform/data/termios.h-data (c_cc): Add space after element
3846 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3848 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3849 instead of manually comparing and reporting mismatching strings.
3850 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3851 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3853 2018-11-08 Joseph Myers <joseph@codesourcery.com>
3855 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3856 __ASSUME_SOCKETCALL.
3857 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3858 (__ASSUME_SOCKETCALL): Remove.
3859 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3860 (__ASSUME_SOCKETCALL): Likewise.
3861 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3862 (__ASSUME_SOCKETCALL): Likewise.
3863 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3864 (__ASSUME_SOCKETCALL): Likewise.
3865 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3866 (__ASSUME_SOCKETCALL): Likewise.
3867 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3868 (__ASSUME_SOCKETCALL): Likewise.
3869 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3870 (__ASSUME_SOCKETCALL): Likewise.
3872 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3875 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3876 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3877 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3878 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3879 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3882 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3885 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3887 2018-11-07 Joseph Myers <joseph@codesourcery.com>
3890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3891 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3892 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3893 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3895 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3897 * support/support_test_compare_string.c
3898 (support_test_compare_string): Fix printf format.
3900 2018-11-07 Florian Weimer <fweimer@redhat.com>
3902 Implement TEST_COMPARE_STRING.
3903 * support/check.h (TEST_COMPARE_STRING): Define.
3904 (support_test_compare_string): Declare.
3905 * support/Makefile (libsupport-routines): Add
3906 support_test_compare_string.
3907 (tests): Add tst-test_compare_string.
3908 * support/support_test_compare_string.c: New file.
3909 * support/tst-test_compare_string.c: Likewise.
3911 2018-11-07 Andreas Schwab <schwab@suse.de>
3914 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3915 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3918 2018-11-06 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3922 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3923 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3924 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3927 2018-11-06 Florian Weimer <fweimer@redhat.com>
3930 * posix/Makefile (routines): Add spawn_faction_addchdir.
3931 (tests): Add tst-spawn-chdir.
3932 * posix/Versions (GLIBC_2.29): Add
3933 posix_spawn_file_actions_addchdir_np.
3934 * posix/spawn_faction_addchdir.c: New file.
3935 * posix/spawn_faction_destroy.c
3936 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3937 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3938 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3940 * posix/tst-spawn-chdir.c: New file.
3941 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3942 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3943 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3944 posix_spawn_file_actions_addchdir_np.
3945 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3947 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3949 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3950 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3952 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3954 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3956 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3958 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3960 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3962 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3963 (GLIBC_2.29): Likewise.
3964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3965 (GLIBC_2.29): Likewise.
3966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3967 (GLIBC_2.29): Likewise.
3968 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3969 (GLIBC_2.29): Likewise.
3970 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3973 (GLIBC_2.29): Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3975 (GLIBC_2.29): Likewise.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3977 (GLIBC_2.29): Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3979 (GLIBC_2.29): Likewise.
3980 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3982 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3986 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3989 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3991 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3993 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3996 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3998 * misc/Makefile (tests): Add tst-ldbl-error.
3999 * misc/tst-ldbl-error.c: New file.
4001 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4003 * misc/Makefile (tests): Add tst-ldbl-warn.
4004 * misc/tst-ldbl-warn.c: New file.
4006 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4008 * argp/Makefile (tests): Add tst-ldbl-argp.
4009 * argp/tst-ldbl-argp.c: New file.
4011 2018-11-05 Arjun Shankar <arjun@redhat.com>
4013 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4014 __gconv_path_elem and call __gconv_get_path unconditionally.
4016 2018-11-05 Andreas Schwab <schwab@suse.de>
4019 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4020 creating the first helper thread failed.
4022 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4024 * sysdeps/mach/hurd/msync.c: New file.
4026 2018-11-02 Florian Weimer <fweimer@redhat.com>
4028 * support/shell-container.c (copy_func): Call
4029 support_copy_file_range instead of copy_file_range to support
4030 cross-device copies.
4032 2018-11-02 Florian Weimer <fweimer@redhat.com>
4034 * support/test-container.c: Include <libc-pointer-arith.h> for
4037 2018-11-01 Zong Li <zong@andestech.com>
4039 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4040 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4041 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4042 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4044 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4045 variable to avoid overlap arguments.
4047 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4049 * posix/bug-regex22.c (main): Use puts with distinct error
4050 messages for unexpected success of re_compile_pattern, not printf
4051 with NULL argument to %s.
4053 * stdio-common/bug22.c: Include <libc-diag.h>.
4054 (do_test): Disable -Wformat-overflow= warnings around fprintf
4055 calls outputting more than INT_MAX characters.
4056 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4057 around printf call with NULL %s argument.
4060 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4061 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4063 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4064 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4065 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4066 (__ASSUME_SENDTO_SYSCALL): Likewise.
4067 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4068 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4070 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4071 (__ASSUME_CONNECT_SYSCALL): Likewise.
4072 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4073 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4074 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4076 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4078 [__LINUX_KERNEL_VERSION >= 0x040400]
4079 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4080 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4083 (setsockopt): Likewise.
4085 2018-11-01 Fredrik Noring <noring@nocrew.org>
4087 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4088 with the ISA override.
4090 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4092 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4095 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4097 * manual/errno.texi (EIEIO): Document how translators should
4098 translate the error message.
4099 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4100 printing trailing whitespaces refused by git.
4101 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4102 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4103 * hurd/Makefile (user-interfaces): Add pci.
4105 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4107 * conform/linknamespace.py: New file.
4108 * conform/linknamespace.pl: Remove file.
4109 * conform/Makefile ($(linknamespace-header-tests)): Use
4110 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4113 2018-10-30 Florian Weimer <fweimer@redhat.com>
4115 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4118 2018-10-30 Florian Weimer <fweimer@redhat.com>
4120 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4122 2018-10-30 Florian Weimer <fweimer@redhat.com>
4124 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4125 support_blob_repeat.
4127 2018-10-30 Florian Weimer <fweimer@redhat.com>
4129 Avoid spurious test failures in stdlib/test-bz22786.
4130 * support/Makefile (libsupport-routines): Add blob_repeat.
4131 (tests): Add tst-support_blob_repeat.
4132 * support/blob_repeat.h: New file.
4133 * support/blob_repeat.c: Likewise.
4134 * support/tst-support_blob_repeat.c: Likewise.
4135 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4136 support_blob_repeat_allocate.
4138 2018-10-30 Andreas Schwab <schwab@suse.de>
4141 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4142 Don't use tail call.
4143 * elf/tst-unwind-main.c: New file.
4144 * elf/Makefile (tests): Add tst-unwind-main.
4145 (CFLAGS-tst-unwind-main.c): Define.
4147 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4150 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4152 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4154 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4156 * conform/glibcconform.py: Do not import shutil.
4157 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4160 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4161 critic_missing for versions before 3.4.
4162 * configure: Regenerated.
4163 * manual/install.texi (Tools for Compilation): Document
4164 requirement for Python to build glibc.
4165 * INSTALL: Regenerated.
4166 * Rules [PYTHON]: Make code unconditional.
4167 * benchtests/Makefile [PYTHON]: Likewise.
4168 * conform/Makefile [PYTHON]: Likewise.
4169 * manual/Makefile [PYTHON]: Likewise.
4170 * math/Makefile [PYTHON]: Likewise.
4172 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4174 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4175 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4176 answer to interrupt_operation, return EIEIO instead of EINTR.
4177 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4178 _hurd_intr_rpc_msg_about_to global point to start of controlled
4179 assembly snippet. Make it check canceled flag.
4180 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4181 the _hurd_intr_rpc_msg_about_to point.
4182 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4183 issue, remove cancel flag check.
4185 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4187 * scripts/build-many-glibcs.py: Remove compatibility for missing
4188 os.cpu_count and re.fullmatch.
4190 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4193 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4194 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4195 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4197 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4199 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4202 2018-10-25 Florian Weimer <fweimer@redhat.com>
4206 XFAIL siginfo_t si_band conform test on sparc64.
4207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4208 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4209 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4210 (conformtest-xfail-conds): Add sparc64-linux.
4211 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4213 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4215 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4217 * elf/elf.h (NT_MIPS_DSP): New macro.
4218 (NT_MIPS_FP_MODE): Likewise.
4220 2018-10-25 Zong Li <zong@andestech.com>
4222 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4223 name by adding the file extension (.so).
4225 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4227 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4228 (test-xfail-ISO11/threads.h/linknamespace,
4229 test-xfail-ISO11/threads.h/conform): Add.
4231 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4233 * math/gen-libm-test.py: Import os.
4234 (ALL_FLOATS_MANUAL): New constant.
4235 (ALL_FLOATS_SUFFIX): Likewise.
4236 (Ulps.all_functions): New function.
4237 (real_all_ulps): Likewise.
4238 (generate_err_table_sub): Likewise.
4239 (generate_err_table): Likewise.
4240 (main): Handle -s and -m options.
4241 * manual/libm-err-tab.pl: Remove.
4242 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4243 instead of libm-err-tab.pl.
4244 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4246 * manual/install.texi (Tools for Compilation): Document
4247 requirement for Python to build manual.
4248 * INSTALL: Regenerated.
4250 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4252 * bits/time64.h: New file.
4253 * include/time.h: Replace internal_time_t with __time64_t.
4254 * posix/bits/types (__time64_t): Add.
4255 * stdlib/Makefile: Add bits/time64.h to includes.
4256 * time/tzfile.c: Replace internal_time_t with __time64_t.
4258 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4260 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4261 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4262 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4263 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4264 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4266 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4267 * posix/spawn_faction_addclose.c
4268 (__posix_spawn_file_actions_addclose): Add hidden definition.
4269 * posix/spawn_faction_adddup2.c
4270 (__posix_spawn_file_actions_adddup2): Likewise.
4271 * posix/spawn_faction_destroy.c
4272 (__posix_spawn_file_actions_destroy): Likewise.
4273 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4275 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4276 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4277 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4279 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4280 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4283 2018-10-24 Andreas Schwab <schwab@suse.de>
4286 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4288 * elf/cache.c (print_cache): Likewise.
4290 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4292 * bits/timesize.h: New file.
4293 * stdlib/Makefile (headers): Add bits/timesize.h.
4294 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4295 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4296 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4297 (__SEM_PAD_AFTER_TIME): Likewise.
4298 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4299 (__SHM_PAD_AFTER_TIME): Likewise.
4300 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4301 (__MSQ_PAD_BEFORE_TIME): Likewise.
4302 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4303 (__SEM_PAD_BEFORE_TIME): Likewise.
4304 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4305 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4306 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4307 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4309 (__MSQ_PAD_BEFORE_TIME): Likewise.
4310 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4311 (__SEM_PAD_BEFORE_TIME): Likewise.
4312 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4313 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4314 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4315 (__MSQ_PAD_BEFORE_TIME): Likewise.
4316 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4317 (__SEM_PAD_BEFORE_TIME): Likewise.
4318 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4319 (__SHM_PAD_BEFORE_TIME): Likewise.
4320 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4321 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4322 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4324 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4326 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4327 USE_RDTSCP is defined.
4328 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4329 USE_RDTSCP is defined.
4331 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4333 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4337 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4338 independently of other flags.
4340 2018-10-23 Florian Weimer <fweimer@redhat.com>
4342 * time/tst-mktime2.c (N_STRINGS): Remove.
4343 (set_timezone): New function.
4344 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4345 (mktime_test1): Report localtime failure and check errno value.
4347 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4348 (do_test): Remove alarm call. Use set_timezone and array_length.
4350 2018-10-23 Andreas Schwab <schwab@suse.de>
4352 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4353 (__start_context): Use END instead of PSEUDO_END.
4355 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4357 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4360 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4364 * wcsmbs/c32rtomb.c: New file.
4365 * wcsmbs/mbrtoc32.c: Likewise.
4366 * wcsmbs/tst-c32-state.c: Likewise.
4367 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4368 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4369 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4370 (tests): Add tst-c32-state.
4371 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4374 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4376 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4377 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4379 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4382 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4383 pair and return 0 in that case, and use saved character to
4384 interpret following character.
4385 * wcsmbs/tst-c16-surrogate.c: New file.
4386 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4387 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4388 Depend on $(gen-locales)
4390 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4393 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4394 (struct siginfo_t): Use correct type for si_band.
4396 2018-10-19 Florian Weimer <fweimer@redhat.com>
4399 * resource/bits/types/struct_rusage.h (struct rusage): Update
4400 comment on struct. Remove extraneous field comment.
4402 2018-10-18 David S. Miller <davem@davemloft.net>
4404 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4405 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4406 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4407 sysdep_routines in subdir elf.
4408 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4409 version for __vdso_clock_gettime.
4410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4412 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4413 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4415 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4417 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4419 * sysdeps/i386/init-arch.h: Removed.
4420 * sysdeps/i386/i586/init-arch.h: Likewise.
4421 * sysdeps/i386/i686/init-arch.h: Likewise.
4422 * sysdeps/i386/i686/hp-timing.h: Likewise.
4423 * sysdeps/x86_64/hp-timing.h: Likewise.
4424 * sysdeps/i386/isa.h: New file.
4425 * sysdeps/i386/i586/isa.h: Likewise.
4426 * sysdeps/i386/i686/isa.h: Likewise.
4427 * sysdeps/x86_64/isa.h: Likewise.
4428 * sysdeps/x86/hp-timing.h: New file.
4429 * sysdeps/x86/init-arch.h: Include <isa.h>.
4431 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4433 * math/libm-test-pow.inc (pow_test_data): Do not allow
4434 divide-by-zero exception for pow(+/- 0, -Inf).
4436 2018-10-17 Zack Weinberg <zackw@panix.com>
4438 * manual/job.texi (Job Control is Optional): Remove node, as
4439 job control has not been optional in quite some time.
4440 (Job Control): Mention briefly that systems older than
4441 POSIX.1-2001 might not support job control.
4442 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4443 defined on systems conforming to POSIX.1-2001.
4445 2018-10-17 Arjun Shankar <arjun@redhat.com>
4448 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4450 * (__gconv_read_conf): Mark function static.
4451 * (once): New static variable.
4452 * (__gconv_load_conf): New function.
4453 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4454 * iconv/gconv_db.c (once): Remove static variable.
4455 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4457 * (__gconv_find_transform): Likewise.
4458 * iconv/tst-iconv-mt.c: New test.
4459 * iconv/Makefile: Add tst-iconv_mt.
4461 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4465 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4466 (shmatt_t): Define as __syscall_ulong_t.
4467 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4468 and [__SHM_PAD_AFTER_TIME].
4469 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4470 Define shm_segsz and associated padding based on
4471 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4472 Use __syscall_ulong_t instead of unsigned long int.
4473 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4475 [__USE_MISC] (struct shm_info): Likewise.
4476 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4477 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4478 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4479 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4480 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4481 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4482 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4483 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4484 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4485 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4486 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4490 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4491 (SHMLBA): Remove macro.
4492 (__getpagesize): Remove function declaration.
4493 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4495 (SHMLBA): Remove macro.
4496 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4498 (SHMLBA): Remove macro.
4499 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4501 (SHMLBA): Remove macro.
4502 (__getpagesize): Remove function declaration.
4503 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4505 (SHMLBA): Remove macro.
4506 (__getshmlba): Remove function declaration.
4507 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4508 (SHMLBA): Remove macro.
4509 (__getpagesize): Remove function declaration.
4510 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4511 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4512 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4513 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4514 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4515 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4516 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4517 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4518 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4521 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4524 * nptl/tst-mutex10.c: New File.
4525 * nptl/Makefile (tests): Add tst-mutex10.
4526 (tst-mutex10-ENV): New variable.
4527 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4528 Ensure that elision path is used if elision is available.
4529 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4531 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4533 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4534 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4535 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4536 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4538 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4539 (__pthread_mutex_cond_lock_adjust): Likewise.
4540 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4542 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4543 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4544 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4545 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4547 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4548 Use atomic_load_relaxed and atomic_store_relaxed.
4549 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4550 Use atomic_store_relaxed.
4552 2018-10-17 Andreas Schwab <schwab@suse.de>
4554 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4555 * crypt/badsalttest.c (TIMEOUT): Likewise.
4556 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4557 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4558 * io/test-lfs.c (TIMEOUT): Likewise.
4559 * libio/tst-atime.c (TIMEOUT): Likewise.
4560 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4561 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4562 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4563 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4564 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4565 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4566 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4567 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4568 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4569 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4570 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4571 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4572 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4573 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4574 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4575 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4576 * nptl/tst-once2.c (TIMEOUT): Likewise.
4577 * nptl/tst-once3.c (TIMEOUT): Likewise.
4578 * nptl/tst-once4.c (TIMEOUT): Likewise.
4579 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4580 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4581 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4582 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4583 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4584 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4585 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4586 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4587 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4588 * posix/tst-chmod.c (TIMEOUT): Likewise.
4589 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4590 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4591 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4592 * posix/tst-regex2.c (TIMEOUT): Likewise.
4593 * posix/tst-waitid.c (TIMEOUT): Likewise.
4594 * rt/tst-aio.c (TIMEOUT): Likewise.
4595 * rt/tst-aio10.c (TIMEOUT): Likewise.
4596 * rt/tst-aio4.c (TIMEOUT): Likewise.
4597 * rt/tst-aio5.c (TIMEOUT): Likewise.
4598 * rt/tst-aio6.c (TIMEOUT): Likewise.
4599 * rt/tst-aio64.c (TIMEOUT): Likewise.
4600 * rt/tst-aio7.c (TIMEOUT): Likewise.
4601 * rt/tst-aio9.c (TIMEOUT): Likewise.
4602 * rt/tst-clock.c (TIMEOUT): Likewise.
4603 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4604 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4605 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4606 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4607 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4608 * rt/tst-timer4.c (TIMEOUT): Likewise.
4609 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4610 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4611 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4612 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4613 * time/tst-ftime.c (TIMEOUT): Likewise.
4614 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4616 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4618 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4619 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4622 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4626 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4627 instead of <bits/wordsize.h>.
4628 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4629 and [__SEM_PAD_AFTER_TIME].
4630 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4631 __syscall_ulong_t instead of unsigned long int.
4632 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4633 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4634 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4635 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4636 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4637 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4638 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4639 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4642 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4644 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4646 regex: simplify by using intprops.h
4648 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4649 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4650 intprops.h defines them.
4652 regex: __builtin_expect → __glibc_unlikely
4654 This refactoring was prompted by a problem when the regex code is
4655 used as part of Gnulib and when the builder’s compiler does not grok
4656 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4657 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4658 Although this refactoring does not fix the problem directly,
4659 we might as well have Gawk use the now-preferred glibc style for when
4660 __builtin_expect is unavailable.
4661 * posix/regex_internal.h (BE): Remove.
4662 All uses replaced by __glibc_unlikely or __glibc_likely.
4664 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4668 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4669 instead of <bits/wordsize.h>.
4670 (msgqnum_t): Define as __syscall_ulong_t.
4671 (msglen_t): Likewise.
4672 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4673 and [__MSQ_PAD_AFTER_TIME].
4674 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4675 __syscall_ulong_t instead of unsigned long int.
4676 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4677 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4678 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4680 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4681 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4682 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4683 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4684 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4685 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4686 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4688 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4690 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4691 (struct shmid_ds): Condition padding after time fields on
4693 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4694 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4695 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4697 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4698 (struct semid_ds): Condition padding after time fields on
4700 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4701 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4702 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4703 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4705 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4706 (struct msqid_ds): Condition padding after time fields on
4708 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4709 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4710 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4711 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4713 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4715 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4717 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4719 * libio/tst-readline.c (TIMEOUT): Define.
4721 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4723 mktime fix for Gnulib + coreutils
4725 This fix affects only Gnulib. Problem discovered when
4726 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4728 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4729 Do not define since it is not used. Defining an unused static
4730 function prompts a warning from GCC when Coreutils is configured
4731 with --enable-gcc-warnings.
4733 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4735 * benchtests/scripts/compare_bench.py (main): set float type on
4738 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4741 * localedata/locales/kl_GL (mon): Update, the relative case.
4742 (alt_mon): Add, fill with month names in the nominative case.
4743 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4744 (d_fmt): Set to "%b %d %Y".
4746 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4748 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4749 <bits/mman-linux.h>.
4750 (PROT_READ): Don't define here.
4751 (PROT_WRITE): Likewise.
4752 (PROT_EXEC): Likewise.
4753 (PROT_NONE): Likewise.
4754 (PROT_GROWSDOWN): Likewise.
4755 (PROT_GROWSUP): Likewise.
4756 (MAP_SHARED): Likewise.
4757 (MAP_PRIVATE): Likewise.
4758 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4759 [__USE_MISC] (MAP_FILE): Likewise.
4760 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4761 [__USE_MISC] (MAP_ANON): Likewise.
4762 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4763 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4764 (MCL_CURRENT): Likewise.
4765 (MCL_FUTURE): Likewise.
4766 (MCL_ONFAULT): Likewise.
4767 [__USE_MISC] (MADV_NORMAL): Likewise.
4768 [__USE_MISC] (MADV_RANDOM): Likewise.
4769 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4770 [__USE_MISC] (MADV_WILLNEED): Likewise.
4771 [__USE_MISC] (MADV_DONTNEED): Likewise.
4772 [__USE_MISC] (MADV_FREE): Likewise.
4773 [__USE_MISC] (MADV_REMOVE): Likewise.
4774 [__USE_MISC] (MADV_DONTFORK): Likewise.
4775 [__USE_MISC] (MADV_DOFORK): Likewise.
4776 [__USE_MISC] (MADV_HWPOISON): Likewise.
4777 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4778 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4779 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4780 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4781 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4782 (__MAP_ANONYMOUS): New macro.
4783 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4784 <bits/mman-linux.h> inclusion.
4785 (MAP_FIXED): Likewise.
4786 (MS_SYNC): Likewise.
4787 (MS_ASYNC): Likewise.
4788 (MS_INVALIDATE): Likewise.
4789 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4790 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4791 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4792 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4793 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4794 [__USE_MISC] (MADV_DODUMP): Likewise.
4795 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4796 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4799 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4801 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4802 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4803 Add test-nldbl-redirect.
4804 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4805 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4806 $(objpfx)libnldbl_nonshared.a.
4808 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4810 * support/support.h (support_objdir_elf_ldso): New variable.
4811 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4812 * support/Makefile (CFLAGS-support_paths.c): Add definition
4813 for OBJDIR_ELF_LDSO_PATH.
4814 * support/test-container.c (main): Search for the ld.so
4815 which is also used by the testsuite.
4817 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4820 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4821 should be "sap" rather than "sab".
4822 (day): Fix spelling of Sunday, should be "sapaat" rather than
4825 2018-10-02 Joseph Myers <joseph@codesourcery.com>
4827 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4829 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4832 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4833 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4834 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4836 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4838 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4840 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4842 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4844 (CFLAGS-elision-unlock.c): Likewise.
4845 (CFLAGS-elision-timed.c): Likewise.
4846 (CFLAGS-elision-trylock.c): Likewise.
4847 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4849 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4852 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4853 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4854 new fd_to_filename interface.
4855 * libio/freopen64.c (freopen64): Likewise.
4856 * libio/tst-memstream.h: New file.
4857 * libio/tst-memstream4.c: Likewise.
4858 * libio/tst-wmemstream4.c: Likewise.
4859 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4860 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4861 and remove internal dynamic allocation.
4863 2018-10-01 Joseph Myers <joseph@codesourcery.com>
4865 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4866 (MREMAP_MAYMOVE): Do not define here.
4867 [__USE_GNU] (MREMAP_FIXED): Likewise.
4868 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4869 (MREMAP_MAYMOVE): Define here instead.
4870 [__USE_GNU] (MREMAP_FIXED): Likewise.
4871 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4872 (MREMAP_MAYMOVE): Remove.
4873 [__USE_GNU] (MREMAP_FIXED): Likewise.
4875 2018-09-28 Joseph Myers <joseph@codesourcery.com>
4877 * math/fromfp.h: Do not include <math_private.h>.
4878 * math/s_cacosh_template.c: Likewise.
4879 * math/s_casin_template.c: Likewise.
4880 * math/s_casinh_template.c: Likewise.
4881 * math/s_ccos_template.c: Likewise.
4882 * math/s_cproj_template.c: Likewise.
4883 * math/s_fdim_template.c: Likewise.
4884 * math/s_fmaxmag_template.c: Likewise.
4885 * math/s_fminmag_template.c: Likewise.
4886 * math/s_iseqsig_template.c: Likewise.
4887 * math/s_ldexp_template.c: Likewise.
4888 * math/s_nextdown_template.c: Likewise.
4889 * math/w_log1p_template.c: Likewise.
4890 * math/w_scalbln_template.c: Likewise.
4891 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4892 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4893 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4894 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4895 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4896 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4897 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4898 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4899 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4900 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4901 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4902 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4903 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4904 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4905 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4906 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4907 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4912 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4913 * sysdeps/ieee754/k_standardf.c: Likewise.
4914 * sysdeps/ieee754/k_standardl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4917 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4923 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4924 * sysdeps/ieee754/s_signgam.c: Likewise.
4925 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4926 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4927 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4928 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4929 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4930 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4931 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4932 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4933 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4934 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4935 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4936 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4937 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4938 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4939 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4940 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4941 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4942 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4943 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4944 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4945 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4946 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4947 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4948 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4949 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4950 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4951 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4952 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4953 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4954 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4955 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4956 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4957 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4958 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4959 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4960 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4961 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4963 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4965 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4968 * sysdeps/i386/dl-cet.c: Removed.
4969 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4971 (_dl_runtime_profile_shstk): Likewise.
4972 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4973 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4975 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4978 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4979 do_test_with_invalid_iov): New tests.
4980 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4981 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4982 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4984 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4985 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4986 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4988 2018-09-27 Joseph Myers <joseph@codesourcery.com>
4990 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4991 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4992 (MATH_REDIRECT_BINARY_ARGS): New macro.
4993 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4994 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4995 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4997 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4999 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5000 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5001 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5010 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5011 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5016 * sysdeps/generic/math_private_calls.h
5017 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5018 Do not declare and define as an inline function.
5019 * math/divtc3.c (__divtc3): Use copysign functions instead of
5020 __copysign variants.
5021 * math/multc3.c (__multc3): Likewise.
5022 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5023 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5024 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5025 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5028 (__ieee754_yn): Likewise.
5029 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5030 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5031 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5033 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5035 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5036 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5042 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5043 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5045 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5046 (__ieee754_ynf): Likewise.
5047 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5048 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5049 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5050 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5052 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5053 (__ieee754_ynl): Likewise.
5054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5059 (__ieee754_ynl): Likewise.
5060 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5063 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5065 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5067 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5069 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5070 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5071 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5073 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5074 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5075 using MATH_REDIRECT.
5076 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5078 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5081 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5082 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5089 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5090 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5092 (round): Redirect to __round.
5093 (__roundl): Call round instead of __round.
5094 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5096 [_ARCH_PWR5X] (__roundf): Likewise.
5097 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5098 functions instead of __round variants.
5099 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5100 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5102 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5104 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5106 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5109 (__ieee754_expl): Call roundl instead of __roundl.
5111 2018-09-27 Andreas Schwab <schwab@suse.de>
5114 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5115 (do_test): Make st1 static.
5117 2018-09-26 Andreas Schwab <schwab@suse.de>
5120 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5121 * elf/Makefile (tests): Add tst-unwind-ctor.
5122 (modules-names): Add tst-unwind-ctor-lib.
5123 ($(objpfx)tst-unwind-ctor): Depend on
5124 $(objpfx)tst-unwind-ctor-lib.so.
5126 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5128 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5129 file. Most contents moved from ....
5130 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5131 and include <bits/mman-map-flags-generic.h>.
5132 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5133 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5134 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5135 <bits/mman-map-flags-generic.h>.
5136 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5137 macros defined in <bits/mman-map-flags-generic.h>.
5138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5139 <bits/mman-map-flags-generic.h>.
5140 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5141 defined in <bits/mman-map-flags-generic.h>.
5143 2018-09-26 Andreas Schwab <schwab@suse.de>
5145 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5148 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5149 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5150 Fangrui Song <maskray@google.com>
5153 * config.make.in (have-textrel_ifunc): New define.
5154 * configure.ac: Add check if linker supports textrel relocation with
5156 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5158 (CFLAGS-tst-ifunc-textrel.c): New rule.
5159 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5160 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5161 * elf/tst-ifunc-textrel.c: New file.
5163 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5165 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5166 <bits/procfs-prregset.h>.
5167 (prgregset_t): Define using __prgregset_t.
5168 (prfpregset_t): Define using __prfpregset_t.
5169 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5170 (sysdep_headers): Add bits/procfs-prregset.h.
5171 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5172 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5173 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5174 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5176 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5177 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5178 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5180 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5181 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5182 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5183 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5184 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5185 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5186 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5187 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5188 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5189 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5190 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5191 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5192 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5193 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5194 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5195 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5196 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5197 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5198 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5199 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5200 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5202 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5203 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5205 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5206 AArch64 version. Include <bits/procfs.h>.
5207 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5208 (sysdep_headers): Add bits/procfs.h.
5209 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5210 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5211 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5212 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5213 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5214 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5215 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5216 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5217 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5218 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5219 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5220 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5221 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5222 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5223 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5224 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5225 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5227 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5229 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5232 2018-09-25 Arjun Shankar <arjun@redhat.com>
5234 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5235 (__gconv_max_path_elem_len): Likewise.
5236 (__gconv_nmodules): Likewise.
5237 (__gconv_get_path): Likewise.
5238 (path_elem): Move to ...
5239 * iconv/gconv_conf.c: ... here.
5240 (__gconv_get_path): Mark function static.
5241 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5242 * iconv/gconv_open.c: ... here.
5244 2018-09-24 Andreas Schwab <schwab@suse.de>
5246 * scripts/haveversions.awk: New file.
5247 * Makerules ($(common-objpfx)Versions.def)
5248 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5249 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5251 * Makeconfig ($(common-objpfx)Versions.def)
5252 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5253 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5255 ($(common-objpfx)Versions.mk): New rule. Include it.
5256 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5257 Emit error if build-obsolete-nsl = yes.
5258 * manual/install.texi (Configuring and compiling): Describe
5259 --enable-obsolete-nsl as unavaiable after version 2.28.
5260 * INSTALL: Regenerate.
5262 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5264 * NEWS: Add note about new TLE support on powerpc64le.
5265 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5266 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5268 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5269 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5270 * sysdeps/powerpc/powerpc32/sysdep.h,
5271 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5272 ABORT_TRANSACTION): Remove macros.
5273 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5274 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5275 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5277 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5278 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5280 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5282 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5285 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5286 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5287 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5288 which is the same as in it_IT.
5289 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5290 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5292 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5294 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5295 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5296 using MATH_REDIRECT.
5297 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5299 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5301 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5303 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5309 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5310 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5311 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5312 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5313 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5314 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5315 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5317 (ceil): Redirect to __ceil.
5318 (floor): Redirect to __floor.
5319 (trunc): Redirect to __trunc.
5320 (__truncl): Call trunc instead of __trunc.
5321 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5323 [_ARCH_PWR5X] (__truncf): Likewise.
5324 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5325 trunc functions instead of __trunc variants.
5326 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5328 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5330 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5332 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5335 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5336 [__i586__ || __pentium__].
5337 [__i486__]: Handle explicitly.
5338 (HAS_CPUID): Define to 1 if above macros are undefined.
5339 (HAS_I586): Likewise.
5340 (HAS_I686): Likewise.
5342 2018-09-20 Florian Weimer <fweimer@redhat.com>
5344 * misc/tst-gethostid.c: New file.
5345 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5346 (tst-gethostid): Link with -ldl.
5348 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5350 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5351 value from gethostbyname_r.
5353 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5355 * stdlib/tst-setcontext9.c (f1): Rename to...
5357 (f1b): New function implementing lower half of f1 in alternate stack.
5359 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5361 Fix mktime localtime offset confusion
5363 * include/time.h (__mktime_internal): The localtime offset is now
5364 of type long int instead of time_t. This is the longstanding type
5365 in glibc, and it is more than enough to represent difference
5366 between localtime and gmtime even if it is 32 bits and time_t is
5367 64. Changing it now will let us avoid an unnecessary change when
5368 time_t is widened to 64 bits on 32-bit platforms.
5369 * time/mktime-internal.h (mktime_offset_t): Now long int.
5371 Merge mktime, timegm from upstream Gnulib
5372 [BZ #23603][BZ #16346]
5373 This fixes some obscure problems with integer overflow.
5374 Although it looks scary, it is almost all a byte-for-byte copy
5375 from Gnulib, and the Gnulib code has been tested reasonably well.
5376 * include/intprops.h: New file, copied from Gnulib.
5377 * include/verify.h, time/mktime-internal.h:
5378 New tiny files, simplified from Gnulib.
5379 * time/mktime.c: Copy from Gnulib. This has the following changes:
5380 Do not include config.h if DEBUG_MKTIME is nonzero.
5381 Include stdbool.h, intprops.h, verify.h.
5382 Include string.h only if needed.
5383 Include stdlib.h on MS-Windows.
5384 Include mktime-internal.h.
5385 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5386 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5387 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5388 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5389 simplify later conditionals; default the others to zero. Use
5390 these conditionals to express only the code needed on the current
5391 platform. In uses of these conditionals, explicitly spell out how
5392 _LIBC affects things, so it’s easier to review from a glibc
5394 (WRAPV): Remove; no longer needed now that we have
5395 systematic overflow checking.
5396 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5397 compartmentalize tzset issues. Move system-dependent tzsettish
5398 code here from mktime.
5399 (verify): Remove; now done by verify.h. All uses changed.
5400 (long_int): Use a more-conservative definition, to avoid
5402 (SHR): Remove, replacing with ...
5403 (shr): New function, which means we needn’t worry about side
5404 effects in args, and conversion analysis is simpler.
5405 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5406 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5407 (time_t_avg, time_t_add_ok): Remove.
5408 (mktime_min, mktime_max): New constants.
5409 (leapyear, isdst_differ): Use bool for booleans.
5410 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5411 Use long_int, not time_t, for mktime differences.
5412 (long_int_avg): New function, replacing time_t_avg.
5413 INT_ADD_WRAPV replaces time_t_add_ok.
5414 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5416 (convert_time): New function.
5417 (ranged_convert): Use it.
5418 (__mktime_internal): Last arg now points to mktime_offset_t, not
5419 time_t. All uses changed. This is a no-op on glibc, where
5420 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5421 offset guess. Directly check for integer overflow instead of
5422 using a heuristic that works only 99.9...% of the time.
5423 Access *OFFSET only once, to avoid an unlikely race if the
5424 compiler delays a load and if this cascades into a signed integer
5426 (mktime): Move tzsettish code to my_tzset, and move
5427 localtime_offset to within mktime so that it doesn’t
5428 need a separate ifdef.
5429 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5430 instead of localtime.
5431 * time/timegm.c: Copy from Gnulib. This has the following changes:
5432 Include mktime-internal.h.
5433 [!_LIBC]: Include config.h and time.h. Do not include
5434 timegm.h or time_r.h. Make __mktime_internal a macro,
5435 and include mktime-internal.h to get its declaration.
5436 (timegm): Temporary is now mktime_offset_t, not time_t.
5437 This affects only Gnulib.
5439 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5442 * string/test-strstr.c (pr23637): New function.
5443 (test_main): Add tests with longer needles.
5444 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5445 * string/strstr.c (AVAILABLE): Likewise.
5447 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5449 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5451 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5453 * NEWS: Mention pow improvements.
5454 * math/Makefile (type-double-routines): Add e_pow_log_data.
5455 * sysdeps/generic/math_private.h (__exp1): Remove.
5456 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5457 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5458 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5460 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5461 (exp_inline): Remove.
5462 (__ieee754_exp): Only single double input is handled.
5463 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5464 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5465 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5466 (__pow_log_data): Define.
5467 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5468 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5469 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5470 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5472 (CFLAGS-e_pow-fma4.c): Likewise.
5474 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5476 Simplify tzfile fstat failure code
5478 * time/tzfile.c (__tzfile_read): Simplify slightly.
5480 Fix tzfile low-memory assertion failure
5482 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5483 when registering time zone abbreviations.
5485 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5487 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5488 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5489 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5490 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5491 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5492 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5493 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5497 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5499 (__ceill): Call ceil instead of __ceil.
5500 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5502 (__floorl): Call floor instead of __floor.
5504 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5506 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5507 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5508 using MATH_REDIRECT.
5509 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5511 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5514 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5515 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5518 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5523 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5524 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5527 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5528 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5529 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5531 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5532 functions instead of __ceil variants.
5533 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5534 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5538 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5539 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5541 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5542 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5545 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5547 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5548 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5549 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5550 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5551 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5552 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5553 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5554 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5555 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5556 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5557 (ILL_BADIADDR): Remove constant.
5558 (TRAP_BRANCH): Likewise.
5559 (TRAP_HWBKPT): Likewise.
5561 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5564 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5565 Remove [_MIPS_SIM = _ABIN32] conditional case.
5566 (struct elf_prpsinfo): Likewise.
5569 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5570 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5571 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5573 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5574 elf_prpsinfo): Likewise.
5575 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5576 elf_prpsinfo): Likewise.
5577 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5580 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5581 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5582 using MATH_REDIRECT.
5583 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5585 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5586 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5587 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5588 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5591 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5592 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5595 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5596 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5597 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5598 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5599 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5600 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5602 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5603 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5608 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5609 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5610 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5611 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5613 * math/e_scalbf.c (invalid_fn): Likewise.
5614 * math/e_scalbl.c (invalid_fn): Likewise.
5615 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5617 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5619 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5620 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5621 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5623 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5627 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5628 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5630 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5631 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5633 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5634 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5635 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5636 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5637 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5638 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5639 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5640 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5641 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5642 && !NO_MATH_REDIRECT] (floor): Likewise.
5643 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5645 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5648 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5649 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5652 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5657 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5658 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5661 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5662 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5663 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5665 [_ARCH_PWR5X] (__floorf): Likewise.
5666 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5668 [__SSE4_1__] (__floorf): Likewise.
5669 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5670 instead of __floor variants.
5671 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5672 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5673 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5674 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5675 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5676 * math/w_tgamma_compat.c (__tgamma): Likewise.
5677 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5678 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5679 * math/w_tgammal_compat.c (__tgammal): Likewise.
5680 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5683 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5685 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5686 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5688 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5689 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5691 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5692 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5695 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5698 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5700 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5701 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5702 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5704 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5706 * elf/Makefile (modules-names-tests): New variable.
5708 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5710 * NEWS: Mention log2 improvements.
5711 * math/Makefile (type-double-routines): Add e_log2_data.
5712 * sysdeps/i386/fpu/e_log2_data.c: New file.
5713 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5714 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5715 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5716 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5718 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5720 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5722 * NEWS: Mention log improvement.
5723 * math/Makefile (type-double-routines): Add e_log_data.
5724 * sysdeps/i386/fpu/e_log_data.c: New file.
5725 * sysdeps/ia64/fpu/e_log_data.c: New file.
5726 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5727 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5728 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5729 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5730 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5731 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5733 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5734 Xuepeng Guo <xuepeng.guo@intel.com>
5737 * sysdeps/i386/start.S: Include <sysdep.h>
5738 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5739 enabled. Add cfi_undefined (eip).
5741 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5745 (EXTRACT_WORDS64): Likewise.
5746 (INSERT_WORDS64): Likewise.
5747 (GET_FLOAT_WORD): Likewise.
5748 (SET_FLOAT_WORD): Likewise.
5750 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5752 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5753 build, but not for second build if --full-gcc. Use
5754 --enable-languages=all for second build if --full-gcc.
5755 (get_parser): Add --full-gcc option.
5756 (main): Update call to Context.
5758 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5761 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5762 Single Quotation Mark).
5763 (thousands_sep): Likewise.
5764 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5765 * localedata/locales/it_IT (thousands_sep): Use ".".
5766 (grouping): Use "3;3".
5768 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5770 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5771 x86_64 and i686 configs using --enable-obsolete-rpc
5772 --enable-obsolete-nsl.
5774 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5776 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5778 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5780 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5781 Increment size of new_argv by one.
5783 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5786 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5787 * localedata/locales/ar_IN (d_fmt): Likewise.
5788 * localedata/locales/bhb_IN (d_fmt): Likewise.
5789 * localedata/locales/bho_IN (d_fmt): Likewise.
5790 * localedata/locales/bn_BD (d_fmt): Likewise.
5791 * localedata/locales/bn_IN (d_fmt): Likewise.
5792 * localedata/locales/doi_IN (d_fmt): Likewise.
5793 * localedata/locales/gu_IN (d_fmt): Likewise.
5794 * localedata/locales/hi_IN (d_fmt): Likewise.
5795 * localedata/locales/hne_IN (d_fmt): Likewise.
5796 * localedata/locales/kn_IN (d_fmt): Likewise.
5797 * localedata/locales/mag_IN (d_fmt): Likewise.
5798 * localedata/locales/mai_IN (d_fmt): Likewise.
5799 * localedata/locales/mjw_IN (d_fmt): Likewise.
5800 * localedata/locales/ml_IN (d_fmt): Likewise.
5801 * localedata/locales/mni_IN (d_fmt): Likewise.
5802 * localedata/locales/mr_IN (d_fmt): Likewise.
5803 * localedata/locales/pa_IN (d_fmt): Likewise.
5804 * localedata/locales/raj_IN (d_fmt): Likewise.
5805 * localedata/locales/sat_IN (d_fmt): Likewise.
5806 * localedata/locales/sd_IN (d_fmt): Likewise.
5807 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5808 * localedata/locales/ta_IN (d_fmt): Likewise.
5809 * localedata/locales/ta_LK (d_fmt): Likewise.
5810 * localedata/locales/tcy_IN (d_fmt): Likewise.
5811 * localedata/locales/ur_IN (d_fmt): Likewise.
5813 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5814 * localedata/locales/ks_IN (d_fmt): Likewise.
5815 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5817 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5818 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5819 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5820 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5822 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5824 * NEWS: Mention exp and exp2 improvements.
5825 * math/Makefile (libm-support): Remove t_exp.
5826 (type-double-routines): Add math_err and e_exp_data.
5827 * sysdeps/aarch64/libm-test-ulps: Update.
5828 * sysdeps/arm/libm-test-ulps: Update.
5829 * sysdeps/i386/fpu/e_exp_data.c: New file.
5830 * sysdeps/i386/fpu/math_err.c: New file.
5831 * sysdeps/i386/fpu/t_exp.c: Remove.
5832 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5833 * sysdeps/ia64/fpu/math_err.c: New file.
5834 * sysdeps/ia64/fpu/t_exp.c: Remove.
5835 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5836 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5837 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5839 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5840 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5841 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5842 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5843 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5844 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5845 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5846 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5847 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5848 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5852 2018-09-05 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/alpha/fpu/math_private.h: Remove.
5856 * sysdeps/generic/math_private.h
5857 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5858 Move this inline function ....
5859 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5860 * include/math.h [!_ISOMAC]: To here....
5862 2018-09-04 Joseph Myers <joseph@codesourcery.com>
5864 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5866 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5867 * include/fenv.h [!_ISOMAC]: ... to here.
5868 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5869 (feraiseexcept): Likewise.
5870 * math/fromfp.h: Do not include <fenv_private.h>.
5871 * math/s_cexp_template.c: Likewise.
5872 * math/s_csin_template.c: Likewise.
5873 * math/s_csinh_template.c: Likewise.
5874 * math/s_ctan_template.c: Likewise.
5875 * math/s_ctanh_template.c: Likewise.
5876 * math/s_iseqsig_template.c: Likewise.
5877 * math/w_acos_compat.c: Likewise.
5878 * math/w_acosf_compat.c: Likewise.
5879 * math/w_acosl_compat.c: Likewise.
5880 * math/w_asin_compat.c: Likewise.
5881 * math/w_asinf_compat.c: Likewise.
5882 * math/w_asinl_compat.c: Likewise.
5883 * math/w_j0_compat.c: Likewise.
5884 * math/w_j0f_compat.c: Likewise.
5885 * math/w_j0l_compat.c: Likewise.
5886 * math/w_j1_compat.c: Likewise.
5887 * math/w_j1f_compat.c: Likewise.
5888 * math/w_j1l_compat.c: Likewise.
5889 * math/w_jn_compat.c: Likewise.
5890 * math/w_jnf_compat.c: Likewise.
5891 * math/w_log10_compat.c: Likewise.
5892 * math/w_log10f_compat.c: Likewise.
5893 * math/w_log10l_compat.c: Likewise.
5894 * math/w_log2_compat.c: Likewise.
5895 * math/w_log2f_compat.c: Likewise.
5896 * math/w_log2l_compat.c: Likewise.
5897 * math/w_log_compat.c: Likewise.
5898 * math/w_logf_compat.c: Likewise.
5899 * math/w_logl_compat.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5905 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5906 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5907 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5908 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5909 * sysdeps/ieee754/k_standardl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5922 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5923 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5925 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5926 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5927 * math/w_ilogb_template.c: Include <fenv.h> instead of
5929 * math/w_llogb_template.c: Likewise.
5930 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5931 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5933 2018-09-03 Joseph Myers <joseph@codesourcery.com>
5935 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5936 * math/fromfp.h: Include <fenv_private.h>.
5937 * math/math-narrow.h: Likewise.
5938 * math/s_cexp_template.c: Likewise.
5939 * math/s_csin_template.c: Likewise.
5940 * math/s_csinh_template.c: Likewise.
5941 * math/s_ctan_template.c: Likewise.
5942 * math/s_ctanh_template.c: Likewise.
5943 * math/s_iseqsig_template.c: Likewise.
5944 * math/w_acos_compat.c: Likewise.
5945 * math/w_acosf_compat.c: Likewise.
5946 * math/w_acosl_compat.c: Likewise.
5947 * math/w_asin_compat.c: Likewise.
5948 * math/w_asinf_compat.c: Likewise.
5949 * math/w_asinl_compat.c: Likewise.
5950 * math/w_ilogb_template.c: Likewise.
5951 * math/w_j0_compat.c: Likewise.
5952 * math/w_j0f_compat.c: Likewise.
5953 * math/w_j0l_compat.c: Likewise.
5954 * math/w_j1_compat.c: Likewise.
5955 * math/w_j1f_compat.c: Likewise.
5956 * math/w_j1l_compat.c: Likewise.
5957 * math/w_jn_compat.c: Likewise.
5958 * math/w_jnf_compat.c: Likewise.
5959 * math/w_llogb_template.c: Likewise.
5960 * math/w_log10_compat.c: Likewise.
5961 * math/w_log10f_compat.c: Likewise.
5962 * math/w_log10l_compat.c: Likewise.
5963 * math/w_log2_compat.c: Likewise.
5964 * math/w_log2f_compat.c: Likewise.
5965 * math/w_log2l_compat.c: Likewise.
5966 * math/w_log_compat.c: Likewise.
5967 * math/w_logf_compat.c: Likewise.
5968 * math/w_logl_compat.c: Likewise.
5969 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5970 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5971 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5972 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5981 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5982 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5984 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5985 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5986 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5988 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5989 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5990 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5991 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5994 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5995 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5997 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5999 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6001 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6002 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6003 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6004 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6005 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6006 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6007 * sysdeps/ieee754/k_standardl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6033 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6038 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6039 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6044 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6046 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6047 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6048 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6049 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6050 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6051 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6052 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6053 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6054 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6055 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6056 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6057 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6058 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6059 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6060 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6061 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6062 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6063 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6064 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6065 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6066 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6067 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6068 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6069 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6070 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6071 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6072 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6073 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6074 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6075 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6076 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6077 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6078 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6080 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6083 * include/stdio.h (__libc_fatal): Mention newline in comment.
6084 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6085 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6087 * nss/nsswitch.c (__nss_next2): Likewise.
6088 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6089 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6090 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6091 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6092 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6093 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6094 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6095 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6096 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6097 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6098 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6099 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6100 (__netlink_assert_response): Likewise.
6102 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6104 * conform/glibcconform.py: New file.
6105 * conform/list-header-symbols.py: Likewise.
6106 * conform/list-header-symbols.pl: Remove.
6107 * conform/Makefile (tests-special): Only add linknamespace tests
6109 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6111 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6114 * support/Makefile (libsupport-routines): Add
6115 support_copy_file_range and xcopy_file_range.
6116 * support/support.h: Include <sys/types.h>.
6117 (support_copy_file_range): New prototype.
6118 * support/support_copy_file_range.c: New file. Copied and
6119 modified from io/copy_file_range-compat.c.
6120 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6121 instead of copy_file_range.
6122 * support/xcopy_file_range.c: New file.
6123 * support/xunistd.h (xcopy_file_range): New prototype.
6125 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6127 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6128 xpthread_create and xpthread_join.
6130 2018-08-30 Florian Weimer <fweimer@redhat.com>
6132 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6134 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6136 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6139 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6141 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6142 and minus_oflow as non-finite.
6144 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6146 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6147 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6148 moved to fenv_private.h except for ...
6149 (TOINT_INTRINSICS): Kept in math_private.h.
6150 (roundtoint): Likewise.
6151 (converttoint): Likewise.
6152 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6153 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6154 * sysdeps/arm/math_private.h: Remove.
6155 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6157 * sysdeps/generic/math_private.h: ... this file. Include
6158 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6159 Include <fenv_private.h>. Remove functions and macros moved to
6161 * sysdeps/i386/fpu/math_private.h: Remove.
6162 * sysdeps/mips/math_private.h: Move to ....
6163 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6164 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6165 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6166 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6167 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6168 * sysdeps/powerpc/fpu/math_private.h: Do not include
6170 * sysdeps/riscv/rvf/math_private.h: Move to ....
6171 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6172 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6174 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6175 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6176 * sysdeps/sparc/fpu/math_private.h: Remove.
6177 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6178 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6179 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6181 * sysdeps/x86_64/fpu/math_private.h: Do not include
6182 <sysdeps/i386/fpu/fenv_private.h>.
6184 2018-08-28 Florian Weimer <fweimer@redhat.com>
6187 * posix/tst-regcomp-truncated.c: New file.
6188 * posix/Makefile (tests): Add it.
6189 (tst-regcomp-truncated.out): Depend on generated locales.
6191 2018-08-28 Florian Weimer <fweimer@redhat.com>
6193 * support/test-container.c (main): Treat unshare failure with
6194 EPERM as an unsupported test.
6196 2018-08-28 Florian Weimer <fweimer@redhat.com>
6199 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6200 * nscd/netgroupcache.c
6201 (addgetnetgrentX): Add tofreep parameter. Do not free
6202 heap-allocated buffer.
6203 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6204 (addgetnetgrentX_ignore): New function.
6205 (addgetnetgrent): Call it.
6206 (readdgetnetgrent): Likewise.
6208 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6210 * string/memmem.c: Use memcmp for first match.
6212 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6215 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6217 2018-08-27 DJ Delorie <dj@redhat.com>
6219 * support/Makefile (others): Don't list programs explicitly as a
6220 dependency of "others".
6222 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6224 * sysdeps/generic/math-tests-trap-force.h: New file.
6225 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6226 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6227 * sysdeps/powerpc/math-tests.h: Remove file.
6228 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6230 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6231 Torvald Riegel <triegel@redhat.com>
6234 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6235 Update r to include the set wake-request flag if waiters are
6236 remaining after spinning.
6238 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6240 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6242 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6245 regex: fix uninitialized memory access
6246 I introduced this bug into gnulib in commit
6247 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6248 eventually it was merged into glibc. The bug was found by
6249 project-repo <bugs@feusi.co> and reported here:
6250 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6251 Diagnosis and draft fix reported by Assaf Gordon here:
6252 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6253 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6254 * posix/regex_internal.c (build_wcs_upper_buffer):
6255 Fix bug when mbrtowc returns 0.
6257 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6259 * po/be.po: Update translation.
6261 2018-08-24 DJ Delorie <dj@delorie.com>
6263 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6266 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6269 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6270 create temporary files in source tree.
6272 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6274 * sysdeps/generic/math-tests-trap.h: New file.
6275 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6276 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6277 * sysdeps/aarch64/math-tests.h: Remove file.
6278 * sysdeps/arm/math-tests.h: Likewise.
6279 * sysdeps/riscv/math-tests.h: Likewise.
6280 * sysdeps/aarch64/math-tests-trap.h: New file.
6281 * sysdeps/arm/math-tests-trap.h: Likewise.
6282 * sysdeps/riscv/math-tests-trap.h: Likewise.
6284 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6286 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6287 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6288 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6289 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6290 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6291 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6296 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6298 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6299 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6300 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6301 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6302 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6303 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6305 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6307 * sysdeps/generic/math-tests-exceptions.h: New file.
6308 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6309 (EXCEPTION_TESTS_float): Do not define here.
6310 (EXCEPTION_TESTS_double): Likewise.
6311 (EXCEPTION_TESTS_long_double): Likewise.
6312 (EXCEPTION_TESTS_float128): Likewise.
6313 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6315 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6316 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6317 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6318 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6319 * sysdeps/mips/math-tests.h: Likewise.
6320 * sysdeps/nios2/math-tests.h: Likewise.
6321 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6322 (EXCEPTION_TESTS_float): Do not define here.
6323 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6324 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6325 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6327 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6329 * NEWS: Move optimized sinf entry to 2.29.
6331 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6333 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6335 2018-08-22 DJ Delorie <dj@redhat.com>
6337 * Makefile (testroot.pristine): New rules to initialize the
6338 test-in-container "testroot".
6339 * Makerules (all-testsuite): Add tests-container.
6340 * Rules (tests-expected): Add tests-container.
6341 (binaries-all-tests): Likewise.
6342 (tests-container): New, run these tests in the testroot container.
6343 * support/Makefile (others): Add *-container, support_paths.c,
6344 xmkdirp, and links-dso-program.
6345 * support/links-dso-program-c.c: New.
6346 * support/links-dso-program.cc: New.
6347 * support/test-container.c: New.
6348 * support/shell-container.c: New.
6349 * support/echo-container.c: New.
6350 * support/true-container.c: New.
6351 * support/xmkdirp.c: New.
6352 * support/xsymlink.c: New.
6353 * support/support_paths.c: New.
6354 * support/support.h: Add support paths prototypes.
6355 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6357 * nss/tst-nss-test3.c: Convert to test-in-container.
6358 * nss/tst-nss-test3.root/: New.
6360 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6362 regex: port Gnulib code to z/OS POSIX environment
6363 Problem reported by Arnold Robbins in:
6364 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6365 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6368 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6370 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6371 (ROUNDING_TESTS_double): Remove.
6372 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6373 (ROUNDING_TESTS_double): Remove.
6374 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6375 (ROUNDING_TESTS_double): Remove.
6376 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6377 (ROUNDING_TESTS_float): Remove.
6378 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6379 (ROUNDING_TESTS_float): Remove.
6380 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6381 (ROUNDING_TESTS_float): Remove.
6382 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6384 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6385 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6387 * sysdeps/generic/math-tests-rounding.h: New file.
6388 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6389 (ROUNDING_TESTS_float): Do not define here.
6390 (ROUNDING_TESTS_double): Likewise.
6391 (ROUNDING_TESTS_long_double): Likewise.
6392 (ROUNDING_TESTS_float128): Likewise.
6393 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6394 (ROUNDING_TESTS_double): Undefine before defining.
6395 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6396 (ROUNDING_TESTS_double): Undefine before defining.
6397 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6398 (ROUNDING_TESTS_double): Undefine before defining.
6399 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6400 (ROUNDING_TESTS_float): Undefine before defining.
6401 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6402 (ROUNDING_TESTS_float): Undefine before defining.
6403 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6404 (ROUNDING_TESTS_float): Undefine before defining.
6405 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6406 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6408 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6409 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6410 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6411 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6412 (ROUNDING_TESTS_float): Do not define here.
6413 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6414 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6415 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6416 (ROUNDING_TESTS_float): Likewise.
6417 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6418 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6419 * sysdeps/mips/math-tests.h [__mips_soft_float]
6420 (ROUNDING_TESTS_float): Likewise.
6421 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6422 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6423 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6424 (ROUNDING_TESTS_double): Likewise.
6425 (ROUNDING_TESTS_long_double): Likewise.
6427 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6429 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6430 (PF_XDP): New macro.
6431 (AF_XDP): New macro.
6432 (SOL_XDP): New macro.
6434 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6436 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6437 (TCP_INQ): Likewise.
6438 (TCP_CM_INQ): Likewise.
6439 (TCP_REPAIR_ON): Likewise.
6440 (TCP_REPAIR_OFF): Likewise.
6441 (TCP_REPAIR_OFF_NO_WP): Likewise.
6442 (struct tcp_zerocopy_receive): New type.
6444 2018-08-21 Florian Weimer <fweimer@redhat.com>
6446 * support/support.h (support_descriptor_supports_holes): Declare.
6447 * support/Makefile (libsupport-routines): Add
6448 support_descriptor_supports_holes.
6449 * support/support_descriptor_supports_holes.c: New file.
6450 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6451 and stop testing if holes are not supported.
6452 * io/test-lfs.c (do_prepare): Likewise.
6453 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6455 * timezone/tst-tzset.c (create_tz_file): Likewise.
6456 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6458 (do_prepare): Set it.
6459 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6461 2018-08-21 Florian Weimer <fweimer@redhat.com>
6464 * Makeconfig (+cflags): Do not sort (and deduplicate).
6466 2018-08-21 Florian Weimer <fweimer@redhat.com>
6468 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6469 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6471 2018-08-20 Florian Weimer <fweimer@redhat.com>
6473 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6474 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6476 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6478 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6479 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6480 and ssi_arch members.
6482 * elf/elf.c (NT_VMCOREDD): New macro.
6483 (AT_MINSIGSTKSZ): Likewise.
6485 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6488 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6489 s_cosf-ppc64 and s_cosf-power8.
6490 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6491 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6492 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6493 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6500 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6501 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6503 2018-08-17 Florian Weimer <fweimer@redhat.com>
6505 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6507 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6509 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6511 2018-08-16 Florian Weimer <fweimer@redhat.com>
6513 * configure.ac: Add --with-nonshared-cflags option.
6514 * config.make.in (extra-nonshared-cflags): Set variable.
6515 * Makeconfig (CFLAGS-.oS): Use it.
6516 * manual/install.texi (Configuring and compiling): Document
6517 --with-nonshared-cflags.
6518 * configure: Regenerate.
6519 * INSTALL: Likewise.
6521 2018-08-16 Florian Weimer <fweimer@redhat.com>
6523 * Makeconfig (ASFLAGS): Always append required assembler flags.
6525 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6527 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6528 (malloc_consolidate): Likewise.
6530 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6532 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6534 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6536 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6539 * benchtests/bench-strlen.c: Print performance numbers in json.
6541 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6543 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6544 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6545 only for little endian.
6546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6547 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6548 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6549 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6550 Add check for little endian.
6551 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6552 (__strcmp_power9): Add check for little endian.
6553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6554 Add check for little endian.
6555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6556 (__strncmp_power9): Add check for little endian.
6557 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6558 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6559 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6560 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6561 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6563 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6565 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6566 [!STRLEN](STRLEN): Set to __strlen.
6567 * sysdeps/aarch64/multiarch/strlen.c: New file.
6568 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6569 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6570 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6571 (__libc_ifunc_impl_list): Add strlen.
6572 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6573 strlen_generic and strlen_asimd.
6575 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6578 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6579 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6581 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6583 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6585 2018-08-14 Florian Weimer <fweimer@redhat.com>
6588 * include/stdio.h (__vfxprintf): Declare.
6589 * stdio-common/fxprintf.c (__vfxprintf): New function.
6590 (__fxprintf): Call it.
6591 * misc/err.c (convert_and_print): Remove function.
6592 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6593 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6594 * misc/Makefile (tests): Add tst-warn-wide.
6595 * misc/tst-warn-wide.c: New file.
6597 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6598 Szabolcs Nagy <szabolcs.nagy@arm.com>
6600 * NEWS: Mention sinf, cosf, sincosf.
6601 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6602 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6603 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6604 constants rather than including generic sincosf.h.
6605 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6606 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6607 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6608 (reduced_cos): Remove.
6609 (sinf_poly): New function.
6610 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6612 2018-08-14 Florian Weimer <fweimer@redhat.com>
6616 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6617 processing, bail out if no room, and close the stream before
6619 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6620 (tst-nss-files-alias-leak): Link with libdl.
6621 (tst-nss-files-alias-leak.out): Depend on nss_files.
6623 * nss/tst-nss-files-alias-leak.c: New file.
6625 2018-08-14 Florian Weimer <fweimer@redhat.com>
6627 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6628 server_user, stat_user.
6630 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6632 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6634 (io_pgetevents): New syscall.
6637 * manual/install.texi (Configuring and compiling): Do not list
6638 tools used for testing pretty printers here.
6639 (Tools for Compilation): List Python, PExpect and GDB here.
6640 Update descriptions of uses of Perl and Python.
6641 * INSTALL: Regenerate.
6643 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6646 2018-08-13 Florian Weimer <fweimer@redhat.com>
6648 * misc/error.c (error): Add missing va_end call.
6649 (error_at_line): Likewise.
6651 2018-08-13 Florian Weimer <fweimer@redhat.com>
6653 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6655 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6657 * benchtests/scripts/benchout.schema.json (properties): Add
6660 * benchtests/bench-skeleton.c (main): Add duration and
6661 iterations attributes.
6663 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6665 regex: Gnulib unibyte RRI uses bytes not chars
6666 Adjust the non-glibc code to agree with what Gawk needs for
6667 rational range interpretation (RRI) for regular expression ranges.
6668 In unibyte locales, Gawk wants ranges to use the underlying byte
6669 rather than the character code point. This change does not affect
6671 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6672 In unibyte locales, use the byte value rather than
6673 running it through btowc.
6675 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/generic/math-tests-snan.h: New file.
6678 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6679 (SNAN_TESTS_float): Do not define here.
6680 (SNAN_TESTS_double): Likewise.
6681 (SNAN_TESTS_long_double): Likewise.
6682 (SNAN_TESTS_float128): Likewise.
6683 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6684 * sysdeps/i386/fpu/math-tests.h: Remove file.
6685 * sysdeps/ia64/math-tests-snan.h: New file.
6686 * sysdeps/ia64/math-tests.h: Remove file.
6687 * sysdeps/x86/math-tests.h: Likewise.
6688 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6690 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6691 Szabolcs Nagy <szabolcs.nagy@arm.com>
6693 * math/Makefile: Add s_sincosf_data.c.
6694 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6695 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6696 (sincosf_poly): Likewise.
6697 (reduce_small): Likewise.
6698 (reduce_large): Likewise.
6699 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6700 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6701 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6702 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6704 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6705 Szabolcs Nagy <szabolcs.nagy@arm.com>
6707 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6708 (converttoint): Use lround.
6709 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6710 document the semantics when TOINT_INTRINSICS is set.
6711 (converttoint): Likewise.
6712 (TOINT_RINT): Remove.
6713 (TOINT_SHIFT): Remove.
6714 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6717 2018-08-10 Florian Weimer <fweimer@redhat.com>
6720 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6722 (__old_getdents64): Use getdents64. Convert entries without
6724 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6725 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6726 tst-readdir64-compat.
6728 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6730 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6733 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6735 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6736 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6737 code to s390x-mcount.h and #include it.
6738 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6739 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6742 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6744 * stdlib/Versions: Remove __fentry__.
6745 * sysdeps/i386/Versions: Add __fentry__.
6746 * sysdeps/x86_64/Versions: Add __fentry__.
6748 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6750 * sysdeps/s390/Makefile: Register the new tests.
6751 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6752 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6753 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6754 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6755 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6756 * sysdeps/s390/tst-dl-runtime.c: New file.
6758 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6760 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6763 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6765 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6768 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6770 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6773 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6775 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6778 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6780 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6781 Use symbolic offsets for stack variables.
6783 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6785 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6786 Use symbolic offsets for stack variables.
6788 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6790 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6791 Use symbolic offsets for stack variables.
6793 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6795 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6796 Use symbolic offsets for stack variables.
6798 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6800 * math/gen-libm-test.py: New file.
6801 * math/gen-libm-test.pl: Remove.
6802 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6803 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6805 ($(libm-test-c-noauto-obj)): Likewise.
6806 ($(libm-test-c-auto-obj)): Likewise.
6807 ($(libm-test-c-narrow-obj)): Likewise.
6808 (regen-ulps): Likewise.
6809 * math/README.libm-test: Update references to gen-libm-test.pl.
6810 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6811 referencing gen-libm-test.pl.
6812 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6813 * math/libm-test-support.c: Likewise.
6814 * math/libm-test-support.h: Likewise.
6815 * sysdeps/generic/libm-test-ulps: Likewise.
6817 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6819 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6822 2018-08-08 Joseph Myers <joseph@codesourcery.com>
6824 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6825 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6827 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6829 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6831 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6832 __pthread_setspecific): Add hidden proto.
6833 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6834 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
6836 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6838 * benchtests/bench-string.h (buf1_size, buf2_size): New
6840 (init_sizes): New function.
6841 (test_init): Use it.
6842 (alloc_buf, exit_error): New functions.
6843 (alloc_bufs): Use ALLOC_BUF.
6844 (realloc_bufs): Remove.
6845 * benchtests/bench-memcmp.c (do_test): Adjust.
6846 * benchtests/bench-memset-large.c (do_test): Likewise.
6847 * benchtests/bench-memset-walk.c (do_test): Likewise.
6848 * benchtests/bench-memset.c (do_test): Likewise.
6849 * benchtests/bench-strncmp.c (do_test): Likewise.
6851 2018-08-06 Andreas Schwab <schwab@suse.de>
6853 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6854 of CONST_THREAD_AREA.
6856 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6858 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6859 (STATE_SAVE_MASK): Likewise.
6860 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6861 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6862 (STATE_SAVE_MASK): Likewise.
6863 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6864 instead of <cpu-features.h>.
6866 2018-08-03 DJ Delorie <dj@redhat.com>
6868 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
6869 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
6871 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6873 2018-08-03 Joseph Myers <joseph@codesourcery.com>
6875 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6877 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6878 * math/libm-test-logb.inc (logb_test_data): Likewise.
6880 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6882 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6883 * string/strstr.c (AVAILABLE): Likewise.
6885 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6887 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6889 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6890 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6891 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6893 2018-08-03 Carlos O'Donell <carlos@redhat.com>
6895 * po/be.po: Update translation.
6897 * po/be.po: Update translation.
6899 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6901 * sysdeps/x86/cpu-features-offsets.sym
6902 (rtld_global_ro_offsetof): Removed.
6903 (CPU_FEATURES_SIZE): Likewise.
6904 (CPUID_OFFSET): Likewise.
6905 (CPUID_SIZE): Likewise.
6906 (CPUID_EAX_OFFSET): Likewise.
6907 (CPUID_EBX_OFFSET): Likewise.
6908 (CPUID_ECX_OFFSET): Likewise.
6909 (CPUID_EDX_OFFSET): Likewise.
6910 (FAMILY_OFFSET): Likewise.
6911 (MODEL_OFFSET): Likewise.
6912 (FEATURE_OFFSET): Likewise.
6913 (FEATURE_SIZ): Likewise.
6914 (COMMON_CPUID_INDEX_1): Likewise.
6915 (COMMON_CPUID_INDEX_7): Likewise.
6916 (FEATURE_INDEX_1): Likewise.
6917 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6919 2018-08-02 Carlos O'Donell <carlos@redhat.com>
6921 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6922 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6923 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6924 (install-locales): Depend on install-locale-archive.
6925 (install-locale-archive): Define.
6926 (install-locale-files): Define.
6927 (build-one-locale): Define macro.
6928 * manual/install.texi (Running make install): Document.
6929 * manual/INSTALL: Regenerate.
6931 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6933 * benchtests/scripts/compare_strings.py: Import traceback.
6934 (parse_file): Pretty-print error.
6936 * NEWS: Mention the change.
6937 * elf/dl-tunables.list: Rename tune namespace to cpu.
6938 * sysdeps/powerpc/dl-tunables.list: Likewise.
6939 * sysdeps/x86/dl-tunables.list: Likewise.
6940 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6942 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6943 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6944 * manual/README.tunables: Likewise.
6945 * manual/tunables.texi: Likewise.
6946 * sysdeps/powerpc/cpu-features.c: Likewise.
6947 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6948 (init_cpu_features): Likewise.
6949 * sysdeps/x86/cpu-features.c: Likewise.
6950 * sysdeps/x86/cpu-features.h: Likewise.
6951 * sysdeps/x86/cpu-tunables.c: Likewise.
6952 * sysdeps/x86_64/Makefile: Likewise.
6953 * sysdeps/x86/dl-cet.c: Likewise.
6955 2018-08-02 Joseph Myers <joseph@codesourcery.com>
6958 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6959 [__mips_hard_float].
6960 (FE_UNDERFLOW): Likewise.
6961 (FE_OVERFLOW): Likewise.
6962 (FE_DIVBYZERO): Likewise.
6963 (FE_INVALID): Likewise.
6964 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6965 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6966 (FE_UPWARD): Likewise.
6967 (FE_DOWNWARD): Likewise.
6968 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6969 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6970 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6971 [__mips_hard_float].
6972 (FP_ROUNDMODE): Likewise.
6973 (FP_RND_NEAREST): Likewise.
6974 (FP_RND_ZERO): Likewise.
6975 (FP_RND_PINF): Likewise.
6976 (FP_RND_MINF): Likewise.
6977 (FP_EX_INVALID): Likewise.
6978 (FP_EX_OVERFLOW): Likewise.
6979 (FP_EX_UNDERFLOW): Likewise.
6980 (FP_EX_DIVZERO): Likewise.
6981 (FP_EX_INEXACT): Likewise.
6982 (FP_INIT_ROUNDMODE): Likewise.
6983 * sysdeps/mips/nofpu/fesetenv.c: New file.
6984 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6986 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6988 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6989 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6990 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6991 conditional on [FE_UPWARD].
6993 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6995 regex: fix memory leak in Gnulib
6996 Problem and fix reported by Assaf Gordon in:
6997 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6998 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6999 range_ends members too, as they are defined in 'struct
7000 re_charset_t' even if not _LIBC. This affects only Gnulib.
7002 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7004 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7006 (get_common_indices): This.
7007 (init_cpu_features): Updated.
7009 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7011 * sysdeps/generic/math-tests-snan-payload.h: New file.
7012 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7013 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7014 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7015 * sysdeps/generic/math-tests.h: Include
7016 <math-tests-snan-payload.h>.
7017 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7018 * sysdeps/hppa/math-tests.h: Remove file.
7019 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7020 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7021 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7024 * sysdeps/generic/math-tests-snan-cast.h: New file.
7025 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7026 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7027 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7028 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7030 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7032 * version.h (RELEASE): Set to "development".
7033 (VERSION): Set to "2.28.9000".
7034 * NEWS (2.29): New section.
7036 * version.h (RELEASE): Set to "stable".
7037 (VERSION): Set to "2.28".
7038 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7039 * NEWS: Add the list of bugs fixed in 2.28.
7041 * po/ca.po: Update to latest version.
7042 * po/cs.po: Likewise
7043 * po/da.po: Likewise
7044 * po/el.po: Likewise
7045 * po/eo.po: Likewise
7046 * po/es.po: Likewise
7047 * po/fi.po: Likewise
7048 * po/fr.po: Likewise
7049 * po/gl.po: Likewise
7050 * po/hu.po: Likewise
7051 * po/ia.po: Likewise
7052 * po/id.po: Likewise
7053 * po/it.po: Likewise
7054 * po/ja.po: Likewise
7055 * po/ko.po: Likewise
7056 * po/lt.po: Likewise
7057 * po/nb.po: Likewise
7058 * po/nl.po: Likewise
7059 * po/pt_BR.po: Likewise
7060 * po/ru.po: Likewise
7061 * po/rw.po: Likewise
7062 * po/sk.po: Likewise
7063 * po/sl.po: Likewise
7064 * po/tr.po: Likewise
7065 * po/zh_CN.po: Likewise
7066 * po/zh_TW.po: Likewise
7068 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7070 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7072 (init): ... before initializing libpthread.
7074 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7075 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7076 (__mach_setup_tls): ... new function.
7077 (mach_setup_tls): New alias.
7078 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7079 __mach_setup_thread.
7080 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7081 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7082 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7083 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7085 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7087 * manual/install.texi: Update versions.
7088 * INSTALL: Regenerate.
7090 * manual/contrib.texi (Contributors): Update contributions.
7092 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7094 * po/be.po: Update translations.
7096 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7098 * sysdeps/sh/libm-test-ulps: Update.
7100 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7102 * po/bg.po: Update translations.
7103 * po/de.po: Likewise.
7104 * po/hr.po: Likewise.
7105 * po/pt_BR.po: Likewise.
7106 * po/sv.po: Likewise.
7107 * po/vi.po: Likewise.
7109 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7112 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7113 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7114 (CFLAGS-tst-cet-property-1.o): New.
7115 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7116 ($(objpfx)tst-cet-property-2): Likewise.
7117 ($(objpfx)tst-cet-property-2.out): Likewise.
7118 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7119 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7120 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7121 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7122 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7124 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7127 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7129 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7131 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7132 __sbrk): Do not set attribute_hidden.
7133 * sysdeps/mach/hurd/not-errno.h: New file.
7134 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7135 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7137 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7139 * po/uk.po: Update translations.
7140 * po/cs.po: Likewise.
7141 * po/pl.po: Likewise.
7143 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7145 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7146 parse beyond the note end.
7148 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7150 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7151 kernel does not support OFD locks.
7152 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7154 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7156 * sysdeps/mach/hurd/Versions (libc): Make __access and
7157 __access_noerrno external so they can override the ld symbols.
7158 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7159 __writev, __open64, __access_noerrno extern so they can be overrided.
7160 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7161 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7163 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7165 * po/libc.pot: Regenerate.
7167 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7169 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7171 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7174 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7176 (init_cpu_features): Call get_extended_indices for both Intel
7178 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7179 Remove "for AMD" comment.
7181 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7184 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7185 COMMON_CPUID_INDEX_80000001.
7187 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7189 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7190 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7192 2018-07-26 Florian Weimer <fweimer@redhat.com>
7194 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7195 aliases for symbols not in the implementation namespace.
7197 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7200 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7201 lowercase in LATIN script.
7202 * localedata/Makefile (test-input): Add en_US.UTF-8.
7203 * localedata/en_US.UTF-8.in: New file.
7204 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7205 and restore old tests.
7206 * posix/tst-regexloc.c (do_test): Add back range expression test.
7208 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7210 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7212 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7214 * nptl/threads.h: Move to ...
7215 * sysdeps/nptl/threads.h: ... here.
7216 * sysdeps/hurd/stdc-predef.h: New file.
7218 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7220 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7221 tst-cet-setcontext-1 if CET is enabled.
7222 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7223 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7225 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7227 * include/threads.h: Move to ...
7228 * sysdeps/nptl/threads.h: ... here.
7229 * sysdeps/htl/threads.h: New file.
7230 * conform/Makefile (linknamespace-libs-ISO11): Use
7231 static-thread-library instead of linking libpthread.
7232 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7234 2018-07-25 Florian Weimer <fweimer@redhat.com>
7236 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7237 nanoseconds into seconds.
7238 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7239 (do_test): Likewise.
7240 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7241 (do_test): Likewise. Avoid nanosecond overflow and spurious
7242 timeouts due to system load.
7243 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7244 (child_wait): Increment it.
7245 (do_test): Wait as long as necessary until all expected threads
7248 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7249 H.J. Lu <hongjiu.lu@intel.com>
7251 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7253 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7254 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7255 (__push___start_context): New.
7256 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7258 (__getcontext): Record the current shadow stack base. Save the
7259 caller's shadow stack pointer and base.
7260 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7261 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7262 (__push___start_context): New prototype.
7263 (__makecontext): Call __push___start_context to allocate a new
7264 shadow stack, push __start_context onto the new stack as well
7265 as the new shadow stack.
7266 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7268 (__setcontext): Restore the target shadow stack.
7269 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7271 (__swapcontext): Record the current shadow stack base. Save
7272 the caller's shadow stack pointer and base. Restore the target
7274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7275 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7276 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7278 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7280 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7281 tst-setcontext8 and tst-setcontext9.
7282 * stdlib/tst-setcontext6.c: New file.
7283 * stdlib/tst-setcontext7.c: Likewise.
7284 * stdlib/tst-setcontext8.c: Likewise.
7285 * stdlib/tst-setcontext9.c: Likewise.
7287 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7289 * stdlib/Makefile ((tests): Add tst-setcontext5.
7290 * stdlib/tst-setcontext5.c: New file.
7292 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7294 * stdlib/Makefile (tests): Add tst-setcontext4.
7295 * stdlib/tst-setcontext4.c: New file.
7297 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7299 * stdlib/Makefile (tests): Add tst-swapcontext1.
7300 * stdlib/tst-swapcontext1.c: New test.
7302 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7304 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7305 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7306 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7307 and tst-cet-legacy-4c.
7308 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7309 and tst-cet-legacy-mod-4.
7310 (CFLAGS-tst-cet-legacy-2.c): New.
7311 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7312 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7313 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7314 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7315 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7316 ($(objpfx)tst-cet-legacy-1): Likewise.
7317 ($(objpfx)tst-cet-legacy-2): Likewise.
7318 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7319 ($(objpfx)tst-cet-legacy-2a): Likewise.
7320 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7321 ($(objpfx)tst-cet-legacy-4): Likewise.
7322 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7323 ($(objpfx)tst-cet-legacy-4a): Likewise.
7324 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7325 (tst-cet-legacy-4a-ENV): Likewise.
7326 ($(objpfx)tst-cet-legacy-4b): Likewise.
7327 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7328 (tst-cet-legacy-4b-ENV): Likewise.
7329 ($(objpfx)tst-cet-legacy-4c): Likewise.
7330 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7331 (tst-cet-legacy-4c-ENV): Likewise.
7332 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7333 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7334 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7335 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7336 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7337 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7338 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7339 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7340 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7341 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7342 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7344 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7346 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7347 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7349 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7350 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7353 2018-07-25 Andreas Schwab <schwab@suse.de>
7356 * locale/weightwc.h (findidx): Handle the case where usrc is a
7357 prefix of cp but one character too short.
7359 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7361 * NEWS: Add ISO C threads addition.
7363 2018-07-24 Florian Weimer <fweimer@redhat.com>
7365 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7366 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7367 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7370 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7372 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7373 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7374 <sys/prctl.h> and <asm/prctl.h>.
7375 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7376 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7378 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7379 ARCH_CET_LEGACY_BITMAP.
7380 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7381 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7382 * sysdeps/x86/libc-start.c: Include <startup.h>.
7384 2018-07-24 Florian Weimer <fweimer@redhat.com>
7386 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7387 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7389 2018-07-24 Rical Jasan <rj@2c3t.io>
7390 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7391 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7394 * manual/debug.texi: Update adjacent chapter name.
7395 * manual/probes.texi: Likewise.
7396 * manual/threads.texi (ISO C Threads): New section.
7397 (POSIX Threads): Convert to a section.
7399 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7400 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7403 * nptl/Makefile (tests): Add new test files.
7404 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7405 * nptl/tst-cnd-basic.c: Likewise.
7406 * nptl/tst-cnd-broadcast.c: Likewise.
7407 * nptl/tst-cnd-timedwait.c: Likewise.
7408 * nptl/tst-mtx-basic.c: Likewise.
7409 * nptl/tst-mtx-recursive.c: Likewise.
7410 * nptl/tst-mtx-timedlock.c: Likewise.
7411 * nptl/tst-mtx-trylock.c: Likewise.
7412 * nptl/tst-thrd-basic.c: Likewise.
7413 * nptl/tst-thrd-detach.c: Likewise.
7414 * nptl/tst-thrd-sleep.c: Likewise.
7415 * nptl/tst-tss-basic.c: Likewise.
7417 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7420 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7421 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7423 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7424 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7425 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7426 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7427 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7428 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7429 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7430 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7431 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7432 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7433 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7434 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7442 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7443 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7444 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7445 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7448 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7449 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7450 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7451 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7452 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7453 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7454 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7456 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7457 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7458 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7459 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7460 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7461 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7462 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7463 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7464 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7465 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7466 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7467 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7474 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7477 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7478 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7480 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7481 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7484 * conform/data/threads.h-data (thread_local): New macro.
7485 (TSS_DTOR_ITERATIONS): Likewise.
7487 (tss_dtor_t): Likewise.
7488 (tss_create): New function.
7489 (tss_get): Likewise.
7490 (tss_set): Likewise.
7491 (tss_delete): Likewise.
7492 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7493 tss_get, and tss_set objects.
7494 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7495 * nptl/tss_create.c: New file.
7496 * nptl/tss_delete.c: Likewise.
7497 * nptl/tss_get.c: Likewise.
7498 * nptl/tss_set.c: Likewise.
7499 * sysdeps/nptl/threads.h (thread_local): New define.
7500 (TSS_DTOR_ITERATIONS): Likewise.
7501 (tss_t): New typedef.
7502 (tss_dtor_t): Likewise.
7503 (tss_create): New prototype.
7504 (tss_get): Likewise.
7505 (tss_set): Likewise.
7506 (tss_delete): Likewise.
7509 * conform/data/threads.h-data (cnd_t): New type.
7510 (cnd_init): New function.
7511 (cnd_signal): Likewise.
7512 (cnd_broadcast): Likewise.
7513 (cnd_wait): Likewise.
7514 (cnd_timedwait): Likewise.
7515 (cnd_destroy): Likewise.
7516 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7517 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7519 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7520 * nptl/cnd_broadcast.c: New file.
7521 * nptl/cnd_destroy.c: Likewise.
7522 * nptl/cnd_init.c: Likewise.
7523 * nptl/cnd_signal.c: Likewise.
7524 * nptl/cnd_timedwait.c: Likewise.
7525 * nptl/cnd_wait.c: Likewise.
7526 * sysdeps/nptl/threads.h (cnd_t): New type.
7527 (cnd_init): New prototype.
7528 (cnd_signa): Likewise.
7529 (cnd_broadcast): Likewise.
7530 (cnd_wait): Likewise.
7531 (cnd_timedwait): Likewise.
7532 (cnd_destroy): Likewise.
7535 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7536 (once_flag): New type.
7537 (call_once): New function.
7538 * nptl/Makefile (libpthread-routines): Add call_once object.
7539 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7540 * nptl/call_once.c: New file.
7541 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7542 (once_flag): New type.
7543 (call_once): New prototype.
7546 * conform/data/threads.h-data (mtx_plain): New constant.
7547 (mtx_recursive): Likewise.
7548 (mtx_timed): Likewise.
7550 (mtx_init): New function.
7551 (mtx_lock): Likewise.
7552 (mtx_timedlock): Likewise.
7553 (mtx_trylock): Likewise.
7554 (mtx_unlock): Likewise.
7555 (mtx_destroy): Likewise.
7556 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7557 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7558 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7559 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7560 * nptl/mtx_destroy.c: New file.
7561 * nptl/mtx_init.c: Likewise.
7562 * nptl/mtx_lock.c: Likewise.
7563 * nptl/mtx_timedlock.c: Likewise.
7564 * nptl/mtx_trylock.c: Likewise.
7565 * nptl/mtx_unlock.c: Likewise.
7566 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7567 (mtx_recursive): Likewise.
7568 (mtx_timed): Likewise.
7570 (mtx_init): New prototype.
7571 (mtx_lock): Likewise.
7572 (mtx_timedlock): Likewise.
7573 (mtx_trylock): Likewise.
7574 (mtx_unlock): Likewise.
7575 (mtx_destroy): Likewise.
7578 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7579 (linknamespace-libs-ISO11): Add libpthread.a.
7580 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7582 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7583 * nptl/Makefile (headers): Add threads.h.
7584 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7585 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7587 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7588 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7589 thrd_join, thrd_sleep, and thrd_yield symbols.
7590 * nptl/descr.h (struct pthread): Add c11 field.
7591 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7592 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7593 routine with expected function prototype.
7594 (__pthread_create_2_1): Add C11 threads check based on attribute
7596 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7597 * nptl/thrd_create.c: New file.
7598 * nptl/thrd_current.c: Likewise.
7599 * nptl/thrd_detach.c: Likewise.
7600 * nptl/thrd_equal.c: Likewise.
7601 * nptl/thrd_exit.c: Likewise.
7602 * nptl/thrd_join.c: Likewise.
7603 * nptl/thrd_priv.h: Likewise.
7604 * nptl/thrd_sleep.c: Likewise.
7605 * nptl/thrd_yield.c: Likewise.
7606 * include/threads.h: Likewise.
7608 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7610 * bits/indirect-return.h: New file.
7611 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7612 * sysdeps/x86/bits/indirect-return.h: Likewise.
7613 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7614 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7615 (swapcontext): Add __INDIRECT_RETURN.
7616 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7617 (prepare_test_buffer): Use it.
7619 2018-07-24 Andreas Schwab <schwab@suse.de>
7622 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7623 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7625 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7627 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7628 Redefine if shadow stack is enabled.
7629 (SYSCALL_ERROR_LABEL): Likewise.
7630 (__vfork): Pop shadow stack and jump back to to caller directly
7631 when shadow stack is in use.
7632 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7633 Redefine if shadow stack is enabled.
7634 (SYSCALL_ERROR_LABEL): Likewise.
7635 (__vfork): Pop shadow stack and jump back to to caller directly
7636 when shadow stack is in use.
7638 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7640 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7643 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7646 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7648 * scripts/build-many-glibcs.py (Context.checkout): Default
7649 binutils version to 2.31 branch.
7651 2018-07-20 Zong Li <zong@andestech.com>
7653 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7654 URL of gcc's tarball.
7656 2018-07-20 Florian Weimer <fweimer@redhat.com>
7659 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7660 not compare an extra byte after the end of the weights.
7662 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7664 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7666 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7668 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7669 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7670 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7671 list of libraries whose stack executability is expected.
7672 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7673 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7675 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7676 libc.so libpthread.so.
7678 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7680 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7682 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7684 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7686 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7688 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7690 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7691 library to improve command line parsing.
7692 (__main__): make schema file as optional parameter (--schema),
7693 defaulting to benchtests/scripts/benchout.schema.json.
7694 (main): move out of the parsing stuff to __main_ and leave it
7695 only as caller of main comparison functions.
7697 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7699 * NEWS: Add a note for Intel CET status.
7700 * manual/install.texi: Likewise.
7701 * INSTALL: Regenerated.
7703 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7706 * localedata/locales/oc_FR (mon): Rename to...
7707 (alt_mon): This, then update October (typo fix).
7708 (mon): New content (genitive case, month names preceded by
7712 * localedata/locales/oc_FR (abday): Update all items.
7713 (day): Update Wednesday and Saturday (typo fixes).
7714 (abmon): Update all items, except May.
7715 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7716 (LC_IDENTIFICATION): Bump the revision number and date.
7717 Keep the "category" entries in alphabetic order.
7718 (LC_ADDRESS): Remove no longer needed comment.
7719 (LC_COLLATE): Use “copy "ca_ES"”.
7720 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7723 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7725 * grp/tst_fgetgrent.c: Include <unistd.h>.
7726 (main): Use mkstemp instead of tmpnam.
7727 * io/test-utime.c (main): Likewise.
7728 * posix/annexc.c (macrofile): Change to modifiable array.
7729 (main): Remove macrofile here.
7730 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7732 (check_header): Do not remove macrofile here.
7733 * posix/bug-getopt1.c: Include <stdlib.h>.
7734 (do_test): Use mkstemp instead of tmpnam.
7735 * posix/bug-getopt2.c: Include <stdlib.h>.
7736 (do_test): Use mkstemp instead of tmpnam.
7737 * posix/bug-getopt3.c: Include <stdlib.h>.
7738 (do_test): Use mkstemp instead of tmpnam.
7739 * posix/bug-getopt4.c: Include <stdlib.h>.
7740 (do_test): Use mkstemp instead of tmpnam.
7741 * posix/bug-getopt5.c: Include <stdlib.h>.
7742 (do_test): Use mkstemp instead of tmpnam.
7743 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7744 (main): Use mkstemp instead of tmpnam.
7745 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7746 (main): Use mkstemp instead of tmpnam.
7747 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7748 (main): use mkstemp instead of tmpnam.
7749 * stdlib/isomac.c (macrofile): Change to modifiable array.
7750 (main): Remove macrofile here.
7751 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7753 (check_header): Do not remove macrofile here.
7755 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7757 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7758 glibc.tune.x86_shstk.
7760 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7762 * NEWS: Mention --enable-cet.
7763 * manual/install.texi: Document --enable-cet.
7764 * INSTALL: Regenerated.
7766 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7768 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7769 Add _CET_NOTRACK before indirect jump to jump table.
7771 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7774 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7777 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7779 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7780 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7783 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7786 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7789 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7791 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7792 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7795 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7797 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7798 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7800 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7802 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7804 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7805 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7808 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7810 * sysdeps/i386/i686/multiarch/memset-sse2.S
7811 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7814 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7816 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7817 indirect jump to jump table.
7819 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7822 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7826 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
7829 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7833 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7835 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7836 _CET_NOTRACK before indirect jump to jump table.
7838 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7840 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7841 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7844 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7846 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7847 indirect jump to jump table.
7849 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7852 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7853 (LOCALES): Likewise.
7854 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7855 * localedata/locales/sah_RU: New file.
7856 * localedata/sah_RU.UTF-8.in: New file.
7858 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7860 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7862 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7863 _CET_ENDBR to indirect jump targets and adjust jump destination
7865 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7867 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7868 _CET_ENDBR to indirect jump targets and adjust jump destination
7870 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7872 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7873 _CET_ENDBR to indirect jump targets and adjust jump destination
7876 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7878 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7881 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7883 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7885 (_dl_tlsdesc_undefweak): Likewise.
7886 (_dl_tlsdesc_dynamic): Likewise.
7887 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7888 (_dl_tlsdesc_resolve_rel): Likewise.
7889 (_dl_tlsdesc_resolve_rela): Likewise.
7890 (_dl_tlsdesc_resolve_hold): Likewise.
7891 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7892 (_dl_tlsdesc_undefweak): Likewise.
7893 (_dl_tlsdesc_dynamic): Likewise.
7894 (_dl_tlsdesc_resolve_rela): Likewise.
7895 (_dl_tlsdesc_resolve_hold): Likewise.
7897 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7899 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7901 * sysdeps/x86_64/crti.S (_init): Likewise.
7904 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7907 * localedata/locales/os_RU (mon): Rename to...
7909 (mon): Import from CLDR (genitive case).
7911 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7913 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7914 cet-tunables.h> when CET is enabled.
7916 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7919 * configure.ac: Add --enable-cet.
7920 * configure: Regenerated.
7921 * elf/Makefille (all-built-dso): Add a comment.
7922 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7923 Include <dl-prop.h>.
7924 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7926 * elf/dl-open.c: Include <dl-prop.h>.
7927 (dl_open_worker): Call _dl_open_check.
7928 * elf/rtld.c: Include <dl-prop.h>.
7929 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7931 * sysdeps/generic/dl-prop.h: New file.
7932 * sysdeps/i386/dl-cet.c: Likewise.
7933 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7934 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7935 * sysdeps/x86/cet-tunables.h: Likewise.
7936 * sysdeps/x86/check-cet.awk: Likewise.
7937 * sysdeps/x86/configure: Likewise.
7938 * sysdeps/x86/configure.ac: Likewise.
7939 * sysdeps/x86/dl-cet.c: Likewise.
7940 * sysdeps/x86/dl-procruntime.c: Likewise.
7941 * sysdeps/x86/dl-prop.h: Likewise.
7942 * sysdeps/x86/libc-start.h: Likewise.
7943 * sysdeps/x86/link_map.h: Likewise.
7944 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7946 (_dl_runtime_profile): Likewise.
7947 (_dl_runtime_resolve_shstk): New.
7948 (_dl_runtime_profile_shstk): Likewise.
7949 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7951 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7952 (CFLAGS-.os): Likewise.
7953 (CFLAGS-.op): Likewise.
7954 (CFLAGS-.oS): Likewise.
7955 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7957 (tests-special): Add $(objpfx)check-cet.out.
7958 (cet-built-dso): New.
7959 (+$(cet-built-dso:=.note)): Likewise.
7960 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7961 ($(objpfx)check-cet.out): New.
7962 (generated): Add check-cet.out.
7963 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7965 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7966 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7967 (init_cpu_features): Call get_cet_status to check CET status
7968 and update dl_x86_feature_1 with CET status. Call
7969 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7970 (set_x86_shstk). Disable and lock CET in libc.a.
7971 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7972 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7973 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7974 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7975 (_CET_ENDBR): Define if not defined.
7976 (ENTRY): Add _CET_ENDBR.
7977 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7979 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7981 (_dl_runtime_profile): Likewise.
7983 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7986 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7987 restore r2 on longjmp.
7988 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7990 Added rules to build test tst-setjmp-bug21895-static.
7991 Added module setjmp-bug21895 and rules to build a shared object from it.
7992 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7993 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7995 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7997 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7998 * benchtests/bench-strstr.c: Likewise.
7999 * string/memmem.c (FASTSEARCH): Define.
8000 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8001 Add support for FASTSEARCH.
8002 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8003 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8004 (FASTSEARCH): Define.
8005 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8006 * string/test-strstr.c: Likewise.
8008 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8010 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8011 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8013 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8014 H.J. Lu <hongjiu.lu@intel.com>
8016 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8017 (__longjmp): Restore shadow stack pointer if shadow stack is
8018 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8019 isn't defined for __longjmp_cancel.
8020 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8021 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8022 and SHADOW_STACK_POINTER_OFFSET is defined.
8023 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8024 (setjmp): Save shadow stack pointer if shadow stack is enabled
8025 and SHADOW_STACK_POINTER_OFFSET is defined.
8026 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8027 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8028 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8029 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8031 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8032 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8033 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8034 Remove jmp_buf-ssp.sym.
8035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8037 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8038 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8039 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8041 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8042 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8043 (__longjmp): Restore shadow stack pointer if shadow stack is
8044 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8045 isn't defined for __longjmp_cancel.
8046 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8047 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8048 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8050 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8053 * nptl/pthread_create.c: Include <tls-setup.h>.
8054 (__pthread_create_2_1): Call tls_setup_tcbhead.
8055 * sysdeps/generic/tls-setup.h: New file.
8056 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8057 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8058 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8060 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8062 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8063 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8064 (X86_FEATURE_1_SHSTK): Likewise.
8065 (CET_ENABLED): Likewise.
8066 (IBT_ENABLED): Likewise.
8067 (SHSTK_ENABLED): Likewise.
8069 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8072 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8073 (LOCALES): Likewise.
8074 * localedata/dsb_DE.UTF-8.in: New file.
8075 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8077 2018-07-12 Florian Weimer <fweimer@redhat.com>
8079 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8080 __mprotect, not mprotect.
8082 2018-07-11 Florian Weimer <fweimer@redhat.com>
8084 * io/Makefile (headers): Add bits/statx.h.
8086 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8088 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8089 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8091 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8092 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8095 2018-07-10 Florian Weimer <fweimer@redhat.com>
8097 * io/Makefile (routines): Add statx.
8098 (tests-internal): Add tst-statx.
8099 * io/Versions (GLIBC_2.28): Export statx.
8100 * io/bits/statx.h: New file.
8101 * io/sys/stat.h [__USE_GNU]: Include it.
8102 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8103 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8105 * io/statx.c: New file.
8106 * io/statx_generic.: Likewise.
8107 * io/tst-statx.: Likewise.
8108 * include/bits/statx.h: Likewise.
8109 * sysdeps/unix/sysv/linux/kernel-features.h
8110 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8111 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8112 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8113 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8115 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8116 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8117 * sysdeps/unix/sysv/linux/statx.c: New file.
8118 * manual/filesys.texi: Note that statx is undocumented.
8119 * sysdeps/**/libc*.abilist: Update.
8121 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8123 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8124 a kernel issue which lead to test failure in some cases.
8126 2018-07-10 Florian Weimer <fweimer@redhat.com>
8129 * posix/regexec.c (check_node_accept_bytes): When comparing
8130 weights, do not compare an extra byte after the end of the
8133 2018-07-10 Florian Weimer <fweimer@redhat.com>
8135 * libio/readline.c: Fix copyright year.
8136 * libio/tst-readline.c Likewise.
8137 * nss/tst-nss-files-hosts-getent.c: Likewise.
8139 2018-07-06 Florian Weimer <fweimer@redhat.com>
8142 * nss/nss_files/files-XXX.c (internal_getent): Use
8143 __libc_readline_unlocked. Seek back to the start of the line if
8144 parsing failes with ERANGE.
8145 (get_contents_ret, get_contents): Remove.
8146 * nss/tst-nss-files-hosts-getent.c: New file.
8147 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8148 (tst-nss-files-hosts-getent): Link with -ldl.
8150 2018-07-06 Florian Weimer <fweimer@redhat.com>
8152 * include/stdio.h (__libc_readline_unlocked): Declare.
8153 (__ftello64, __fseeko64): Declare aliases.
8154 * libio/readline.c: New file.
8155 * libio/tst-readline.c: Likewise.
8156 (routines): Add readline.
8157 (tests-internal): Add tst-readlime.
8158 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8159 __libc_readline_unlocked.
8160 * libio/fseeko.c (__fseeko): Rename from fseeko.
8161 (fseeko): Add alias.
8162 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8163 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8164 (fseeko64): Add alias.
8165 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8166 * libio/ftello64.c (__ftello64): Rename from ftello64.
8167 (ftello64): Add alias.
8169 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8171 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8174 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8176 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8177 Use dl_hwcap without masking.
8178 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8181 2018-07-06 Florian Weimer <fweimer@redhat.com>
8183 * conform/conformtest.pl (checknamespace): Escape literal braces
8184 in regular expressions.
8186 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8188 * sysdeps/x86/cpu-features.c (get_common_indeces):
8189 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8190 * sysdeps/x86/cpu-features.c (init_cpu_features):
8191 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8193 2018-07-05 Florian Weimer <fweimer@redhat.com>
8195 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8197 (CFLAGS-elf-init.oS): Likewise.
8199 2018-07-05 Florian Weimer <fweimer@redhat.com>
8200 Carlos O'Donell <carlos@redhat.com>
8202 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8203 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8204 with stack protector enabled because there is no risk of infinite
8207 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8211 * libc-abis (ABSOLUTE): New ABI.
8212 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8213 * NEWS: Mention the new ABI.
8215 2018-07-05 Florian Weimer <fweimer@redhat.com>
8218 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8219 (RENAME_WHITEOUT): Define.
8220 [__USE_GNU] (renameat2): Declare.
8221 * stdio-common/Makefile (routines): Add renameat2.
8222 (tests): Add tst-renameat2.
8223 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8224 * stdio-common/renameat2.c: New file.
8225 * stdio-common/tst-renameat2.c: Likewise.
8226 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8227 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8229 * sysdeps/unix/sysv/linux/kernel-features.h
8230 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8231 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8232 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8233 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8234 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8235 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8236 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8237 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8238 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8239 * include/stdio.h (__renameat): Add alias for renameat.
8240 * stdio-common/renameat.c (__renameat): Rename from renameat.
8241 Add hidden definition and alias.
8242 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8243 * sysdeps/mach/hurd/renameat.c: Likewise.
8244 * sysdeps/**/libc*.abilist: Add renameat2.
8246 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8248 * posix/bug-regex33.c: Fix build after regex sync.
8250 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8253 * localedata/tst-langinfo-setlocale.c: New file.
8254 * localedata/tst-langinfo-setlocale-static.c: New file.
8255 * localedata/tst-langinfo-newlocale.c: New file.
8256 * localedata/tst-langinfo-newlocale-static.c: New file.
8257 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8258 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8259 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8260 (tests-static): Remove tst-langinfo-static. Add
8261 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8262 (tests-special): Remove $(objpfx)tst-langinfo.out,
8263 $(objpfx)tst-langinfo-static.out. Add
8264 $(objpfx)tst-langinfo-setlocale.out,
8265 $(objpfx)tst-langinfo-newlocale.out,
8266 $(objpfx)tst-langinfo-setlocale-static.out,
8267 $(objpfx)tst-langinfo-newlocale-static.out.
8268 ($(objpfx)tst-langinfo.out): Remove.
8269 ($(objpfx)tst-langinfo-static.out): Remove.
8270 ($(objpfx)tst-langinfo-newlocale.out): New target.
8271 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8272 (test-xfail-tst-langinfo-newlocale-static): Add.
8273 ($(objpfx)tst-langinfo-setlocale.out): New target.
8274 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8275 * localedata/tst-langinfo.c: Call test_locale.
8276 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8279 2018-07-04 Florian Weimer <fweimer@redhat.com>
8281 testrun.sh: Implement --tool=strace, --tool=valgrind
8282 * Makefile (testrun-script): Define variable.
8283 (testrun.sh): Use variable.
8284 * manual/install.texi (Tools for Compilation): make 4.0 or later
8286 * configure.ac: Check for make 4.0 or later.
8287 * INSTALL: Regenerate.
8288 * configure: Likewise.
8290 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8296 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8297 * posix/PCRE.tests: Remove invalid test.
8298 * posix/bug-regex28.c: Fix expected values for used syntax.
8299 * posix/bug-regex37.c: New file.
8300 * posix/bug-regex38.c: Likewise.
8301 * posix/regcomp.c: Sync with gnulib.
8302 * posix/regex.c: Likewise.
8303 * posix/regex.h: Likewise.
8304 * posix/regex_internal.c: Likewise.
8305 * posix/regex_internal.h: Likewise.
8306 * posix/regexec.c: Likewise.
8308 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8311 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8312 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8313 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8314 * localedata/unicode-gen/PropList.txt: likewise.
8315 * localedata/unicode-gen/UnicodeData.txt: likewise.
8316 * localedata/charmaps/UTF-8: Regenerate.
8317 * localedata/locales/i18n_ctype: likewise.
8318 * localedata/locales/tr_TR: likewise.
8319 * localedata/locales/translit_circle: likewise.
8320 * localedata/locales/translit_cjk_compat: likewise.
8321 * localedata/locales/translit_combining: likewise.
8322 * localedata/locales/translit_compat: likewise.
8323 * localedata/locales/translit_font: likewise.
8324 * localedata/locales/translit_fraction: likewise.
8326 2018-07-03 Florian Weimer <fweimer@redhat.com>
8329 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8330 * stdio-common/tst-printf.sh: Adjust expected output.
8333 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8335 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8338 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8340 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8341 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8342 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8343 * stdio-common/tst-printfsz-islongdouble.c: New file.
8344 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8345 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8346 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8347 [subdir == stdio-common] (tests-internal): Add
8348 test-printf-size-ieee128, and test-printf-size-ibm128.
8349 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8350 (CFLAGS-test-printf-size-ibm128.c): New variables.
8351 [subdir == stdio-common] (tests-special): Add
8352 $(objpfx)test-printf-size-ieee128.out and
8353 $(objpfx)test-printf-size-ibm128.out.
8354 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8355 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8356 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8357 __printf_sizeieee128.
8358 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8360 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8362 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8365 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8367 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8368 (exp2f_inline): Likewise.
8369 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8370 (__math_uflowf): Likewise.
8371 (__math_may_uflowf): Likewise.
8372 (__math_divzerof): Likewise.
8373 (__math_invalidf): Likewise.
8374 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8375 (__math_oflowf): Likewise.
8376 (__math_uflowf): Likewise.
8377 (__math_may_uflowf): Likewise.
8378 (__math_divzerof): Likewise.
8379 (__math_invalidf): Likewise.
8381 2018-06-29 DJ Delorie <dj@redhat.com>
8382 Carlos O'Donell <carlos@redhat.com>
8385 * include/libc-symbols.h: Comment the freeres framework.
8386 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8387 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8388 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8389 * dlfcn/dlerror.c: Include libc-symbols.h
8390 (__dlerror_main_freeres): New function.
8391 * dlfcn/dlfreeres.c: New file.
8392 * dlfcn/sdlfreeres.c: New file.
8393 * include/dlfcn.h: Declare __dlerror_main_freeres.
8394 * malloc/set-freeres.c: Declare __libdl_freeres, and
8395 __libpthread_freeres.
8396 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8397 the releavant libraries are loaded.
8398 * malloc/thread-freeres.c: Add comments.
8399 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8400 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8401 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8402 (__free_stacks): Rename to...
8403 (free_stacks): ...this. Mark static.
8404 (queue_stack): Call free_stacks.
8405 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8406 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8407 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8408 ptr_freeres element from struct.
8409 (pthread_functions): Remove .ptr_freeres from struct initializer.
8410 [SHARED] (nptl_freeres): Remove.
8411 * nptl/nptlfreeres.c: New file.
8413 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8414 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8416 (__free_stacks): Rename to...
8417 (__nptl_stacks_freeres): ...this.
8418 (__shm_directory_freeres): Declare.
8419 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8420 (__nptl_unwind_freeres): ...this.
8421 * resolv/res-close.c: Add comment.
8422 * resolv/resolv_conf.c: Include libc-symbols.h.
8423 * string/strerror_l.c: Include libc-symbols.h.
8424 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8425 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8426 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8427 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8429 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8431 * stdlib/tst-strfmon_l.c: Add tests for long double.
8433 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8436 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8437 * localedata/locales/dsb_DE: New file.
8439 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8442 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8444 (alt_mon): New entry, import from CLDR (nominative case).
8446 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8449 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8451 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8453 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8454 Use vector registers.
8456 * sysdeps/aarch64/multiarch/memmove_falkor.S
8457 (__memcpy_falkor): Use vector registers.
8459 2018-06-29 Martin Sebor <msebor@redhat.com>
8461 * manual/stdio.texi (Customizing Printf): Mention interaction
8464 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8467 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8468 `st_value' is 0 if `st_shndx' is SHN_ABS.
8469 * elf/tst-absolute-zero.c: New file.
8470 * elf/tst-absolute-zero-lib.c: New file.
8471 * elf/tst-absolute-zero-lib.lds: New file.
8472 * elf/Makefile (tests): Add `tst-absolute-zero'.
8473 (modules-names): Add `tst-absolute-zero-lib'.
8474 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8475 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8476 ($(objpfx)tst-absolute-zero: New dependency.
8478 2018-06-29 Zack Weinberg <zackw@panix.com>
8480 * configure.ac: New command-line option --disable-crypt.
8481 Force --disable-nss-crypt when --disable-crypt is given, with a
8482 warning if it was explicitly enabled.
8483 * configure: Regenerate.
8484 * config.make.in: New boolean substitution variable $(build-crypt).
8485 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8486 when $(build-crypt).
8487 * manual/install.texi: Document --disable-crypt.
8488 * INSTALL: Regenerate.
8490 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8492 * conform/Makefile: Only include libcrypt.a in
8493 linknamespace-libs-xsi and linknamespace-libs-XPG4
8494 when $(build-crypt).
8495 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8496 USE_CRYPT to 1 when $(build-crypt).
8497 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8498 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8499 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8501 2018-06-29 Zack Weinberg <zackw@panix.com>
8503 * crypt/crypt.h, posix/unistd.h: Update comments and
8504 prototypes for crypt and crypt_r.
8506 * manual/crypt.texi (Cryptographic Functions): New initial
8508 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8509 (Unpredictable Bytes): Improve initial exposition. Clarify error
8510 behavior of getentropy and getrandom.
8511 * manual/examples/genpass.c: Generate a salt using getentropy
8512 instead of the current time. Use hash $5$ (SHA-2-256).
8513 * manual/examples/testpass.c: Demonstrate validation against
8514 hashes generated with three different one-way functions.
8516 * manual/intro.texi: crypt.texi does not need an overview
8519 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8520 * manual/terminal.texi: Consistently refer to "passphrases"
8521 * instead of "passwords", and to the "user database" instead
8522 * of the "password database".
8523 * manual/users.texi: Similarly. Add notes about how actual
8524 passphrase hashes are now stored in the shadow database.
8525 Remove 20-year-old junk todo note.
8527 2018-06-29 Zack Weinberg <zackw@panix.com>
8529 * manual/crypt.texi: Use a normal top-level @node declaration.
8530 Move most of the introductory text to the 'crypt' section.
8531 Move the example programs below the @deftypefun for 'crypt_r'.
8532 Move the 'getpass' section...
8533 * manual/terminal.texi: ...here.
8535 2018-06-29 Zack Weinberg <zackw@panix.com>
8536 Florian Weimer <fweimer@redhat.com>
8538 * posix/unistd.h: Do not declare encrypt.
8539 (_XOPEN_CRYPT): Remove macro definition.
8540 (crypt): Declare only for _USE_MISC.
8541 * stdlib/stdlib.h: Do not declare setkey.
8542 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8543 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8545 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8546 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8547 into compat symbols. Don't define initial_perm if it's not
8549 * crypt/cert.c: Link explicitly with the expected versions for
8550 setkey and encrypt. If they are not available at all, mark
8551 the test as unsupported.
8553 * sunrpc/des_crypt.c: Unconditionally block linkage with
8554 cbc_crypt and ecb_crypt for new binaries.
8555 * sunrpc/des_soft.c: Unconditionally block linkage with
8556 des_setparity for new binaries.
8558 * manual/crypt.texi: Remove the entire "DES Encryption"
8559 section. Also remove the paragraph talking about FIPS 140-2
8560 from the introduction.
8561 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8562 of libgcrypt for "real" encryption, not DES.
8563 * manual/conf.texi (Constants for Sysconf): Mention that
8564 _XOPEN_CRYPT is no longer impelemented.
8566 * conform/data/unistd.h-data: Remove crypt function declaration.
8568 2018-06-29 Florian Weimer <fweimer@redhat.com>
8571 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8572 (disallow_malloc_check): Remove variable.
8573 (__malloc_check_init): Adjust.
8574 (malloc_set_state): Update comment.
8575 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8578 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8581 * localedata/locales/ast_ES (mon): Rename to...
8583 (mon): Import from CLDR (genitive case).
8585 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8586 Jakub Sitnicki <jkbs@redhat.com>
8589 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8592 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8594 * manual/llio.texi: Remove spurious space.
8596 2018-06-28 Florian Weimer <fweimer@redhat.com>
8599 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8602 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8604 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8605 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8606 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8607 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8608 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8609 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8610 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8612 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8615 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8616 Copy and null-terminate entries that are not terminated, in
8617 addition to empty ones.
8619 2018-06-27 Florian Weimer <fweimer@redhat.com>
8622 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8623 (extend_alloca_account): Remove.
8624 * manual/stdio.texi (Variable Arguments Output): Update comment.
8626 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8628 * nptl/sockperf.c: Remove file.
8630 2018-06-27 Florian Weimer <fweimer@redhat.com>
8633 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8634 scratch_buffer instead of extend_alloca.
8636 2018-06-27 Florian Weimer <fweimer@redhat.com>
8639 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8640 scratch_buffer instead of extend_alloca. Update comments.
8642 2018-06-27 Florian Weimer <fweimer@redhat.com>
8645 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8646 instead of extend_alloca.
8648 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8651 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8652 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8654 * scripts/test-installation.pl: Put temporary files in build
8655 directory, not /tmp.
8656 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8657 (CFLAGS-bug4.c): Likewise.
8658 (CFLAGS-bug5.c): Likewise.
8659 (CFLAGS-test-fseek.c): Likewise.
8660 (CFLAGS-test-popen.c): Likewise.
8661 (CFLAGS-test_rdwr.c): Likewise.
8662 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8664 * stdio-common/bug4.c (main): Likewise.
8665 * stdio-common/bug5.c (main): Likewise.
8666 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8667 * stdio-common/test-popen.c (do_test): Likewise.
8668 * stdio-common/test_rdwr.c (main): Likewise.
8670 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8672 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8673 (sem_open): Set sem.newsem.pad to zero for valgrind.
8675 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8678 * NEWS: Mention fcntl64 addition.
8679 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8680 * login/utmp_file.c: Likewise.
8681 * sysdeps/posix/fdopendir.c: Likewise.
8682 * sysdeps/posix/opendir.c: Likewise.
8683 * sysdeps/unix/pt-fcntl.c: Likewise.
8684 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8685 __fcntl64_nocancel_adjusted): New prototype.
8686 (__fcntl_nocancel_adjusted): Remove prototype.
8687 * io/Makefile (routines): Add fcntl64.
8688 (CFLAGS-fcntl64.c): New rule.
8689 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8690 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8691 * io/fcntl.h (fcntl64): Add prototype and redirect if
8692 __USE_FILE_OFFSET64 is defined.
8693 * io/fcntl64.c: New file.
8694 * manual/llio.text: Add a note for which commands fcntl acts a
8696 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8697 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8698 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8700 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8701 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8703 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8704 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8705 to __fcntl64_nocancel.
8706 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8707 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8708 to __fcntl64_nocancel.
8709 * sysdeps/generic/not-cancel.h: Likewise.
8710 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8711 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8712 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8713 (fcntl64): New symbol.
8714 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8715 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8719 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8721 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8722 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8723 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8724 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8726 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8727 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8728 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8729 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8730 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8731 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8732 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8733 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8734 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8739 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8740 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8741 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8743 2018-06-26 Florian Weimer <fweimer@redhat.com>
8745 Run thread shutdown functions in an explicit order.
8746 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8748 (__libc_thread_freeres): Call thread shutdown functions
8750 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8751 * include/string.h (__strerror_thread_freeres): Declare.
8752 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8753 arena_thread_freeres. No longer static. Remove thread shutdown
8755 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8757 * resolv/res-close.c (__res_thread_freeres): Renamed from
8758 res_thread_freeres. No longer static. Remove thread shutdown
8760 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8761 * resolv/resolv_conf.c (freeres): Remove incorrect section
8762 attribute and use libc_freeres_fn.
8763 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8764 strerror_thread_freeres. No longer static. Remove thread
8765 shutdown hook registration.
8766 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8767 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8768 shutdown hook registration.
8769 * Makerules (shlib.lds): Do not provide section boundary symbols
8770 for __libc_thread_subfreeres.
8771 * manual/memory.texi (Basic Allocation): Update comment.
8773 2018-06-26 Florian Weimer <fweimer@redhat.com>
8775 Remove always-defined _RPC_THREAD_SAFE_ macro.
8776 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8777 Do not define _RPC_THREAD_SAFE_.
8778 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8780 * sunrpc/clnt_perr.c: Likewise.
8781 * sunrpc/clnt_raw.c: Likewise.
8782 * sunrpc/clnt_simp.c: Likewise.
8783 * sunrpc/key_call.c: Likewise.
8784 * sunrpc/rpc_common.c: Likewise.
8785 * sunrpc/rpc_main.c: Likewise.
8786 * sunrpc/rpc_thread.c: Likewise.
8787 * sunrpc/svc.c: Likewise.
8788 * sunrpc/svc_raw.c: Likewise.
8789 * sunrpc/svc_simple.c: Likewise.
8790 * sumrpc/svcauth_des.c: Likewise.
8792 2018-06-26 Florian Weimer <fweimer@redhat.com>
8794 * libio/Makefile (tests-internal): Add tst-vtables,
8795 tst-vtables-interposed.
8796 * libio/tst-vtables.c: New file.
8797 * libio/tst-vtables-common.c: Likewise.
8798 * libio/tst-vtables-interposed.c: Likewise.
8800 2018-06-26 Florian Weimer <fweimer@redhat.com>
8802 * support/support_test_main.c (support_test_main): Only call
8803 setvbuf if not disables.
8804 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8805 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8807 2018-06-26 Florian Weimer <fweimer@redhat.com>
8810 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8812 2018-06-25 Florian Weimer <fweimer@redhat.com>
8815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8816 Use struct scratch_buffer instead of extend_alloca.
8818 2018-06-25 Florian Weimer <fweimer@redhat.com>
8821 * nss/getent.c (initgroups_keys): Use dynarray instead of
8824 2018-06-25 Florian Weimer <fweimer@redhat.com>
8827 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8828 Use struct scratch_buffer instead of extend_alloca.
8830 2018-06-25 Florian Weimer <fweimer@redhat.com>
8833 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8834 back to malloc directly, without stack allocations.
8836 2018-06-25 Florian Weimer <fweimer@redhat.com>
8839 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8842 2018-06-25 Florian Weimer <fweimer@redhat.com>
8845 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8847 * nscd/hstcache.c (addhstbyX): Likewise.
8848 * nscd/pwdcache.c (addpwbyX): Likewise.
8849 * nscd/servicescache.c (addservbyX): Likewise.
8851 2018-06-25 Florian Weimer <fweimer@redhat.com>
8854 * nscd/connections.c (read_cmdline): New function.
8855 (restart): Use it. Update comment.
8857 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8860 * localedata/locales/csb_PL (mon): Rename to...
8862 (abmon): Rename to...
8864 (mon): Add with proper genitive forms, copy from Wikipedia.
8867 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8870 * localedata/locales/csb_PL (mon): Fix typos:
8871 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8872 (yesstr): Add, value is "jo".
8873 (nostr): Add, value is "nié".
8875 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8877 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8878 all log1p and significand functions on m680x0.
8879 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8880 of s_significand.c..
8881 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8882 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8883 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8884 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8885 s_log1p.c and include it..
8887 2018-06-21 Vincent Chen <vincentc@andestech.com>
8889 * elf/elf.h (R_NDS32_NONE): New define.
8890 (R_NDS32_32_RELA): Likewise.
8891 (R_NDS32_COPY): Likewise.
8892 (R_NDS32_GLOB_DAT): Likewise.
8893 (R_NDS32_JUMP_SLOT): Likewise.
8894 (R_NDS32_RELATIVE): Likewise.
8895 (R_NDS32_TLS_TPOFF): Likewise.
8896 (R_NDS32_TLS_DESC): Likewise.
8898 2018-06-21 Mark Wielaard <mark@klomp.org>
8900 * elf/elf.h (R_BPF_MAP_FD): Removed.
8901 (R_BPF_64_64, R_BPF_64_32): New.
8903 2018-06-21 Florian Weimer <fweimer@redhat.com>
8906 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8907 Renamed from libc_feholdsetround_ctx.
8908 (default_libc_feresetround_ctx): Renamed from
8909 libc_feresetround_ctx.
8910 (default_libc_feholdsetround_noex_ctx): Renamed from
8911 libc_feholdsetround_noex_ctx.
8912 (default_libc_feresetround_noex_ctx): Renamed from
8913 libc_feresetround_noex_ctx.
8914 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8915 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8916 forwardning to the old implementations under the new names.
8917 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8918 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8919 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8920 (libc_feresetround_ctx): Forward to default implements for i386
8921 and MATH_SET_BOTH_ROUNDING_MODES.
8922 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8923 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8925 2018-06-20 Joseph Myers <joseph@codesourcery.com>
8927 * string/tst-cmp.c: Include <libc-diag.h>.
8928 (strncmp_max): Disable -Wstringop-overflow= around call to
8930 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8933 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8934 (main): Disable -Wunused-value around call to strpbrk.
8935 * string/bug-strspn1.c: Include <libc-diag.h>.
8936 (main): Disable -Wunused-value around call to strspn.
8938 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8939 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8941 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8942 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8944 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8946 * math/Makefile (libm-calls): Move s_significandF to...
8947 (gen-libm-calls): ... here.
8948 * math/s_significand_template.c: New file.
8949 * math/s_significand.c: Removed.
8950 * math/s_significandf.c: Removed.
8951 * math/s_significandl.c: Removed.
8952 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8953 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8955 * math/e_exp2_template.c (declare_mgen_finite_alias,
8956 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8957 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8958 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8960 2018-06-20 Florian Weimer <fweimer@redhat.com>
8962 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8964 2018-06-19 Joseph Myers <joseph@codesourcery.com>
8967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8968 floating-point number to strtod functions rather than possibly
8969 negating result of those functions.
8970 * stdio-common/tst-scanf-round.c: New file.
8971 * stdio-common/Makefile (tests): Add tst-scanf-round.
8972 ($(objpfx)tst-scanf-round): Depend on $(libm).
8974 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8976 * sysdeps/mach/hurd/localplt.data: Move to...
8977 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8978 R_386_GLOB_DAT like on Linux i386.
8980 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8982 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8983 (SHM_STAT_ANY): New macro.
8984 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8985 (SHM_STAT_ANY): Likewise.
8986 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8987 (SHM_STAT_ANY): Likewise.
8988 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8989 (SHM_STAT_ANY): Likewise.
8990 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8991 (SHM_STAT_ANY): Likewise.
8992 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8993 (SHM_STAT_ANY): Likewise.
8994 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8995 (SHM_STAT_ANY): Likewise.
8996 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8997 (SHM_STAT_ANY): Likewise.
8998 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8999 (SHM_STAT_ANY): Likewise.
9000 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9001 (SHM_STAT_ANY): Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9003 (SHM_STAT_ANY): Likewise.
9004 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9005 (SHM_STAT_ANY): Likewise.
9007 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9008 (SEM_STAT_ANY): New macro.
9009 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9010 (SEM_STAT_ANY): Likewise.
9011 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9012 (SEM_STAT_ANY): Likewise.
9013 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9014 (SEM_STAT_ANY): Likewise.
9015 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9016 (SEM_STAT_ANY): Likewise.
9017 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9018 (SEM_STAT_ANY): Likewise.
9019 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9020 (SEM_STAT_ANY): Likewise.
9021 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9022 (SEM_STAT_ANY): Likewise.
9023 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9024 (SEM_STAT_ANY): Likewise.
9025 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9026 (SEM_STAT_ANY): Likewise.
9028 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9029 (MSG_STAT_ANY): New macro.
9030 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9031 (MSG_STAT_ANY): Likewise.
9032 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9033 (MSG_STAT_ANY): Likewise.
9034 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9035 (MSG_STAT_ANY): Likewise.
9036 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9037 (MSG_STAT_ANY): Likewise.
9038 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9039 (MSG_STAT_ANY): Likewise.
9040 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9041 (MSG_STAT_ANY): Likewise.
9042 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9043 (MSG_STAT_ANY): Likewise.
9044 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9045 (MSG_STAT_ANY): Likewise.
9046 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9047 (MSG_STAT_ANY): Likewise.
9049 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9050 (MAP_TYPE): Change value to 0x2b.
9052 2018-06-18 Florian Weimer <fweimer@redhat.com>
9055 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9056 socket with SOCK_CLOEXEC.
9058 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9061 * sysdeps/powerpc/powerpc64/le/Makefile
9062 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9063 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9064 (gnulib-tests): Also add $(f128-loader-link) for
9065 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9067 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9069 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9070 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9072 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9073 (sendfile64): New strong alias.
9074 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9075 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9076 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9077 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9079 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9080 ___pthread_get_cleanup_stack.
9081 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9082 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9083 * mach/shortcut.awk: Make syscall stubs include
9084 <mach-shortcuts-hidden.h> and add hidden definition.
9085 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9086 (__mach_msg): Add hidden prototype.
9087 * mach/msg.c: Include <mach.h>.
9088 (__mach_msg): Add hidden definition.
9089 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9090 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9091 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9092 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9093 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9094 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9095 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9096 prototype and definition.
9097 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9098 hidden target for _hurd_self_sigstate.
9100 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9103 * stdlib/tst-strtod-nan-sign-main.c: New file.
9104 * stdlib/tst-strtod-nan-sign.c: Likewise.
9105 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9106 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9107 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9108 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9109 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9111 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9117 2018-06-14 Florian Weimer <fweimer@redhat.com>
9120 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9121 that the result stays within the ISO-8859-1 range.
9122 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9123 characters are defined in IBM273.
9125 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9127 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9128 __mach_task_self): Remove attribute_hidden.
9130 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9132 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9133 ignore -Wrestrict for one test.
9135 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9136 Szabolcs Nagy <szabolcs.nagy@arm.com>
9138 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9140 2018-06-14 Florian Weimer <fweimer@redhat.com>
9142 * scripts/update-abilist.sh: Accept empty list of files to patch.
9144 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9146 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9147 test-xfail-check-abi-libmachuser): Add.
9148 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9149 __libc_read and __libc_write to __read and __write.
9150 * sysdeps/hurd/include/hurd/port.h: New file.
9151 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9152 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9153 __thread_switch, __evc_wait): Move declarations to...
9154 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9156 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9157 use PLT to call _hurd_self_sigstate.
9159 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9162 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9163 MAX_EXP as overflowing.
9164 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9166 (round_str): Output also whether result overflows in each rounding
9168 * stdlib/tst-strtod-round-data: Add more tests.
9169 * stdlib/tst-strtod-round-data.h: Regenerated.
9170 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9171 (TEST): Handle extra arguments for overflow flags.
9172 (struct test_overflow): New type.
9173 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9174 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9175 (test_in_one_mode): Take argument with overflow information.
9176 (do_test): Update calls to test_in_one_mode.
9178 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9180 * elf/dl-load (_dl_dst_substitute): Correct comment.
9181 (_dl_dst_count): Likewise.
9183 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9184 lll_futex_timed_wait.
9186 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9189 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9191 * math/test-nan-const.c: New file.
9192 * math/Makefile (tests): Add test-nan-const.
9193 (CFLAGS-test-nan-const.c): New variable.
9195 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9197 * benchtests/scripts/compare_strings.py (process_results): Add
9198 funcs argument. Compare only functions which are selected.
9199 (main): Check if base function is among selected functions.
9200 Pass selected functions to process_results.
9201 (__main__): Add -f/--functions argument.
9203 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9204 Hongbo Zhang <hongbo.zhang@linaro.org>
9206 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9207 __memcpy_falkor for phecda core.
9208 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9209 __memmove_falkor for phecda core.
9210 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9211 __memset_falkor for phecda core.
9212 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9214 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9215 macro to identify phecda core.
9217 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9218 Andreas Schwab <schwab@suse.de>
9219 Dmitry V. Levin <ldv@altlinux.org>
9220 Florian Weimer <fweimer@redhat.com>
9227 * elf/dl-dst.h: Remove DL_DST_COUNT.
9228 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9229 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9230 (is_dst): Comment. Support ELF gABI.
9231 (_dl_dst_count): Comment. Simplify and count DSTs.
9232 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9233 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9236 2018-06-12 Zack Weinberg <zackw@panix.com>
9238 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9239 * sysdeps/unix/sysv/linux/dl-sysdep.c
9240 Include not-cancel.h. Use __close_nocancel instead of __close,
9241 __open64_nocancel instead of __open, __read_nocancel instead of
9242 __libc_read, and __write_nocancel instead of __libc_write.
9244 * csu/check_fds.c (check_one_fd)
9245 * sysdeps/posix/fdopendir.c (__fdopendir)
9246 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9247 instead of __fcntl and/or __libc_fcntl.
9249 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9250 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9251 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9252 Use __open64_nocancel instead of __open_nocancel.
9254 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9255 hidden_proto declarations to the end and issue them if either
9256 IS_IN(libc) or IS_IN(rtld).
9257 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9258 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9259 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9260 read_nocancel, waitpid_nocancel, write_nocancel.
9262 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9263 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9264 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9266 * nptl/pt-fcntl.c: New file.
9267 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9268 (libpthread-routines): Add pt-fcntl.
9269 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9270 (__libc_fcntl): Remove attribute_hidden.
9271 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9272 __fcntl_nocancel_adjusted, not fcntl_common.
9273 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9274 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9275 to fcntl_nocancel.c.
9276 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9279 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9281 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9282 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9283 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9284 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9285 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9286 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9287 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9288 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9289 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9290 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9291 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9292 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9293 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9294 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9295 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9296 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9297 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9298 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9299 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9300 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9302 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9303 libpthread-routines.
9304 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9307 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9308 __libc_read, and __write instead of __libc_write. Define
9309 __open64 in addition to __open.
9311 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9315 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9316 to _private_tm[3] and add __glibc_reserved2.
9317 Add _Static_assert of offset of __private_ss == 0x30.
9318 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9319 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9321 2018-06-12 Florian Weimer <fweimer@redhat.com>
9323 x86: Make strncmp usable from rtld.
9324 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9325 __strncmp_ia32 if in libc (and not in rtld).
9326 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9327 strncmp if not in libc (and not to __strncmp_sse2).
9329 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9332 * localedata/locales/gd_GB (mon): Rename to...
9334 (mon): Import from CLDR (genitive case).
9335 * localedata/locales/hsb_DE (mon): Rename to...
9337 (mon): Import from CLDR (genitive case).
9338 * localedata/locales/wa_BE (mon): Rename to...
9340 (mon): Add, fill with the proper genitive forms, but CLDR data
9341 is incomplete; completed according to the comments in this file.
9342 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9344 * localedata/locales/wa_BE (country_name): Reword
9345 "Beljike" -> "Beldjike".
9347 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9350 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9351 cases of non-finite arguments.
9352 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9354 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9357 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9359 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9362 * include/unistd.h (__execvpex): New prototype.
9363 * posix/Makefile (tests): Add tst-spawn4.
9364 (tests-internal): Add tst-spawn4-compat.
9365 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9366 * posix/tst-spawn4-compat.c: New file.
9367 * posix/tst-spawn4.c: Likewise.
9368 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9369 binaries as shell scripts.
9370 * sysdeps/posix/spawni.c (__spawni): Likewise.
9372 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9375 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9376 ($(all-built-dso:=.dynsym): New target.
9377 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9378 ($(objpfx)check-initfini.out): New target.
9379 (generated): Add check-initfini.out.
9380 * scripts/check-initfini.awk: New file.
9381 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9383 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9385 * sysdeps/arm/crti.S (_init): Mark as hidden.
9387 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9389 * sysdeps/i386/crti.S (_init): Mark as hidden.
9391 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9393 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9395 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9397 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9399 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9401 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9403 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9405 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9407 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9409 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9411 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9413 * sysdeps/sh/crti.S (_init): Mark as hidden.
9415 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9417 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9420 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9422 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9423 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9424 and TF redirection to KFtype and KF only when the default
9425 long double type is not the IEEE 128-bit floating point type.
9427 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9429 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9431 (HWCAP_USCAT): Likewise.
9432 (HWCAP_ILRCPC): Likewise.
9433 (HWCAP_FLAGM): Likewise.
9434 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9436 (_dl_aarch64_cap_flags): Add new flag names.
9438 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9439 (MAP_FIXED_NOREPLACE): New macro.
9440 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9441 (MAP_FIXED_NOREPLACE): Likewise.
9442 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9443 (MAP_FIXED_NOREPLACE): Likewise.
9444 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9445 (MAP_FIXED_NOREPLACE): Likewise.
9446 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9447 (MAP_FIXED_NOREPLACE): Likewise.
9448 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9449 (MAP_FIXED_NOREPLACE): Likewise.
9450 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9451 (MAP_FIXED_NOREPLACE): Likewise.
9452 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9453 (MAP_FIXED_NOREPLACE): Likewise.
9454 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9455 (MAP_FIXED_NOREPLACE): Likewise.
9456 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9457 (MAP_FIXED_NOREPLACE): Likewise.
9458 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9459 (MAP_FIXED_NOREPLACE): Likewise.
9460 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9461 (MAP_FIXED_NOREPLACE): Likewise.
9462 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9463 (MAP_FIXED_NOREPLACE): Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9465 (MAP_FIXED_NOREPLACE): Likewise.
9466 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9467 (MAP_FIXED_NOREPLACE): Likewise.
9469 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9472 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9474 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9477 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9479 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9481 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9483 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9485 * benchtests/scripts/compare_string.py: (process_results) Catch
9486 exception in non-existent base_func and catch exception in
9487 non-existent attribute.
9488 (parse_file) Catch exception if input file does not exist.
9490 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9492 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9493 options to avoid diff calculation and omit header, respectively.
9494 (main): process --no-diff and --no-header
9496 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9497 H.J. Lu <hongjiu.lu@intel.com>
9499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9500 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9503 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9504 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9506 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9507 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9508 AVX unaligned load is fast and vzeroupper is preferred.
9509 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9510 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9511 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9512 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9513 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9514 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9515 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9516 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9517 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9518 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9521 2018-06-01 Florian Weimer <fweimer@redhat.com>
9523 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9524 configuring with --disable-multi-arch, building with
9525 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9528 2018-06-01 Florian Weimer <fweimer@redhat.com>
9530 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9531 results from building with “-march=x86-64 -mtune=generic
9532 -mfpmath=sse” and running on a Haswell-era CPU.
9534 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9537 * soft-fp/sqrttf2.c: Remove file.
9538 * soft-fp/sqrtdf2.c: Move to ....
9539 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9541 (__sqrtdf2): Make conditional on
9542 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9544 * soft-fp/sqrtsf2.c: Move to ....
9545 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9547 (__sqrtsf2): Make conditional on
9548 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9550 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9551 (gcc-double-routines): Remove sqrtdf2.
9552 (gcc-quad-routines): Remove sqrttf2.
9553 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9554 Do not filter out sqrtsf2 and sqrtdf2.
9555 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9556 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9558 2018-06-01 Florian Weimer <fweimer@redhat.com>
9560 * sysdeps/generic/libcidn.abilist: Remove file.
9562 2018-06-01 Florian Weimer <fweimer@redhat.com>
9565 * libio/strfile.h (struct _IO_str_fields): Rename members to
9566 discourage their use and add comment.
9567 (_IO_STR_DYNAMIC): Remove unused macro.
9568 * libio/strops.c (_IO_str_init_static_internal): Do not use
9569 callback pointers. Call malloc and free.
9570 (_IO_str_overflow): Do not use callback pointers. Call malloc
9572 (enlarge_userbuf): Likewise.
9573 (_IO_str_finish): Call free.
9574 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9575 _allocate_buffer_unused.
9576 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9578 (enlarge_userbuf): Likewise.
9579 (_IO_wstr_finish): Call free.
9580 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9581 _allocate_buffer_unused, _free_buffer_unused.
9582 * libio/memstream.c (__open_memstream): Likewise.
9583 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9584 * libio/wmemstream.c (open_wmemstream): Likewise.
9586 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9588 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9591 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9593 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9594 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9595 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9597 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9599 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9601 2018-05-29 Florian Weimer <fweimer@redhat.com>
9603 * support/Makefile (libsupport-routines): Add
9604 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9605 xpthread_barrierattr_setpshared.
9606 * support/xpthread_barrierattr_destroy.c: New file.
9607 * support/xpthread_barrierattr_init.c: Likewise.
9608 * support/xpthread_barrierattr_setpshared.c: Likewise.
9610 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9613 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9614 _r_debug and update DT_DEBUG for debugger.
9616 2018-05-29 Florian Weimer <fweimer@redhat.com>
9618 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9619 (tst-strtod5i.out): Likewise.
9621 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9623 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9624 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9625 (sparc64-quad-routines): New variable. Moved from ....
9626 [$(subdir) = soft-fp] (sysdep_routines): Add
9627 $(sparc64-quad-routines). Moved from ....
9628 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9629 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9630 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9632 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9633 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9634 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9635 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9636 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9637 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9638 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9639 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9640 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9641 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9642 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9643 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9644 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9645 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9646 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9647 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9648 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9649 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9650 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9651 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9652 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9653 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9654 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9655 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9656 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9657 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9658 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9659 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9660 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9661 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9662 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9663 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9664 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9665 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9666 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9667 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9669 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9670 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9671 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9672 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9673 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9674 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9675 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9676 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9677 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9678 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9679 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9680 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9681 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9682 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9683 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9684 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9685 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9686 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9687 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9688 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9689 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9691 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9692 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9693 (sparc32-quad-routines): New variable. Moved from ....
9694 [$(subdir) = soft-fp] (sysdep_routines): Add
9695 $(sparc32-quad-routines). Moved from ....
9696 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9697 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9699 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9700 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9701 * sysdeps/sparc/sparc32/q_add.c: ... here.
9702 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9703 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9704 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9705 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9706 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9707 * sysdeps/sparc/sparc32/q_div.c: ... here.
9708 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9709 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9710 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9711 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9712 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9713 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9714 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9715 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9716 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9717 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9718 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9719 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9720 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9721 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9722 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9723 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9724 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9725 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9726 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9727 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9728 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9729 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9730 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9731 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9732 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9733 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9734 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9735 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9736 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9737 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9738 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9739 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9740 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9741 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9742 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9743 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9744 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9745 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9746 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9747 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9748 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9749 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9750 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9751 * sysdeps/sparc/sparc32/q_util.c: ... here.
9752 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9753 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9755 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9757 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9758 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9760 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9761 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9762 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9763 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9765 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9771 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9772 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9774 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9777 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9780 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9782 * sysdeps/sh/Implies: Remove sh/soft-fp.
9783 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9784 * sysdeps/sh/sfp-machine.h: ... here.
9786 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9788 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9789 (__mempcpy_erms): Skip zero length.
9790 (__memmove_erms): Likewise.
9791 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9792 (__memset_erms): Likewise.
9794 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9796 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9797 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9798 Add functions moved from ....
9799 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9800 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9801 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9803 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9804 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9805 * sysdeps/alpha/e_sqrtl.c: ... here.
9806 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9807 * sysdeps/alpha/local-soft-fp.h: ... here.
9808 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9809 * sysdeps/alpha/ots_add.c: ... here.
9810 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9811 * sysdeps/alpha/ots_cmp.c: ... here.
9812 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9813 * sysdeps/alpha/ots_cmpe.c: ... here.
9814 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9815 * sysdeps/alpha/ots_cvtqux.c: ... here.
9816 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9817 * sysdeps/alpha/ots_cvtqx.c: ... here.
9818 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9819 * sysdeps/alpha/ots_cvttx.c: ... here.
9820 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9821 * sysdeps/alpha/ots_cvtxq.c: ... here.
9822 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9823 * sysdeps/alpha/ots_cvtxt.c: ... here.
9824 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9825 * sysdeps/alpha/ots_div.c: ... here.
9826 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9827 * sysdeps/alpha/ots_mul.c: ... here.
9828 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9829 * sysdeps/alpha/ots_nintxq.c: ... here.
9830 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9831 * sysdeps/alpha/ots_sub.c: ... here.
9832 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9833 * sysdeps/alpha/sfp-machine.h: ... here.
9835 2018-05-23 Florian Weimer <fweimer@redhat.com>
9843 Switch to extern IDNA implementation (libidn2).
9844 * libidn: Remove subdirectory.
9845 * LICENSES: Do not mention licensing conditions for the removed
9847 * config.h.in (HAVE_LIBIDN): Remove.
9848 * include/dlfcn.h (__libc_dlopen): Update comment.
9849 * include/idna.h: Remove file.
9850 * inet/Makefile (routines): Add idna.
9851 (tests-static, tests-internal): Add tst-idna_name_classify.
9852 (LOCALES): Generate locales for tests.
9853 (tst-idna_name_classify.out): Depend on generated locales.
9854 * inet/idna_name_classify.c: New file.
9855 * inet/tst-idna_name_classify.c: Likewise.
9856 * inet/net-internal.h (__idna_to_dns_encoding)
9857 (__idna_from_dns_encoding): Declare.
9858 * inet/net-internal.h (enum idna_name_classification): Define.
9859 (__idna_name_classify): Declare.
9860 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9861 __idna_from_dns_encoding.
9862 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9863 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9864 name as a fallback in case of encoding errors.
9865 (getnameinfo): Use DEPRECATED_NI_IDN.
9866 * inet/idna.c: New file.
9867 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9868 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9869 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9870 (modules-names): Add tst-no-libidn2.
9871 (extra-test-objs): Add tst-no-libidn2.os.
9872 (LDFLAGS-tst-no-libidn2.so): Set soname.
9873 (LOCALES): Set, and generate locales.
9874 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9875 (tst-resolv-ai_idn-latin1): Likewise.
9876 (tst-resolv-ai_idn-nolibidn2): Likewise.
9877 (tst-resolv-ai_idn.out): Depend on locales.
9878 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9879 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9881 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9882 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9883 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9884 * resolv/tst-resolv-ai_idn.c: New file.
9885 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9886 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9887 * resolv/tst-no-libidn2.c: Likewise.
9888 * support/support_format_addrinfo.c (format_ai_flags): Do not
9889 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9890 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9891 (gaih_inet): Call __idna_to_dns_encoding and
9892 __idna_from_dns_encoding, and use the original (punycode) name if
9893 __idna_from_dns_encoding fails due to an encoding error.
9894 (getaddrinfo): Use DEPRECATED_AI_IDN.
9895 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9896 * sysdeps/unix/inet/configure: Remove file.
9897 * sysdeps/unix/inet/configure.ac: Likewise.
9899 2018-05-23 Florian Weimer <fweimer@redhat.com>
9901 Implement allocate_once.
9902 * include/allocate_once.h: New file.
9903 * misc/allocate_once.c: Likewise.
9904 * misc/tst-allocate_once.c: Likewise.
9905 * misc/Makefile (routines): Add allocate_once.
9906 (tests-internal): Add tst-allocate_once.
9907 (generated): Add tst-allocate_once.mtrace,
9908 tst-allocate_once-mem.out.
9909 (tests-special): Add tst-allocate_once-mem.out.
9910 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9911 (tst-allocate_once-mem.out): Call mtrace.
9912 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9914 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9917 * string/test-memcpy.c (do_test1): New function.
9918 (test_main): Call it.
9920 2018-05-23 Andreas Schwab <schwab@suse.de>
9924 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9925 (L(preloop_large)): Save initial destination pointer in %r11 and
9926 use it instead of %rax after the loop.
9927 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9929 2018-05-22 Joseph Myers <joseph@codesourcery.com>
9931 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9932 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9933 -I../soft-fp. Moved from ....
9934 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9935 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9936 * sysdeps/aarch64/e_sqrtl.c: ... here.
9937 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9938 * sysdeps/aarch64/sfp-machine.h: ... here.
9940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9941 -Wmaybe-uninitialized around access to fq[0].
9942 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9946 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9947 aliases for non-libc case of versioned symbols.
9948 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9949 (llseek): Define as compat symbol if
9950 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9952 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9953 Make into a compat symbol, disabled for minimum symbol version
9954 GLIBC_2.28 and later.
9955 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9957 2018-05-22 Florian Weimer <fweimer@redhat.com>
9959 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9960 not add -mpreferred-stack-boundary=4.
9961 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9962 (stack-align-test-flags): Likewise.
9963 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9965 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9966 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9967 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9968 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9969 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9970 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9971 (CFLAGS-tst-align2.c): Likewise.
9973 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9975 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9976 (index_arch_Prefer_FSRM): Likewise.
9977 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9978 Also check Prefer_FSRM.
9979 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9980 Also return OPTIMIZE (erms) for Prefer_FSRM.
9982 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9984 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9985 (index_cpu_FSRM): Likewise.
9986 (reg_FSRM): Likewise.
9988 2018-05-18 Joseph Myers <joseph@codesourcery.com>
9990 * math/gen-tgmath-tests.py: Import sys.
9991 (Tests.__init__): Initialize macros_seen.
9992 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9993 if requested to do so for this macro.
9994 (Tests.add_all_tests): Take argument for macro for which to
9996 (Tests.check_macro_list): New function.
9997 (main): Handle check-list argument and argument specifying macro
9998 for which to generate tests.
9999 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10000 [PYTHON] (tgmath3-macro-tests): Likewise.
10001 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10002 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10003 not test-tgmath3.c.
10004 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10005 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10007 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10008 [PYTHON] ($(foreach
10009 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10011 [PYTHON] (tests-special): Add
10012 $(objpfx)test-tgmath3-macro-list.out.
10013 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10015 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10016 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10020 * time/tzset.c (SECSPERDAY): Cast to time_t.
10021 * time/tst-y2039.c: New file.
10022 * time/Makefile (tests): Add tst-y2039.
10024 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10026 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10027 (PREFETCH_ONE_SET): Remove duplicate line.
10029 2018-05-17 Florian Weimer <fweimer@redhat.com>
10031 * sysdeps/generic/math-type-macros-double.h: Include
10032 <math-nan-payload-double.h> after <libm-alias-double.h>.
10033 * sysdeps/generic/math-type-macros-float.h: Include
10034 <math-nan-payload-float.h> after <libm-alias-float.h>.
10035 * sysdeps/generic/math-type-macros-float128.h: Include
10036 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10037 * sysdeps/generic/math-type-macros-ldouble.h: Include
10038 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10040 2018-05-17 Andreas Schwab <schwab@suse.de>
10042 * resolv/res_send.c (__res_context_send): Don't set errno when
10043 returing error after malloc failure.
10045 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10047 * nptl/allocatestack.c (allocate_stack): Remove the
10048 !__ASSUME_PRIVATE_FUTEX paths.
10049 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10050 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10052 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10053 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10054 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10055 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10056 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10057 !__ASSUME_PRIVATE_FUTEX path.
10058 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10059 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10060 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10061 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10062 !__ASSUME_PRIVATE_FUTEX macros.
10063 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10064 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10066 * sysdeps/unix/sysv/linux/kernel-features.h
10067 (__ASSUME_PRIVATE_FUTEX): Removed.
10069 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10071 * math/Makefile (libm-narrow-fns): Add div.
10072 (libm-test-funcs-narrow): Likewise.
10073 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10074 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10075 * math/gen-auto-libm-tests.c (test_functions): Add div.
10076 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10077 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10078 (NARROW_DIV_TRIVIAL): Likewise.
10079 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10081 (__ddivl): Likewise.
10082 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10084 (CFLAGS-nldbl-ddiv.c): New variable.
10085 (CFLAGS-nldbl-fdiv.c): Likewise.
10086 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10088 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10090 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10091 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10092 * math/auto-libm-test-in: Add tests of div.
10093 * math/auto-libm-test-out-narrow-div: New generated file.
10094 * math/libm-test-narrow-div.inc: New file.
10095 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10098 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10099 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10100 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10101 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10102 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10103 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10104 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10106 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10109 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10110 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10111 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10112 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10114 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10115 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10116 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10117 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10118 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10126 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10131 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10132 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10133 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10134 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10140 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10143 * nscd/nscd-client.h (sendfileall): Remove prototype.
10144 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10145 (handle_request): Use writeall instead of sendfileall.
10146 * nscd/aicache.c (addhstaiX): Likewise.
10147 * nscd/grpcache.c (cache_addgr): Likewise.
10148 * nscd/hstcache.c (cache_addhst): Likewise.
10149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10150 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10151 * nscd/pwdcache.c (cache_addpw): Likewise.
10152 * nscd/servicescache.c (cache_addserv): Likewise.
10153 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10154 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10158 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10160 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10161 Include <string/strncat.c>.
10162 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10164 (__GI___strncat): New hidden alias.
10166 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10168 * sysdeps/mips/mips32/libm-test-ulps: Update.
10169 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10171 2018-05-16 Florian Weimer <fweimer@redhat.com>
10173 * support/Makefile (libsupport-routines): Add support_quote_blob,
10174 support_test_compare_blob.
10175 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10176 * support/check.h (TEST_COMPARE_BLOB): Define.
10177 (support_test_compare_blob): Declare.
10178 * support/support.h (support_quote_blob): Declare.
10179 * support/support_quote_blob.c: New file.
10180 * support/support_test_compare_blob.c: Likewise.
10181 * support/tst-support_quote_blob.c: Likewise.
10182 * support/tst-test_compare_blob.c: Likewise.
10184 2018-05-16 Florian Weimer <fweimer@redhat.com>
10186 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10187 of <strtod_nan_double.h>.
10188 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10189 instead of SET_MANTISSA.
10190 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10191 of include <strtod_nan_float.h>.
10192 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10193 instead of <strtod_nan_ldouble.h>.
10194 * stdlib/strtod_nan_double.h: Move to ...
10195 * sysdeps/generic/math-nan-payload-double.h: ... here.
10196 (FLOAT): Remove definition.
10197 (SET_MANTISSA): Rename to ...
10198 (SET_NAN_PAYLOAD): ... this.
10199 * stdlib/strtod_nan_float.h: Move to ...
10200 * sysdeps/generic/math-nan-payload-float.h: ... here.
10201 (FLOAT): Remove definition.
10202 (SET_MANTISSA): Rename to ...
10203 (SET_NAN_PAYLOAD): ... this.
10204 * sysdeps/generic/math-type-macros-double.h: Include
10205 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10206 instead of <math-svid-compat.h>.
10207 * sysdeps/generic/math-type-macros-float.h: Include
10208 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10209 instead of <math-svid-compat.h>.
10210 * sysdeps/generic/math-type-macros-float128.h: Include
10211 <math-nan-payload-float128.h>.
10212 * sysdeps/generic/math-type-macros-ldouble.h: Include
10213 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10214 instead of <math-svid-compat.h>.
10215 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10216 check for definition.
10217 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10218 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10219 Include <ieee754_float128.h>.
10220 (FLOAT): Remove definition.
10221 (SET_MANTISSA): Rename to ...
10222 (SET_NAN_PAYLOAD): ... this.
10223 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10224 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10225 Do not include <float128_private.h>.
10226 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10228 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10229 (FLOAT): Remove definition.
10230 (SET_MANTISSA): Rename to ...
10231 (SET_NAN_PAYLOAD): ... this.
10232 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10233 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10234 (FLOAT): Remove definition.
10235 (SET_MANTISSA): Rename to ...
10236 (SET_NAN_PAYLOAD): ... this.
10237 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10238 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10239 (FLOAT): Remove definition.
10240 (SET_MANTISSA): Rename to ...
10241 (SET_NAN_PAYLOAD): ... this.
10242 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10243 of "../stdlib/strtod_nan_double.h".
10244 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10245 of "../stdlib/strtod_nan_float.h".
10246 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10247 instead of "../stdlib/strtod_nan_ldouble.h".
10248 * manual/arith.texi (Parsing of Floats): Adjust comment.
10250 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10252 * math/Makefile (libm-narrow-fns): Add mul.
10253 (libm-test-funcs-narrow): Likewise.
10254 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10255 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10256 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10257 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10258 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10259 (NARROW_MUL_TRIVIAL): Likewise.
10260 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10261 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10263 (__dmull): Likewise.
10264 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10266 (CFLAGS-nldbl-dmul.c): New variable.
10267 (CFLAGS-nldbl-fmul.c): Likewise.
10268 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10270 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10272 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10273 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10274 * math/auto-libm-test-in: Add tests of mul.
10275 * math/auto-libm-test-out-narrow-mul: New generated file.
10276 * math/libm-test-narrow-mul.inc: New file.
10277 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10280 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10281 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10282 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10290 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10291 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10292 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10293 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10294 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10296 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10297 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10298 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10299 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10300 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10301 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10302 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10303 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10304 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10305 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10306 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10307 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10308 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10313 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10314 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10315 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10316 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10322 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10324 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10325 with *%eax in call.
10327 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10329 * sysdeps/i386/ldsodefs.h: Removed.
10330 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10331 * sysdeps/x86/ldsodefs.h: This.
10332 (La_i86_regs): New.
10333 (La_i86_retval): Likewise.
10334 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10335 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10337 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10339 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10342 2018-05-13 Alan Modra <amodra@gmail.com>
10344 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10345 R_PARISC_TLS_DTPOFF32 reloc addend.
10347 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10349 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10350 * math/math.h: Restrict the prototype definition for the functions
10351 issignaling(_Float128) and iszero(_Float128); and template
10352 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10353 __HAVE_FLOAT128_UNLIKE_LDBL.
10354 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10355 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10356 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10357 __f128() constants; define the type _Float128 as long double;
10358 and reuse long double in __CFLOAT128.
10360 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10362 * sysdeps/generic/math_private.h: Do not include
10364 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10366 * math/fromfp.h: Include <math-barriers.h>.
10367 * math/math-narrow.h: Likewise.
10368 * math/s_nextafter.c: Likewise.
10369 * math/s_nexttowardf.c: Likewise.
10370 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10371 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10372 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10373 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10374 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10375 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10376 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10389 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10390 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10391 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10392 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10393 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10394 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10395 * sysdeps/ieee754/k_standardl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10412 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10413 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10414 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10415 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10416 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10417 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10419 2018-05-11 Florian Weimer <fweimer@redhat.com>
10421 Use 64-bit epoch values in the time zone file parser.
10422 * include/time.h (internal_time_t): Define.
10423 (__tzfile_compute): Use it.
10424 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10426 (transitions): Switch to internal_time_t.
10427 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10429 (__tzfile_compute): Use internal_time_t for timer argument. Check
10430 for truncation before calling __offtime.
10432 2018-05-11 Florian Weimer <fweimer@redhat.com>
10435 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10436 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10438 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10439 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10440 export without --enable-obsolete-rpc.
10441 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10442 symbol. This should not have been exported, ever.
10444 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10447 * localedata/locales/gd_GB (abmon): Fix typo in May:
10448 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10450 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10452 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10453 Use multiple registers to copy data in loop tail.
10455 * sysdeps/aarch64/multiarch/memmove_falkor.S
10456 (__memmove_falkor): Use multiple registers to move data in
10459 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10461 * math/math-underflow.h: New file.
10462 * sysdeps/generic/math_private.h: Do not include <float.h>.
10463 (fabs_tg): Remove macro. Moved to math-underflow.h.
10464 (min_of_type_f): Likewise.
10465 (min_of_type_): Likewise.
10466 (min_of_type_l): Likewise.
10467 (min_of_type_f128): Likewise.
10468 (min_of_type): Likewise.
10469 (math_check_force_underflow): Likewise.
10470 (math_check_force_underflow_nonneg): Likewise.
10471 (math_check_force_underflow_complex): Likewise.
10472 * math/e_exp2_template.c: Include <math-underflow.h>.
10473 * math/k_casinh_template.c: Likewise.
10474 * math/s_catan_template.c: Likewise.
10475 * math/s_catanh_template.c: Likewise.
10476 * math/s_ccosh_template.c: Likewise.
10477 * math/s_cexp_template.c: Likewise.
10478 * math/s_clog10_template.c: Likewise.
10479 * math/s_clog_template.c: Likewise.
10480 * math/s_csin_template.c: Likewise.
10481 * math/s_csinh_template.c: Likewise.
10482 * math/s_csqrt_template.c: Likewise.
10483 * math/s_ctan_template.c: Likewise.
10484 * math/s_ctanh_template.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10505 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10506 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10507 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10508 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10511 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10512 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10515 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10516 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10555 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10563 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10565 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10570 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10572 * sysdeps/generic/math-barriers.h: New file.
10573 * sysdeps/generic/math_private.h [!math_opt_barrier]
10574 (math_opt_barrier): Move to math-barriers.h.
10575 [!math_opt_barrier] (math_force_eval): Likewise.
10576 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10577 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10579 (math_force_eval): Likewise.
10580 * sysdeps/alpha/fpu/math-barriers.h: New file.
10581 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10583 (math_force_eval): Likewise.
10584 * sysdeps/x86/fpu/math-barriers.h: New file.
10585 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10587 (math_force_eval): Likewise.
10588 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10589 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10590 multiple-include guard for rename.
10591 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10592 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10594 (math_force_eval): Likewise.
10596 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10600 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10602 * stdlib/Makefile (test-bz22786): New test.
10603 * stdlib/test-bz22786.c: New test.
10605 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10607 * include/math-narrow-eval.h: New file. Contents moved from ....
10608 * sysdeps/generic/math_private.h: ... here.
10609 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10610 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10611 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10612 * stdlib/strtod_l.c: Likewise.
10613 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10614 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10615 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10628 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10629 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10630 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10631 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10632 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10635 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10637 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10638 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10639 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10640 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10643 2018-05-08 Andreas Schwab <schwab@suse.de>
10645 * sysdeps/nptl/internaltypes.h: Fix comment.
10647 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10649 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10650 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10653 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10655 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10656 of I into loop header.
10657 * benchtests/bench-memmove-walk.c
10658 (test_main): Likewise.
10660 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10663 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10664 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10666 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10669 * elf/dl-load.c (open_verify): Fix stack overflow.
10670 * elf/Makefile (tst-big-note): New test.
10671 * elf/tst-big-note-lib.S: New.
10672 * elf/tst-big-note.c: New.
10674 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10676 * scripts/abilist.awk: Ignore absolute symbols.
10677 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10678 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10679 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10680 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10681 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10682 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10683 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10684 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10685 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10686 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10687 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10688 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10722 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10723 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10725 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10736 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10737 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10739 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10743 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10744 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10752 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10765 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10770 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10771 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10772 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10775 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10776 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10778 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10780 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10781 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10784 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10785 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10786 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10787 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10788 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10789 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10790 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10791 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10792 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10793 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10794 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10795 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10796 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10798 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10799 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10801 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10802 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10803 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10804 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10805 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10806 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10807 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10808 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10809 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10810 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10812 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10813 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10814 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10815 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10816 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10817 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10819 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10820 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10821 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10822 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10823 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10824 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10825 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10826 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10827 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10828 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10829 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10830 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10831 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10833 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10837 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10838 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10839 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10840 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10841 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10842 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10843 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10844 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10845 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10846 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10848 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10849 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10850 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10851 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10852 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10853 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10854 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10859 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10923 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10930 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10933 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10934 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10935 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10938 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10940 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10941 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10942 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10943 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10944 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10946 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10947 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10972 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10973 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10977 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10987 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10988 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10989 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10991 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10993 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10994 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10995 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10996 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11011 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11021 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11022 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11030 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11033 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11034 Use atomic_load_acquire to load __tid.
11036 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11038 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11039 Restore the pointer into %rdx, after syscall and use %rdx,
11040 instead of %rsi, to restore context.
11042 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11044 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11045 Pop the pointer into %rdx after syscall and use %rdx, instead
11046 of %rsi, to restore context.
11048 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11050 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11051 handlers after setjmp.
11052 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11054 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11055 <libc-pointer-arith.h>.
11056 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11057 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11058 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11059 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11060 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11061 * sysdeps/x86/__longjmp_cancel.S: New file.
11062 * sysdeps/x86/longjmp.c: Likewise.
11063 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11065 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11067 * NEWS: Add ustat.h deprecation entry.
11068 * bits/ustat.h: Remove file.
11069 * misc/sys/ustat.h: Likewise.
11070 * misc/ustat.h: Likewise.
11071 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11072 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11073 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11074 compatibility mode.
11075 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11076 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11077 generic Linux implementation.
11079 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11081 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11082 * math/w_expl_compat.c: Likewise.
11083 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11085 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11087 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11089 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11091 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11092 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11093 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11095 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11098 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11099 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11102 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11104 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11106 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11107 * math/w_asin_template.c: Likewise.
11108 * math/w_atanh_template.c: Likewise.
11110 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11112 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11113 to powerpc/powerpc64/be for big-endian.
11114 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11117 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11118 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11119 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11120 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11121 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11122 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11123 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11124 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11125 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11126 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11127 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11128 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11129 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11130 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11131 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11132 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11133 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11135 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11136 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11137 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11138 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11139 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11140 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11141 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11142 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11143 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11144 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11145 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11146 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11147 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11148 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11150 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11151 adjusted to imply powerpc64 and older processors on powerpc64/be.
11152 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11153 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11154 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11155 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11156 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11157 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11158 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11159 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11160 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11161 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11162 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11163 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11164 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11165 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11166 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11167 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11168 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11169 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11170 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11171 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11172 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11173 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11174 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11175 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11176 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11177 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11178 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11179 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11180 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11181 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11182 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11184 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11185 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11186 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11187 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11189 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11190 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11191 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11192 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11194 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11195 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11196 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11197 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11198 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11199 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11200 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11201 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11202 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11203 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11204 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11206 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11207 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11208 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11209 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11210 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11211 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11212 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11213 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11214 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11215 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11216 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11218 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11219 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11220 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11221 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11222 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11223 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11224 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11225 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11226 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11227 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11228 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11229 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11231 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11232 and adjusted to imply olders processors.
11233 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11234 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11235 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11236 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11237 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11238 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11239 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11240 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11241 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11242 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11243 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11262 powerpc64 and adjusted.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11268 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11270 * sysdeps/tile: Remove.
11271 * sysdeps/unix/sysv/linux/tile: Likewise.
11272 * README (tilegx-*-linux-gnu): Remove from list of supported
11274 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11275 contribution of support for generic Linux kernel syscall
11277 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11278 tilegx configurations.
11279 (Config.install_linux_headers): Do not handle tile.
11280 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11282 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11283 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11284 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11285 conditional undefine and redefine.
11286 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11288 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11289 conditional undefine and redefine.
11291 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11293 * signal/tst-sigaction.c: New file to test BZ #23069.
11294 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11296 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11299 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11300 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11301 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11302 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11304 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11306 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11307 _DIRENT_MATCHES_DIRENT64 is not defined.
11308 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11309 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11311 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11312 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11314 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11316 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11317 version to GCC 8 branch.
11319 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11321 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11322 (check_no_hidden): Use type of original function when declaring
11325 * sysdeps/unix/sysv/linux/sys/ptrace.h
11326 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11327 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11328 (struct __ptrace_seccomp_metadata): New type.
11329 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11330 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11331 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11332 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11333 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11334 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11336 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11338 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11340 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11341 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11342 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11343 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11344 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11346 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11348 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11350 * dirent/versionsort.c (versionsort): Likewise.
11351 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11352 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11353 * dirent/versionsort64.c (versionsort64): Likewise.
11354 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11355 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11356 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11357 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11358 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11359 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11360 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11362 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11363 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11367 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11369 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11371 * elf/elf.h (NT_PPC_PKEY): New macro.
11373 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11376 * localedata/locales/hr_HR: fix thousands_sep and
11379 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11381 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11382 (XTABS): Define to TAB3.
11384 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11386 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11388 * dirent/scandir-tail-common.c: New file.
11389 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11390 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11391 * dirent/scandir.c: Use scandir-tail-common.c.
11392 * dirent/scandirat.c: Likewise.
11393 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11394 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11395 if _DIRENT_MATCHES_DIRENT64 is defined.
11396 * dirent/scandirat64.c (scandirat64): Likewise.
11397 * include/dirent.h (__scandir_tail): Only define iff
11398 _DIRENT_MATCHES_DIRENT64 is not defined.
11399 (__scandir64_tail): Define regardless.
11400 (__scandirat, scandirat64): Remove libc_hidden_proto.
11401 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11402 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11404 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11405 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11407 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11409 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11411 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11413 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11415 (_dl_aarch64_cap_flags): Add asimdfhm.
11417 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11419 * sysdeps/nios2/libm-test-ulps: Update.
11421 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11423 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11424 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11426 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11428 (_DIRENT_MATCHES_DIRENT64): Undef
11429 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11430 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11431 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11432 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11433 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11434 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11435 use getdents64 syscalls as base.
11436 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11437 symbol if required.
11438 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11439 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11440 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11441 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11442 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11444 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11445 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11447 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11448 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11450 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11452 * scripts/test_printers_common.py (init_test): Disable lock elision.
11454 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11456 * math/test-tgmath.c (count_double, count_float,
11457 count_ldouble, count_cdouble, count_cfloat,
11458 count_cldouble): Use volatile int.
11460 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11462 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11463 (conformtest-xfail-conds): Add i386-gnu.
11464 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11466 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11467 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11468 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11469 msqid_ds.msg_lrpid): Likewise.
11470 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11472 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11473 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11474 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11475 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11477 (struct statvfs64): Likewise.
11478 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11480 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11481 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11482 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11483 instead of wait_queue.
11484 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11485 instead of vm_area_struct.
11486 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11487 struct sched_param definition to it.
11488 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11489 * bits/types/struct_sched_param.h: New file.
11490 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11491 <bits/types/struct_sched_param.h> instead of <sched.h>.
11492 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11493 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11494 generic version but include <bits/pthreadtypes.h> to make struct
11495 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11496 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11498 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11499 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11500 [__USE_XOPEN] (OFDEL): New macro.
11501 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11502 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11503 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11505 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11506 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11507 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11509 * sysdeps/i386/sys/ucontext.h: Likewise.
11510 * sysdeps/m68k/sys/ucontext.h: Likewise.
11511 * sysdeps/mips/sys/ucontext.h: Likewise.
11512 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11513 * sysdeps/mach/hurd/i386/Makefile
11514 (test-xfail-POSIX/fcntl.h/conform): Add.
11515 (test-xfail-POSIX/signal.h/conform): Add.
11516 (test-xfail-POSIX/semaphore.h/conform): Add.
11517 (test-xfail-POSIX/regex.h/conform): Add.
11518 (test-xfail-POSIX/aio.h/conform): Add.
11519 (test-xfail-POSIX/mqueue.h/conform): Add.
11520 (test-xfail-POSIX/sys/types.h/conform): Add.
11521 (test-xfail-UNIX98/fcntl.h/conform): Add.
11522 (test-xfail-UNIX98/netdb.h/conform): Add.
11523 (test-xfail-UNIX98/signal.h/conform): Add.
11524 (test-xfail-UNIX98/semaphore.h/conform): Add.
11525 (test-xfail-UNIX98/regex.h/conform): Add.
11526 (test-xfail-UNIX98/aio.h/conform): Add.
11527 (test-xfail-UNIX98/ftw.h/conform): Add.
11528 (test-xfail-UNIX98/mqueue.h/conform): Add.
11529 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11530 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11531 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11532 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11533 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11534 (test-xfail-UNIX98/sys/types.h/conform): Add.
11535 (test-xfail-UNIX98/stdlib.h/conform): Add.
11536 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11537 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11538 (test-xfail-POSIX2008/netdb.h/conform): Add.
11539 (test-xfail-POSIX2008/signal.h/conform): Add.
11540 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11541 (test-xfail-POSIX2008/regex.h/conform): Add.
11542 (test-xfail-POSIX2008/aio.h/conform): Add.
11543 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11544 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11545 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11546 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11547 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11548 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11549 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11550 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11551 (test-xfail-XOPEN2K/signal.h/conform): Add.
11552 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11553 (test-xfail-XOPEN2K/regex.h/conform): Add.
11554 (test-xfail-XOPEN2K/aio.h/conform): Add.
11555 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11556 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11557 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11558 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11559 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11560 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11561 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11562 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11563 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11564 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11565 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11566 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11567 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11568 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11569 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11570 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11571 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11572 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11573 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11574 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11575 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11576 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11577 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11578 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11579 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11580 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11581 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11583 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11584 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11586 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11588 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11589 --enable-obsolete for powerpc-linux-gnuspe.
11591 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11593 * conform/data/sys/un.h-data: Allow sun_ prefix.
11594 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11596 * sysdeps/mach/include/mach.h: Likewise.
11597 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11598 * sysdeps/mach/include/mach_error.h: Likewise.
11600 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11602 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11603 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11604 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11605 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11607 2018-04-16 Andreas Schwab <schwab@suse.de>
11610 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11612 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11614 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11615 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11617 2018-04-12 DJ Delorie <dj@redhat.com>
11619 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11622 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11624 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11625 (struct kernel_sigaction): Use the same definition on 31bit as is used
11628 2018-04-09 Florian Weimer <fweimer@redhat.com>
11631 * resolv/res_send.c (send_dg): Use designated initializers instead
11632 of assignment to zero-initialize other fields of struct mmsghdr.
11634 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11636 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11637 __READDIR_ALIAS): Undefine after usage.
11638 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11639 __READDIR_R_ALIAS): Likewise.
11640 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11641 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11642 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11643 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11646 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11649 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11652 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11653 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11654 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11655 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11656 * sysdeps/unix/sysv/linux/readdir.c: New file.
11657 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11658 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11659 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11661 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11663 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11665 * manual/charset.texi (Converting a Character): Fix typo.
11667 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11671 * sysdeps/arm/libm-test-ulps: Update.
11673 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11674 as base implementation.
11675 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11676 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11678 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11679 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11680 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11681 remove unrequired definitions and update comments.
11682 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11683 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11684 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11685 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11686 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11687 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11688 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11689 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11690 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11691 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11692 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11693 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11694 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11695 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11696 and RESET_SA_RESTORER hooks.
11698 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11700 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11702 2018-04-05 Florian Weimer <fweimer@redhat.com>
11704 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11705 integer overflow, memory leak on error, and indeterminate errno
11706 value. Add a null wide character to terminate the result string.
11707 * manual/charset.texi (Converting a Character): Mention embedded
11708 null bytes in the mbrtowc input string. Explain what happens in
11709 the -2 result case. Do not claim that mbrtowc is simple or
11710 obvious to use. Adjust the description of the code example. Use
11711 @code, not @var, for concrete variables.
11713 2018-04-05 Florian Weimer <fweimer@redhat.com>
11715 * manual/examples/mbstouwcs.c: New file.
11716 * manual/charset.texi (Converting a Character): Include it.
11718 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11720 * include/dirent.h (dirfd): Add hidden proto.
11721 * dirent/dirfd.c (dirfd): Add hidden def.
11722 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11723 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11725 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11727 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11728 sin, cos and sincos to 1 ULP.
11730 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11733 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11735 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11736 * elf/tst-absolute-sym.c: New file.
11737 * elf/tst-absolute-sym-lib.c: New file.
11738 * elf/tst-absolute-sym-lib.lds: New file.
11739 * elf/Makefile (tests): Add `tst-absolute-sym'.
11740 (modules-names): Add `tst-absolute-sym-lib'.
11741 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11742 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11743 ($(objpfx)tst-absolute-sym): New dependency.
11746 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11748 (SYMBOL_ADDRESS): New macro.
11749 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11750 SYMBOL_ADDRESS for symbol address calculation.
11751 * elf/dl-runtime.c (_dl_fixup): Likewise.
11752 (_dl_profile_fixup): Likewise.
11753 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11754 * elf/rtld.c (dl_main): Likewise.
11755 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11756 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11757 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11758 (elf_machine_rela): Likewise.
11759 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11760 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11762 (elf_machine_rela): Likewise.
11763 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11764 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11765 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11766 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11768 (elf_machine_reloc): Likewise.
11769 (elf_machine_got_rel): Likewise.
11770 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11771 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11772 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11776 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11777 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11779 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11781 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11784 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11786 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11789 2018-04-04 Zack Weinberg <zackw@panix.com>
11791 * sysdeps/generic/internal-signals.h: Include signal.h,
11792 sigsetops.h, and stdbool.h.
11793 (__libc_signal_block_all): Actually block all signals.
11794 (__libc_signal_block_app): Likewise.
11795 (__libc_signal_restore_set): Actually restore the signal mask.
11797 2018-04-04 Florian Weimer <fweimer@redhat.com>
11799 inet: Actually build and run tst-deadline.
11800 * inet/Makefile (tests-internal): Add tst-deadline and do not
11801 overwrite the variable.
11802 (tests-static-internal): Remove variable.
11804 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11807 * bits/uio-ext.h (RWF_APPEND): New.
11808 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11809 * manual/llio.texi: Document RWF_APPEND.
11810 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11811 (RWF_SUPPORTED): Add RWF_APPEND.
11813 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11816 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11817 check for internal nptl signals.
11818 * nptl/sigaction.c (__sigaction): Likewise.
11819 * signal/sigaddset.c (sigaddset): Likewise.
11820 * signal/sigdelset.c (sigdelset): Likewise.
11821 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11822 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11824 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11825 to filter out internal nptl signals.
11826 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11827 also check realtime signals using standard macros.
11828 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11829 __is_internal_signal, __libc_signal_block_all,
11830 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11831 * sysdeps/nptl/sigfillset.c: Remove file.
11832 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11833 Change return to bool.
11834 (__clear_internal_signals): Remove SIGTIMER clean since it is
11835 equal to SIGCANEL on Linux.
11836 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11837 signal set was constructed using standard functions.
11839 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11841 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11842 ifname is too long.
11843 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11844 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
11845 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11847 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
11848 * signal/sigaddset.c: Include <sigsetopts.h>.
11849 * signal/sigdelset.c: Likewise.
11851 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11855 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11856 logic as sin and cos.
11858 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11860 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11861 inputs. Return correct sign.
11862 (do_sincos): Remove small input check before do_sin, let do_sin set
11867 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11869 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11870 (do_cos_slow): Likewise.
11871 (do_sin_slow): Likewise.
11872 (reduce_and_compute): Likewise.
11877 (sloww1): Likewise.
11878 (sloww2): Likewise.
11880 (bslow1): Likewise.
11881 (bslow2): Likewise.
11882 (cslow2): Likewise.
11884 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11886 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11887 (do_cos): Remove corp parameter and calculations.
11888 (do_sin): Likewise.
11889 (do_sincos): Remove cor variable.
11890 (__sin): Use do_sincos for huge inputs.
11892 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11893 (reduce_and_compute_sincos): Remove unused function.
11895 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11897 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11898 reduce_sincos, improve accuracy to 136 bits.
11899 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11900 (__sin): Use improved reduction and simplified do_sincos calculation.
11902 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11904 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11906 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11907 (do_sincos_2): Likewise.
11908 (__sin): Remove middle range reduction case.
11910 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11913 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11915 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11919 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11921 2018-04-03 Joseph Myers <joseph@codesourcery.com>
11923 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11926 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11928 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11929 Remove definitions.
11930 (opendir_oflags): Use O_DIRECTORY regardless.
11931 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11932 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11934 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11936 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11937 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11939 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11940 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11941 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11942 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
11943 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11944 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
11946 * htl/Makefile: Bump licence to LGPL 2.1+.
11947 * htl/alloca_cutoff.c: Likewise.
11948 * htl/cthreads-compat.c: Likewise.
11949 * htl/lockfile.c: Likewise.
11950 * htl/pt-alloc.c: Likewise.
11951 * htl/pt-cancel.c: Likewise.
11952 * htl/pt-cleanup.c: Likewise.
11953 * htl/pt-create.c: Likewise.
11954 * htl/pt-dealloc.c: Likewise.
11955 * htl/pt-detach.c: Likewise.
11956 * htl/pt-exit.c: Likewise.
11957 * htl/pt-getattr.c: Likewise.
11958 * htl/pt-initialize.c: Likewise.
11959 * htl/pt-internal.h: Likewise.
11960 * htl/pt-join.c: Likewise.
11961 * htl/pt-self.c: Likewise.
11962 * htl/pt-setcancelstate.c: Likewise.
11963 * htl/pt-setcanceltype.c: Likewise.
11964 * htl/pt-sigmask.c: Likewise.
11965 * htl/pt-spin-inlines.c: Likewise.
11966 * htl/pt-testcancel.c: Likewise.
11967 * htl/pt-yield.c: Likewise.
11968 * htl/tests/test-1.c: Likewise.
11969 * htl/tests/test-10.c: Likewise.
11970 * htl/tests/test-11.c: Likewise.
11971 * htl/tests/test-12.c: Likewise.
11972 * htl/tests/test-13.c: Likewise.
11973 * htl/tests/test-14.c: Likewise.
11974 * htl/tests/test-15.c: Likewise.
11975 * htl/tests/test-16.c: Likewise.
11976 * htl/tests/test-17.c: Likewise.
11977 * htl/tests/test-2.c: Likewise.
11978 * htl/tests/test-3.c: Likewise.
11979 * htl/tests/test-4.c: Likewise.
11980 * htl/tests/test-5.c: Likewise.
11981 * htl/tests/test-6.c: Likewise.
11982 * htl/tests/test-7.c: Likewise.
11983 * htl/tests/test-8.c: Likewise.
11984 * htl/tests/test-9.c: Likewise.
11985 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11986 * sysdeps/htl/bits/cancelation.h: Likewise.
11987 * sysdeps/htl/bits/pthread-np.h: Likewise.
11988 * sysdeps/htl/bits/pthread.h: Likewise.
11989 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11990 * sysdeps/htl/bits/semaphore.h: Likewise.
11991 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11992 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11993 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11994 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11995 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11996 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11997 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11998 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11999 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12000 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12001 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12002 * sysdeps/htl/old_pt-atfork.c: Likewise.
12003 * sysdeps/htl/pt-atfork.c: Likewise.
12004 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12005 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12006 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12007 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12008 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12009 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12010 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12011 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12012 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12013 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12014 * sysdeps/htl/pt-attr-init.c: Likewise.
12015 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12016 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12017 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12018 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12019 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12020 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12021 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12022 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12023 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12024 * sysdeps/htl/pt-attr.c: Likewise.
12025 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12026 * sysdeps/htl/pt-barrier-init.c: Likewise.
12027 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12028 * sysdeps/htl/pt-barrier.c: Likewise.
12029 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12030 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12031 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12032 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12033 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12034 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12035 * sysdeps/htl/pt-cond-init.c: Likewise.
12036 * sysdeps/htl/pt-cond-signal.c: Likewise.
12037 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12038 * sysdeps/htl/pt-cond-wait.c: Likewise.
12039 * sysdeps/htl/pt-cond.c: Likewise.
12040 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12041 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12042 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12043 * sysdeps/htl/pt-condattr-init.c: Likewise.
12044 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12045 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12046 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12047 * sysdeps/htl/pt-equal.c: Likewise.
12048 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12049 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12050 * sysdeps/htl/pt-getschedparam.c: Likewise.
12051 * sysdeps/htl/pt-getspecific.c: Likewise.
12052 * sysdeps/htl/pt-init-specific.c: Likewise.
12053 * sysdeps/htl/pt-key-create.c: Likewise.
12054 * sysdeps/htl/pt-key-delete.c: Likewise.
12055 * sysdeps/htl/pt-key.h: Likewise.
12056 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12057 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12058 * sysdeps/htl/pt-mutex-init.c: Likewise.
12059 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12060 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12061 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12062 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12063 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12064 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12065 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12066 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12067 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12068 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12069 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12070 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12071 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12072 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12073 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12074 * sysdeps/htl/pt-mutexattr.c: Likewise.
12075 * sysdeps/htl/pt-once.c: Likewise.
12076 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12077 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12078 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12079 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12080 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12081 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12082 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12083 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12084 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12085 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12086 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12087 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12088 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12089 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12090 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12091 * sysdeps/htl/pt-setschedparam.c: Likewise.
12092 * sysdeps/htl/pt-setschedprio.c: Likewise.
12093 * sysdeps/htl/pt-setspecific.c: Likewise.
12094 * sysdeps/htl/pt-spin.c: Likewise.
12095 * sysdeps/htl/pt-startup.c: Likewise.
12096 * sysdeps/htl/pthread.h: Likewise.
12097 * sysdeps/htl/sem-close.c: Likewise.
12098 * sysdeps/htl/sem-destroy.c: Likewise.
12099 * sysdeps/htl/sem-getvalue.c: Likewise.
12100 * sysdeps/htl/sem-init.c: Likewise.
12101 * sysdeps/htl/sem-open.c: Likewise.
12102 * sysdeps/htl/sem-post.c: Likewise.
12103 * sysdeps/htl/sem-timedwait.c: Likewise.
12104 * sysdeps/htl/sem-trywait.c: Likewise.
12105 * sysdeps/htl/sem-unlink.c: Likewise.
12106 * sysdeps/htl/sem-wait.c: Likewise.
12107 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12108 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12109 * sysdeps/mach/htl/pt-block.c: Likewise.
12110 * sysdeps/mach/htl/pt-spin.c: Likewise.
12111 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12112 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12113 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12114 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12115 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12116 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12117 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12118 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12119 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12120 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12121 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12122 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12123 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12124 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12125 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12126 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12127 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12128 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12129 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12130 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12131 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12132 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12133 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12134 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12135 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12136 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12137 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12138 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12139 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12140 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12141 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12142 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12143 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12144 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12145 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12146 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12147 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12148 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12149 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12150 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12151 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12152 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12153 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12155 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12156 * README: Remove the mention of out-of-tree patches needed for
12159 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12160 (UTIME_NOW, UTIME_OMIT): Define macros.
12162 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12163 instead of pthread_detach.
12164 (__cthread_fork): Call __pthread_create instead of pthread_create.
12165 (__cthread_keycreate): Call __pthread_key_create instead of
12166 pthread_key_create.
12167 (__cthread_getspecific): Call __pthread_getspecific instead of
12168 pthread_getspecific.
12169 (__cthread_setspecific): Call __pthread_setspecific instead of
12170 pthread_setspecific.
12171 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12172 __pthread_mutex_unlock instead of pthread_mutex_lock and
12173 pthread_mutex_unlock.
12174 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12175 ___pthread_get_cleanup_stack.
12176 (__pthread_get_cleanup_stack): New strong alias.
12177 * htl/pt-create.c: Include <pthreadP.h>.
12178 (entry_point): Call __pthread_exit instead of pthread_exit.
12179 (pthread_create): Rename to __pthread_create.
12180 (pthread_create): New strong alias.
12181 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12182 (pthread_detach): New strong alias.
12183 (__pthread_detach): Call __pthread_cond_broadcast instead of
12184 pthread_cond_broadcast.
12185 * htl/pt-exit.c: Include <pthreadP.h>.
12186 (__pthread_exit): Call __pthread_setcancelstate and
12187 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12188 __pthread_get_cleanup_stack.
12189 * htl/pt-testcancel.c: Include <pthreadP.h>.
12190 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12191 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12192 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12193 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12194 pthread_attr_getstacksize.
12195 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12196 Rename to __pthread_attr_getstackaddr.
12197 (pthread_attr_getstackaddr): New strong alias.
12198 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12199 Rename to __pthread_attr_getstacksize.
12200 (pthread_attr_getstacksize): New strong alias.
12201 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12202 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12203 (pthread_attr_setstack): New strong alias.
12204 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12205 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12206 pthread_attr_getstacksize, pthread_attr_setstacksize and
12207 pthread_attr_setstackaddr.
12208 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12209 Rename to __pthread_attr_setstackaddr.
12210 (pthread_attr_setstackaddr): New strong alias.
12211 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12212 Rename to __pthread_attr_setstacksize.
12213 (pthread_attr_setstacksize): New strong alias.
12214 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12215 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12217 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12218 (__pthread_key_create): New hidden def.
12219 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12220 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12221 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12222 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12223 __pthread_setspecific, __pthread_setcancelstate,
12224 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12225 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12226 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12228 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12229 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12230 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12231 (pthread_attr_setstackaddr): New strong alias.
12232 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12233 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12234 (pthread_attr_setstacksize): New strong alias.
12235 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12236 (call_exit): Call __pthread_exit instead of pthread_exit.
12237 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12238 (_pthread_mutex_init): New hidden definition.
12239 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12240 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12241 instead of pthread_attr_init and pthread_attr_setstack.
12243 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12244 __vm_deallocate instead of vm_allocate and vm_deallocate.
12245 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12247 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12249 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12251 * hurd/siginfo.c: Include <libioP.h>.
12252 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12253 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12255 * mach/devstream.c: Include <libioP.h>.
12256 (dealloc_ref): Call __mach_port_deallocate instead of
12257 mach_port_deallocate.
12258 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12259 Call __mach_port_deallocate instead of mach_port_deallocate.
12260 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12262 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12264 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12265 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12266 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12268 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12270 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12271 instead of sysconf.
12272 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12273 __clock_gettime instead of clock_gettime.
12274 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12275 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12276 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12277 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12278 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12280 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12281 __clock_gettime and __nanosleep instead of clock_gettime and
12283 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12284 __hurd_catch_signal.
12285 (hurd_catch_signal): New strong alias.
12286 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12287 __hurd_catch_signal instead of hurd_catch_signal.
12288 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12289 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12290 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12291 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12292 (_hurd_thread_sigstate): Add hidden def.
12293 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12295 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12296 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12297 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12298 __hurd_file_name_path_lookup.
12299 (hurd_file_name_path_lookup): New strong alias.
12300 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12301 hurd_file_name_path_lookup.
12302 * mach/errstring.c (mach_error_type): Add hidden def.
12303 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12304 * mach/mutex-init.c (__mutex_init): Add hidden def.
12305 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12306 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12307 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12308 * sysdeps/mach/hurd/getcwd.c
12309 (_hurd_canonicalize_directory_name_internal): Rename to
12310 __hurd_canonicalize_directory_name_internal.
12311 (_hurd_canonicalize_directory_name_internal): New strong alias.
12312 (__canonicalize_directory_name_internal, __getcwd): Call
12313 __hurd_canonicalize_directory_name_internal instead of
12314 _hurd_canonicalize_directory_name_internal.
12315 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12316 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12318 * sysdeps/hurd/include/hurd.h: New file.
12319 * sysdeps/hurd/include/hurd/fd.h: New file.
12320 * sysdeps/hurd/include/hurd/signal.h: New file.
12321 * sysdeps/mach/include/lock-intern.h: New file.
12322 * sysdeps/mach/include/mach.h: New file.
12323 * sysdeps/mach/include/mach/mig_support.h: New file.
12324 * sysdeps/mach/include/mach_error.h: New file.
12325 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12327 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12328 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12329 _HEADER_H_HIDDEN_DEF macro.
12330 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12331 _hurd_fd_error_signal): Add hidden prototype.
12332 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12334 * libio/iolibio.h (_IO_puts): New hidden prototype.
12335 * libio/ioputs.c (_IO_puts): New hidden def.
12336 * sysdeps/mach/hurd/localplt.data: New file.
12338 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12339 Amos Jeffries <squid3@treenet.co.nz>
12340 David Michael <fedora.dm0@gmail.com>
12341 Marco Gerards <marco@gnu.org>
12342 Marcus Brinkmann <marcus@gnu.org>
12343 Neal H. Walfield <neal@gnu.org>
12344 Pino Toscano <toscano.pino@tiscali.it>
12345 Richard Braun <rbraun@sceen.net>
12346 Roland McGrath <roland@gnu.org>
12347 Samuel Thibault <samuel.thibault@ens-lyon.org>
12348 Thomas DiModica <ricinwich@yahoo.com>
12349 Thomas Schwinge <tschwinge@gnu.org>
12351 * htl: New directory.
12352 * sysdeps/htl: New directory.
12353 * sysdeps/hurd/htl: New directory.
12354 * sysdeps/i386/htl: New directory.
12355 * sysdeps/mach/htl: New directory.
12356 * sysdeps/mach/hurd/htl: New directory.
12357 * sysdeps/mach/hurd/i386/htl: New directory.
12358 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12359 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12360 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12362 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12364 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12365 signals in thread created for runing timers.
12367 2018-04-01 Florian Weimer <fweimer@redhat.com>
12369 * support/support_format_addrinfo.c (support_format_addrinfo):
12370 Include unknown error number in formatted result.
12372 2018-03-29 Florian Weimer <fweimer@redhat.com>
12374 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12377 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12379 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12380 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12381 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12382 (__ASSUME_CLONE_BACKWARDS): Define.
12384 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12387 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12388 early when linux sentinel value is set.
12390 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12392 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12394 2018-03-27 Andreas Schwab <schwab@suse.de>
12397 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12398 allocation of private copy of nsaddr_list fails.
12400 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12403 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12404 * sysdeps/unix/sysv/linux/umount.c: ... here.
12405 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12406 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12407 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12408 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12410 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12411 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12413 2018-03-26 Andreas Schwab <schwab@suse.de>
12415 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12416 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12417 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12418 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12419 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12420 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12421 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12422 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12423 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12424 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12425 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12426 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12427 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12428 (R_RISCV_NUM): Define.
12430 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12432 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12433 TLS declaration of errno.
12434 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12436 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12437 (ARCH_SETUP_TLS): Likewise.
12438 * sysdeps/mach/hurd/libc-start.h: New file copied from
12439 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12440 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12441 instead of __libc_setup_tls.
12442 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12443 __libc_setup_tls before initializing libpthread and running _hurd_init
12444 which starts the signal thread.
12445 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12447 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12449 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12452 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12453 after it is defined.
12455 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12456 Max Horn <max@quendi.de>
12460 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12462 * string/test-memmove.c (do_test2): New testcase.
12464 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12466 * sysdeps/generic/frame.h: Remove file.
12467 * sysdeps/arm/frame.h: Likewise.
12468 * sysdeps/hppa/frame.h: Likewise.
12469 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12471 (GET_FRAME): Likewise.
12472 (GET_STACK): Likewise.
12473 (CALL_SIGHANDLER): Likewise.
12474 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12476 (GET_FRAME): Likewise.
12477 (GET_STACK): Likewise.
12478 (CALL_SIGHANDLER): Likewise.
12479 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12480 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12481 (GET_FRAME): Likewise.
12482 (GET_STACK): Likewise.
12483 (CALL_SIGHANDLER): Likewise.
12484 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12485 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12486 (GET_FRAME): Likewise.
12487 (GET_STACK): Likewise.
12488 (ADVANCE_STACK_FRAME): Likewise.
12489 (CALL_SIGHANDLER): Likewise.
12490 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12491 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12492 (GET_FRAME): Likewise.
12493 (GET_STACK): Likewise.
12494 (CALL_SIGHANDLER): Likewise.
12495 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12496 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12497 (GET_FRAME): Likewise.
12498 (GET_STACK): Likewise.
12499 (CALL_SIGHANDLER): Likewise.
12500 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12501 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12502 (GET_FRAME): Likewise.
12503 (GET_STACK): Likewise.
12504 (CALL_SIGHANDLER): Likewise.
12505 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12506 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12507 (GET_FRAME): Likewise.
12508 (GET_STACK): Likewise.
12509 (CALL_SIGHANDLER): Likewise.
12510 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12511 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12512 (GET_FRAME): Likewise.
12513 (GET_STACK): Likewise.
12514 (CALL_SIGHANDLER): Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12516 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12517 (GET_FRAME): Likewise.
12518 (GET_STACK): Likewise.
12519 (CALL_SIGHANDLER): Likewise.
12520 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12521 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12522 (GET_FRAME): Likewise.
12523 (GET_STACK): Likewise.
12524 (CALL_SIGHANDLER): Likewise.
12525 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12526 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12527 (GET_FRAME): Likewise.
12528 (GET_STACK): Likewise.
12529 (CALL_SIGHANDLER): Likewise.
12530 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12531 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12532 (GET_FRAME): Likewise.
12533 (GET_STACK): Likewise.
12534 (CALL_SIGHANDLER): Likewise.
12535 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12536 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12537 (FIRST_FRAME_POINTER): Likewise.
12538 (ADVANCE_STACK_FRAME): Likewise.
12539 (GET_STACK): Likewise.
12540 (GET_FRAME): Likewise.
12541 (CALL_SIGHANDLER): Likewise.
12542 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12543 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12544 (ADVANCE_STACK_FRAME): Likewise.
12545 (GET_STACK): Likewise.
12546 (GET_FRAME): Likewise.
12547 (CALL_SIGHANDLER): Likewise.
12548 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12549 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12550 (GET_FRAME): Likewise.
12551 (GET_STACK): Likewise.
12552 (CALL_SIGHANDLER): Likewise.
12553 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12554 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12555 (GET_FRAME): Likewise.
12556 (GET_STACK): Likewise.
12557 (CALL_SIGHANDLER): Likewise.
12559 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12561 * sysdeps/x86_64/backtrace.c: Move to ....
12562 * debug/backtrace.c: ... here.
12563 * sysdeps/aarch64/backtrace.c: Remove file.
12564 * sysdeps/alpha/backtrace.c: Likewise.
12565 * sysdeps/hppa/backtrace.c: Likewise.
12566 * sysdeps/ia64/backtrace.c: Likewise.
12567 * sysdeps/mips/backtrace.c: Likewise.
12568 * sysdeps/nios2/backtrace.c: Likewise.
12569 * sysdeps/riscv/backtrace.c: Likewise.
12570 * sysdeps/sh/backtrace.c: Likewise.
12571 * sysdeps/tile/backtrace.c: Likewise.
12573 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12576 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12579 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12582 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12583 possibly overflowing computations.
12585 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12587 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12588 values from Linux-specific section now that it is in the GNU section.
12589 * sysdeps/gnu/errlist.c: Regenerate.
12591 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12593 * math/Makefile (libm-narrow-fns): Add sub.
12594 (libm-test-funcs-narrow): Likewise.
12595 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12596 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12597 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12598 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12599 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12600 (NARROW_SUB_TRIVIAL): Likewise.
12601 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12603 (__dsubl): Likewise.
12604 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12606 (CFLAGS-nldbl-dsub.c): New variable.
12607 (CFLAGS-nldbl-fsub.c): Likewise.
12608 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12610 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12612 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12613 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12614 * math/auto-libm-test-in: Add tests of sub.
12615 * math/auto-libm-test-out-narrow-sub: New generated file.
12616 * math/libm-test-narrow-sub.inc: New file.
12617 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12620 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12621 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12622 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12631 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12632 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12633 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12634 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12636 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12664 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12667 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12669 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12671 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12673 2018-03-18 Richard Braun <rbraun@sceen.net>
12675 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12678 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12680 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12681 (__libc_cleanup_fct): Define function.
12682 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12683 __libc_cleanup_end): Rewrite implementation using
12684 __attribute__ ((__cleanup__)).
12685 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12686 * hurd/Makefile (routines): Add hurdlock.
12687 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12689 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12690 * hurd/hurdpid.c: Include <lowlevellock.h>
12691 (_S_msg_proc_newids): Use lll_wait to synchronize.
12692 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12693 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12694 * mach/Makefile (lock-headers): Remove machine-lock.h.
12695 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12697 (__spin_lock_t): New type.
12698 (__SPIN_LOCK_INITIALIZER): New macro.
12699 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12700 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12701 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12702 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12703 (__mutex_init): Initialize with lll.
12704 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12705 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12707 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12708 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12709 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12710 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12711 (__setpgid): Use lll for synchronization.
12712 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12713 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12714 instead of <cthreads.h>.
12715 (_IO_lock_inexpensive): New macro
12716 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12717 (__libc_lock_self0): New declaration.
12718 (__libc_lock_owner_self): New macro.
12719 (__libc_key_t): Remove type.
12720 (_LIBC_LOCK_INITIALIZER): New macro.
12721 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12722 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12723 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12724 __libc_lock_define_initialized_recursive,
12725 __rtld_lock_define_initialized_recursive,
12726 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12727 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12728 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12729 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12730 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12731 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12732 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12734 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12735 * hurd/hurdlock.c: New file.
12736 * hurd/hurdlock.h: New file.
12737 * mach/lowlevellock.h: New file
12739 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12741 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12743 when opening a symlink with O_NOFOLLOW.
12744 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12745 path when flags contains O_NOFOLLOW.
12746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12747 if flags contains O_DIRECTORY and the result is a directory.
12748 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12749 oneself when the pointer given in D is nul (as set by ext2fs).
12750 * sysdeps/mach/hurd/mlockall.c: New file.
12751 * sysdeps/mach/hurd/munlockall.c: New file.
12753 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12755 * hurd/hurdsig.c: Include <pthread.h>.
12756 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12757 get the signal thread stack layout.
12758 * hurd/Makefile (headers): Remove threadvar.h.
12759 (inline-headers): Remove threadvar.h.
12760 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12761 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12762 __hurd_threadvar_max, __hurd_errno_location.
12763 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12764 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12765 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12766 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12767 unless TLS is not initialized yet, in which case we do not need a
12768 critical section yet anyway.
12769 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12771 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12773 (__hurd_threadvar_index): Remove enum.
12774 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12775 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12777 (__hurd_reply_port0): New variable declaration.
12778 (__hurd_local_reply_port): New macro.
12779 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12780 (interrupted_reply_port_location): Add thread_t parameter. Use it
12781 with THREAD_TCB to access thread-local variables.
12782 (_hurdsig_abort_rpcs): Pass ss->thread to
12783 interrupted_reply_port_location.
12784 (_hurd_internal_post_signal): Likewise.
12785 (_hurdsig_init): Use presence of cthread_fork instead of
12786 __hurd_threadvar_stack_mask to start signal thread by hand.
12787 Remove signal thread threadvar initialization.
12788 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12789 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12790 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12792 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12794 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12795 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12796 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12797 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12798 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12799 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12800 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12802 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12803 <hurd/threadvar.h>.
12804 [IS_IN(rtld)] (rtld_errno): New variable.
12805 [IS_IN(rtld)] (__errno_location): New weak function.
12806 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12807 * sysdeps/mach/hurd/errno.c: Remove file.
12808 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12809 (__fork): Remove THREADVAR_SPACE macro and its use.
12810 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12812 (init): Do not initialize threadvar.
12813 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12815 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12816 __hurd_local_reply_port instead of threadvar.
12817 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12818 _hurd_sigstate fields.
12819 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12820 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12821 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12822 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12823 instead of threadvar.
12824 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12825 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12826 (use_threadvar, global_reply_port): Remove variables.
12827 (__hurd_reply_port0): New variable.
12828 (__mig_get_reply_port): Use __hurd_local_reply_port and
12829 __hurd_reply_port0 instead of threadvar.
12830 (__mig_dealloc_reply_port): Likewise.
12831 (__mig_init): Do not initialize threadvar.
12832 * sysdeps/mach/hurd/profil.c: Fix comment.
12833 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12834 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12835 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12836 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12837 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12838 __cthread_setspecific.
12839 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12840 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12841 __cthread_t instead of cthread_fork, cthread_detach,
12842 pthread_getattr_np, pthread_attr_getstack.
12843 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12844 __cthread_keycreate.
12845 (cthread_getspecific): Rename to __cthread_getspecific.
12846 (cthread_setspecific): Rename to __cthread_setspecific.
12847 (__libc_getspecific): Use __cthread_getspecific instead of
12848 cthread_getspecific.
12849 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12850 __cthread_keycreate instead of cthread_keycreate.
12851 (__libc_setspecific): Use __cthread_setspecific instead of
12852 cthread_setspecific.
12853 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12856 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12857 testing whether it is defined.
12859 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12861 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12863 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12864 * sysdeps/mach/i386/thread_state.h
12865 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12867 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12869 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12871 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12872 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12874 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12876 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12877 descriptor instead of creating a new one.
12878 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12880 * mach/setup-thread.c: Include <ldsodefs.h>.
12881 (__mach_setup_thread): Call _dl_allocate_tls, pass
12882 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12883 MACHINE_THREAD_STATE_FLAVOR, before getting
12884 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12885 MACHINE_THREAD_STATE_FLAVOR with the result.
12886 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12887 MACHINE_THREAD_STATE_FIX_NEW.
12888 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12889 too. Add original thread parameter.
12891 2018-03-16 Joseph Myers <joseph@codesourcery.com>
12893 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12894 Remove inline function.
12896 * sysdeps/i386/fpu/libm-test-ulps: Update.
12897 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12899 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12901 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12904 2018-03-15 Joseph Myers <joseph@codesourcery.com>
12906 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12907 (__sincos_code): Remove define and undefine.
12908 [__FAST_MATH__] (__sincos): Remove inline function.
12909 [__FAST_MATH__] (__sincosf): Remove inline function.
12910 [__FAST_MATH__] (__sincosl): Remove inline function.
12911 (__atan2l): Remove inline functions.
12912 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12913 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12915 (floor): Remove inline function.
12917 [__FAST_MATH__] (__ldexp_code): Remove macro.
12918 [__FAST_MATH__] (ldexp): Remove inline function.
12919 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12920 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12921 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12922 [__USE_ISOC99] (__lrint_code): Remove macro.
12923 [__USE_ISOC99] (__llrint_code): Likewise.
12924 [__USE_ISOC99] (lrintf): Remove inline function.
12925 [__USE_ISOC99] (lrint): Likewise.
12926 [__USE_ISOC99] (lrintl): Likewise.
12927 [__USE_ISOC99] (llrint): Likewise.
12928 [__USE_ISOC99] (llrintf): Likewise.
12929 [__USE_ISOC99] (llrintl): Likewise.
12931 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12933 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12934 (__ieee754_sqrtf): Remove.
12935 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12936 (__ieee754_sqrtf): Remove.
12937 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12938 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12939 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12940 (__ieee754_sqrtf): Remove.
12941 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12942 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12945 (__ieee754_sqrt): Remove.
12946 (__ieee754_sqrtf): Remove.
12947 (__ieee754_sqrtl): Remove.
12948 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12949 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12950 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12951 (__ieee754_sqrtf): Remove.
12952 (__ieee754_sqrtl): Remove.
12954 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12956 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12957 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12958 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12959 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12960 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12961 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12962 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12963 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12965 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12966 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12967 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12968 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12969 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12970 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12971 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12972 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12973 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12974 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12975 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12976 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12978 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12979 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12980 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12981 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12982 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12983 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12988 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12989 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12990 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12992 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12994 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12995 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12997 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12998 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12999 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13001 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13002 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13003 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13004 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13006 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13008 * include/math.h (sqrt): Declare with asm redirect.
13011 (sqrtf128): Likewise.
13012 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13013 nonlib and libnldbl with -fmath-errno.
13014 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13015 * math/w_sqrt_template.c: Likewise.
13016 * math/w_sqrtf_compat.c: Likewise.
13017 * math/w_sqrtl_compat.c: Likewise.
13018 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13019 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13020 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13023 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13025 * benchtests/Makefile: Define _ISOMAC.
13026 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13027 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13028 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13029 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13030 * benchtests/bench-timing.h: Define attribute_hidden.
13032 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13034 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13037 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13040 * localedata/locales/cs_CZ (mon): Rename to...
13042 (mon): Import from CLDR (genitive case).
13044 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13047 * localedata/locales/el_CY (abmon): Rename to...
13048 (ab_alt_mon): This.
13049 (abmon): Import from CLDR (abbreviated genitive case).
13050 * localedata/locales/el_GR (abmon): Rename to...
13051 (ab_alt_mon): This.
13052 (abmon): Import from CLDR (abbreviated genitive case).
13054 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13057 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13059 2018-03-15 Robert Buj <robert.buj@gmail.com>
13062 * localedata/locales/ca_ES (abmon): Rename to...
13063 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13064 (mon): Rename to...
13066 (abmon): Import from CLDR (genitive case, month names preceded by
13069 (abday): Synchronize with CLDR.
13070 (d_t_fmt): Likewise.
13074 (LC_TIME): Improve indentation.
13075 (LC_TELEPHONE): Likewise.
13076 (LC_NAME): Likewise.
13077 (LC_ADDRESS): Likewise.
13079 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13081 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13082 (lrintf): Remove definitions used only with old GCC.
13083 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13084 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13085 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13086 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13087 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13088 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13089 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13090 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13091 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13092 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13093 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13094 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13095 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13096 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13097 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13098 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13099 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13100 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13101 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13102 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13103 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13104 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13105 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13106 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13107 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13108 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13109 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13110 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13112 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13114 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13115 instruction to unbreak builds with binutils 2.26 and older.
13117 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13119 * sysdeps/aarch64/strncmp.S (count): New macro.
13120 (strncmp): Store misaligned length in SRC1 in COUNT.
13121 (mutual_align): Adjust.
13122 (misaligned8): Load dword at a time when it is safe.
13124 2018-03-12 Zack Weinberg <zackw@panix.com>
13128 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13129 if the _IO_EOF_SEEN bit is already set; update commentary.
13130 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13131 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13133 * support/support_openpty.c, support/tty.h: New files.
13134 * support/Makefile (libsupport-routines): Add support_openpty.
13136 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13138 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13139 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13141 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13143 * po/pt_BR.po: Update translations.
13145 2018-03-12 David Michael <fedora.dm0@gmail.com>
13147 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13148 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13149 get a port to the startup server.
13151 2018-03-11 Zack Weinberg <zackw@panix.com>
13153 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13154 before nldbl-compat.h.
13156 2018-03-10 Zack Weinberg <zackw@panix.com>
13158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13159 math.h or math_private.h.
13161 * sysdeps/alpha/fpu/s_isnan.c
13162 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13163 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13164 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13165 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13167 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13168 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13169 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13170 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13173 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13174 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13175 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13176 Include math_private.h.
13178 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13179 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13180 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13181 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13182 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13183 * sysdeps/powerpc/power7/fpu/s_logb.c:
13184 Include math.h and math_private.h.
13186 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13187 uses of $at in .set noat / .set at.
13189 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13191 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13192 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13193 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13194 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13197 2018-03-09 Florian Weimer <fweimer@redhat.com>
13199 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13202 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13205 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13206 Add nop before __startcontext, add explaining comments.
13208 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13211 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13213 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13215 Do not build hardware transactional code for __SPE__.
13216 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13217 (__lll_trylock_elision): Likewise.
13218 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13219 (__lll_unlock_elision): Likewise.
13221 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13222 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13223 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13224 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13225 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13226 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13227 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13228 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13229 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13230 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13231 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13232 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13233 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13234 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13236 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13237 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13239 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13240 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13241 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13242 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13243 (__ASSUME_CLONE_BACKWARDS): Define.
13244 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13245 __clone2 if __NR_clone2 is defined.
13246 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13247 (__ASSUME_CLONE_BACKWARDS): Likewise.
13248 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13249 (__ASSUME_CLONE_BACKWARDS): Likewise.
13250 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13251 (__ASSUME_CLONE2): Likewise.
13252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13253 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13254 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13255 variants and the define architecture can use.
13256 (__ASSUME_CLONE_DEFAULT): Define as default.
13257 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13258 (__ASSUME_CLONE_BACKWARDS): Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13260 (__ASSUME_CLONE_BACKWARDS): Likewise.
13261 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13262 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13264 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13266 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13268 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13271 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13272 (do_test_limit): Likewise.
13274 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13275 for every implementation.
13276 (do_test): Likewise.
13278 * benchtests/bench-strncmp.c: Convert output to json.
13280 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13282 * io/futimens.c: Add missing start-of-file descriptive comment.
13283 * io/utime.c: Likewise.
13284 * misc/futimesat.c: Likewise.
13285 * misc/utimes.c: Likewise.
13286 * sysdeps/mach/hurd/futimesat.c: Likewise.
13287 * sysdeps/mach/hurd/utimes.c: Likewise.
13288 * sysdeps/posix/utime.c: Likewise.
13289 * sysdeps/posix/utimes.c: Likewise.
13290 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13291 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13292 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13293 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13295 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13297 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13299 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13300 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13301 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13302 (__futimens): Move implementation to...
13303 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13304 utime_tvalue_from_tspec): ... new helper functions.
13305 (hurd_futimens): New function.
13306 * sysdeps/mach/hurd/futimesat.c: New file.
13307 * sysdeps/mach/hurd/utimensat.c: New file.
13309 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13311 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13312 UTIME_OMIT): New macros.
13313 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13314 before reverting to converting time spec to time value and calling
13316 * sysdeps/mach/hurd/utime-helper.c: New file.
13317 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13318 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13319 reverting to utime_tvalue_from_tval and __file_utimes.
13320 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13321 (__lutimes): Just call hurd_futimens after lookup.
13322 * sysdeps/mach/hurd/utimes.c: Likewise.
13324 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13326 * bits/sigaction.h: Add include guard.
13327 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13328 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13329 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13330 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13331 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13332 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13333 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13334 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13335 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13337 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13339 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13340 -Wmaybe-uninitialized for -Os.
13341 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13344 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13346 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13347 __INO_T_MATCHES_INO64_T is defined.
13348 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13349 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13351 * dirent/alphasort64.c: Likewise.
13352 * dirent/scandir.c: Likewise.
13353 * dirent/scandir64-tail.c: Likewise.
13354 * dirent/scandir64.c: Likewise.
13355 * dirent/scandirat.c: Likewise.
13356 * dirent/scandirat64.c: Likewise.
13357 * dirent/versionsort.c: Likewise.
13358 * dirent/versionsort64.c: Likewise.
13359 * include/dirent.h: Likewise.
13361 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13362 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13363 for socketpair endpoint.
13364 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13365 WRITE_BUFFER_SIZE as buffer size for sending socket.
13366 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13367 issue on system where send is implemented with sendto syscall.
13368 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13369 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13370 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13371 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13374 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13375 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13376 sa_restorer for vDSO case.
13377 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13379 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13381 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13382 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13383 * hurd/hurd/ioctl.h: Include <mach/port.h>
13384 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13385 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13386 <mach/mach_types.h> and <mach/message.h>.
13387 (headers): Move mach/param.h to bits/mach/param.h.
13388 * sysdeps/mach/i386/mach/param.h: Move file to ...
13389 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13390 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13392 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13393 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13394 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13395 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13396 trivial, for C++ conformity.
13397 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13398 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13399 Process mig output through $(migheadersed).
13400 * hurd/Makefile (migheadersed): Define variable.
13401 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13402 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13404 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13405 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13406 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13407 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13408 <bits/types/sigset_t.h>.
13409 [!defined __USE_GNU]: Do not #error out.
13410 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13411 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13412 Include <stddef.h> and <bits/types/sigset_t.h>
13413 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13414 instead of sighandler_t.
13415 * stdlib/errno.h (error_t): Move definition to...
13416 * bits/types/error_t.h: ... new header.
13417 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13418 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13419 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13420 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13421 * hurd/hurd.h: Include <bits/types/error_t.h>
13422 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13423 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13424 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13425 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13426 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13427 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13428 * sysdeps/mach/hurd/futimens.c: New file.
13430 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13433 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13434 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13435 * nscd/gai.c (__nss_hosts_database): Readd definition.
13436 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13437 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13438 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13440 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13442 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13443 (ifunc_one): Likewise.
13445 2018-03-01 DJ Delorie <dj@delorie.com>
13448 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13451 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13453 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13454 `match_pid' parameter.
13455 (td_ta_thr_iter): Update accordingly.
13457 2018-03-01 Florian Weimer <fweimer@redhat.com>
13459 * nptl/Makefile (install-lib-ldscripts): Remove.
13460 (install): Remove rule.
13461 ($(inst_libdir)/libpthread.so): Likewise.
13463 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13466 * localedata/locales/an_ES: update month and day names,
13467 improve d_fmt, improve postal_fmt, add country_post,
13470 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13472 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13473 Ukrainian instead of Bulgarian.
13475 2018-03-01 Florian Weimer <fweimer@redhat.com>
13477 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13480 2018-03-01 Florian Weimer <fweimer@redhat.com>
13482 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13483 * nptl/Makefile (routines): Add pthread_atfork.
13484 (static-only-routines): Set to pthread_atfork.
13485 (libpthread-routines): Remove pthread_atfork.
13486 (libpthread-static-only-routines): Remove.
13487 (install): Update comment.
13488 (libpthread.so): Do not install libpthread_nonshared.a.
13489 (tests): Do not link with libpthread_nonshared.a.
13490 (generated): Remove libpthread_nonshared.a.
13491 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13492 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13493 with libpthread_nonshared.a.
13495 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13498 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13499 (libc_feholdexcept_setroundf128): New macro.
13500 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13503 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13505 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13506 * include/inttypes.h: New file.
13508 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13510 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13511 -Os in two more places.
13513 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13515 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13516 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13517 be sorted correctly at the moment because of a bug.
13519 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13521 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13522 treat ñ as a primary different character, sync the collation
13523 for Spanish with CLDR.
13524 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13525 * localedata/Makefile: Add new test files.
13526 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13527 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13529 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13530 * localedata/am_ET.UTF-8.in: New test file.
13531 * localedata/az_AZ.UTF-8.in: Likewise.
13532 * localedata/be_BY.UTF-8.in: Likewise.
13533 * localedata/ber_DZ.UTF-8.in: Likewise.
13534 * localedata/ber_MA.UTF-8.in: Likewise.
13535 * localedata/bg_BG.UTF-8.in: Likewise.
13536 * localedata/br_FR.UTF-8.in: Likewise.
13537 * localedata/cmn_TW.UTF-8.in: Likewise.
13538 * localedata/crh_UA.UTF-8.in: Likewise.
13539 * localedata/csb_PL.UTF-8.in: Likewise.
13540 * localedata/cv_RU.UTF-8.in: Likewise.
13541 * localedata/cy_GB.UTF-8.in: Likewise.
13542 * localedata/dz_BT.UTF-8.in: Likewise.
13543 * localedata/eo.UTF-8.in: Likewise.
13544 * localedata/es_ES.UTF-8.in: Likewise.
13545 * localedata/fa_IR.UTF-8.in: Likewise.
13546 * localedata/fi_FI.UTF-8.in: Likewise.
13547 * localedata/fil_PH.UTF-8.in: Likewise.
13548 * localedata/fur_IT.UTF-8.in: Likewise.
13549 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13550 * localedata/ha_NG.UTF-8.in: Likewise.
13551 * localedata/ig_NG.UTF-8.in: Likewise.
13552 * localedata/ik_CA.UTF-8.in: Likewise.
13553 * localedata/kk_KZ.UTF-8.in: Likewise.
13554 * localedata/ku_TR.UTF-8.in: Likewise.
13555 * localedata/ky_KG.UTF-8.in: Likewise.
13556 * localedata/ln_CD.UTF-8.in: Likewise.
13557 * localedata/mi_NZ.UTF-8.in: Likewise.
13558 * localedata/ml_IN.UTF-8.in: Likewise.
13559 * localedata/mn_MN.UTF-8.in: Likewise.
13560 * localedata/mr_IN.UTF-8.in: Likewise.
13561 * localedata/mt_MT.UTF-8.in: Likewise.
13562 * localedata/nb_NO.UTF-8.in: Likewise.
13563 * localedata/om_KE.UTF-8.in: Likewise.
13564 * localedata/os_RU.UTF-8.in: Likewise.
13565 * localedata/ps_AF.UTF-8.in: Likewise.
13566 * localedata/ro_RO.UTF-8.in: Likewise.
13567 * localedata/ru_RU.UTF-8.in: Likewise.
13568 * localedata/sc_IT.UTF-8.in: Likewise.
13569 * localedata/se_NO.UTF-8.in: Likewise.
13570 * localedata/sq_AL.UTF-8.in: Likewise.
13571 * localedata/sv_SE.UTF-8.in: Likewise.
13572 * localedata/szl_PL.UTF-8.in: Likewise.
13573 * localedata/tg_TJ.UTF-8.in: Likewise.
13574 * localedata/tk_TM.UTF-8.in: Likewise.
13575 * localedata/tt_RU.UTF-8.in: Likewise.
13576 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13577 * localedata/ug_CN.UTF-8.in: Likewise.
13578 * localedata/uz_UZ.UTF-8.in: Likewise.
13579 * localedata/vi_VN.UTF-8.in: Likewise.
13580 * localedata/yi_US.UTF-8.in: Likewise.
13581 * localedata/yo_NG.UTF-8.in: Likewise.
13582 * localedata/zh_CN.UTF-8.in: Likewise.
13583 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13584 file and fix bugs in the collation.
13585 * localedata/locales/az_AZ: Likewise.
13586 * localedata/locales/be_BY: Likewise.
13587 * localedata/locales/ber_DZ: Likewise.
13588 * localedata/locales/ber_MA: Likewise.
13589 * localedata/locales/bg_BG: Likewise.
13590 * localedata/locales/br_FR: Likewise.
13591 * localedata/locales/br_FR@euro: Likewise.
13592 * localedata/locales/ca_ES: Likewise.
13593 * localedata/locales/cns11643_stroke: Likewise.
13594 * localedata/locales/crh_UA: Likewise.
13595 * localedata/locales/cs_CZ: Likewise.
13596 * localedata/locales/csb_PL: Likewise.
13597 * localedata/locales/cv_RU: Likewise.
13598 * localedata/locales/cy_GB: Likewise.
13599 * localedata/locales/da_DK: Likewise.
13600 * localedata/locales/dz_BT: Likewise.
13601 * localedata/locales/en_CA: Likewise.
13602 * localedata/locales/eo: Likewise.
13603 * localedata/locales/es_CU: Likewise.
13604 * localedata/locales/es_EC: Likewise.
13605 * localedata/locales/es_ES: Likewise.
13606 * localedata/locales/es_US: Likewise.
13607 * localedata/locales/et_EE: Likewise.
13608 * localedata/locales/fa_IR: Likewise.
13609 * localedata/locales/fi_FI: Likewise.
13610 * localedata/locales/fil_PH: Likewise.
13611 * localedata/locales/fur_IT: Likewise.
13612 * localedata/locales/gez_ER@abegede: Likewise.
13613 * localedata/locales/ha_NG: Likewise.
13614 * localedata/locales/hr_HR: Likewise.
13615 * localedata/locales/hsb_DE: Likewise.
13616 * localedata/locales/hu_HU: Likewise.
13617 * localedata/locales/ig_NG: Likewise.
13618 * localedata/locales/ik_CA: Likewise.
13619 * localedata/locales/is_IS: Likewise.
13620 * localedata/locales/iso14651_t1_pinyin: Likewise.
13621 * localedata/locales/kk_KZ: Likewise.
13622 * localedata/locales/ku_TR: Likewise.
13623 * localedata/locales/ky_KG: Likewise.
13624 * localedata/locales/ln_CD: Likewise.
13625 * localedata/locales/lt_LT: Likewise.
13626 * localedata/locales/lv_LV: Likewise.
13627 * localedata/locales/mi_NZ: Likewise.
13628 * localedata/locales/ml_IN: Likewise.
13629 * localedata/locales/mn_MN: Likewise.
13630 * localedata/locales/mr_IN: Likewise.
13631 * localedata/locales/mt_MT: Likewise.
13632 * localedata/locales/nb_NO: Likewise.
13633 * localedata/locales/om_KE: Likewise.
13634 * localedata/locales/os_RU: Likewise.
13635 * localedata/locales/pl_PL: Likewise.
13636 * localedata/locales/ps_AF: Likewise.
13637 * localedata/locales/ro_RO: Likewise.
13638 * localedata/locales/ru_RU: Likewise.
13639 * localedata/locales/ru_UA: Likewise.
13640 * localedata/locales/sc_IT: Likewise.
13641 * localedata/locales/se_NO: Likewise.
13642 * localedata/locales/si_LK: Likewise.
13643 * localedata/locales/sq_AL: Likewise.
13644 * localedata/locales/sv_FI: Likewise.
13645 * localedata/locales/sv_FI@euro: Likewise.
13646 * localedata/locales/sv_SE: Likewise.
13647 * localedata/locales/szl_PL: Likewise.
13648 * localedata/locales/tg_TJ: Likewise.
13649 * localedata/locales/ti_ER: Likewise.
13650 * localedata/locales/tk_TM: Likewise.
13651 * localedata/locales/tl_PH: Likewise.
13652 * localedata/locales/tr_TR: Likewise.
13653 * localedata/locales/tt_RU: Likewise.
13654 * localedata/locales/tt_RU@iqtelif: Likewise.
13655 * localedata/locales/ug_CN: Likewise.
13656 * localedata/locales/uk_UA: Likewise.
13657 * localedata/locales/uz_UZ: Likewise.
13658 * localedata/locales/uz_UZ@cyrillic: Likewise.
13659 * localedata/locales/vi_VN: Likewise.
13660 * localedata/locales/yi_US: Likewise.
13661 * localedata/locales/yo_NG: Likewise.
13663 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13665 * gen-locales.mk: Make test files which contain @ modifiers in their
13667 * localedata/gen-locale.sh: Likewise.
13669 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13671 * posix/tst-fnmatch.input: Fix results for range expressions
13673 * posix/tst-regexloc.c: Do not use a range expression for
13674 de_DE.ISO-8859-1 locale.
13676 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13678 * posix/bug-regex5.c: Fix test case because with the new
13679 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13680 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13683 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13685 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13686 downloaded from ISO, the collation order of @-. and space has changed.
13687 Therefore, this test file needed to be adapted.
13688 * localedata/fr_CA.UTF-8.in: Likewise.
13689 * localedata/fr_FR.UTF-8.in: Likewise.
13690 * localedata/uk_UA.UTF-8.in: Likewise.
13692 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13694 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13695 order of ȥ in the new iso14651_t1_common file.
13696 * localedata/pl_PL.UTF-8.in: Likewise.
13698 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13700 * localedata/locales/iso14651_t1_common: Add sections for various
13701 scripts to the iso14651_t1_common file.
13703 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13705 * localedata/locales/iso14651_t1_common: Use the code point of a
13706 character in the fourth collation level instead of IGNORE for all
13707 entries which have IGNORE on all 4 levels.
13709 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13711 * localedata/locales/iso14651_t1_common: Add some convenient collation
13712 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13713 rules similar to those in CLDR.
13715 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13717 * localedata/locales/iso14651_t1_common: The new version of this
13718 file downloaded from ISO contained several syntax errors which
13719 are fixed by this patch.
13721 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13723 * localedata/locales/iso14651_t1_common: replace all <U.....>
13724 with <U000.....> because glibc understands only 4 digit or 8 digit
13726 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13728 * localedata/locales/iso14651_t1_common: Necessary changes
13729 to make the file downloaded from ISO usable by glibc.
13731 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13734 * localedata/locales/iso14651_t1_common: Update file to
13735 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13737 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13739 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13740 of <nptl/pthreadP.h>
13741 (thread_attr_compare): Move function to...
13742 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13743 * sysdeps/nptl/timer_routines.h: ... new header.
13744 * sysdeps/mach/hurd/gai_misc.h: New file.
13746 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13748 * string/strcoll_l.c: Include <libc-diag.h>.
13749 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13750 declarations of seq1 and seq2.
13753 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13754 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13756 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13761 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13762 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13763 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13764 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13765 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13767 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13770 macros used in __ptrace_request.
13772 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13775 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13777 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13778 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13779 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13782 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13785 * ctype/ctype.c (tolower): Use libc_hidden_def.
13786 (toupper): Likewise.
13787 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13788 [!_ISOMAC] (toupper): Likewise.
13790 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13792 * localedata/Makefile: Remove --quiet argument when
13795 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13798 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13800 * localedata/locales/pt_PT (LC_TIME): likewise
13802 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13805 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13806 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13807 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13809 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13813 * nptl/Makefile (routines): Remove unregister-atfork.
13814 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13815 (fork_handler_alloc): Remove function.
13816 (fork_handlers, fork_handler_init): New variables.
13817 (__fork_lock): Rename to atfork_lock.
13818 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13819 to use a dynamic array to add/remove atfork handlers.
13820 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13821 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13822 Remove declaration.
13823 (fork_handler): Remove next, refcntr, and need_signal member.
13824 (__run_fork_handler_type): New enum.
13825 (__run_fork_handlers): New prototype.
13826 * nptl/register-atfork.c: Remove file.
13827 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13829 * sysdeps/nptl/nptl-signals.h: Move to ...
13830 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13832 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13833 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13834 unnecessary check for SIGTIMER.
13835 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13836 remove unnecessary removal of SIGTIMER.
13837 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13838 include-signals.h rename.
13839 * nptl/pthreadP.h: Likewise.
13840 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13841 __is_internal_signal instead of __nptl_is_internal_signal.
13843 2018-02-22 Andrew Waterman <andrew@sifive.com>
13846 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13847 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13848 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13849 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13851 2018-02-22 DJ Delorie <dj@delorie.com>
13853 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13855 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13857 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13858 do_misaligned, not misaligned8.
13860 2018-02-22 Steve Ellcey <sellcey@cavium.com>
13862 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13863 Add memcpy_thunderx2.
13864 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13866 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13867 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13868 and IS_THUNDERX2PA checks.
13869 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13870 Use macro to set name appropriately.
13871 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13872 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13873 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13875 (IS_THUNDERX2): New macro.
13877 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13879 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13881 2018-02-21 Zack Weinberg <zackw@panix.com>
13883 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13884 Define here, unconditionally.
13885 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13886 * libio/libioP.h: Remove #if 0 blocks.
13887 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13888 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13889 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13891 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13892 Assume weak_alias is always defined.
13894 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13895 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13896 Remove #if 0 and #ifdef TODO blocks.
13897 Assume text_set_element is always defined.
13899 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13900 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13901 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13903 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13904 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13905 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13906 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13907 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13908 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13909 Reformat bit flags for _flags field to make occupancy clearer.
13911 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13912 Keep definitions consistent with those in libio/libio.h.
13914 * libio/libio.h (_IO_file_flags): Remove macro.
13915 All uses changed to _flags.
13917 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13918 (__HAVE_COLUMN, _IO_BE): Don't define.
13919 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13920 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13921 * libio/libioP.h (EOF): Don't define.
13922 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13923 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13924 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13925 testing _IO_UNIFIED_JUMPTABLES.
13927 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13928 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13929 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13930 (_IO_size_t): Delete; all uses changed to size_t.
13931 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13932 (_IO_off_t): Delete; all uses changed to off_t.
13933 (_IO_off64_t): Delete; all uses changed to off64_t.
13934 (_IO_pid_t): Delete; all uses changed to pid_t.
13935 (_IO_uid_t): Delete; all uses changed to uid_t.
13936 (_IO_wint_t): Delete; all uses changed to wint_t.
13937 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13938 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13939 (_IO_cookie_io_functions_t): Delete; all uses changed to
13940 cookie_io_functions_t.
13941 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13942 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13943 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13944 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13946 * libio/iofopncook.c: Remove unnecessary forward declarations.
13947 * libio/iolibio.h: Correct outdated commentary.
13948 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13949 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13950 Remove unnecessary casts.
13951 * stdio-common/getline.c: Use _IO_getdelim directly.
13952 Don't redefine ssize_t.
13953 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13954 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13955 Remove outdated comments.
13956 * stdio-common/vfscanf.c: Don't redefine va_list.
13958 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13959 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13960 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13961 which are always true, and __cplusplus, which is always false.
13963 2018-02-21 Joseph Myers <joseph@codesourcery.com>
13967 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13968 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13969 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13970 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13972 [!_ISOMAC] (putc_unlocked): Likewise.
13973 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13974 define inline if [__USE_EXTERN_INLINES].
13975 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13980 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13981 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13982 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13983 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13984 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13986 * time/tzfile.c (__tzfile_read): Likewise.
13988 2018-02-21 Mike FABIAN <mfabian@redhat.com>
13991 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13993 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13995 * io/fcntl.h: Fix a typo in a comment.
13997 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14000 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14001 define _DEFAULT_SOURCE.
14002 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14004 2018-02-21 Florian Weimer <fweimer@redhat.com>
14007 * elf/cache.c (save_cache): Call fsync on temporary file before
14009 (save_aux_cache): Call fdatasync on temporary file before renaming
14012 2018-02-21 Florian Weimer <fweimer@redhat.com>
14015 * include/caller.h: Remove file.
14016 * elf/dl-caller.c: Likewise.
14017 * elf/Makefile (dl-routines): Remove dl-caller.
14018 (shared-only-routines): Do not add dl-caller.
14019 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14021 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14023 (dl_open_worker): Do not call __check_caller.
14024 (_dl_open): Do not set caller_dl_open member.
14025 * elf/rtld.c (_rtld_global_ro): Do not initialize
14026 _dl_check_caller member.
14027 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14028 _dl_check_caller member.
14029 (_dl_check_caller): Remove declaration.
14030 * sysdeps/unix/sysv/linux/dl-execstack.c
14031 (_dl_make_stack_executable): Do not call __check_caller.
14033 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14035 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14036 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14038 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14040 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14043 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14046 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14047 of 199606L, 200112L, and 200809L.
14048 (_XOPEN_SOURCE): Document special values of 600 and 700.
14049 (_ISOC11_SOURCE): Document macro.
14050 (_ATFILE_SOURCE): Likewise.
14051 (_FORTIFY_SOURCE): Likewise.
14053 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14057 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14058 and define as weak alias of __ferror_unlocked. Use
14060 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14062 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14063 function if [__USE_EXTERN_INLINES].
14064 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14067 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14070 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14072 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14075 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14076 the GLIBC_2.1 version.
14078 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14081 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14082 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14083 intl/tst-gettext-de.po from po/de.po by removing the
14084 POT-Creation-Date line.
14085 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14087 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14090 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14092 * mach/Makefile (headers): Add mach/param.h.
14093 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14094 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14095 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14096 (__ptsname_r): Move implementation to...
14097 (__ptsname_internal): ... new function. Add filling the STP
14100 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14102 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14105 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14107 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14110 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14112 * nptl/Makefile (tst-mutex8-ENV): Delete.
14113 * nptl/tst-mutex8.c (check_type):
14114 Add runtime check if mutex will be elided.
14116 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14120 * manual/install.texi (Configuring and compiling): Describe
14121 passing CC and CFLAGS on configure command line, not as
14122 environment variables. Use @code markup on those variables.
14123 Specify what options go in CC and what go in CFLAGS. Note the
14124 requirement to compile with optimization.
14125 * INSTALL: Regenerated.
14128 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14129 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14130 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14131 __sigprocmask instead of sigprocmask.
14132 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14134 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14135 __sigsetjmp and sigprocmask.
14138 * include/argz.h (argz_next): Use libc_hidden_proto.
14139 (__argz_next): Likewise.
14140 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14141 (argz_next): Use libc_hidden_weak.
14144 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14146 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14150 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14152 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14156 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14157 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14158 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14159 (__feof_unlocked): New declaration, and inline function if
14160 [__USE_EXTERN_INLINES].
14161 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14162 instead of feof_unlocked.
14163 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14164 * nss/nsswitch.c (nss_parse_file): Likewise.
14165 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14167 * time/getdate.c (__getdate_r): Likewise.
14168 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14169 Define as macro to call __feof_unlocked.
14171 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14173 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14175 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14177 * math/Makefile: Remove mpexp.c and mplog.c
14178 * sysdeps/i386/fpu/mpexp.c: Delete file.
14179 * sysdeps/i386/fpu/mplog.c: Likewise.
14180 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14181 * sysdeps/ia64/fpu/mplog.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14183 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14184 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14185 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14186 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14187 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14188 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14189 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14190 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14191 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14192 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14193 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14194 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14195 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14197 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14199 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14201 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14203 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14205 * sysdeps/sh/libm-test-ulps: Update.
14207 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14209 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14212 2018-02-12 Zack Weinberg <zackw@panix.com>
14215 * posix/sys/types.h: Don't include sys/sysmacros.h.
14216 * misc/sys/sysmacros.h: Remove the conditional deprecation
14217 warnings for the macros defined by this header.
14219 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14221 * manual/probes.texi: Remove slowexp probes.
14222 * math/Makefile: Remove slowexp.
14223 * sysdeps/generic/math_private.h (__slowexp): Remove.
14224 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14225 document error bounds.
14226 * sysdeps/i386/fpu/slowexp.c: Remove.
14227 * sysdeps/ia64/fpu/slowexp.c: Remove.
14228 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14229 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14230 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14231 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14232 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14233 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14234 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14236 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14238 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14240 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14243 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14244 * benchtests/pow-inputs: Update comment for slow path cases.
14245 * manual/probes.texi (slowpow_p10): Delete removed probe.
14246 (slowpow_p10): Likewise.
14247 * math/Makefile: Remove halfulp.c and slowpow.c.
14248 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14249 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14250 (__halfulp): Remove.
14251 (__slowpow): Remove.
14252 * sysdeps/i386/fpu/halfulp.c: Delete file.
14253 * sysdeps/i386/fpu/slowpow.c: Likewise.
14254 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14255 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14256 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14257 improve comments and add error analysis.
14258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14259 (power1): Remove function:
14260 (log1): Remove error argument, add error analysis.
14261 (my_log2): Remove function.
14262 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14264 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14265 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14266 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14267 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14268 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14269 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14270 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14271 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14273 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14274 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14275 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14277 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14279 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14280 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14282 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14285 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14286 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14287 and PTRACE_SETHBPREGS.
14289 2018-02-10 Zack Weinberg <zackw@panix.com>
14292 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14294 * malloc/tst-malloc-stats-cancellation.c: New test case.
14295 * malloc/Makefile: Add new test case.
14297 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14299 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14301 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14303 * math/Makefile (libm-narrow-fns): Add add.
14304 (libm-test-funcs-narrow): Likewise.
14305 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14306 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14307 * math/gen-auto-libm-tests.c (test_functions): Add add.
14308 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14309 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14310 (NARROW_ADD_TRIVIAL): Likewise.
14311 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14313 (__daddl): Likewise.
14314 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14316 (CFLAGS-nldbl-dadd.c): New variable.
14317 (CFLAGS-nldbl-fadd.c): Likewise.
14318 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14322 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14323 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14324 * math/auto-libm-test-in: Add tests of add.
14325 * math/auto-libm-test-out-narrow-add: New generated file.
14326 * math/libm-test-narrow-add.inc: New file.
14327 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14330 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14331 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14332 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14341 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14342 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14343 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14344 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14346 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14374 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14375 (f128-pairs): New variable.
14376 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14377 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14379 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14380 Also make tests add $(f128-loader-link) to gnulib-tests.
14382 2018-02-09 DJ Delorie <dj@redhat.com>
14385 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14386 64-bit ELF type for 64-bit ELF objects.
14388 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14390 * math/libm-test-driver.c (snan_tests_arg): New variable.
14391 * math/libm-test-support.h (snan_tests_arg): New declaration.
14392 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14394 * math/Makefile (test-type-pairs): New variable.
14395 (test-type-pairs-f64xf128-yes): Likewise.
14396 (tests): Add test-narrow-macros.
14397 (libm-test-funcs-narrow): New variable.
14398 (libm-test-c-narrow): Likewise.
14399 (generated): Add $(libm-test-c-narrow).
14400 (libm-tests-base-narrow): New variable.
14401 (libm-tests-narrow): Likewise.
14402 (libm-tests): Add $(libm-tests-narrow).
14403 (libm-tests-for-type): Handle $(libm-tests-narrow).
14404 (libm-test-c-narrow-obj): New variable.
14405 ($(libm-test-c-narrow-obj)): New rule.
14406 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14407 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14408 $(o-iterator) to set dependencies and CFLAGS.
14409 * math/gen-auto-libm-tests.c: Document use for narrowing
14411 (output_for_one_input_case): Take argument NARROW.
14412 (generate_output): Likewise. Update call to
14413 output_for_one_input_case.
14414 (main): Take --narrow option. Update call to generate_output.
14415 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14416 (apply_lit): Update call to _apply_lit.
14417 (apply_arglit): New function.
14418 (parse_args): Handle "a" arguments.
14419 (parse_auto_input): Handle format names using ":".
14420 * math/README.libm-test: Document "a" parameter type.
14421 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14422 (ARG_TYPE_TRUE_MIN): Likewise.
14423 (ARG_TYPE_MAX): Likwise.
14424 (ARG_MIN_EXP): Likewise.
14425 (ARG_MAX_EXP): Likewise.
14426 (ARG_MANT_DIG): Likewise.
14427 (TEST_COND_arg_ibm128): Likewise.
14428 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14429 (TEST_COND_arg_fmt): New macro.
14430 (init_max_error): Update prototype.
14431 * math/libm-test-support.c (test_ibm128): New variable.
14432 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14433 instead of using [TEST_COND_ibm128] conditional.
14434 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14435 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14436 [TEST_NARROW] (TEST_MSG): New definition.
14437 (arg_plus_zero): New macro.
14438 (arg_minus_zero): Likewise.
14439 (arg_plus_infty): Likewise.
14440 (arg_minus_infty): Likewise.
14441 (arg_qnan_value_pl): Likewise.
14442 (arg_qnan_value): Likewise.
14443 (arg_snan_value_pl): Likewise.
14444 (arg_snan_value): Likewise.
14445 (arg_max_value): Likewise.
14446 (arg_min_value): Likewise.
14447 (arg_min_subnorm_value): Likewise.
14448 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14449 (RUN_TEST_LOOP_aa_f): New macro.
14450 (TEST_SUFF): New macro.
14451 (TEST_SUFF_STR): Likewise.
14452 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14453 (TEST_COND_any_ibm128): New macro.
14454 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14455 this_func. Update call to init_max_error.
14456 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14457 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14458 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14459 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14460 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14461 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14462 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14463 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14464 * math/test-math-vector.h (TEST_NARROW): Likewise.
14465 * math/test-arg-double.h: New file.
14466 * math/test-arg-float128.h: Likewise.
14467 * math/test-arg-float32x.h: Likewise.
14468 * math/test-arg-float64.h: Likewise.
14469 * math/test-arg-float64x.h: Likewise.
14470 * math/test-arg-ldouble.h: Likewise.
14471 * math/test-math-narrow.h: Likewise.
14472 * math/test-narrow-macros.c: Likewise.
14473 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14474 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14475 test-narrow-macros-ldbl-64.
14476 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14478 * math/bits/mathcalls-narrow.h: New file.
14479 * include/bits/mathcalls-narrow.h: Likewise.
14480 * math/math-narrow.h: Likewise.
14481 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14482 (__MATHCALL_NARROW_ARGS_2): Likewise.
14483 (__MATHCALL_NARROW_ARGS_3): Likewise.
14484 (__MATHCALL_NARROW_NORMAL): Likewise.
14485 (__MATHCALL_NARROW_REDIR): Likewise.
14486 (__MATHCALL_NARROW): Likewise.
14487 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14488 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14490 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14491 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14492 (libm-narrow-fns): New variable.
14493 (libm-narrow-types-basic): Likewise.
14494 (libm-narrow-types-ldouble-yes): Likewise.
14495 (libm-narrow-types-float128-yes): Likewise.
14496 (libm-narrow-types-float128-alias-yes): Likewise.
14497 (libm-narrow-types): Likewise.
14498 (libm-routines): Add narrowing functions.
14499 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14500 (libc_feholdexcept_setroundf128): New macro.
14501 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14502 * sysdeps/ieee754/float128/float128_private.h: Include
14503 <math/math-narrow.h>.
14504 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14505 Undefine and redefine.
14506 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14507 (libm_alias_float_ldouble): Undefine and redefine.
14508 (libm_alias_double_ldouble): Likewise.
14510 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14512 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14514 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14517 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14519 * manual/creature.texi: Convert references to gcc.info to gcc.
14520 * manual/stdio.texi: Likewise.
14521 * manual/string.texi: Likewise.
14523 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14526 * posix/bits/types.h (__int_least8_t): New typedef.
14527 (__uint_least8_t): Likewise.
14528 (__int_least16_t): Likewise.
14529 (__uint_least16_t): Likewise.
14530 (__int_least32_t): Likewise.
14531 (__uint_least32_t): Likewise.
14532 (__int_least64_t): Likewise.
14533 (__uint_least64_t): Likewise.
14534 * sysdeps/generic/stdint.h (int_least8_t): Define using
14536 (int_least16_t): Define using __int_least16_t.
14537 (int_least32_t): Define using __int_least32_t.
14538 (int_least64_t): Define using __int_least64_t.
14539 (uint_least8_t): Define using __uint_least8_t.
14540 (uint_least16_t): Define using __uint_least16_t.
14541 (uint_least32_t): Define using __uint_least32_t.
14542 (uint_least64_t): Define using __uint_least64_t.
14543 * wcsmbs/uchar.h: Include <bits/types.h>.
14544 (char16_t): Define using __uint_least16_t conditional only on
14546 (char32_t): Define using __uint_least32_t conditional only on
14548 * wcsmbs/test-char-types.c: New file.
14549 * wcsmbs/Makefile (tests): Add test-char-types.
14551 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14554 2018-02-07 Zack Weinberg <zackw@panix.com>
14556 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14557 Delete all contents except for definitions of _G_HAVE_MMAP and
14558 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14559 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14560 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14563 * libio/libio.h: Don't include bits/_G_config.h here.
14564 Include stddef.h with __need_wchar_t defined. Include
14565 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14566 Define _IO_iconv_t here, directly.
14567 Don't define _IO_HAVE_ST_BLKSIZE.
14568 * libio/libioP.h: Include _G_config.h here. Move include of
14569 shlib-compat.h up with rest of includes. Simplify conditionals
14570 controlling definition of _IO_JUMPS_OFFSET.
14572 * csu/init.c: Remove always-true #if around entire file.
14573 Don't include stdio.h. Set _IO_stdin_used to hardwired
14574 constant 0x20001, and update commentary.
14575 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14576 Replace all uses of _G_va_list with __gnuc_va_list.
14577 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14578 instead of #if _IO_HAVE_ST_BLKSIZE.
14579 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14580 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14583 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14584 multiple-include guard to match.
14585 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14587 Remove preprocessor conditionals that are always true and/or
14588 redundant to other preprocessor conditionals in the same nest.
14589 Include shlib-compat.h unconditionally.
14590 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14591 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14592 defined after including stdio.h.
14593 Use __BEGIN_DECLS/__END_DECLS.
14595 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14596 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14597 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14599 2018-02-07 Zack Weinberg <zackw@panix.com>
14601 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14602 New single-type headers split from _G_config.h.
14603 * libio/bits/types/cookie_io_functions_t.h
14604 * libio/bits/types/struct_FILE.h
14605 New single-type headers split from libio.h.
14607 * libio/Makefile: Install the above new headers. Don't install
14608 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14610 * libio/_G_config.h, libio/libio.h: Delete file.
14612 * libio/bits/libio.h: Remove improper-inclusion guard.
14613 Include stdio.h and don't repeat anything that it does.
14614 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14615 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14616 __io_read_fn as cookie_read_function_t,
14617 __io_write_fn as cookie_write_function_t,
14618 __io_seek_fn as cookie_seek_function_t,
14619 __io_close_fn as cookie_close_function_t,
14620 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14621 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14622 here, in the "compatibility defines" section. Remove an #if 0
14623 block. Use the "body" macros from bits/types/struct_FILE.h to
14624 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14625 and _IO_ferror_unlocked.
14626 Move prototypes of __uflow and __overflow...
14628 * libio/stdio.h: ...here. Don't include bits/libio.h.
14629 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14630 directly from stdarg.h. Include bits/types/__fpos_t.h,
14631 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14632 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14633 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14634 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14635 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14636 __ssize_t, not _IO_ssize_t. Unconditionally define
14637 BUFSIZ as 8192 and EOF as (-1).
14639 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14640 macros from bits/types/struct_FILE.h instead of _IO_* macros
14641 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14642 instead of _IO_ssize_t.
14643 * libio/bits/stdio2.h: Similarly.
14645 * libio/iolibio.h: Add multiple-include guard.
14646 Include bits/libio.h after stdio.h.
14647 * libio/libioP.h: Add multiple-include guard.
14648 Include stdio.h and bits/libio.h before iolibio.h.
14650 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14651 * include/bits/types/cookie_io_functions_t.h
14652 * include/bits/types/struct_FILE.h: New wrappers.
14654 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14655 Get definitions of _G_fpos_t and _G_fpos64_t from
14656 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14657 respectively. Remove improper-inclusion guards.
14659 * conform/data/stdio.h-data: Update expectations of va_list.
14660 * scripts/check-installed-headers.sh: Remove special case for
14661 libio.h and _G_config.h.
14663 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14667 * include/sys/sysmacros.h [!_ISOMAC]
14668 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14669 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14670 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14671 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14673 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14674 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14676 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14677 Undefine and redefine to add use __gnu_dev_ prefix.
14678 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14680 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14681 and define as hidden inline function.
14682 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14684 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14686 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14687 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14688 (gnu_dev_minor): Likewise.
14689 (gnu_dev_makedev): Likewise.
14690 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14692 * posix/wordexp.c (exec_comm_child): Likewise.
14693 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14694 instead of minor and __gnu_dev_major instead of major.
14695 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14696 __gnu_dev_major instead of major.
14697 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14698 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14699 instead of gnu_dev_minor.
14700 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14701 (SLAVE_P): Likewise.
14702 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14703 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14707 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14709 * locale/weightwc.h (findidx): Likewise.
14711 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14713 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14714 (slowlog_inexact): Likewise
14715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14716 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14718 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14721 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14722 missing second underscore to parameter name.
14724 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14730 * bits/byteswap.h: Update file comment. Do not include
14731 <bits/byteswap-16.h>.
14732 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14734 (__bswap_16): Define as inline function.
14735 (__bswap_constant_32): Reformat definition.
14736 (__bswap_32): Always define as inline function, not macro, using
14737 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14738 otherwise __bswap_constant_32.
14739 (__bswap_constant_64): Reformat definition. Do not use
14740 __extension__ here.
14741 (__bswap_64): Always define as inline function, not macro. Use
14742 __extension__ on function definition. Use __builtin_bswap64 if
14743 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14744 * string/test-endian-file-scope.c: New file.
14745 * string/test-endian-sign-conversion.c: Likewise.
14746 * string/Makefile (headers): Remove bits/byteswap-16.h.
14747 (tests): Add test-endian-file-scope and
14748 test-endian-sign-conversion.
14749 (CFLAGS-test-endian-sign-conversion.c): New variable.
14750 * bits/byteswap-16.h: Remove file.
14751 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14752 * sysdeps/ia64/bits/byteswap.h: Likewise.
14753 * sysdeps/m68k/bits/byteswap.h: Likewise.
14754 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14755 * sysdeps/s390/bits/byteswap.h: Likewise.
14756 * sysdeps/tile/bits/byteswap.h: Likewise.
14757 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14758 * sysdeps/x86/bits/byteswap.h: Likewise.
14761 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14762 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14763 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14764 199901L] (__restrict): Define to restrict.
14767 * string/testcopy.c: Include <support/support.h>. Do not include
14768 <malloc.h>. Use <support/test-driver.c>.
14769 (main): Rename to do_test. Make static. Use xmalloc instead of
14773 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14774 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14775 (SSIZE_MAX): Define to INT_MAX.
14776 * posix/test-ssize-max.c: New file.
14777 * posix/Makefile (tests): Add test-ssize-max.
14780 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14781 <support/support.h>. Do not include <malloc.h>.
14782 (query_auxv): Use xmalloc instead of malloc.
14785 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14786 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14789 2018-02-06 Florian Weimer <fweimer@redhat.com>
14792 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14793 Use scratch_buffer instead of extend_alloca.
14795 2018-02-06 Zack Weinberg <zackw@panix.com>
14797 * libio/stdio.h: Don't define getc or putc as macros.
14798 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14799 not _IO_getc and _IO_putc.
14801 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14802 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14804 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14806 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14807 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14809 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14812 * elf/elf.h (NT_PRFPREG): New macro.
14813 (NT_S390_VXRS_LOW): Likewise.
14814 (NT_S390_VXRS_HIGH): Likewise.
14815 (NT_S390_GS_CB): Likewise.
14816 (NT_S390_GS_BC): Likewise.
14817 (NT_S390_RI_CB): Likewise.
14819 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14820 (MAP_SYNC): New macro.
14821 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14823 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14824 (MAP_SYNC): Likewise.
14825 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14826 (MAP_SYNC): Likewise.
14827 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14828 (MAP_SYNC): Likewise.
14829 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14830 (MAP_SYNC): Likewise.
14831 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14832 (MAP_SYNC): Likewise.
14833 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14834 (MAP_SYNC): Likewise.
14835 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14837 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14840 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14841 (MAP_SHARED_VALIDATE): New macro.
14842 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14843 (MAP_SHARED_VALIDATE): Likewise.
14845 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14847 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14848 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14849 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14851 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14853 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14854 (DT_NUM): Updated to 35.
14856 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14859 __builtin_expect with __glibc_likely and __glibc_unlikely.
14860 (elf_machine_rela): Likewise.
14861 (elf_machine_lazy_rel): Likewise.
14863 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
14866 __builtin_expect with __glibc_likely and __glibc_unlikely.
14867 (elf_machine_lazy_rel): Likewise.
14869 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14872 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14874 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
14876 2018-02-05 Andreas Schwab <schwab@suse.de>
14879 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14882 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14884 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14885 not check against PTHREAD_STACK_MIN.
14887 2018-02-02 Sean McKean <smckean83@gmail.com>
14890 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14892 2018-02-02 Florian Weimer <fweimer@redhat.com>
14895 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14896 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14897 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14898 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14899 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14900 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14901 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14902 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14903 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14904 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14905 * misc/tst-preadvwritev2.c (do_test): Call it.
14906 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14908 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14910 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14912 * benchtests/bench-memcmp.c: Print json instead of plain text.
14914 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14917 2018-02-01 Joseph Myers <joseph@codesourcery.com>
14919 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14921 (s390_sthyi): New syscall.
14923 * sysdeps/generic/ldbl-classify-compat.h: New file.
14924 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14925 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14926 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14927 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14928 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14929 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14930 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14931 <ldbl-classify-compat.h>.
14932 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14933 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14934 <ldbl-classify-compat.h>.
14935 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14936 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14937 <ldbl-classify-compat.h>.
14938 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14940 <ldbl-classify-compat.h>.
14941 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14943 <ldbl-classify-compat.h>.
14944 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14946 <ldbl-classify-compat.h>.
14947 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14948 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14949 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14950 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14951 * sysdeps/microblaze/math_private.h: Likewise.
14952 * sysdeps/nios2/math_private.h: Likewise.
14953 * sysdeps/sh/math_private.h: Likewise.
14955 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14956 * sysdeps/m68k/coldfire/math_private.h: ... here.
14957 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14958 * sysdeps/tile/math_private.h: Likewise.
14959 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14961 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14964 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14966 (libc_fetestexcept): Likewise.
14967 (libc_feupdateenv_test): Likewise.
14968 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14969 (libc_fetestexcept): Likewise.
14970 (libc_feupdateenv_test): Likewise.
14971 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14972 (libc_fetestexcept): Likewise.
14973 (libc_feupdateenv_test): Likewise.
14974 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14975 (libc_fetestexcept): Likewise.
14976 (libc_feupdateenv_test): Likewise.
14978 * sysdeps/generic/math_private.h
14979 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14980 New inline function.
14981 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14984 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14985 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14986 * sysdeps/generic/math_private.h
14987 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14989 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14991 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14993 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14995 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14997 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14999 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15000 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15001 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15002 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15003 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15004 (__fegetenv): Likewise.
15005 (fesetenv): Likewise.
15006 (__fesetenv): Likewise.
15007 (feupdateenv): Likewise.
15008 (__feupdateenv): Likewise.
15009 (fegetround): Likewise.
15010 (__fegetround): Likewise.
15011 (fesetround): Likewise.
15012 (__fesetround): Likewise.
15014 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15015 (feraiseexcept): New macro.
15016 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15017 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15019 (__feraiseexcept): Likewise.
15020 (feclearexcept): Likewise.
15021 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15022 (__feraiseexcept): Likewise.
15023 (feclearexcept): Likewise.
15024 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15025 (__feraiseexcept): Likewise.
15026 (feclearexcept): Likewise.
15027 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15028 (__feraiseexcept): Likewise.
15029 (feclearexcept): Likewise.
15030 (fetestexcept): Likewise.
15032 * sysdeps/m68k/coldfire/math-tests.h: New file.
15034 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15035 * sysdeps/m68k/bits/fenv.h: ... here.
15036 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15038 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15040 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15042 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15044 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15046 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15048 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15049 (__FE_UNDEFINED): New enum constant.
15050 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15052 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15054 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15056 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15057 to match generic bits/fenv.h.
15058 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15061 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15063 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15064 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15065 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15066 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15068 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15069 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15070 Joseph Myers <joseph@codesourcery.com>
15073 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15074 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15075 computation using c.
15076 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15077 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15078 computation using c.
15080 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15082 * version.h (RELEASE): Set to "development".
15083 (VERSION): Set to "2.27.9000".
15084 * NEWS (2.28): New section.
15086 * version.h (RELEASE): Set to "stable".
15087 (VERSION): Set to "2.27".
15088 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15090 * NEWS: Add the list of bugs fixed in 2.27.
15092 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15094 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15095 against PTHREAD_STACK_MIN.
15097 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15099 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15101 (Rafal Luzynski, Andreas Schwab): Update.
15103 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15106 * NEWS: List the languages which actually use the alternative
15107 months feature in this release. Also explain that "alt_mon" and
15108 "ab_alt_mon" are optional.
15110 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15113 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15115 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15117 * manual/install.texi (Tools for Compilation): Update the newest
15118 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15119 * INSTALL: Regenerated.
15121 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15123 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15124 instead of __builtin_expect.
15126 2018-01-30 Florian Weimer <fweimer@redhat.com>
15128 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15130 * nss/tst-nss-getpwent.c (do_test): Likewise.
15132 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15135 * localedata/locales/hr_HR (mon): Rename to...
15137 (mon): Import from CLDR (genitive case).
15138 (d_t_fmt): Update the comment.
15140 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15142 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15143 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15144 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15146 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15148 * mach/Versions: Fix version when __mach_host_self_ was added.
15149 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15150 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15151 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15152 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15153 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15154 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15155 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15156 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15157 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15158 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15159 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15160 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15161 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15162 || to respect codestyle.
15163 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15164 (do_test_bz20181): Rename accordingly.
15165 * malloc/malloc.c: Include <assert.h>.
15166 (assert): Do not define.
15167 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15168 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15169 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15170 * sysdeps/mach/hurd/hp-timing.h: New file.
15171 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15173 2018-01-29 Darius Rad <darius@bluespec.com>
15175 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15177 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15179 * sysdeps/init_array/crti.S (.section .init_array): Add
15180 PREINIT_FUNCTION when defined.
15181 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15182 * config.h.in: Regenerate.
15183 * manual/platform.texi: Add RISC-V documenation for
15184 __riscv_flush_icache.
15185 * sysdeps/riscv/__longjmp.S: New file.
15186 * sysdeps/riscv/backtrace.c: Likewise.
15187 * sysdeps/riscv/bits/endian.h: Likewise.
15188 * sysdeps/riscv/bits/setjmp.h: Likewise.
15189 * sysdeps/riscv/bits/wordsize.h: Likewise.
15190 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15191 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15192 * sysdeps/riscv/dl-trampoline.S: Likewise.
15193 * sysdeps/riscv/gccframe.h: Likewise.
15194 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15195 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15196 * sysdeps/riscv/machine-gmon.h: Likewise.
15197 * sysdeps/riscv/memusage.h: Likewise.
15198 * sysdeps/riscv/setjmp.S: Likewise.
15199 * sysdeps/riscv/sys/asm.h: Likewise.
15200 * sysdeps/riscv/tls-macros.h: Likewise.
15201 * sysdeps/riscv/dl-tls.h: New file.
15202 * sysdeps/riscv/libc-tls.c: Likewise.
15203 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15204 * sysdeps/riscv/nptl/tls.h: Likewise.
15205 * sysdeps/riscv/stackinfo.h: Likewise.
15206 * sysdeps/riscv/bits/fenv.h: New file.
15207 * sysdeps/riscv/e_sqrtl.c: Likewise.
15208 * sysdeps/riscv/fpu_control.h: Likewise.
15209 * sysdeps/riscv/math-tests.h: Likewise.
15210 * sysdeps/riscv/nofpu/Implies: Likewise.
15211 * sysdeps/riscv/sfp-machine.h: Likewise.
15212 * sysdeps/riscv/tininess.h: Likewise.
15213 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15214 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15215 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15216 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15217 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15218 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15219 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15220 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15221 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15222 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15223 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15224 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15225 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15226 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15227 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15228 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15229 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15230 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15231 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15232 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15233 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15234 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15235 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15236 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15237 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15238 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15239 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15240 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15241 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15242 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15243 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15244 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15245 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15246 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15247 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15248 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15249 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15250 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15251 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15252 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15253 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15254 * sysdeps/riscv/rvf/math_private.h: Likewise.
15255 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15256 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15257 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15258 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15259 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15260 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15261 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15262 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15263 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15264 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15265 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15266 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15267 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15268 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15269 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15270 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15271 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15272 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15273 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15274 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15275 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15276 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15277 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15278 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15279 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15280 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15281 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15282 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15283 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15284 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15285 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15286 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15287 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15288 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15289 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15290 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15291 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15292 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15293 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15294 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15295 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15296 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15297 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15298 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15299 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15300 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15301 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15302 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15303 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15304 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15305 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15306 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15307 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15308 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15309 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15310 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15311 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15312 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15313 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15314 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15315 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15323 * sysdeps/riscv/Implies: New file.
15324 * sysdeps/riscv/Makefile: Likewise.
15325 * sysdeps/riscv/configure: Likewise.
15326 * sysdeps/riscv/configure.ac: Likewise.
15327 * sysdeps/riscv/nptl/Makefile: Likewise.
15328 * sysdeps/riscv/preconfigure: Likewise.
15329 * sysdeps/riscv/rv64/Implies-after: Likewise.
15330 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15331 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15332 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15333 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15334 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15335 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15336 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15337 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15338 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15339 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15340 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15341 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15342 (Config): Likewise.
15344 2018-01-29 Florian Weimer <fweimer@redhat.com>
15347 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15348 libnsl_hidden_proto.
15349 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15350 libnsl_hidden_proto.
15351 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15352 * nis/Makefile (libnsl-routines): Add nss-default only for
15353 build-obsolete-nsl.
15354 * nis/nis_defaults.c (__nis_default_ttl): Add
15355 libnsl_hidden_nolink_def.
15356 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15358 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15359 * nis/ypclnt.c (yp_maplist): Likewise.
15361 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15364 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15366 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15368 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15369 clean -dxfq for git updates when replacing sources.
15371 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15372 --disable-libcilkrts unconditionally, not just for the final GCC
15375 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15378 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15381 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15384 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15387 * localedata/locales/be_BY (mon): Rename to...
15388 (alt_mon): This, then synchronize with CLDR (nominative case).
15389 (abmon): Rename to...
15390 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15391 (mon): Import from CLDR (genitive case).
15393 * localedata/locales/be_BY@latin (mon): Rename to...
15395 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15397 * localedata/locales/be_BY@latin (lang_name): Reworded to
15398 "biełaruskaja mova".
15400 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15403 * localedata/locales/el_CY (mon): Renamed to...
15405 (mon): Import from CLDR (genitive case).
15406 * localedata/locales/el_GR: Likewise.
15408 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15411 * localedata/locales/ru_RU (mon): Rename to...
15413 (abmon): Rename to...
15414 (ab_alt_mon): This.
15415 (mon): Import from CLDR (genitive case).
15416 (abmon): Copy from the old content except the 5th month which is
15417 now in the genitive case, even when abbreviated.
15418 * localedata/locales/ru_UA: Likewise.
15419 * time/tst-strptime.c (day_tests): Add an actual example of
15420 a difference between %b and %Ob in Russian.
15422 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15424 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15425 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15427 * resolv/res-close.c: Include <stdlib.h>.
15428 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15429 <sys/wait.h>, <time.h>, <sys/uio.h>.
15430 (NOT_CANCEL_H): Add inclusion guard.
15431 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15432 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15433 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15435 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15436 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15437 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15439 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15440 timer_ptr2id to cast struct timer_node * to void *.
15441 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15442 --disable-libcilkrts to gcc configure.
15443 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15444 and make them the default for now.
15445 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15446 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15447 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15448 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15449 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15451 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15452 __task_terminate would ever return successfully.
15453 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15455 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15456 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15457 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15458 critical section to make code simpler and avoid warning.
15459 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15460 critical section to make code simpler and avoid warning.
15461 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15462 const char * instead of char *.
15463 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15464 __hurd_file_name_split, hurd_file_name_split,
15465 __hurd_directory_name_split, hurd_directory_name_split,
15466 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15467 hurd_file_name_path_lookup): Make lookup function parameter take a
15468 const char *name instead of char *name.
15469 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15470 __hurd_directory_name_split): Likewise.
15471 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15472 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15473 * sysdeps/mach/hurd/check_native.c: New file.
15474 * sysdeps/mach/hurd/check_pf.c: New file.
15475 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15476 (__freeifaddrs): Define macro to freeifaddrs.
15477 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15478 * sysdeps/mach/libmachuser.abilist: New file.
15479 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15480 (do_test_bz20181): Rename accordingly.
15481 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15482 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15484 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15485 version only if __USE_EXTERN_INLINES is defined.
15486 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15487 __hurd_sockfail): Likewise.
15488 (_hurd_fd_get): Always declare functions, and provide inline versions
15489 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15490 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15491 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15492 _hurd_port_set): Always declare functions, and provide inline versions
15493 only if __USE_EXTERN_INLINES and _LIBC are defined and
15495 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15496 _hurd_critical_section_unlock): Likewise.
15497 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15498 * __hurd_threadvar_location): Likewise.
15499 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15500 _hurd_userlink_clear): Likewise.
15501 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15502 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15503 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15504 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15505 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15506 __spin_lock_locked): Likewise.
15507 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15508 __spin_lock_locked): Likewise.
15509 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15510 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15511 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15512 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15513 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15514 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15515 _POSIX_NO_TRUNC): Define to 0.
15516 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15517 check size against PTHREAD_STACK_MIN.
15518 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15519 IS_IN(libpthread)]: Include <sigsetops.h>.
15520 * mach/Makefile (user-interfaces): Add mach/gnumach.
15521 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15522 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15523 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15524 instead of invalid -1.
15525 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15526 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15527 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15530 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15532 * hurd/fcntl-internal.h: New file.
15534 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15536 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15538 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15540 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15543 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15544 Build only shared objects.
15546 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15548 * README: Update for hppa.
15550 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15552 * sysdeps/sparc/fpu/libm-test-ulps: Update
15553 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15555 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15559 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15562 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15563 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15564 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15565 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15568 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15571 * bits/types/__cancel_jmp_buf_tag.h: New file.
15572 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15573 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15574 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15575 * nptl/Makefile (headers): Add
15576 bits/types/__cancel_jmp_buf_tag.h.
15577 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15578 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15579 * sysdeps/nptl/pthread.h: Include
15580 <bits/types/__cancel_jmp_buf_tag.h>.
15581 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15583 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15585 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15588 * localedata/locales/uk_UA (mon): Renamed to...
15590 (alt_digits): "0" removed and then renamed to...
15592 (date_fmt): Definition changed not to use the alternative
15595 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15597 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15598 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15599 * elf/elf.h (EF_RISCV_RVC): New define.
15600 (EF_RISCV_FLOAT_ABI): Likewise.
15601 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15602 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15603 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15604 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15605 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15607 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15609 2018-01-25 Andreas Schwab <schwab@suse.de>
15611 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15613 * sysdeps/gnu/configure: Regenerate.
15614 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15615 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15617 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15618 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15619 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15620 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15621 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15623 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15625 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15626 URL, and run autoconf, make it the default for now.
15628 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15630 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15631 soft-float ColdFire configuration.
15633 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15634 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15635 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15637 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15640 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15642 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15644 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15647 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15648 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15649 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15652 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15655 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15656 Rename to __reserved and add comment.
15657 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15658 Rename to __reserved.
15660 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15662 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15663 i686-gnu configurations.
15664 (Context.run_builds): Include mig, gnumach and hurd in components
15666 (Context.checkout): Add mig, gnumach and hurd to components.
15667 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15669 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15670 (Config.build): Install gnumach headers, build mig and install
15671 hurd headers for 'gnu' OS.
15672 (Config.install_gnumach_headers): New function.
15673 (Config.install_hurd_headers): Likewise.
15674 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15675 when building for 'gnu' OS.
15677 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15679 * manual/tunables.texi (Hardware Capability Tunables): Fix
15682 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15684 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15685 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15686 (ALTMON_11, ALTMON_12): Improve documentation.
15687 * manual/time.texi (strftime): Likewise.
15689 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15692 * localedata/locales/pl_PL: Alternative month names added,
15693 primary month names are genitive now.
15694 * time/tst-strptime.c (day_tests): Actually use a genitive case
15695 of a month name in Polish language.
15697 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15700 * manual/locale.texi: Document ALTMON_1..12 constants for
15701 nl_langinfo. Specify when to use ALTMON instead of MON.
15702 * manual/time.texi (strftime, strptime): Document GNU extension
15703 permitting O modifier with %B and %b. Specify when to use
15706 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15709 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15710 names, define them as the same as abbreviated month names explicitly.
15711 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15712 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15713 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15714 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15715 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15716 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15717 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15718 _NL_WABALTMON_12): New enum constants.
15719 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15720 wab_alt_mon, and ab_alt_mon_defined members.
15721 (time_output): Output ab_alt_mon and wab_alt_mon members.
15722 (time_read): Read them, initialize them as copies of abmon and wabmon
15723 respectively if they are missing, initialize ab_alt_mon_defined.
15724 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15725 * locale/programs/locfile-kw.h: Regenerate.
15726 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15727 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15729 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15730 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15731 (__strftime_internal): Handle %Ob and %Oh formats.
15732 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15733 (__strptime_internal): Handle %Ob and %Oh formats.
15734 * time/tst-strptime.c (day_tests): Add more tests to parse different
15735 forms of month names including the new %Ob format specifier.
15737 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15740 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15741 define them as the same as primary full month names explicitly.
15742 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15743 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15744 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15745 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15746 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15747 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15748 _NL_WALTMON_12): New enum constants.
15749 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15750 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15752 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15753 walt_mon, and alt_mon_defined members.
15754 (time_output): Output alt_mon and walt_mon members.
15755 (time_read): Read them, initialize them as copies of mon and wmon
15756 respectively if they are missing, initialize alt_mon_defined.
15757 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15758 * locale/programs/locfile-kw.h: Regenerate.
15759 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15760 * localedata/tst-langinfo.c (map): Add tests for the new constants
15761 ALTMON_1 .. ALTMON_12.
15762 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15764 * time/strftime_l.c (f_altmonth): New macro.
15765 (__strftime_internal): Handle %OB format.
15766 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15767 (__strptime_internal): Handle %OB format.
15768 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15769 of month names including the new %OB format specifier.
15771 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15774 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15775 from ABORT_TRANSACTION.
15776 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15777 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15778 ABORT_TRANSACTION_IMPL): Likewise.
15779 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15780 Linux code, but remove the code that aborts transactions.
15782 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15784 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15786 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15788 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15789 in date: "2004-14-09" should be "2004-09-14".
15790 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15791 "2003-15-09" should be "2003-09-15".
15793 2018-01-18 Arjun Shankar <arjun@redhat.com>
15799 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15801 (_int_memalign): check for integer overflow before calling
15803 * malloc/tst-malloc-too-large.c: New test.
15804 * malloc/Makefile: Add tst-malloc-too-large.
15806 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15808 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15809 in date: "2017-24-07" should be "2017-07-24".
15810 * localedata/locales/mai_IN: Likewise.
15811 * localedata/locales/mai_NP: Likewise.
15813 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15815 * po/ru.po: Update translations.
15817 2018-01-17 Joseph Myers <joseph@codesourcery.com>
15820 * sysdeps/hppa/backtrace.c: New file.
15822 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15825 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15826 align La_x86_64_retval to VEC_SIZE.
15828 2018-01-16 Joseph Myers <joseph@codesourcery.com>
15830 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15831 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15833 2018-01-16 Florian Weimer <fweimer@redhat.com>
15835 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15836 Move tst-thread-exit-clobber ...
15837 [$(CXX)] (tests-unsupported): ... to here.
15839 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15841 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15842 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15843 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15844 (_dl_aarch64_cap_flags): Update.
15845 (_DL_HWCAP_COUNT): Update.
15847 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15849 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15850 (_DL_HWCAP_LAST): Remove.
15851 (_DL_HWCAP_COUNT): Move to ...
15852 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15853 (_DL_HWCAP_COUNT): ... here.
15855 2018-01-16 Florian Weimer <fweimer@redhat.com>
15857 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15858 mode with GNU extensions.
15860 2018-01-15 Alan Hayward <alan.hayward@arm.com>
15862 * elf/elf.h (NT_ARM_SVE): Define.
15864 2018-01-15 Florian Weimer <fweimer@redhat.com>
15867 * nptl/tst-minstack-throw.cc: New file.
15868 * nptl/Makefile (tests): Add tst-minstack-throw.
15869 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15870 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15872 2018-01-15 Joseph Myers <joseph@codesourcery.com>
15874 * scripts/build-many-glibcs.py (Context.checkout): Default
15875 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15878 2018-01-13 Carlos O'Donell <carlos@redhat.com>
15881 * elf/elf.h (DF_1_STUB): Define.
15882 (DF_1_PIE): Define.
15884 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15888 Do not add 0.5 to integer or out-of-range arguments.
15890 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15892 * po/bg.po: Update translations.
15893 * po/cs.po: Likewise.
15894 * po/de.po: Likewise.
15895 * po/ko.po: Likewise.
15896 * po/pl.po: Likewise.
15897 * po/sv.po: Likewise.
15898 * po/uk.po: Likewise.
15899 * po/vi.po: Likewise.
15901 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15903 * aarch64/start.S (_start): Use __wrap_main.
15904 (__wrap_main): New local symbol.
15906 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15910 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15911 generic_getcwd if the path returned by getcwd syscall is not absolute.
15912 * io/tst-getcwd-abspath.c: New test.
15913 * io/Makefile (tests): Add tst-getcwd-abspath.
15915 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15917 * malloc/malloc.c (malloc_consolidate): Add size check.
15919 2018-01-12 Florian Weimer <fweimer@redhat.com>
15921 * support/write_message.c (write_message): Preserve errno.
15922 * support/check.c (print_failure): Likewise.
15923 * support/support_test_verify_impl.c (support_test_verify_impl):
15925 * support/support_test_compare_failure.c
15926 (support_test_compare_failure): Likewise.
15928 2018-01-12 Florian Weimer <fweimer@redhat.com>
15931 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15932 Prevent installation of libnsl.so.
15933 (libnsl-inhibit-o): Do not build (or install) static libraries.
15935 2018-01-12 Egmont Koblinger <egmont@gmail.com>
15938 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15939 before the day number which may produce a double space.
15940 (date_fmt): Likewise.
15942 2018-01-12 Joseph Myers <joseph@codesourcery.com>
15944 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15945 instead of fegetenv.
15947 2018-01-11 Joseph Myers <joseph@codesourcery.com>
15950 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15951 comment to say exceptions are discarded.
15952 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15954 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15957 2018-01-11 Florian Weimer <fweimer@redhat.com>
15959 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15962 2018-01-11 Florian Weimer <fweimer@redhat.com>
15965 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15966 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15968 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15971 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15972 negative arguments in test for NaN or infinity argument.
15974 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15976 * po/libc.pot: Regenerate.
15978 2018-01-10 Florian Weimer <fweimer@redhat.com>
15981 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15982 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15984 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15986 * hurd/hurd/fd.h: Include <fcntl.h>
15987 (__hurd_at_flags): New function.
15988 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15989 with call to __hurd_at_flags.
15990 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15991 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15993 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15994 (__access_noerrno): Use __faccessat_common instead of access_common.
15995 (__access): Likewise.
15996 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15997 with a call to __faccessat.
15998 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15999 (__faccessat_common): ... this. Move implementation of __access into it when
16000 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16001 reauthenticate_cwdir_at helper to implement AT mechanism.
16002 (__faccessat_noerrno): New function, just calls __faccessat_common.
16003 (__faccessat): New function, just calls __faccessat_common.
16004 (faccessat): Define weak alias.
16006 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16009 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16010 (CFLAGS-s_fmaxmagl.c): New variable.
16011 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16015 long int for arguments of possibly overflowing addition or
16017 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16019 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16022 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16023 (CFLAGS-e_remainderl.c): New variable.
16026 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16028 (CFLAGS-s_cacoshl.c): Likewise.
16029 (CFLAGS-s_casinhl.c): Likewise.
16030 (CFLAGS-s_catanl.c): Likewise.
16031 (CFLAGS-s_catanhl.c): Likewise.
16032 (CFLAGS-s_cexpl.c): Likewise.
16033 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16034 (CFLAGS-s_csinhl.c): Likewise.
16035 (CFLAGS-s_clogl.c): Likewise.
16036 (CFLAGS-s_clog10l.c): Likewise.
16037 (CFLAGS-s_csinl.c): Likewise.
16038 (CFLAGS-s_csqrtl.c): Likewise.
16040 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16041 2017-01-09 Svante Signell <svante.signell@gmail.com>
16043 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16044 (_hurd_exec_paths): New function.
16045 * hurd/hurd.h (_hurd_exec): Deprecate function.
16046 (_hurd_exec_paths): Declare function.
16047 * hurd/Versions: Export _hurd_exec_paths.
16048 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16049 (__execve): Use __getcwd to build absolute path, and use
16050 _hurd_exec_paths instead of _hurd_exec.
16051 * sysdeps/mach/hurd/spawni.c: Likewise.
16052 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16055 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16057 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16058 test instead of failing in case of ENOENT returned by posix_openpt.
16060 2018-01-08 Florian Weimer <fweimer@redhat.com>
16062 resolv: Support binary labels in test framework.
16063 * support/resolv_test.c (struct to_be_freed): Remove.
16064 (struct compressed_name): New.
16065 (allocate_compressed_name, ascii_tolower)
16066 (compare_compressed_name): New functions.
16067 (struct resolv_response_builder): Update type of
16068 compression_offsets for use with tsearch. Rempve to_be_freed.
16069 (response_push_pointer_to_free): Remove function.
16070 (resolv_response_add_name): Rewrite using struct compressed_name
16071 and tsearch instead of hsearch_r.
16072 (response_builder_allocate): Remove initialization of
16073 compression_offsets.
16074 (response_builder_free): Update for removal of to_be_freed. Use
16075 tdestroy instead of hdestroy_r.
16076 * resolv/Makefile (tests): Add tst-resolv-binary.
16077 (tst-resolv-binary): Link with -lresolv -lpthread.
16079 2018-01-08 Florian Weimer <fweimer@redhat.com>
16081 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16082 time. Pass positive flag instead of negative flag to
16083 support_test_compare_failure.
16084 (support_test_compare_failure): Change negative parameter to
16086 * support/support_test_compare_failure.c (report)
16087 (support_test_compare_failure): Likewise.
16088 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16089 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16091 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16094 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16095 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16096 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16098 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16100 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16102 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16103 Add s_sincosf-sse2 and s_sincosf-fma.
16104 (CFLAGS-s_sincosf-fma.c): New.
16105 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16106 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16107 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16108 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16109 __sincosf is defined.
16111 2018-01-08 Florian Weimer <fweimer@redhat.com>
16113 * nptl/tst-thread-exit-clobber.cc: New file.
16114 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16116 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16117 (tests): Add tst-thread-exit-clobber.
16118 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16120 2018-01-08 Florian Weimer <fweimer@redhat.com>
16122 * support/check.h (support_static_assert): Define.
16123 (TEST_COMPARE): Use it.
16125 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16127 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16128 [!__RLIM_T_MATCHES_RLIM64_T]
16129 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16130 __getrlimit64. Add libc_hidden_weak.
16132 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16134 * elf/elf.h (R_RISCV_NONE): New define.
16135 (R_RISCV_32): Likewise.
16136 (R_RISCV_64): Likewise.
16137 (R_RISCV_RELATIVE): Likewise.
16138 (R_RISCV_COPY): Likewise.
16139 (R_RISCV_JUMP_SLOT): Likewise.
16140 (R_RISCV_TLS_DTPMOD32): Likewise.
16141 (R_RISCV_TLS_DTPMOD64): Likewise.
16142 (R_RISCV_TLS_DTPREL32): Likewise.
16143 (R_RISCV_TLS_DTPREL64): Likewise.
16144 (R_RISCV_TLS_TPREL32): Likewise.
16145 (R_RISCV_TLS_TPREL64): Likewise.
16146 * Makerules (make-link-multidir): Make directories before linking into
16148 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16150 (VDSO_HASH_LINUX_4_15): Likewise.
16151 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16152 in subdirectories of lib.
16153 * nptl/Makefile (/librt.so): Always depend on
16154 "$(shared-thread-library)".
16156 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16158 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16159 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16160 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16162 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16163 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16165 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16166 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16167 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16168 * sysdeps/gnu/glob-lstat-compat.c: New file.
16169 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16170 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16172 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16174 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16175 Reserve 16 chars to reloc_addr before calling _itoa_word.
16177 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16180 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16181 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16183 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16184 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16186 * resource/tst-getrlimit.c: Add copyright header.
16188 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16189 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16191 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16192 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16193 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16194 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16196 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16197 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16198 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16199 RLIM64_INFINITY): Fix values to match the kernel ones.
16200 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16201 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16202 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16203 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16204 getrlimit64@@GLIBC_2_27.
16205 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16207 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16208 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16209 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16210 setrlimit, getrlimit64 and setrlimit64.
16212 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16215 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16216 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16218 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16220 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16221 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16222 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16224 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16228 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16229 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16233 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16234 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16235 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16236 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16238 2018-01-04 Florian Weimer <fweimer@redhat.com>
16241 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16242 Align the stack before calling exit.
16243 * stdlib/tst-makecontext-align.c: New file.
16244 * stdlib/Makefile (tests): Add tst-makecontext-align.
16246 2018-01-04 Florian Weimer <fweimer@redhat.com>
16248 Add support for calling dlvsym from libc.so.
16249 * include/dlfcn.h (__libc_dlvsym): Declare.
16250 * elf/Makefile (tests-static-internal): Add
16251 tst-libc_dlvsym-static.
16252 (tests-internal): Add tst-libc_dlvsym.
16253 (modules-names): Add tst-libc_dlvsym-dso.
16254 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16255 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16256 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16257 object tst-libc_dlvsym-dso.so needs to be built before running
16259 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16260 * elf/Versions: Export __libc_dlvsym.
16261 * elf/dl-libc.c (struct do_dlvsym_args): New.
16262 (do_dlvsym, __libc_dlvsym): New functions.
16263 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16264 (_dl_open_hook2): New variable.
16265 (__libc_register_dl_open_hook): Set it.
16266 * elf/tst-libc_dlvsym-dso.c: New file.
16267 * elf/tst-libc_dlvsym-static.c: Likewise.
16268 * elf/tst-libc_dlvsym.c: Likewise.
16269 * elf/tst-libc_dlvsym.h: Likewise.
16271 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16273 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16274 include <sys/mount.h>.
16276 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16278 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16279 Add __NO_MATH_ERRNO__ check.
16281 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16283 * sysdeps/mips/mips32/libm-test-ulps: Update.
16284 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16286 2018-01-02 Florian Weimer <fweimer@redhat.com>
16288 * misc/tst-pselect.c: Add copyright header.
16290 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16292 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16294 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16296 (settrlimit): Rename into setrlimit.
16297 (__sttrlimit): Rename into __setrlimit.
16299 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16300 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16301 never defined in that case.
16303 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16305 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16307 * sysdeps/arm/libm-test-ulps: Update.
16309 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16310 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16312 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16314 * NEWS: Add cosf and sincosf to list of optimized functions.
16316 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16319 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16320 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16321 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16322 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16324 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16327 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16329 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16330 making a copy of it.
16332 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16334 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16335 trailing whitespace removed.
16336 * scripts/config.guess: Update to version 2018-01-01.
16337 * scripts/config.sub: Update to version 2018-01-01.
16338 * scripts/move-if-change: Update from gnulib.
16340 * NEWS: Update copyright dates.
16341 * catgets/gencat.c (print_version): Likewise.
16342 * csu/version.c (banner): Likewise.
16343 * debug/catchsegv.sh: Likewise.
16344 * debug/pcprofiledump.c (print_version): Likewise.
16345 * debug/xtrace.sh (do_version): Likewise.
16346 * elf/ldconfig.c (print_version): Likewise.
16347 * elf/ldd.bash.in: Likewise.
16348 * elf/pldd.c (print_version): Likewise.
16349 * elf/sotruss.sh: Likewise.
16350 * elf/sprof.c (print_version): Likewise.
16351 * iconv/iconv_prog.c (print_version): Likewise.
16352 * iconv/iconvconfig.c (print_version): Likewise.
16353 * locale/programs/locale.c (print_version): Likewise.
16354 * locale/programs/localedef.c (print_version): Likewise.
16355 * login/programs/pt_chown.c (print_version): Likewise.
16356 * malloc/memusage.sh (do_version): Likewise.
16357 * malloc/memusagestat.c (print_version): Likewise.
16358 * malloc/mtrace.pl: Likewise.
16359 * manual/libc.texinfo: Likewise.
16360 * nptl/version.c (banner): Likewise.
16361 * nscd/nscd.c (print_version): Likewise.
16362 * nss/getent.c (print_version): Likewise.
16363 * nss/makedb.c (print_version): Likewise.
16364 * posix/getconf.c (main): Likewise.
16365 * scripts/test-installation.pl: Likewise.
16366 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16368 * All files with FSF copyright notices: Update copyright dates
16369 using scripts/update-copyrights.
16370 * locale/programs/charmap-kw.h: Regenerated.
16371 * locale/programs/locfile-kw.h: Likewise.
16373 2017-12-31 Zack Weinberg <zackw@panix.com>
16375 * libio/bits/libio-ldbl.h: Correct check for improper
16376 inclusion. Add own multiple include guard.
16378 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16379 Dmitry V. Levin <ldv@altlinux.org>
16383 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16384 string token expansion. Check for NULL pointer or empty string possibly
16385 returned by expand_dynamic_string_token.
16386 (decompose_rpath): Check for empty path after dynamic string
16389 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16392 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16394 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16395 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16396 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16397 and PTRACE_SYSCALL.
16398 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16403 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16405 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16406 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16407 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16408 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16410 bits/ptrace-shared.h.
16411 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16412 <bits/ptrace-shared.h>.
16413 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16414 __ptrace_peeksiginfo_flags, ptrace): Remove.
16415 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16419 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16421 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16424 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16425 end of the loop. Improve comments.
16427 2017-12-29 Zack Weinberg <zackw@panix.com>
16430 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16431 might be set on success.
16433 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16436 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16437 is unchanged on success.
16439 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16441 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16443 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16444 expand_dynamic_string_token): Likewise.
16445 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16448 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16451 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16452 is set and name contains ':', and all code depending on these checks.
16454 2017-12-24 Zack Weinberg <zackw@panix.com>
16456 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16457 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16459 * libio/libio.h: Rename the original version of this file to
16460 libio/bits/libio.h. Error out if not included by stdio.h or the
16462 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16463 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16464 if not included by bits/libio.h or the stub _G_config.h.
16465 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16466 sysdeps/unix/sysv/linux/bits. Error out if not included by
16467 bits/libio.h or the stub _G_config.h.
16468 * libio/stdio.h: Include bits/libio.h, not libio.h.
16469 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16470 well as libio.h and _G_config.h.
16472 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16473 * libio/strfile.h, stdio-common/vfscanf.c
16474 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16475 Include stdio.h, not _G_config.h nor libio.h.
16476 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16477 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16479 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16481 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16484 * stdlib/getrandom.c (getrandom): Fix comment.
16485 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16487 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16490 * manual/arith.texi (strtoul): Fix a typo.
16493 * manual/arith.texi (finite): Fix the description of the return
16496 2017-12-22 Eric Blake <ebb9@byu.net>
16498 Avoid gcc warnings on cygwin
16499 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16500 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16501 Avoid unused variable.
16503 2017-12-22 Florian Weimer <fweimer@redhat.com>
16505 * io/Makefile (routines): Add copy_file_range.
16506 (tests): Add tst-copy_file_range.
16507 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16508 * io/Versions (GLIBC_2.27): Export copy_file_range.
16509 * io/copy_file_range-compat.c: New file.
16510 * io/copy_file_range.c: Likewise.
16511 * io/tst-copy_file_range-compat.c: Likewise.
16512 * io/tst-copy_file_range.c: Likewise.
16513 * manual/llio.texi (Copying File Data): New section.
16514 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16515 * support/Makefile (libsupport-routines): Add support-xfstat,
16516 xftruncate, xlseek.
16517 * support/support-xfstat.c: New file.
16518 * support/xftruncate.c: Likewise.
16519 * support/xlseek.c: Likewise.
16520 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16521 * sysdeps/unix/sysv/linux/**.abilist: Update.
16522 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16524 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16526 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16527 disable-multi-arch variant to aarch64-linux-gnu.
16529 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16531 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16532 trailing whitespace removed.
16533 * scripts/config.guess: Update to version 2017-12-17.
16534 * scripts/config.sub: Update to version 2017-11-23.
16535 * scripts/install-sh: Update to version 2017-09-23.17.
16536 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16538 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16540 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16541 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16542 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16543 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16544 * sysdeps/tile/crtn.S: Likewise.
16545 * sysdeps/tile/dl-start.S (_start): Likewise.
16546 * sysdeps/tile/dl-trampoline.S: Likewise.
16547 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16548 * sysdeps/tile/start.S (_start): Likewise.
16549 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16550 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16551 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16552 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16553 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16554 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16555 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16557 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16559 * sysdeps/tile/preconfigure: Remove tilegx folder.
16560 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16561 * sysdeps/tile/Implies: ... here.
16562 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16563 * sysdeps/tile/Makefile: ... here.
16564 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16565 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16566 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16567 * sysdeps/tile/bits/wordsize.h: ... here.
16568 * sysdeps/tile/tilegx/*: Move to ...
16569 * sysdeps/tile/*: ... here.
16570 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16571 * sysdeps/tile/tilegx32/Implies: ... here.
16572 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16573 * sysdeps/tile/tilegx64/Implies: ... here.
16574 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16576 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16577 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16578 * sysdeps/unix/sysv/linux/tile/*: ... here.
16579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16580 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16582 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16584 * README: Remove tilepro-*-linux-gnu from supported architecture.
16585 * scripts/build-many-glibcs.py: Likewise.
16586 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16587 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16588 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16589 elf_machine_matches_host, elf_machine_dynamic,
16590 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16591 howto, elf_machine_rela): Likewise.
16592 * sysdeps/tile/dl-start.S (_start): Likewise.
16593 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16594 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16595 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16596 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16597 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16598 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16600 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16601 * sysdeps/tile/preconfigure: Likewise.
16602 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16603 POINTER_CHK_GUARD): Likewise.
16604 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16605 * sysdeps/tile/start.S (_start): Likewise.
16606 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16608 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16609 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16611 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16612 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16613 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16615 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16616 * sysdeps/tile/tilepro/Implies: Remove file.
16617 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16618 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16619 * sysdeps/tile/tilepro/memchr.c: Likewise.
16620 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16621 * sysdeps/tile/tilepro/memset.c: Likewise.
16622 * sysdeps/tile/tilepro/memusage.h: Likewise.
16623 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16624 * sysdeps/tile/tilepro/strchr.c: Likewise.
16625 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16626 * sysdeps/tile/tilepro/strlen.c: Likewise.
16627 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16628 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16629 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16630 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16631 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16633 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16635 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16637 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16638 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16639 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16640 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16641 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16642 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16643 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16646 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16647 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16648 tilepro mention in comment.
16650 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16651 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16652 * nptl/pthread_join_common.c: New file: common function used on
16653 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16654 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16655 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16656 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16657 (cleanup): Move definition to pthread_join_common.c.
16658 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16659 Remove superflous checks.
16660 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16663 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16665 * sysdeps/aarch64/libm-test-ulps: Update.
16667 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16669 * sysdeps/aarch64/memset.S (MEMSET): Define.
16671 2017-12-20 Florian Weimer <fweimer@redhat.com>
16674 nptl: Provide full implementation of pthread_self in libc.so.
16675 * nptl/Makefile (routines): Add pthread_self.
16676 (libpthread-routines): Replace pthread_self with
16677 compat-pthread_self.
16678 * nptl/forward.c (pthread_self): Remove.
16679 * nptl/nptl-init.c (pthread_functions): Do not initialize
16681 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16682 * nptl/compat-pthread_self.c: New file.
16683 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16684 Remove ptr_pthread_self.
16686 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16688 * posix/regcomp.c: Fix spelling in comments.
16689 * posix/regex.h: Likewise.
16690 * posix/regex_internal.c: Likewise.
16691 * posix/regexec.c: Likewise.
16693 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16696 * math/Makefile [C++] (tests): Add test for iseqsig.
16697 * math/math.h [C++] (iseqsig): New implementation, which does
16698 not rely on __MATH_TG/__builtin_types_compatible_p.
16699 * math/test-math-iseqsig.cc: New file.
16700 * sysdeps/powerpc/powerpc64le/Makefile
16701 (CFLAGS-test-math-iseqsig.cc): New variable.
16703 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16705 * elf/dl-load.c (is_trusted_path): Remove.
16706 (fillin_rpath): Remove check_trusted argument and its use,
16707 all callers changed.
16709 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16712 * Makeconfig (link-pie-before-libc): Replace -pie with
16713 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16714 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16715 (tst-dlopen-aout-no-pie): New.
16716 (LDFLAGS-tst-prelink): Removed.
16717 (tst-prelink-no-pie): New.
16718 (LDFLAGS-tst-main1): Removed.
16719 (tst-main1-no-pie): New.
16720 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16721 (tst-gmon-no-pie): New.
16723 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16725 * manual/install.texi: Document that --enable-static-pie
16727 * INSTALL: Regenerated.
16729 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16732 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16735 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16739 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16743 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16745 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16746 <errno.h>. Include "eexp.tbl".
16747 (half): New constant.
16749 (__ieee754_exp): Rewrite.
16750 (__slowexp): Remove prototype.
16751 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16752 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16753 * sysdeps/i386/fpu/slowexp.c: Likewise.
16754 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16755 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16756 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16757 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16758 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16759 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16760 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16762 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16763 (CPPFLAGS-slowexp.c): Remove variable.
16764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16765 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16766 (CFLAGS-slowexp-fma.c): Remove variable.
16767 (CFLAGS-slowexp-fma4.c): Likewise.
16768 (CFLAGS-slowexp-avx.c): Likewise.
16769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16771 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16772 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16773 * math/Makefile (type-double-routines): Remove slowexp.
16774 * manual/probes.texi (slowexp_p6): Remove.
16775 (slowexp_p32): Likewise.
16777 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16779 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16782 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16784 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16788 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16790 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16791 <errno.h>. Include "eexp.tbl".
16792 (half): New constant.
16794 (__ieee754_exp): Rewrite.
16795 (__slowexp): Remove prototype.
16796 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16797 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16798 * sysdeps/i386/fpu/slowexp.c: Likewise.
16799 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16800 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16801 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16802 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16803 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16804 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16805 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16807 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16808 (CPPFLAGS-slowexp.c): Remove variable.
16809 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16810 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16811 (CFLAGS-slowexp-fma.c): Remove variable.
16812 (CFLAGS-slowexp-fma4.c): Likewise.
16813 (CFLAGS-slowexp-avx.c): Likewise.
16814 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16816 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16817 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16818 * math/Makefile (type-double-routines): Remove slowexp.
16819 * manual/probes.texi (slowexp_p6): Remove.
16820 (slowexp_p32): Likewise.
16822 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16823 James Clarke <jrtc27@jrtc27.com>
16826 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16829 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16832 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16835 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16838 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16839 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16840 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16841 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16844 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16847 * bits/types/__cancel_jmp_buf_tag.h: New file.
16848 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16849 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16850 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16851 * nptl/Makefile (headers): Add
16852 bits/types/__cancel_jmp_buf_tag.h.
16853 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16854 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16855 * sysdeps/nptl/pthread.h: Include
16856 <bits/types/__cancel_jmp_buf_tag.h>.
16857 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16859 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16861 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16863 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16864 --enable-static-pie variants to x86_64, x32 and i686.
16866 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16869 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16870 argument for attrubutes. All callers changed.
16871 (__inline_mathop1): Likewise. All callers changed.
16872 (__inline_mathop): Likewise. All callers changed.
16873 [__USE_MISC] (scalbn): Use __inline_forward instead of
16874 __inline_forward_c.
16875 [__USE_ISOC99] (scalbln): Likewise.
16876 [__USE_ISOC99] (nearbyint): Likewise.
16877 [__USE_ISOC99] (lrint): Likewise.
16878 [__USE_MISC] (scalbnf): Likewise.
16879 [__USE_ISOC99] (scalblnf): Likewise.
16880 [__USE_ISOC99] (nearbyintf): Likewise.
16881 [__USE_ISOC99] (lrintf): Likewise.
16882 [__USE_MISC] (scalbnl): Likewise.
16883 [__USE_ISOC99] (scalblnl): Likewise.
16884 [__USE_ISOC99] (nearbyintl): Likewise.
16885 [__USE_ISOC99] (lrintl): Likewise.
16886 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16887 __inline_mathop and __m81_defun changed.
16889 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16890 CPU or FPU for ARM hard-float configurations.
16892 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16894 * nptl/tst-attr3.c: Include <libc-diag.h>.
16895 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16897 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16899 * string/tester.c (test_strncat): Also disable -Warray-bounds
16900 warnings for two tests.
16902 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16905 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16906 $(cc-pie-default) == yes.
16907 * config.make.in (cc-pie-default): New.
16908 * configure.ac (libc_cv_pie_default): Renamed to ...
16909 (libc_cv_cc_pie_default): This.
16910 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16911 * configure: Regenerated.
16913 2017-12-18 Florian Weimer <fweimer@redhat.com>
16916 ld.so: Harden dl-libc/libdl hooks.
16917 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16918 (rtld_active): New function.
16919 * dlfcn/dladdr.c (__dladdr): Call it.
16920 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16921 * dlfcn/dlclose.c (__dlcose): Likewise.
16922 * dlfcn/dlerror.c (__dlerror): Likewise.
16923 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16924 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16925 * dlfcn/dlopen.c (__dlopen): Likewise.
16926 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16927 * dlfcn/dlsym.c (__dlsym): Likewise.
16928 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16929 * libio/vtables.c (_IO_vtable_check): Likewise.
16930 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16931 (__libc_dlclose): Likewise.
16932 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16935 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16938 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16939 buffers for readlink input and output.
16941 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16944 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16945 inhibit_stack_protector.
16948 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16949 inhibit_stack_protector.
16951 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16954 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16955 code and invocation.
16957 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16959 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16961 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16964 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16966 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16968 * sysdeps/s390/fpu/libm-test-ulps: Update.
16970 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16974 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16976 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16977 constants to s_sincosf.h file.
16978 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16979 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16981 * sysdeps/ieee754/flt-32/s_sincosf.h:
16984 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16987 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16990 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16993 * INSTALL: Regenerated.
16994 * Makeconfig (real-static-start-installed-name): New.
16995 (pic-default): Updated for --enable-static-pie.
16996 (pie-default): New for --enable-static-pie.
16997 (default-pie-ldflag): Likewise.
16998 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16999 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17000 Replace $(static-start-installed-name) with
17001 $(real-static-start-installed-name).
17002 (+prectorT): Updated for --enable-static-pie.
17003 (+postctorT): Likewise.
17004 (CFLAGS-.o): Add $(pie-default).
17005 (CFLAGS-.op): Likewise.
17006 * NEWS: Mention --enable-static-pie.
17007 * config.h.in (ENABLE_STATIC_PIE): New.
17008 * configure.ac (--enable-static-pie): New configure option.
17009 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17010 (have-static-pie): Likewise.
17011 Enable static PIE if linker supports --no-dynamic-linker.
17012 (ENABLE_STATIC_PIE): New AC_DEFINE.
17013 (enable-static-pie): New LIBC_CONFIG_VAR.
17014 * configure: Regenerated.
17015 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17016 gr$(start-installed-name) for --enable-static-pie.
17017 (extra-objs): Likewise.
17018 (install-lib): Likewise.
17019 (extra-objs): Add static-reloc.o and static-reloc.os
17020 ($(objpfx)$(start-installed-name)): Also depend on
17021 $(objpfx)static-reloc.o.
17022 ($(objpfx)r$(start-installed-name)): New.
17023 ($(objpfx)g$(start-installed-name)): Also depend on
17024 $(objpfx)static-reloc.os.
17025 ($(objpfx)gr$(start-installed-name)): New.
17026 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17028 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17030 * csu/static-reloc.c: New file.
17031 * elf/Makefile (routines): Add dl-reloc-static-pie.
17032 (elide-routines.os): Likewise.
17033 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17034 (tst-tls1-static-non-pie-no-pie): New.
17035 * elf/dl-reloc-static-pie.c: New file.
17036 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17037 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17038 STATIC_PIE_BOOTSTRAP.
17039 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17040 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17041 (tests-static): Likewise.
17042 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17043 (tst-gmon-static-no-pie): New.
17044 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17045 (CRT-tst-gmon-static-pie): Likewise.
17046 (tst-gmon-static-pie-ENV): Likewise.
17047 (tests-special): Likewise.
17048 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17049 (clean-tst-gmon-static-pie-data): Likewise.
17050 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17051 * gmon/tst-gmon-static-pie.c: New file.
17052 * manual/install.texi: Document --enable-static-pie.
17053 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17054 (_dl_get_dl_main_map): Likewise.
17055 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17056 * sysdeps/x86_64/configure.ac: Likewise.
17057 * sysdeps/i386/configure: Regenerated.
17058 * sysdeps/x86_64/configure: Likewise.
17059 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17060 (ASFLAGS-.op): Likewise.
17062 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17064 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17065 * posix/tst-mmap-offset.c (fname): Use /tmp.
17066 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17068 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17070 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17072 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17074 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17077 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17079 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17080 --with-float=hard for arm-linux-gnueabihf configurations.
17083 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17084 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17085 ($(mo-installed)): Use $(objpfx)%.mo.
17086 (realclean): Remove rule.
17088 * po/Makefile (linguas): Remove rule and dependencies.
17089 (linguas.mo): Likewise.
17090 (.PHONY): Do not depend on linguas and linguas.mo.
17091 (podir): Remove variable.
17092 (pofiles): Likewise.
17093 [$(pofiles)] (%.po): Remove rule.
17095 * sysdeps/sparc/sparc32/Makefile
17096 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17097 start-of-line whitespace in argument of echo.
17098 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17099 with whitespace. Generate __wrap_.udiv alias.
17100 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17101 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17102 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17103 * sysdeps/sparc/sparc32/urem.S: Likewise.
17105 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17107 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17108 for aligned inputs.
17110 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17112 * benchtests/bench-strcmp.c: Print output in JSON format.
17114 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17116 2017-12-14 Florian Weimer <fweimer@redhat.com>
17120 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17121 the expanded path string.
17123 2017-12-14 Florian Weimer <fweimer@redhat.com>
17127 * elf/dl-load.c (system_dirs): Update comment.
17128 (nsystem_dirs_len): Use array_length.
17129 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17131 2017-12-14 Florian Weimer <fweimer@redhat.com>
17133 Simplify compiling most of support/ outside of glibc.
17134 * support/check_addrinfo.c: Include <string.h>.
17135 * support/check_dns_packet.c: Likewise.
17136 * support/check_hostent.c: Likewise.
17137 * support/support_can_chroot.c: Include <support/xunistd.h>.
17138 * support/support_format_addrinfo.c: Include <stdlib.h>
17139 * support/support_format_dns_packet.c: Include <stdbool.h>.
17140 * support/support_format_hostent.c: Include <stdlib.h>.
17141 * support/support_format_netent.c: Likewise.
17142 * support/support_write_string.c: Include <support/xunistd.h>.
17143 * support/xdlfcn.c: Include <stddef.h>.
17145 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17147 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17149 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17150 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17152 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17153 (sysdeps_routines): Add memset-niagara7.
17154 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17156 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17158 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17159 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17160 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17161 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17162 Add niagara7 option.
17163 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17167 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17168 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17170 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17172 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17173 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17174 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17175 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17176 and __memmove_niagara7.
17177 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17178 Add niagara7 option.
17179 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17180 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17181 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17182 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17183 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17185 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17187 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17188 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17189 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17190 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17192 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17193 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17194 _dl_sparc_cap_flags array.
17195 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17197 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17199 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17200 time whenever possible.
17202 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17204 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17205 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17207 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17209 * soft-fp/fmadf4.c: Move to ....
17210 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17211 * soft-fp/fmasf4.c: Move to ....
17212 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17213 * soft-fp/fmatf4.c: Move to ....
17214 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17215 * sysdeps/ieee754/soft-fp/Makefile: New file.
17216 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17217 * sysdeps/arm/preconfigure: Regenerated.
17218 * sysdeps/arm/nofpu/Implies: New file.
17219 * sysdeps/arm/s_fma.c: Remove file.
17220 * sysdeps/arm/s_fmaf.c: Likewise.
17221 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17222 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17223 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17224 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17225 * sysdeps/microblaze/s_fma.c: Remove file.
17226 * sysdeps/microblaze/s_fmaf.c: Likewise.
17227 * sysdeps/mips/mips32/nofpu/Implies: New file.
17228 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17229 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17230 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17231 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17232 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17233 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17234 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17236 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17237 * sysdeps/nios2/s_fma.c: Remove file.
17238 * sysdeps/nios2/s_fmaf.c: Likewise.
17239 * sysdeps/sh/nofpu/Implies: New file.
17240 * sysdeps/sh/s_fma.c: Remove file.
17241 * sysdeps/sh/s_fmaf.c: Likewise.
17242 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17243 * sysdeps/tile/s_fma.c: Remove file.
17244 * sysdeps/tile/s_fmaf.c: Likewise.
17246 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17248 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17249 Add s_cosf-sse2 and s_cosf-fma.
17250 (CFLAGS-s_cosf-fma.c): New.
17251 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17252 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17253 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17255 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17257 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17259 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17261 * libio/Makefile (tests): Add tst-bz22415.
17262 (tst-bz22415-ENV): New rule.
17263 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17264 (tests-special): Add tst-bz22415-mem.out.
17265 ($(objpfx)tst-bz22415-mem.out): New rule.
17266 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17267 in case of a successful seek operation.
17268 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17269 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17270 buffer is required.
17271 * libio/tst-bz22415.c: New test.
17273 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17275 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17277 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17278 __IPC_64 to 0 to avoid IPC_64 being set.
17280 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17283 * math/bits/mathcalls.h (nextafter): Remove const.
17284 (nexttoward): Likewise.
17286 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17288 * configure.ac (--with-fp): Remove configure option.
17289 (with_fp_cond): New variable.
17290 (libc_cv_with_fp): New configure test. Use this variable instead
17292 * configure: Regenerated.
17293 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17294 * manual/install.texi (Configuring and compiling): Remove
17296 * INSTALL: Regenerated.
17297 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17298 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17299 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17300 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17301 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17302 use --without-fp to configure glibc.
17304 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17306 * manual/locale.texi (nl_langinfo): Fix a typo.
17308 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17311 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17313 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17315 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17316 (CFLAGS-argp-parse.c): Likewise.
17317 (CFLAGS-argp-fmtstream.c): Likewise.
17318 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17319 (CPPFLAGS-sha512-crypt.c): Likewise.
17320 (CPPFLAGS-md5-crypt.c): Likewise.
17321 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17322 (CFLAGS-stack_chk_fail_local.c): Likewise.
17323 (CFLAGS-backtrace.c): Likewise.
17324 (CFLAGS-sprintf_chk.c): Likewise.
17325 (CFLAGS-snprintf_chk.c): Likewise.
17326 (CFLAGS-vsprintf_chk.c): Likewise.
17327 (CFLAGS-vsnprintf_chk.c): Likewise.
17328 (CFLAGS-asprintf_chk.c): Likewise.
17329 (CFLAGS-vasprintf_chk.c): Likewise.
17330 (CFLAGS-obprintf_chk.c): Likewise.
17331 (CFLAGS-dprintf_chk.c): Likewise.
17332 (CFLAGS-vdprintf_chk.c): Likewise.
17333 (CFLAGS-printf_chk.c): Likewise.
17334 (CFLAGS-fprintf_chk.c): Likewise.
17335 (CFLAGS-vprintf_chk.c): Likewise.
17336 (CFLAGS-vfprintf_chk.c): Likewise.
17337 (CFLAGS-gets_chk.c): Likewise.
17338 (CFLAGS-fgets_chk.c): Likewise.
17339 (CFLAGS-fgets_u_chk.c): Likewise.
17340 (CFLAGS-fread_chk.c): Likewise.
17341 (CFLAGS-fread_u_chk.c): Likewise.
17342 (CFLAGS-swprintf_chk.c): Likewise.
17343 (CFLAGS-vswprintf_chk.c): Likewise.
17344 (CFLAGS-wprintf_chk.c): Likewise.
17345 (CFLAGS-fwprintf_chk.c): Likewise.
17346 (CFLAGS-vwprintf_chk.c): Likewise.
17347 (CFLAGS-vfwprintf_chk.c): Likewise.
17348 (CFLAGS-fgetws_chk.c): Likewise.
17349 (CFLAGS-fgetws_u_chk.c): Likewise.
17350 (CFLAGS-read_chk.c): Likewise.
17351 (CFLAGS-pread_chk.c): Likewise.
17352 (CFLAGS-pread64_chk.c): Likewise.
17353 (CFLAGS-recv_chk.c): Likewise.
17354 (CFLAGS-recvfrom_chk.c): Likewise.
17355 (CFLAGS-tst-longjmp_chk.c): Likewise.
17356 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17357 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17358 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17359 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17360 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17361 (CFLAGS-tst-chk1.c): Likewise.
17362 (CFLAGS-tst-chk2.c): Likewise.
17363 (CFLAGS-tst-chk3.c): Likewise.
17364 (CFLAGS-tst-chk4.cc): Likewise.
17365 (CFLAGS-tst-chk5.cc): Likewise.
17366 (CFLAGS-tst-chk6.cc): Likewise.
17367 (CFLAGS-tst-lfschk1.c): Likewise.
17368 (CFLAGS-tst-lfschk2.c): Likewise.
17369 (CFLAGS-tst-lfschk3.c): Likewise.
17370 (CFLAGS-tst-lfschk4.cc): Likewise.
17371 (CFLAGS-tst-lfschk5.cc): Likewise.
17372 (CFLAGS-tst-lfschk6.cc): Likewise.
17373 (CFLAGS-tst-ssp-1.c): Likewise.
17374 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17375 (CFLAGS-scandir64.c): Likewise.
17376 (CFLAGS-scandir-tail.c): Likewise.
17377 (CFLAGS-scandir64-tail.c): Likewise.
17378 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17379 (CFLAGS-dl-tunables.c): Likewise.
17380 (CFLAGS-dl-runtime.c): Likewise.
17381 (CFLAGS-dl-lookup.c): Likewise.
17382 (CFLAGS-dl-iterate-phdr.c): Likewise.
17383 (CFLAGS-vismain.c): Likewise.
17384 (CFLAGS-tst-linkall-static.c): Likewise.
17385 (CFLAGS-tst-linkall-static.c): Likewise.
17386 (CPPFLAGS-dl-load.c): Likewise.
17387 (CFLAGS-ldconfig.c): Likewise.
17388 (CFLAGS-dl-cache.c): Likewise.
17389 (CFLAGS-cache.c): Likewise.
17390 (CFLAGS-rtld.c): Likewise.
17391 (CFLAGS-multiload.c): Likewise.
17392 (CFLAGS-filtmod1.c): Likewise.
17393 (CFLAGS-tst-align.c): Likewise.
17394 (CFLAGS-tst-align2.c): Likewise.
17395 (CFLAGS-tst-alignmod.c): Likewise.
17396 (CFLAGS-tst-alignmod2.c): Likewise.
17397 (CPPFLAGS-tst-execstack.c): Likewise.
17398 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17399 (CFLAGS-tst-latepthreadmod.c): Likewise.
17400 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17401 (CFLAGS-getgrnam_r.c): Likewise.
17402 (CFLAGS-getgrent_r.c): Likewise.
17403 (CFLAGS-getgrent.c): Likewise.
17404 (CFLAGS-fgetgrent.c): Likewise.
17405 (CFLAGS-fgetgrent_r.c): Likewise.
17406 (CFLAGS-putgrent.c): Likewise.
17407 (CFLAGS-initgroups.c): Likewise.
17408 (CFLAGS-getgrgid.c): Likewise.
17409 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17410 (CFLAGS-getsgent.c): Likewise.
17411 (CFLAGS-fgetsgent.c): Likewise.
17412 (CFLAGS-fgetsgent_r.c): Likewise.
17413 (CFLAGS-putsgent.c): Likewise.
17414 (CFLAGS-getsgnam.c): Likewise.
17415 (CFLAGS-getsgnam_r.c): Likewise.
17416 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17417 (CFLAGS-iconv_charmap.c): Likewise.
17418 (CFLAGS-dummy-repertoire.c): Likewise.
17419 (CFLAGS-charmap.c): Likewise.
17420 (CFLAGS-linereader.c): Likewise.
17421 (CFLAGS-simple-hash.c): Likewise.
17422 (CFLAGS-gconv_conf.c): Likewise.
17423 (CFLAGS-iconvconfig.c): Likewise.
17424 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17425 (CFLAGS-gethstbyad.c): Likewise.
17426 (CFLAGS-gethstbynm_r.c): Likewise.
17427 (CFLAGS-gethstbynm.c): Likewise.
17428 (CFLAGS-gethstbynm2_r.c): Likewise.
17429 (CFLAGS-gethstbynm2.c): Likewise.
17430 (CFLAGS-gethstent_r.c): Likewise.
17431 (CFLAGS-gethstent.c): Likewise.
17432 (CFLAGS-rcmd.c): Likewise.
17433 (CFLAGS-getnetbynm_r.c): Likewise.
17434 (CFLAGS-getnetbynm.c): Likewise.
17435 (CFLAGS-getnetbyad_r.c): Likewise.
17436 (CFLAGS-getnetbyad.c): Likewise.
17437 (CFLAGS-getnetent_r.c): Likewise.
17438 (CFLAGS-getnetent.c): Likewise.
17439 (CFLAGS-getaliasent_r.c): Likewise.
17440 (CFLAGS-getaliasent.c): Likewise.
17441 (CFLAGS-getrpcent_r.c): Likewise.
17442 (CFLAGS-getrpcent.c): Likewise.
17443 (CFLAGS-getservent_r.c): Likewise.
17444 (CFLAGS-getservent.c): Likewise.
17445 (CFLAGS-getprtent_r.c): Likewise.
17446 (CFLAGS-getprtent.c): Likewise.
17447 (CFLAGS-either_ntoh.c): Likewise.
17448 (CFLAGS-either_hton.c): Likewise.
17449 (CFLAGS-getnetgrent.c): Likewise.
17450 (CFLAGS-getnetgrent_r.c): Likewise.
17451 (CFLAGS-tst-checks-posix.c): Likewise.
17452 (CFLAGS-tst-sockaddr.c): Likewise.
17453 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17454 (CFLAGS-tst-translit.c): Likewise.
17455 (CFLAGS-tst-gettext2.c): Likewise.
17456 (CFLAGS-tst-codeset.c): Likewise.
17457 (CFLAGS-tst-gettext3.c): Likewise.
17458 (CFLAGS-tst-gettext4.c): Likewise.
17459 (CFLAGS-tst-gettext5.c): Likewise.
17460 (CFLAGS-tst-gettext6.c): Likewise.
17461 * io/Makefile (CFLAGS-open.c): Likewise.
17462 (CFLAGS-open64.c): Likewise.
17463 (CFLAGS-creat.c): Likewise.
17464 (CFLAGS-creat64.c): Likewise.
17465 (CFLAGS-fcntl.c): Likewise.
17466 (CFLAGS-poll.c): Likewise.
17467 (CFLAGS-ppoll.c): Likewise.
17468 (CFLAGS-lockf.c): Likewise.
17469 (CFLAGS-statfs.c): Likewise.
17470 (CFLAGS-fstatfs.c): Likewise.
17471 (CFLAGS-statvfs.c): Likewise.
17472 (CFLAGS-fstatvfs.c): Likewise.
17473 (CFLAGS-fts.c): Likewise.
17474 (CFLAGS-fts64.c): Likewise.
17475 (CFLAGS-ftw.c): Likewise.
17476 (CFLAGS-ftw64.c): Likewise.
17477 (CFLAGS-lockf.c): Likewise.
17478 (CFLAGS-posix_fallocate.c): Likewise.
17479 (CFLAGS-posix_fallocate64.c): Likewise.
17480 (CFLAGS-fallocate.c): Likewise.
17481 (CFLAGS-fallocate64.c): Likewise.
17482 (CFLAGS-read.c): Likewise.
17483 (CFLAGS-write.c): Likewise.
17484 (CFLAGS-test-stat.c): Likewise.
17485 (CFLAGS-test-lfs.c): Likewise.
17486 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17487 (CFLAGS-fputc.c): Likewise.
17488 (CFLAGS-fputwc.c): Likewise.
17489 (CFLAGS-freopen64.c): Likewise.
17490 (CFLAGS-freopen.c): Likewise.
17491 (CFLAGS-fseek.c): Likewise.
17492 (CFLAGS-fseeko64.c): Likewise.
17493 (CFLAGS-fseeko.c): Likewise.
17494 (CFLAGS-ftello64.c): Likewise.
17495 (CFLAGS-ftello.c): Likewise.
17496 (CFLAGS-fwide.c): Likewise.
17497 (CFLAGS-genops.c): Likewise.
17498 (CFLAGS-getc.c): Likewise.
17499 (CFLAGS-getchar.c): Likewise.
17500 (CFLAGS-getwc.c): Likewise.
17501 (CFLAGS-getwchar.c): Likewise.
17502 (CFLAGS-iofclose.c): Likewise.
17503 (CFLAGS-iofflush.c): Likewise.
17504 (CFLAGS-iofgetpos64.c): Likewise.
17505 (CFLAGS-iofgetpos.c): Likewise.
17506 (CFLAGS-iofgets.c): Likewise.
17507 (CFLAGS-iofgetws.c): Likewise.
17508 (CFLAGS-iofputs.c): Likewise.
17509 (CFLAGS-iofputws.c): Likewise.
17510 (CFLAGS-iofread.c): Likewise.
17511 (CFLAGS-iofsetpos64.c): Likewise.
17512 (CFLAGS-iofsetpos.c): Likewise.
17513 (CFLAGS-ioftell.c): Likewise.
17514 (CFLAGS-iofwrite.c): Likewise.
17515 (CFLAGS-iogetdelim.c): Likewise.
17516 (CFLAGS-iogetline.c): Likewise.
17517 (CFLAGS-iogets.c): Likewise.
17518 (CFLAGS-iogetwline.c): Likewise.
17519 (CFLAGS-ioputs.c): Likewise.
17520 (CFLAGS-ioseekoff.c): Likewise.
17521 (CFLAGS-ioseekpos.c): Likewise.
17522 (CFLAGS-iosetbuffer.c): Likewise.
17523 (CFLAGS-iosetvbuf.c): Likewise.
17524 (CFLAGS-ioungetc.c): Likewise.
17525 (CFLAGS-ioungetwc.c): Likewise.
17526 (CFLAGS-oldfileops.c): Likewise.
17527 (CFLAGS-oldiofclose.c): Likewise.
17528 (CFLAGS-oldiofgetpos64.c): Likewise.
17529 (CFLAGS-oldiofgetpos.c): Likewise.
17530 (CFLAGS-oldiofsetpos64.c): Likewise.
17531 (CFLAGS-oldiofsetpos.c): Likewise.
17532 (CFLAGS-peekc.c): Likewise.
17533 (CFLAGS-putc.c): Likewise.
17534 (CFLAGS-putchar.c): Likewise.
17535 (CFLAGS-putwc.c): Likewise.
17536 (CFLAGS-putwchar.c): Likewise.
17537 (CFLAGS-rewind.c): Likewise.
17538 (CFLAGS-wfileops.c): Likewise.
17539 (CFLAGS-wgenops.c): Likewise.
17540 (CFLAGS-oldiofopen.c): Likewise.
17541 (CFLAGS-iofopen.c): Likewise.
17542 (CFLAGS-iofopen64.c): Likewise.
17543 (CFLAGS-oldtmpfile.c): Likewise.
17544 (CFLAGS-tst_putwc.c): Likewise.
17545 * locale/Makefile (CFLAGS-md5.c): Likewise.
17546 (CFLAGS-charmap.c): Likewise.
17547 (CFLAGS-locfile.c): Likewise.
17548 (CFLAGS-charmap-dir.c): Likewise.
17549 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17550 (CFLAGS-getpt.c): Likewise.
17551 (CFLAGS-pt_chown.c): Likewise.
17552 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17553 (CFLAGS-obstack.c): Likewise.
17554 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17555 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17556 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17557 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17558 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17559 (CFLAGS-test-tgmath.c): Likewise.
17560 (CFLAGS-test-tgmath2.c): Likewise.
17561 (CFLAGS-test-tgmath-ret.c): Likewise.
17562 (CFLAGS-test-powl.c): Likewise.
17563 (CFLAGS-test-snan.c): Likewise.
17564 (CFLAGS-test-signgam-finite.c): Likewise.
17565 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17566 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17567 (CFLAGS-test-signgam-uchar.c): Likewise.
17568 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17569 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17570 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17571 (CFLAGS-test-signgam-uint.c): Likewise.
17572 (CFLAGS-test-signgam-uint-init.c): Likewise.
17573 (CFLAGS-test-signgam-uint-static.c): Likewise.
17574 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17575 (CFLAGS-test-signgam-ullong.c): Likewise.
17576 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17577 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17578 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17579 (CFLAGS-test-math-cxx11.cc): Likewise.
17580 (CFLAGS-test-math-isinff.cc): Likewise.
17581 (CFLAGS-test-math-iszero.cc): Likewise.
17582 (CFLAGS-test-math-issignaling.cc): Likewise.
17583 (CFLAGS-test-math-iscanonical.cc): Likewise.
17584 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17585 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17586 (CFLAGS-test-flt-eval-method.c): Likewise.
17587 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17588 (CFLAGS-test-finite-macros.c): Likewise.
17589 * misc/Makefile (CFLAGS-select.c): Likewise.
17590 (CFLAGS-tsearch.c): Likewise.
17591 (CFLAGS-lsearch.c): Likewise.
17592 (CFLAGS-pselect.c): Likewise.
17593 (CFLAGS-readv.c): Likewise.
17594 (CFLAGS-writev.c): Likewise.
17595 (CFLAGS-preadv.c): Likewise.
17596 (CFLAGS-preadv64.c): Likewise.
17597 (CFLAGS-pwritev.c): Likewise.
17598 (CFLAGS-pwritev64.c): Likewise.
17599 (CFLAGS-preadv2.c): Likewise.
17600 (CFLAGS-preadv64v2.c): Likewise.
17601 (CFLAGS-pwritev2.c): Likewise.
17602 (CFLAGS-pwritev64v2.c): Likewise.
17603 (CFLAGS-usleep.c): Likewise.
17604 (CFLAGS-syslog.c): Likewise.
17605 (CFLAGS-error.c): Likewise.
17606 (CFLAGS-getpass.c): Likewise.
17607 (CFLAGS-mkstemp.c): Likewise.
17608 (CFLAGS-mkstemp64.c): Likewise.
17609 (CFLAGS-getsysstats.c): Likewise.
17610 (CFLAGS-getusershell.c): Likewise.
17611 (CFLAGS-err.c): Likewise.
17612 (CFLAGS-tst-tsearch.c): Likewise.
17613 (CFLAGS-msync.c): Likewise.
17614 (CFLAGS-fdatasync.c): Likewise.
17615 (CFLAGS-fsync.c): Likewise.
17616 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17617 (CFLAGS-unwind.c): Likewise.
17618 (CFLAGS-unwind-forcedunwind.c): Likewise.
17619 (CFLAGS-pthread_cancel.c): Likewise.
17620 (CFLAGS-pthread_setcancelstate.c): Likewise.
17621 (CFLAGS-pthread_setcanceltype.c): Likewise.
17622 (CFLAGS-cancellation.c): Likewise.
17623 (CFLAGS-libc-cancellation.c): Likewise.
17624 (CFLAGS-pthread_exit.c): Likewise.
17625 (CFLAGS-forward.c): Likewise.
17626 (CFLAGS-pthread_testcancel.c): Likewise.
17627 (CFLAGS-pthread_join.c): Likewise.
17628 (CFLAGS-pthread_timedjoin.c): Likewise.
17629 (CFLAGS-pthread_once.c): Likewise.
17630 (CFLAGS-pthread_cond_wait.c): Likewise.
17631 (CFLAGS-sem_wait.c): Likewise.
17632 (CFLAGS-sem_timedwait.c): Likewise.
17633 (CFLAGS-fcntl.c): Likewise.
17634 (CFLAGS-lockf.c): Likewise.
17635 (CFLAGS-pread.c): Likewise.
17636 (CFLAGS-pread64.c): Likewise.
17637 (CFLAGS-pwrite.c): Likewise.
17638 (CFLAGS-pwrite64.c): Likewise.
17639 (CFLAGS-wait.c): Likewise.
17640 (CFLAGS-waitpid.c): Likewise.
17641 (CFLAGS-sigwait.c): Likewise.
17642 (CFLAGS-msgrcv.c): Likewise.
17643 (CFLAGS-msgsnd.c): Likewise.
17644 (CFLAGS-tcdrain.c): Likewise.
17645 (CFLAGS-open.c): Likewise.
17646 (CFLAGS-open64.c): Likewise.
17647 (CFLAGS-pause.c): Likewise.
17648 (CFLAGS-recv.c): Likewise.
17649 (CFLAGS-send.c): Likewise.
17650 (CFLAGS-accept.c): Likewise.
17651 (CFLAGS-sendto.c): Likewise.
17652 (CFLAGS-connect.c): Likewise.
17653 (CFLAGS-recvfrom.c): Likewise.
17654 (CFLAGS-recvmsg.c): Likewise.
17655 (CFLAGS-sendmsg.c): Likewise.
17656 (CFLAGS-close.c): Likewise.
17657 (CFLAGS-read.c): Likewise.
17658 (CFLAGS-write.c): Likewise.
17659 (CFLAGS-nanosleep.c): Likewise.
17660 (CFLAGS-sigsuspend.c): Likewise.
17661 (CFLAGS-msync.c): Likewise.
17662 (CFLAGS-fdatasync.c): Likewise.
17663 (CFLAGS-fsync.c): Likewise.
17664 (CFLAGS-pt-system.c): Likewise.
17665 (CFLAGS-tst-cleanup2.c): Likewise.
17666 (CFLAGS-tst-cleanupx2.c): Likewise.
17667 (CFLAGS-flockfile.c): Likewise.
17668 (CFLAGS-ftrylockfile.c): Likewise.
17669 (CFLAGS-funlockfile.c): Likewise.
17670 (CFLAGS-tst-initializers1.c): Likewise.
17671 (CFLAGS-tst-initializers1-c89.c): Likewise.
17672 (CFLAGS-tst-initializers1-c99.c): Likewise.
17673 (CFLAGS-tst-initializers1-c11.c): Likewise.
17674 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17675 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17676 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17677 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17678 (CFLAGS-nscd_getgr_r.c): Likewise.
17679 (CFLAGS-nscd_gethst_r.c): Likewise.
17680 (CFLAGS-nscd_getai.c): Likewise.
17681 (CFLAGS-nscd_initgroups.c): Likewise.
17682 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17683 (CFLAGS-pause.c): Likewise.
17684 (CFLAGS-pread.c): Likewise.
17685 (CFLAGS-pread64.c): Likewise.
17686 (CFLAGS-pwrite.c): Likewise.
17687 (CFLAGS-pwrite64.c): Likewise.
17688 (CFLAGS-sleep.c): Likewise.
17689 (CFLAGS-wait.c): Likewise.
17690 (CFLAGS-waitid.c): Likewise.
17691 (CFLAGS-waitpid.c): Likewise.
17692 (CFLAGS-getopt.c): Likewise.
17693 (CFLAGS-wordexp.c): Likewise.
17694 (CFLAGS-sysconf.c): Likewise.
17695 (CFLAGS-pathconf.c): Likewise.
17696 (CFLAGS-fpathconf.c): Likewise.
17697 (CFLAGS-spawn.c): Likewise.
17698 (CFLAGS-spawnp.c): Likewise.
17699 (CFLAGS-spawni.c): Likewise.
17700 (CFLAGS-glob.c): Likewise.
17701 (CFLAGS-glob64.c): Likewise.
17702 (CFLAGS-getconf.c): Likewise.
17703 (CFLAGS-nanosleep.c): Likewise.
17704 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17705 (CFLAGS-getpwent.c): Likewise.
17706 (CFLAGS-getpw.c): Likewise.
17707 (CFLAGS-fgetpwent_r.c): Likewise.
17708 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17709 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17710 (CFLAGS-mq_timedreceive.c): Likewise.
17711 (CFLAGS-mq_timedsend.c): Likewise.
17712 (CFLAGS-clock_nanosleep.c): Likewise.
17713 (CFLAGS-librt-cancellation.c): Likewise.
17714 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17715 (CFLAGS-getspent.c): Likewise.
17716 (CFLAGS-fgetspent.c): Likewise.
17717 (CFLAGS-fgetspent_r.c): Likewise.
17718 (CFLAGS-putspent.c): Likewise.
17719 (CFLAGS-getspnam.c): Likewise.
17720 (CFLAGS-getspnam_r.c): Likewise.
17721 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17722 (CFLAGS-sigsuspend.c): Likewise.
17723 (CFLAGS-sigtimedwait.c): Likewise.
17724 (CFLAGS-sigwait.c): Likewise.
17725 (CFLAGS-sigwaitinfo.c): Likewise.
17726 (CFLAGS-sigreturn.c): Likewise.
17727 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17728 (CFLAGS-vfwprintf.c): Likewise.
17729 (CFLAGS-tmpfile.c): Likewise.
17730 (CFLAGS-tmpfile64.c): Likewise.
17731 (CFLAGS-tempname.c): Likewise.
17732 (CFLAGS-psignal.c): Likewise.
17733 (CFLAGS-vprintf.c): Likewise.
17734 (CFLAGS-cuserid.c): Likewise.
17735 (CFLAGS-errlist.c): Likewise.
17736 (CFLAGS-siglist.c): Likewise.
17737 (CFLAGS-scanf15.c): Likewise.
17738 (CFLAGS-scanf17.c): Likewise.
17739 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17740 (CFLAGS-msort.c): Likewise.
17741 (CFLAGS-qsort.c): Likewise.
17742 (CFLAGS-system.c): Likewise.
17743 (CFLAGS-fmtmsg.c): Likewise.
17744 (CFLAGS-strfmon.c): Likewise.
17745 (CFLAGS-strfmon_l.c): Likewise.
17746 (CFLAGS-strfromd.c): Likewise.
17747 (CFLAGS-strfromf.c): Likewise.
17748 (CFLAGS-strfroml.c): Likewise.
17749 (CFLAGS-tst-bsearch.c): Likewise.
17750 (CFLAGS-tst-qsort.c): Likewise.
17751 (CFLAGS-tst-makecontext2.c): Likewise.
17752 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17753 (CFLAGS-xnlm_prot.c): Likewise.
17754 (CFLAGS-xrstat.c): Likewise.
17755 (CFLAGS-xyppasswd.c): Likewise.
17756 (CFLAGS-xklm_prot.c): Likewise.
17757 (CFLAGS-xrex.c): Likewise.
17758 (CFLAGS-xsm_inter.c): Likewise.
17759 (CFLAGS-xmount.c): Likewise.
17760 (CFLAGS-xrusers.c): Likewise.
17761 (CFLAGS-xspray.c): Likewise.
17762 (CFLAGS-xnfs_prot.c): Likewise.
17763 (CFLAGS-xrquota.c): Likewise.
17764 (CFLAGS-xkey_prot.c): Likewise.
17765 (CFLAGS-auth_unix.c): Likewise.
17766 (CFLAGS-key_call.c): Likewise.
17767 (CFLAGS-pmap_rmt.c): Likewise.
17768 (CFLAGS-clnt_perr.c): Likewise.
17769 (CFLAGS-openchild.c): Likewise.
17770 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17771 (CFLAGS-msgsnd.c): Likewise.
17772 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17773 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17774 (CFLAGS-tzset.c): Likewise.
17775 (CFLAGS-getdate.c): Likewise.
17776 (CFLAGS-test_time.c): Likewise.
17777 (CPPFLAGS-tst-tzname.c): Likewise.
17778 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17779 (CFLAGS-zic.c): Likewise.
17780 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17781 (CFLAGS-wcswidth.c): Likewise.
17782 (CFLAGS-wcstol.c): Likewise.
17783 (CFLAGS-wcstoul.c): Likewise.
17784 (CFLAGS-wcstoll.c): Likewise.
17785 (CFLAGS-wcstoull.c): Likewise.
17786 (CFLAGS-wcstod.c): Likewise.
17787 (CFLAGS-wcstold.c): Likewise.
17788 (CFLAGS-wcstof128.c): Likewise.
17789 (CFLAGS-wcstof.c): Likewise.
17790 (CFLAGS-wcstol_l.c): Likewise.
17791 (CFLAGS-wcstoul_l.c): Likewise.
17792 (CFLAGS-wcstoll_l.c): Likewise.
17793 (CFLAGS-wcstoull_l.c): Likewise.
17794 (CFLAGS-wcstod_l.c): Likewise.
17795 (CFLAGS-wcstold_l.c): Likewise.
17796 (CFLAGS-wcstof128_l.c): Likewise.
17797 (CFLAGS-wcstof_l.c): Likewise.
17798 (CPPFLAGS-tst-wchar-h.c): Likewise.
17799 (CPPFLAGS-wcstold_l.c): Likewise.
17801 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17803 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17805 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17806 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17808 * manual/tunables.texi (Hardware Capability Tunables): Document
17809 glibc.tune.cached_memopt.
17810 * sysdeps/powerpc/cpu-features.c: New file.
17811 * sysdeps/powerpc/cpu-features.h: New file.
17812 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17813 _dl_powerpc_cpu_features.
17814 * sysdeps/powerpc/dl-tunables.list: New file.
17815 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17817 (INIT_ARCH): Initialize use_aligned_memopt.
17818 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17819 IS_IN(rtld))]: Restrict dl_platform_init availability and
17820 initialize CPU features used by tunables.
17821 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17822 Add memcpy-power8-cached.
17823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17824 __memcpy_power8_cached.
17825 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17829 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17831 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17832 (CFLAGS-noinl-tester.c): Likewise.
17833 (CFLAGS-tst-strlen.c): Likewise.
17834 (CFLAGS-stratcliff.c): Likewise.
17835 (CFLAGS-test-ffs.c): Likewise.
17836 (CFLAGS-tst-inlcall.c): Likewise.
17837 (CFLAGS-tst-xbzero-opt.c): Likewise.
17838 (CFLAGS-memcpy.c): Likewise.
17839 (CFLAGS-wordcopy.c): Likewise.
17841 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17843 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17844 Store r15 on stack and add cfi rule.
17845 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17848 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
17851 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17854 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17856 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17857 Add s_sinf-sse2 and s_sinf-fma.
17858 (CFLAGS-s_sinf-fma.c): New.
17859 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17860 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17861 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17863 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17865 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17867 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17870 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17871 part of result to imaginary part of argument if it is zero and the
17872 real part of the argument is not finite.
17873 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17874 of result to real part of argument if it is zero and the imaginary
17875 part of the argument is not finite.
17877 2017-12-07 Mike FABIAN <mfabian@redhat.com>
17880 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17881 and to the list of locales to be built for testing.
17882 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17883 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17884 and build the collation rules upon that.
17886 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17888 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17889 * manual/math.texi (Mathematics): Document support for _Float32.
17890 * math/Makefile (test-types): Add float32.
17891 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17892 * stdlib/Versions (GLIBC_2.27): Likewise.
17893 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17894 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17895 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17916 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17938 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17956 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17962 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17963 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17965 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17967 * stdlib/strtof.c: Include <bits/floatn.h>
17968 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17969 and later undefine as macro. Define as weak alias if
17971 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17972 and later undefine as macro. Define as weak alias if
17974 * stdlib/strtof_l.c: Include <bits/floatn.h>
17975 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17976 and later undefine as macro. Define as weak alias if
17978 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17979 and later undefine as macro. Define as weak alias if
17982 * stdlib/strfromf.c: Include <bits/floatn.h>.
17983 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17984 and later undefine as macro and define as weak alias.
17986 * math/test-float32.h: New file.
17988 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17989 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17990 (libm_alias_float_other_r): Create f32 alias.
17991 (libm_alias_float_r): Use semicolon before call to
17992 libm_alias_float_other_r.
17994 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17995 second argument to libm_alias_float_other.
17996 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17997 second argument to libm_alias_float_other.
17998 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17999 argument to libm_alias_float_other.
18002 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18003 real part of result for argument 0 + i * NaN.
18004 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18005 results for tests of 0 + i * NaN.
18007 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18009 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18011 2017-12-06 David S. Miller <davem@davemloft.net>
18013 * sysdeps/sparc/fpu/libm-test-ulps: Update
18014 exp_{downward,towardzero,upward} ulps.
18016 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18018 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18021 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18023 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18030 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18033 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18034 and to the list of locales to be built for testing.
18035 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18036 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18037 and build the collation rules upon that.
18039 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18041 * NEWS: Add sinf to list of optimized functions.
18043 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18045 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18046 (__HAVE_FLOAT32X): Likewise.
18047 * manual/math.texi (Mathematics): Document support for _Float64
18049 * math/Makefile (test-types): Add float64 and float32x.
18050 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18052 * stdlib/Versions (GLIBC_2.27): Likewise.
18053 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18054 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18055 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18076 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18097 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18115 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18121 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18122 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18124 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18126 * bits/floatn-common.h: Include <bits/long-double.h>.
18127 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18128 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18129 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18130 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18131 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18132 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18133 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18134 (__builtin_huge_valf64): Use __builtin_huge_vall.
18135 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18136 (__builtin_inff64): Use __builtin_infl.
18137 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18138 (__builtin_nanf64): Use __builtin_nanl.
18139 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18140 (__builtin_nansf64): Use __builtin_nansl.
18142 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18143 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18144 Carlos O'Donnell <carlos@redhat.com>
18146 * elf/dl-tunables.list: Add elision parameters.
18147 * manual/tunables.texi: Add entries about elision tunable.
18148 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18149 Add callback functions to dynamically enable/disable elision.
18150 Add multiple callbacks functions to set elision parameters.
18151 Deleted __libc_enable_secure check.
18152 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18153 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18154 * configure: Regenerated.
18155 * configure.ac: Option enable_lock_elision was deleted.
18156 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18157 * config.make.in: Remove references to enable_lock_elision.
18158 * manual/install.texi: Elision configure option was removed.
18159 * INSTALL: Regenerated to remove enable_lock_elision.
18161 Disable elision so it can verify error case for destroying a mutex.
18162 * sysdeps/powerpc/nptl/elide.h:
18163 Cleanup ENABLE_LOCK_ELISION check.
18164 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18165 * sysdeps/s390/configure: Regenerated.
18166 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18167 * nptl/tst-mutex8.c:
18168 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18169 * sysdeps/powerpc/powerpc32/sysdep.h:
18170 Deleted all ENABLE_LOCK_ELISION checks.
18171 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18172 * sysdeps/powerpc/sysdep.h: Likewise.
18173 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18174 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18175 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18176 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18177 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18178 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18179 enable-lock-elision.
18181 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18183 * stdlib/strtod.c: Include <bits/floatn.h>.
18184 (BUILD_DOUBLE): New macro.
18185 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18186 (strtof64): Define and later undefine as macro. Define as weak
18187 alias if [!USE_WIDE_CHAR].
18188 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18189 (wcstof64): Define and later undefine as macro. Define as weak
18190 alias if [USE_WIDE_CHAR].
18191 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18192 (strtof32x): Define and later undefine as macro. Define as weak
18193 alias if [!USE_WIDE_CHAR].
18194 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18195 (wcstof32x): Define and later undefine as macro. Define as weak
18196 alias if [USE_WIDE_CHAR].
18197 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18198 (BUILD_DOUBLE): New macro.
18199 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18200 (strtof64_l): Define and later undefine as macro. Define as weak
18201 alias if [!USE_WIDE_CHAR].
18202 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18203 (wcstof64_l): Define and later undefine as macro. Define as weak
18204 alias if [USE_WIDE_CHAR].
18205 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18206 (strtof32x_l): Define and later undefine as macro. Define as weak
18207 alias if [!USE_WIDE_CHAR].
18208 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18209 (wcstof32x_l): Define and later undefine as macro. Define as weak
18210 alias if [USE_WIDE_CHAR].
18212 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18214 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18215 (reduced): Use ones as double instead of integer.
18217 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18219 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18221 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18223 * stdlib/strfromd.c: Include <bits/floatn.h>.
18224 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18225 and later undefine as macro and define as weak alias.
18226 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18229 * math/test-float32x.h: New file.
18230 * math/test-float64.h: Likewise.
18232 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18233 (libm_alias_double_other_r_f64): New macro.
18234 (libm_alias_double_other_r_f32x): Likewise.
18235 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18236 libm_alias_double_other_r_f32x.
18237 (libm_alias_double_r): Use semicolon before call to
18238 libm_alias_double_other_r.
18239 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18241 (libm_alias_double_other_r_f64): New macro.
18242 (libm_alias_double_other_r_f32x): Likewise.
18243 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18244 libm_alias_double_other_r_f32x.
18246 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18248 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18250 (SINF_FUNC): Likewise. Replace floor with simple casts.
18252 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18255 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18256 and to the list of locales to be built for testing.
18257 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18258 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18259 and build the collation rules upon that.
18261 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18263 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18264 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18265 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18266 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18267 instead of __insn__xxx.
18268 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18269 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18270 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18271 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18272 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18273 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18275 2017-12-05 Florian Weimer <fweimer@redhat.com>
18277 Linux: Implement interfaces for memory protection keys
18278 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18280 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18281 * support/xunistd.h (xsysconf): Declare.
18282 * support/xraise.c: New file.
18283 * support/xsigaction.c: Likewise.
18284 * support/xsignal.c: Likewise.
18285 * support/xsysconf.c: Likewise.
18286 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18287 pkey_set, pkey_get, pkey_mprotect.
18288 [misc] (tests): Add tst-pkey.
18289 (tst-pkey): Link with -lpthread.
18290 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18291 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18292 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18293 (PKEY_DISABLE_WRITE): Define.
18294 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18296 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18297 (SEGV_PKUERR): Add.
18298 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18299 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18300 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18301 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18303 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18304 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18305 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18306 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18307 * sysdeps/unix/sysv/linux/**.abilist: Update.
18309 2017-12-05 Florian Weimer <fweimer@redhat.com>
18311 * support/tst-test_compare.c (subprocess): Use long long instead
18312 of long argument for consistent type width across 32-bit and
18313 64-bit architectures.
18314 (do_test): Adjust expected output.
18316 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18318 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18319 (cosf): Define using libm_alias_float.
18320 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18321 (fabsf): Define using libm_alias_float.
18322 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18323 (fmaf): Define using libm_alias_float.
18324 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18325 (rintf): Define using libm_alias_float.
18326 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18327 (sinf): Define using libm_alias_float.
18328 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18329 <libm-alias-float.h>.
18330 (modff): Define using libm_alias_float.
18331 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18332 <libm-alias-float.h>.
18333 (logbf): Define using libm_alias_float.
18334 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18335 <libm-alias-float.h>.
18336 (ceilf): Define using libm_alias_float.
18337 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18338 <libm-alias-float.h>.
18339 (copysignf): Define using libm_alias_float.
18340 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18341 <libm-alias-float.h>.
18342 (floorf): Define using libm_alias_float.
18343 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18344 <libm-alias-float.h>.
18345 (llrintf): Define using libm_alias_float.
18346 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18347 <libm-alias-float.h>.
18348 (llroundf): Define using libm_alias_float.
18349 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18350 <libm-alias-float.h>.
18351 (lrintf): Define using libm_alias_float.
18352 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18353 <libm-alias-float.h>.
18354 (lroundf): Define using libm_alias_float.
18355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18356 <libm-alias-float.h>.
18357 (nearbyintf): Define using libm_alias_float.
18358 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18359 <libm-alias-float.h>.
18360 (rintf): Define using libm_alias_float.
18361 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18362 <libm-alias-float.h>.
18363 (roundf): Define using libm_alias_float.
18364 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18365 <libm-alias-float.h>.
18366 (truncf): Define using libm_alias_float.
18367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18368 Include <libm-alias-float.h>.
18369 (ceilf): Define using libm_alias_float.
18370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18371 Include <libm-alias-float.h>.
18372 (copysignf): Define using libm_alias_float.
18373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18374 Include <libm-alias-float.h>.
18375 (floorf): Define using libm_alias_float.
18376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18377 Include <libm-alias-float.h>.
18378 (llrintf): Define using libm_alias_float.
18379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18380 Include <libm-alias-float.h>.
18381 (llroundf): Define using libm_alias_float.
18382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18383 Include <libm-alias-float.h>.
18384 (logbf): Define using libm_alias_float.
18385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18386 Include <libm-alias-float.h>.
18387 (lrintf): Define using libm_alias_float.
18388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18389 Include <libm-alias-float.h>.
18390 (lroundf): Define using libm_alias_float.
18391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18392 Include <libm-alias-float.h>.
18393 (modff): Define using libm_alias_float.
18394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18395 Include <libm-alias-float.h>.
18396 (roundf): Define using libm_alias_float.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18398 Include <libm-alias-float.h>.
18399 (truncf): Define using libm_alias_float.
18400 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18401 <libm-alias-float.h>.
18402 (llrintf): Define using libm_alias_float.
18403 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18404 <libm-alias-float.h>.
18405 (llroundf): Define using libm_alias_float.
18406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18407 <libm-alias-float.h>.
18408 (ceilf): Define using libm_alias_float.
18409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18410 <libm-alias-float.h>.
18411 (floorf): Define using libm_alias_float.
18412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18413 <libm-alias-float.h>.
18414 (llroundf): Define using libm_alias_float.
18415 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18416 <libm-alias-float.h>.
18417 (lroundf): Define using libm_alias_float.
18418 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18419 <libm-alias-float.h>.
18420 (roundf): Define using libm_alias_float.
18421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18422 <libm-alias-float.h>.
18423 (truncf): Define using libm_alias_float.
18424 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18425 <libm-alias-float.h>.
18426 (copysignf): Define using libm_alias_float.
18427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18428 <libm-alias-float.h>.
18429 (llrintf): Define using libm_alias_float.
18430 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18431 <libm-alias-float.h>.
18432 (llroundf): Define using libm_alias_float.
18433 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18434 <libm-alias-float.h>.
18435 (lrintf): Define using libm_alias_float.
18436 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18437 <libm-alias-float.h>.
18438 (lroundf): Define using libm_alias_float.
18439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18440 <libm-alias-float.h>.
18441 (ceilf): Define using libm_alias_float.
18442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18443 <libm-alias-float.h>.
18444 (copysignf): Define using libm_alias_float.
18445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18446 <libm-alias-float.h>.
18447 (cosf): Define using libm_alias_float.
18448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18449 <libm-alias-float.h>.
18450 (floorf): Define using libm_alias_float.
18451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18452 <libm-alias-float.h>.
18453 (llrintf): Define using libm_alias_float.
18454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18455 <libm-alias-float.h>.
18456 (llroundf): Define using libm_alias_float.
18457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18458 <libm-alias-float.h>.
18459 (logbf): Define using libm_alias_float.
18460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18461 <libm-alias-float.h>.
18462 (modff): Define using libm_alias_float.
18463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18464 <libm-alias-float.h>.
18465 (roundf): Define using libm_alias_float.
18466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18467 <libm-alias-float.h>.
18468 (sinf): Define using libm_alias_float.
18469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18470 <libm-alias-float.h>.
18471 (truncf): Define using libm_alias_float.
18472 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18473 <libm-alias-float.h>.
18474 (ceilf): Define using libm_alias_float.
18475 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18476 <libm-alias-float.h>.
18477 (copysignf): Define using libm_alias_float.
18478 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18479 <libm-alias-float.h>.
18480 (floorf): Define using libm_alias_float.
18481 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18482 <libm-alias-float.h>.
18483 (llrintf): Define using libm_alias_float.
18484 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18485 <libm-alias-float.h>.
18486 (llroundf): Define using libm_alias_float.
18487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18488 <libm-alias-float.h>.
18489 (nearbyintf): Define using libm_alias_float.
18490 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18491 <libm-alias-float.h>.
18492 (rintf): Define using libm_alias_float.
18493 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18494 <libm-alias-float.h>.
18495 (roundf): Define using libm_alias_float.
18496 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18497 <libm-alias-float.h>.
18498 (truncf): Define using libm_alias_float.
18499 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18500 <libm-alias-float.h>.
18501 (ceilf): Define using libm_alias_float.
18502 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18503 <libm-alias-float.h>.
18504 (floorf): Define using libm_alias_float.
18505 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18506 <libm-alias-float.h>.
18507 (llroundf): Define using libm_alias_float.
18508 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18509 <libm-alias-float.h>.
18510 (roundf): Define using libm_alias_float.
18511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18512 <libm-alias-float.h>.
18513 (truncf): Define using libm_alias_float.
18514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18515 <libm-alias-float.h>.
18516 (copysignf): Define using libm_alias_float.
18517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18518 <libm-alias-float.h>.
18519 (llrintf): Define using libm_alias_float.
18520 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18521 <libm-alias-float.h>.
18522 (llroundf): Define using libm_alias_float.
18523 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18524 <libm-alias-float.h>.
18525 (cosf): Define using libm_alias_float.
18526 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18527 <libm-alias-float.h>.
18528 (llrintf): Define using libm_alias_float.
18529 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18530 <libm-alias-float.h>.
18531 (llroundf): Define using libm_alias_float.
18532 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18533 <libm-alias-float.h>.
18534 (sinf): Define using libm_alias_float.
18536 2017-12-04 Florian Weimer <fweimer@redhat.com>
18538 * support/check.h (TEST_COMPARE): Define.
18539 (support_test_compare_failure): Declare.
18540 * support/Makefile (libsupport-routines): Add
18541 support_test_compare_failure.
18542 (tests): Add tst-test_compare.
18543 * support /support_test_compare_failure.c: New file.
18544 * support/tst-test_compare.c: Likewise.
18546 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18549 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18550 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18551 available, this rewrite of the collation rules does reproduce
18552 the test file in the same order.
18554 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18557 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18558 digraphs in the month and day names. Using single code points for
18559 digraphs is deprecated. While there are dedicated Unicode
18560 codepoints, for the digraphs, these are included for backwards
18561 compatibility and modern texts use a sequence of Basic Latin
18562 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18563 This makes the month and day names agree exactly with CLDR now,
18564 CLDR does not use the single code points for the digraphs either.
18566 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18568 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18570 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18572 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18575 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18577 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18578 Define only for libc.so.
18580 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18583 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18584 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18585 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18588 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18591 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18593 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18596 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18597 PREINIT_FUNCTION_WEAK is nonzero.
18598 (gmon_initializer): New function. Put procedure label for it in
18599 .init_array section.
18600 (_init): Don't call PREINIT_FUNCTION.
18601 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18602 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18603 value when map argument is null.
18605 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18606 depi instruction from PIC pc-relative sequence.
18607 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18608 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18609 (elf_machine_load_address): Likewise.
18610 (elf_machine_runtime_setup): Likewise.
18612 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18614 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18615 <libm-alias-double.h>.
18616 (logb): Define using libm_alias_double.
18617 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18618 <libm-alias-double.h>.
18619 (copysign): Define using libm_alias_double.
18620 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18621 <libm-alias-double.h>.
18622 (llrint): Define using libm_alias_double.
18623 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18624 <libm-alias-double.h>.
18625 (llround): Define using libm_alias_double.
18626 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18627 <libm-alias-double.h>.
18628 (lrint): Define using libm_alias_double.
18629 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18630 <libm-alias-double.h>.
18631 (lround): Define using libm_alias_double.
18632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18633 Include <libm-alias-double.h>.
18634 (copysign): Define using libm_alias_double.
18635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18636 Include <libm-alias-double.h>.
18637 (llrint): Define using libm_alias_double.
18638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18639 Include <libm-alias-double.h>.
18640 (llround): Define using libm_alias_double.
18641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18642 <libm-alias-double.h>.
18643 (logb): Define using libm_alias_double.
18644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18645 Include <libm-alias-double.h>.
18646 (lrint): Define using libm_alias_double.
18647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18648 Include <libm-alias-double.h>.
18649 (lround): Define using libm_alias_double.
18650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18651 <libm-alias-double.h>.
18652 (llrint): Define using libm_alias_double.
18653 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18654 <libm-alias-double.h>.
18655 (llround): Define using libm_alias_double.
18656 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18657 <libm-alias-double.h>.
18658 (llround): Define using libm_alias_double.
18659 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18660 <libm-alias-double.h>.
18661 (lround): Define using libm_alias_double.
18662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18663 <libm-alias-double.h>.
18664 (copysign): Define using libm_alias_double.
18665 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18666 <libm-alias-double.h>.
18667 (llrint): Define using libm_alias_double.
18668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18669 <libm-alias-double.h>.
18670 (llround): Define using libm_alias_double.
18671 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18672 <libm-alias-double.h>.
18673 (lrint): Define using libm_alias_double.
18674 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18675 <libm-alias-double.h>.
18676 (lround): Define using libm_alias_double.
18677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18678 <libm-alias-double.h>.
18679 (copysign): Define using libm_alias_double.
18680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18681 <libm-alias-double.h>.
18682 (llrint): Define using libm_alias_double.
18684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18685 <libm-alias-double.h>.
18686 (llround): Define using libm_alias_double.
18687 (lround): Likewise.
18688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18689 <libm-alias-double.h>.
18690 (logb): Define using libm_alias_double.
18691 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18692 <libm-alias-double.h>.
18693 (copysign): Define using libm_alias_double.
18694 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18695 <libm-alias-double.h>.
18696 (llrint): Define using libm_alias_double.
18698 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18699 <libm-alias-double.h>.
18700 (llround): Define using libm_alias_double.
18701 (lround): Likewise.
18702 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18703 <libm-alias-double.h>.
18704 (llround): Define using libm_alias_double.
18705 (lround): Likewise.
18706 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18707 <libm-alias-double.h>.
18708 (copysign): Define using libm_alias_double.
18709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18710 <libm-alias-double.h>.
18711 (llrint): Define using libm_alias_double.
18713 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18714 <libm-alias-double.h>.
18715 (llround): Define using libm_alias_double.
18716 (lround): Likewise.
18717 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18718 <libm-alias-double.h>.
18719 (llrint): Define using libm_alias_double.
18721 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18722 <libm-alias-double.h>.
18723 (llround): Define using libm_alias_double.
18724 (lround): Likewise.
18726 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18729 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18730 compat symbol based on llround.
18732 * sysdeps/powerpc/power7/fpu/s_logb.c
18733 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18734 symbol based on __logb, not on logb.
18735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18736 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18738 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18740 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18741 (rint): Define using libm_alias_double.
18742 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18743 <libm-alias-double.h>.
18744 (modf): Define using libm_alias_double.
18745 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18746 <libm-alias-double.h>.
18747 (ceil): Define using libm_alias_double.
18748 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18749 <libm-alias-double.h>.
18750 (floor): Define using libm_alias_double.
18751 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18752 <libm-alias-double.h>.
18753 (nearbyint): Define using libm_alias_double.
18754 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18755 <libm-alias-double.h>.
18756 (rint): Define using libm_alias_double.
18757 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18758 <libm-alias-double.h>.
18759 (round): Define using libm_alias_double.
18760 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18761 <libm-alias-double.h>.
18762 (trunc): Define using libm_alias_double.
18763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18764 <libm-alias-double.h>.
18765 (ceil): Define using libm_alias_double.
18766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18767 Include <libm-alias-double.h>.
18768 (floor): Define using libm_alias_double.
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18770 <libm-alias-double.h>.
18771 (modf): Define using libm_alias_double.
18772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18773 Include <libm-alias-double.h>.
18774 (round): Define using libm_alias_double.
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18776 Include <libm-alias-double.h>.
18777 (trunc): Define using libm_alias_double.
18778 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18779 <libm-alias-double.h>.
18780 (ceil): Define using libm_alias_double.
18781 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18782 <libm-alias-double.h>.
18783 (floor): Define using libm_alias_double.
18784 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18785 <libm-alias-double.h>.
18786 (round): Define using libm_alias_double.
18787 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18788 <libm-alias-double.h>.
18789 (trunc): Define using libm_alias_double.
18790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18791 <libm-alias-double.h>.
18792 (ceil): Define using libm_alias_double.
18793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18794 <libm-alias-double.h>.
18795 (floor): Define using libm_alias_double.
18796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18797 <libm-alias-double.h>.
18798 (modf): Define using libm_alias_double.
18799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18800 <libm-alias-double.h>.
18801 (round): Define using libm_alias_double.
18802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18803 <libm-alias-double.h>.
18804 (trunc): Define using libm_alias_double.
18805 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18806 <libm-alias-double.h>.
18807 (ceil): Define using libm_alias_double.
18808 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18809 <libm-alias-double.h>.
18810 (floor): Define using libm_alias_double.
18811 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18812 <libm-alias-double.h>.
18813 (nearbyint): Define using libm_alias_double.
18814 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18815 <libm-alias-double.h>.
18816 (rint): Define using libm_alias_double.
18817 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18818 <libm-alias-double.h>.
18819 (round): Define using libm_alias_double.
18820 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18821 <libm-alias-double.h>.
18822 (trunc): Define using libm_alias_double.
18823 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18824 <libm-alias-double.h>.
18825 (ceil): Define using libm_alias_double.
18826 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18827 <libm-alias-double.h>.
18828 (floor): Define using libm_alias_double.
18829 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18830 <libm-alias-double.h>.
18831 (round): Define using libm_alias_double.
18832 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18833 <libm-alias-double.h>.
18834 (trunc): Define using libm_alias_double.
18836 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18837 (fabs): Define using libm_alias_double.
18838 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18839 (fma): Define using libm_alias_double.
18840 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18841 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18842 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18843 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18845 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18847 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18849 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18850 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18851 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18854 due redirect macro.
18856 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18858 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18860 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18862 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18863 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18864 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18865 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18868 (libm-sysdep_routines): Add s_nearbyintf-generic and
18869 s_nearbyint-generic.
18870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18883 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18894 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18905 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18916 (sysdep_calls): New rule.
18917 (sysdep_routines): Use sysdep_calls as base.
18918 (libm-sysdep_routines): Add generic rule for symbols shared with
18919 libc. Add s_copysign-generic and s_copysign-generic objects.
18920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18929 2017-12-01 Mike FABIAN <mfabian@redhat.com>
18932 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18933 the list of locales to be built for testing.
18934 * localedata/is_IS.UTF-8.in: New file.
18935 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18938 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18940 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18941 <libm-alias-float.h>.
18942 (fabsf): Define using libm_alias_float.
18944 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18946 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18948 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18950 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18951 <libm-alias-float.h>.
18952 (fabsf): Define using libm_alias_float.
18953 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18954 <libm-alias-float.h>.
18955 (lrintf): Define using libm_alias_float.
18956 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18957 <libm-alias-float.h>.
18958 (rintf): Define using libm_alias_float.
18960 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18961 <libm-alias-double.h>.
18962 (fabs): Define using libm_alias_double.
18963 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18964 <libm-alias-double.h>.
18965 (lrint): Define using libm_alias_double.
18966 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18967 <libm-alias-double.h>.
18968 (rint): Define using libm_alias_double.
18970 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18971 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18972 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18973 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18974 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18975 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18976 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18977 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18978 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18979 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18980 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18981 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18982 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18983 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18984 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18985 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18986 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18987 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18989 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18990 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18991 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18993 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18994 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18995 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18997 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18998 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18999 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19000 s_expm1_template.c.
19001 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19002 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19003 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19005 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19006 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19007 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19008 s_floor_template.c.
19009 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19010 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19011 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19012 s_frexp_template.c.
19013 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19014 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19015 s_lrint_template.c.
19016 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19017 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19018 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19020 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19021 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19022 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19023 s_nearbyint_template.c.
19024 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19025 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19026 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19027 s_remquo_template.c.
19028 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19029 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19030 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19032 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19033 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19034 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19036 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19037 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19038 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19039 s_sincos_template.c.
19040 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19041 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19042 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19044 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19045 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19046 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19048 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19049 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19050 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19051 s_trunc_template.c.
19052 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19053 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19054 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19055 s_atan.c instead of including s_atan.c.
19056 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19057 s_atanf.c instead of including s_atanf.c.
19058 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19059 s_atanl.c instead of including s_atanl.c.
19060 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19061 instead of s_atan.c.
19062 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19063 instead of s_atanf.c.
19064 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19065 instead of s_atanl.c.
19067 * scripts/update-copyrights: Do not handle intl/plural.c
19070 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19073 * configure.ac (BISON): Require to be present.
19074 * configure: Regenerated.
19075 * intl/Makefile (generated): Add plural.c.
19076 [$(BISON) != no]: Make code unconditional.
19077 (plural.c): Change rule to $(objpfx)plural.c.
19078 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19079 * intl/plural.c: Remove.
19080 * manual/install.texi (Tools for Compilation): Document bison as
19082 * INSTALL: Regenerated.
19084 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19086 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19087 <libm-alias-double.h>.
19088 (llrint): Define using libm_alias_double.
19089 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19090 <libm-alias-float.h>.
19091 (llrintf): Define using libm_alias_float.
19092 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19093 <libm-alias-ldouble.h>.
19094 (llrintl): Define using libm_alias_ldouble.
19096 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19097 declare_mgen_alias instead of weak_alias.
19098 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19099 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19100 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19102 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19104 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19106 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19107 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19108 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19110 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19111 Add submul_1-generic.
19112 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19113 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19114 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19116 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19117 Add addmul_1-generic.
19118 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19119 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19120 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19122 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19124 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19125 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19126 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19128 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19130 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19131 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19132 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19134 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19136 According to CLDR, collation rules for Serbian and Bosnian
19137 should be the same as for Croatian.
19140 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19141 and to the list of locales to be built for testing.
19142 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19143 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19144 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19145 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19147 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19149 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19150 to make test case pass.
19151 * localedata/hr_HR.UTF-8.in: Add more test strings.
19153 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19155 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19157 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19159 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19160 the list of locales to built for testing.
19161 * localedata/hr_HR.UTF-8.in: New file.
19163 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19166 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19168 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19169 CLDR (except use ligatures for the digraphs, CLDR does not use
19170 the ligatures), add first_workday, some fixes in the date and time
19172 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19174 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19175 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19176 Add int_p_cs_precedes and int_n_cs_precedes.
19177 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19178 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19180 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19181 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19183 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19184 and lang_lib. Change postal_fmt.
19186 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19188 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19190 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19191 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19192 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19193 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19194 * sysdeps/generic/setjmpP.h: New file.
19195 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19196 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19197 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19198 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19199 Add jmp_buf-ssp.sym.
19200 (tests): Add tst-saved_mask-1.
19202 2017-11-30 Arjun Shankar <arjun@redhat.com>
19206 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19207 instead of request2size.
19209 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19212 (__lllrint): Remove alias.
19213 (lllrint): Likewise.
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19215 (__lllrintf): Likewise.
19216 (lllrintf): Likewise.
19218 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19219 <libm-alias-float.h>.
19220 (copysignf): Define using libm_alias_float.
19221 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19222 <libm-alias-float.h>.
19223 (fabsf): Define using libm_alias_float.
19224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19225 Include <libm-alias-float.h>.
19226 (copysignf): Define using libm_alias_float.
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19228 <libm-alias-float.h>.
19229 (fabsf): Define using libm_alias_float.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19231 <libm-alias-float.h>.
19232 (fdimf): Define using libm_alias_float.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19234 <libm-alias-float.h>.
19235 (fmaf): Define using libm_alias_float.
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19237 <libm-alias-float.h>.
19238 (llrintf): Define using libm_alias_float.
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19240 Include <libm-alias-float.h>.
19241 (nearbyintf): Define using libm_alias_float.
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19243 <libm-alias-float.h>.
19244 (rintf): Define using libm_alias_float.
19245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19246 <libm-alias-float.h>.
19247 (llrintf): Define using libm_alias_float.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19249 <libm-alias-float.h>.
19250 (lrintf): Define using libm_alias_float.
19251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19252 <libm-alias-float.h>.
19253 (nearbyintf): Define using libm_alias_float.
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19255 <libm-alias-float.h>.
19256 (rintf): Define using libm_alias_float.
19257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19258 <libm-alias-float.h>.
19259 (ceilf): Define using libm_alias_float.
19260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19261 <libm-alias-float.h>.
19262 (floorf): Define using libm_alias_float.
19263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19264 <libm-alias-float.h>.
19265 (fmaf): Define using libm_alias_float.
19266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19267 <libm-alias-float.h>.
19268 (lrintf): Define using libm_alias_float.
19269 (llrintf): Likewise.
19270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19271 <libm-alias-float.h>.
19272 (nearbyintf): Define using libm_alias_float.
19273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19274 <libm-alias-float.h>.
19275 (rintf): Define using libm_alias_float.
19276 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19277 <libm-alias-float.h>.
19278 (truncf): Define using libm_alias_float.
19279 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19280 <libm-alias-float.h>.
19281 (copysignf): Define using libm_alias_float.
19282 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19283 <libm-alias-float.h>.
19284 (fabsf): Define using libm_alias_float.
19285 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19286 <libm-alias-float.h>.
19287 (lrintf): Define using libm_alias_float.
19288 (llrintf): Likewise.
19289 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19290 <libm-alias-float.h>.
19291 (nearbyintf): Define using libm_alias_float.
19292 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19293 <libm-alias-float.h>.
19294 (rintf): Define using libm_alias_float.
19296 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19298 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19299 <libm-alias-double.h>.
19300 (copysign): Define using libm_alias_double.
19301 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19302 <libm-alias-double.h>.
19303 (fabs): Define using libm_alias_double.
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19305 Include <libm-alias-double.h>.
19306 (copysign): Define using libm_alias_double.
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19308 <libm-alias-double.h>.
19309 (fabs): Define using libm_alias_double.
19310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19311 <libm-alias-double.h>.
19312 (fdim): Define using libm_alias_double.
19313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19314 <libm-alias-double.h>.
19315 (fma): Define using libm_alias_double.
19316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19317 <libm-alias-double.h>.
19318 (llrint): Define using libm_alias_double.
19319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19320 Include <libm-alias-double.h>.
19321 (nearbyint): Define using libm_alias_double.
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19323 <libm-alias-double.h>.
19324 (rint): Define using libm_alias_double.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19326 <libm-alias-double.h>.
19327 (fabs): Define using libm_alias_double.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19329 <libm-alias-double.h>.
19330 (llrint): Define using libm_alias_double.
19331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19332 <libm-alias-double.h>.
19333 (nearbyint): Define using libm_alias_double.
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19335 <libm-alias-double.h>.
19336 (rint): Define using libm_alias_double.
19337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19338 <libm-alias-double.h>.
19339 (ceil): Define using libm_alias_double.
19340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19341 <libm-alias-double.h>.
19342 (floor): Define using libm_alias_double.
19343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19344 <libm-alias-double.h>.
19345 (fma): Define using libm_alias_double.
19346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19347 <libm-alias-double.h>.
19348 (lrint): Define using libm_alias_double.
19349 (llrint): Likewise.
19350 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19351 <libm-alias-double.h>.
19352 (nearbyint): Define using libm_alias_double.
19353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19354 <libm-alias-double.h>.
19355 (rint): Define using libm_alias_double.
19356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19357 <libm-alias-double.h>.
19358 (trunc): Define using libm_alias_double.
19359 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19360 <libm-alias-double.h>.
19361 (copysign): Define using libm_alias_double.
19362 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19363 <libm-alias-double.h>.
19364 (fabs): Define using libm_alias_double.
19365 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19366 <libm-alias-double.h>.
19367 (lrint): Define using libm_alias_double.
19368 (llrint): Likewise.
19369 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19370 <libm-alias-double.h>.
19371 (nearbyint): Define using libm_alias_double.
19372 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19373 <libm-alias-double.h>.
19374 (rint): Define using libm_alias_double.
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19379 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19381 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19382 SPARC --disable-multi-arch glibc variants.
19384 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19385 <libm-alias-float.h>.
19386 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19388 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19389 <libm-alias-float.h>.
19390 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19392 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19393 <libm-alias-float.h>.
19394 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19396 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19397 <libm-alias-float.h>.
19398 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19400 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19401 <libm-alias-float.h>.
19402 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19404 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19405 <libm-alias-float.h>.
19406 (ceilf): Define using libm_alias_float.
19407 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19408 <libm-alias-float.h>.
19409 (floorf): Define using libm_alias_float.
19410 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19411 <libm-alias-float.h>.
19412 (fmaf): Define using libm_alias_float.
19413 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19414 <libm-alias-float.h>.
19415 (nearbyintf): Define using libm_alias_float.
19416 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19417 <libm-alias-float.h>.
19418 (rintf): Define using libm_alias_float.
19419 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19420 <libm-alias-float.h>.
19421 (truncf): Define using libm_alias_float.
19422 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19423 (copysignf): Define using libm_alias_float.
19424 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19425 (cosf): Define using libm_alias_float.
19426 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19427 (fabsf): Define using libm_alias_float.
19428 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19429 (fmaxf): Define using libm_alias_float.
19430 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19431 (fminf): Define using libm_alias_float.
19432 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19433 (llrintf): Define using libm_alias_float.
19434 [!__ILP32__] (lrintf): Likewise.
19435 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19436 (sincosf): Define using libm_alias_float.
19437 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19438 (sinf): Define using libm_alias_float.
19439 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19440 (lrintf): Define using libm_alias_float.
19442 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19443 <libm-alias-double.h>.
19444 (atan): Define using libm_alias_double.
19445 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19446 <libm-alias-double.h>.
19447 (ceil): Define using libm_alias_double.
19448 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19449 <libm-alias-double.h>.
19450 (floor): Define using libm_alias_double.
19451 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19452 <libm-alias-double.h>.
19453 (fma): Define using libm_alias_double.
19454 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19455 <libm-alias-double.h>.
19456 (nearbyint): Define using libm_alias_double.
19457 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19458 <libm-alias-double.h>.
19459 (rint): Define using libm_alias_double.
19460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19461 <libm-alias-double.h>.
19462 (sin): Define using libm_alias_double.
19464 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19465 <libm-alias-double.h>.
19466 (tan): Define using libm_alias_double.
19467 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19468 <libm-alias-double.h>.
19469 (trunc): Define using libm_alias_double.
19470 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19471 (copysign): Define using libm_alias_double.
19472 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19473 (fabs): Define using libm_alias_double.
19474 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19475 (fmax): Define using libm_alias_double.
19476 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19477 (fmin): Define using libm_alias_double.
19478 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19479 (llrint): Define using libm_alias_double.
19480 [!__ILP32__] (lrint): Likewise.
19481 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19482 (lrint): Define using libm_alias_double.
19484 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19487 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19497 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19507 (libm-sysdep_routines): Add s_nearbyint-generic and
19508 s_nearbyintf-generic objects.
19509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19510 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19517 Add s_finitef-generic and s_finite-generic objects.
19518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19526 Add s_isinff-generic and s_isinf-generic objects.
19527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19535 Add s_isnanf-generic and s_isnan-generic objects.
19536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19543 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19547 (sysdep_routines): Use sysdep_calls as base.
19548 (libm-sysdep_routines): Add generic rule for symbols shared with
19549 libc. Add s_signbit-generic and s_signbitf-generic objects.
19550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19553 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19557 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19559 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19560 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19561 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19562 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19563 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19564 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19565 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19566 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19567 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19568 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19569 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19570 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19571 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19572 libm_alias_float_r.
19573 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19574 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19576 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19577 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19578 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19579 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19580 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19581 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19582 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19583 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19584 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19585 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19587 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19589 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19590 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19591 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19592 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19593 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19594 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19595 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19596 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19597 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19598 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19599 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19600 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19601 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19602 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19603 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19604 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19605 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19606 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19607 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19609 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19610 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19611 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19612 * sysdeps/ia64/fpu/w_lgammaf_main.c
19613 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19614 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19616 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19617 Alexandre Oliva <aoliva@redhat.com>
19620 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19621 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19623 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19625 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19626 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19627 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19628 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19629 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19630 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19631 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19632 instead of “ifdef DIACRIT_BACKWARD”.
19634 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19636 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19637 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19638 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19639 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19640 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19641 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19648 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19649 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19650 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19651 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19652 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19653 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19655 ($(have-as-vis3) == yes): Remove conditional.
19656 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19672 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19673 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19675 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19677 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19678 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19679 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19680 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19681 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19682 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19683 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19684 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19685 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19686 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19687 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19688 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19689 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19690 libm_alias_double_r.
19691 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19693 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19694 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19695 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19696 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19697 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19698 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19699 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19700 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19701 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19702 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19703 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19705 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19707 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19708 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19709 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19710 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19711 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19712 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19713 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19714 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19715 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19716 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19717 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19718 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19719 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19720 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19721 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19722 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19723 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19724 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19726 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19727 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19728 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19729 * sysdeps/ia64/fpu/w_lgamma_main.c
19730 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19731 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19733 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19735 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19736 address of $global$ into %dp register earlier. Use pc-relative
19737 instruction sequence for PIC case.
19739 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19741 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19742 (asinhf): Define using libm_alias_float.
19743 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19744 (atanf): Define using libm_alias_float.
19745 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19746 (cbrtf): Define using libm_alias_float.
19747 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19748 (ceilf): Define using libm_alias_float.
19749 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19750 (copysignf): Define using libm_alias_float.
19751 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19752 (expm1f): Define using libm_alias_float.
19753 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19754 (fabsf): Define using libm_alias_float.
19755 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19756 (floorf): Define using libm_alias_float.
19757 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19758 (fmaxf): Define using libm_alias_float.
19759 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19760 (fminf): Define using libm_alias_float.
19761 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19762 (frexpf): Define using libm_alias_float.
19763 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19764 (llrintf): Define using libm_alias_float.
19765 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19766 (logbf): Define using libm_alias_float.
19767 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19768 (lrintf): Define using libm_alias_float.
19769 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19770 (nearbyintf): Define using libm_alias_float.
19771 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19772 (remquof): Define using libm_alias_float.
19773 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19774 (rintf): Define using libm_alias_float.
19775 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19776 (truncf): Define using libm_alias_float.
19777 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19778 <libm-alias-float.h>.
19779 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19781 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19782 <libm-alias-float.h>.
19783 (expf): Define using libm_alias_float, or libm_alias_float_other
19785 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19786 <libm-alias-float.h>.
19787 (log2f): Define using libm_alias_float, or libm_alias_float_other
19789 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19790 <libm-alias-float.h>.
19791 (logf): Define using libm_alias_float, or libm_alias_float_other
19793 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19794 <libm-alias-float.h>.
19795 (powf): Define using libm_alias_float, or libm_alias_float_other
19797 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19798 <libm-alias-float.h>.
19799 (cosf): Define using libm_alias_float.
19800 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19801 <libm-alias-float.h>.
19802 (sincosf): Define using libm_alias_float.
19803 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19804 <libm-alias-float.h>.
19805 (sinf): Define using libm_alias_float.
19806 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19807 (fmaxf): Define using libm_alias_float.
19808 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19809 (fminf): Define using libm_alias_float.
19810 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19811 <libm-alias-float.h>.
19812 (fmaf): Define using libm_alias_float.
19814 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19815 (asinh): Define using libm_alias_double.
19816 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19817 (atan): Define using libm_alias_double.
19818 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19819 (cbrt): Define using libm_alias_double.
19820 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19821 (ceil): Define using libm_alias_double.
19822 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19823 (copysign): Define using libm_alias_double.
19824 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19825 (expm1): Define using libm_alias_double.
19826 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19827 (fabs): Define using libm_alias_double.
19828 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19829 (fdim): Define using libm_alias_double.
19830 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19831 (floor): Define using libm_alias_double.
19832 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19833 (fmax): Define using libm_alias_double.
19834 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19835 (fmin): Define using libm_alias_double.
19836 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19837 (frexp): Define using libm_alias_double.
19838 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19839 (llrint): Define using libm_alias_double.
19840 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19841 (logb): Define using libm_alias_double.
19842 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19843 (lrint): Define using libm_alias_double.
19844 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19845 (nearbyint): Define using libm_alias_double.
19846 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19847 (remquo): Define using libm_alias_double.
19848 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19849 (rint): Define using libm_alias_double.
19850 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19851 (trunc): Define using libm_alias_double.
19852 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19853 (fmax): Define using libm_alias_double.
19854 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19855 (fmin): Define using libm_alias_double.
19856 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19857 (fma): Define using libm_alias_double.
19859 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19862 * elf/dl-hwcaps.c (ROUND): Removed.
19863 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19864 and ELF_NOTE_NEXT_OFFSET.
19865 * elf/dl-load.c (ROUND): Removed.
19866 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19867 * elf/readelflib.c (ROUND): Removed.
19868 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19869 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19870 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19871 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19873 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19875 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19876 [!__fmaf] (fmaf): Define using libm_alias_float.
19878 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19879 [!__fma] (fma): Define using libm_alias_double.
19880 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19882 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19885 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19886 and implement the collation rules for cs from CLDR on top of that.
19887 * Makefile: Add cs_CZ.UTF-8 to test-input.
19888 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19890 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19892 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19894 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19895 Icarus Sparry <icarus.w.sparry@intel.com>
19897 * benchtests/Makefile:Add BENCHSET to allow subsets of
19898 benchmarks to be run.
19899 * benchtests/README: Add documentation for: Running subsets of
19902 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19904 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19905 range of tests names.
19907 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19908 result from property and remove "max", min" and "mean" from
19909 required properties based on benchtests/bench-skeleton.c.
19911 2017-11-28 Florian Weimer <fweimer@redhat.com>
19914 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19915 due to Internet requirement.
19916 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19918 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19920 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19922 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19923 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19924 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19925 (sysdep_routines): Add memset-ultra1.
19926 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19929 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19930 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19931 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19932 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19933 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19934 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19935 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19940 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19941 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19942 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19943 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19944 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19945 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19948 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19949 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19950 (sysdep_routines): Add memcpy-ultra1.
19951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19952 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19954 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19956 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19957 (cfloat_versions): Take function argument without trailing 'f'.
19958 Call libm_alias_float_other.
19959 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19960 * sysdeps/alpha/fpu/cargf.c: Likewise.
19961 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19962 * sysdeps/alpha/fpu/conjf.c: Likewise.
19963 * sysdeps/alpha/fpu/crealf.c: Likewise.
19964 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19965 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19966 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19967 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19968 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19969 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19970 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19971 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19972 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19973 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19974 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19975 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19976 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19977 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19978 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19979 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19980 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19981 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19982 (clog10f): Use libm_alias_float_other.
19983 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19984 (ceilf): Define using libm_alias_float.
19985 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19986 (copysignf): Define using libm_alias_float.
19987 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19988 (fabsf): Define using libm_alias_float.
19989 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19990 (floorf): Define using libm_alias_float.
19991 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19992 (fmaxf): Define using libm_alias_float.
19993 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19994 (fminf): Define using libm_alias_float.
19995 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19996 (lrintf): Define using libm_alias_float.
19997 (llrintf): Likewise.
19998 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19999 (lroundf): Define using libm_alias_float.
20000 (llroundf): Likewise.
20001 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20002 (rintf): Define using libm_alias_float.
20003 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20004 (truncf): Define using libm_alias_float.
20006 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20007 (ceilf): Define using libm_alias_float.
20008 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20009 (floorf): Define using libm_alias_float.
20010 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20011 (fmaf): Define using libm_alias_float.
20012 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20013 (fmaxf): Define using libm_alias_float.
20014 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20015 (fminf): Define using libm_alias_float.
20016 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20017 (llrintf): Define using libm_alias_float.
20018 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20019 (llroundf): Define using libm_alias_float.
20020 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20021 (lrintf): Define using libm_alias_float.
20022 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20023 (lroundf): Define using libm_alias_float.
20024 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20025 <libm-alias-float.h>.
20026 (nearbyintf): Define using libm_alias_float.
20027 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20028 (rintf): Define using libm_alias_float.
20029 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20030 (roundf): Define using libm_alias_float.
20031 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20032 (truncf): Define using libm_alias_float.
20034 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20035 (ceil): Define using libm_alias_double.
20036 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20037 (copysign): Define using libm_alias_double.
20038 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20039 (fabs): Define using libm_alias_double.
20040 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20041 (floor): Define using libm_alias_double.
20042 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20043 (fmax): Define using libm_alias_double.
20044 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20045 (fmin): Define using libm_alias_double.
20046 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20047 (lrint): Define using libm_alias_double.
20048 (llrint): Likewise.
20049 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20050 (lround): Define using libm_alias_double.
20051 (llround): Likewise.
20052 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20053 (rint): Define using libm_alias_double.
20054 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20055 (trunc): Define using libm_alias_double.
20057 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20058 (libm_alias_double_r): Add semicolon after weak_alias call.
20060 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20062 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20063 (ceil): Define using libm_alias_double.
20064 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20065 (floor): Define using libm_alias_double.
20066 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20067 (fma): Define using libm_alias_double.
20068 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20069 (fmax): Define using libm_alias_double.
20070 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20071 (fmin): Define using libm_alias_double.
20072 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20073 (llrint): Define using libm_alias_double.
20074 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20075 (llround): Define using libm_alias_double.
20076 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20077 (lrint): Define using libm_alias_double.
20078 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20079 (lround): Define using libm_alias_double.
20080 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20081 (nearbyint): Define using libm_alias_double.
20082 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20083 (rint): Define using libm_alias_double.
20084 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20085 (round): Define using libm_alias_double.
20086 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20087 (trunc): Define using libm_alias_double.
20089 2017-11-27 Florian Weimer <fweimer@redhat.com>
20091 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20092 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20093 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20094 (tests): Add tst-mlock2.
20095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20096 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20097 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20098 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20099 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20100 for mlock. Document mlock2.
20102 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20104 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20105 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20107 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20109 * sysdeps/x86/Makeconfig: New file.
20110 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20111 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20112 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20113 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20114 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20115 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20116 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20118 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20119 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20120 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20121 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20122 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20123 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20124 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20125 * manual/math.texi (Mathematics): Document support for _Float64x.
20126 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20127 * stdlib/Versions (GLIBC_2.27): Likewise.
20128 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20129 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20130 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20131 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20134 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20135 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20136 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20138 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20139 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20145 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20146 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20147 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20148 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20149 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20150 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20151 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20152 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20153 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20154 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20155 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20156 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20157 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20159 2017-11-27 Andreas Schwab <schwab@suse.de>
20161 * elf/Makefile (dl-routines): Add dl-sort-maps.
20162 * elf/dl-sort-maps.c: New file.
20163 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20164 (_dl_sort_maps): Declare.
20165 * elf/dl-fini.c (_dl_sort_fini): Remove.
20166 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20167 * elf/dl-close.c (_dl_close_worker): Likewise.
20168 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20170 * elf/dl-open.c (dl_open_worker): Likewise.
20172 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20174 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20175 using libm_alias_float128.
20176 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20178 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20180 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20181 (setpayloadsigf128): Likewise.
20182 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20184 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20187 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20188 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20189 -mfloat128 to CFLAGS.
20191 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20193 (CFLAGS-libm-test-support-float64x.c): New variable.
20194 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20195 $(f128-loader-link) to gnulib-tests.
20197 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20198 (libm_alias_float128_other_r): If
20199 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20201 (libm_alias_float128_r): Add semicolon after weak_alias call.
20202 * sysdeps/generic/libm-alias-ldouble.h
20203 (libm_alias_ldouble_other_r_f128): New macro.
20204 (libm_alias_ldouble_other_r_f64x): Likewise.
20205 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20206 and libm_alias_ldouble_other_r_f64x.
20207 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20208 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20209 (libm_alias_ldouble_other_r_f128): New macro.
20210 (libm_alias_ldouble_other_r_f64x): Likewise.
20211 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20212 and libm_alias_ldouble_other_r_f64x.
20214 * stdlib/strfroml.c: Always include <stdlib.h>.
20215 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20216 undefine as macro and define as weak alias.
20217 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20218 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20220 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20221 Define and later undefine as macro and define as weak alias.
20223 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20224 Define and later undefine as macro. Define as weak alias if
20226 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20227 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20228 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20229 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20230 Define and later undefine as macro. Define as weak alias if
20232 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20233 Define and later undefine as macro. Define as weak alias if
20235 * sysdeps/ieee754/float128/strtof128_l.c
20236 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20237 Define and later undefine as macro. Define as weak alias if
20239 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20240 Define and later undefine as macro. Define as weak alias if
20242 * sysdeps/ieee754/ldbl-128/strtold_l.c
20243 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20244 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20245 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20246 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20247 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20248 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20249 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20250 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20251 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20252 * sysdeps/ieee754/ldbl-96/strtold_l.c
20253 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20254 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20255 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20256 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20258 * math/test-float64x.h: New file.
20259 * math/Makefile (type-float64x-yes): New variable.
20260 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20262 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20263 function-like macro.
20264 (min_of_type_): Likewise.
20265 (min_of_type_l): Likewise.
20266 (min_of_type_f128): Likewise.
20267 (min_of_type): Pass () as last argument of __MATH_TG.
20269 * stdlib/tst-strtod-round-skeleton.c
20270 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20273 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20274 for combinations of long double with _Float64 and _Float64x.
20276 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20277 (__DECL_SIMD_cosf32): Likewise.
20278 (__DECL_SIMD_cosf64): Likewise.
20279 (__DECL_SIMD_cosf32x): Likewise.
20280 (__DECL_SIMD_cosf64x): Likewise.
20281 (__DECL_SIMD_cosf128x): Likewise.
20282 (__DECL_SIMD_sinf16): Likewise.
20283 (__DECL_SIMD_sinf32): Likewise.
20284 (__DECL_SIMD_sinf64): Likewise.
20285 (__DECL_SIMD_sinf32x): Likewise.
20286 (__DECL_SIMD_sinf64x): Likewise.
20287 (__DECL_SIMD_sinf128x): Likewise.
20288 (__DECL_SIMD_sincosf16): Likewise.
20289 (__DECL_SIMD_sincosf32): Likewise.
20290 (__DECL_SIMD_sincosf64): Likewise.
20291 (__DECL_SIMD_sincosf32x): Likewise.
20292 (__DECL_SIMD_sincosf64x): Likewise.
20293 (__DECL_SIMD_sincosf128x): Likewise.
20294 (__DECL_SIMD_logf16): Likewise.
20295 (__DECL_SIMD_logf32): Likewise.
20296 (__DECL_SIMD_logf64): Likewise.
20297 (__DECL_SIMD_logf32x): Likewise.
20298 (__DECL_SIMD_logf64x): Likewise.
20299 (__DECL_SIMD_logf128x): Likewise.
20300 (__DECL_SIMD_expf16): Likewise.
20301 (__DECL_SIMD_expf32): Likewise.
20302 (__DECL_SIMD_expf64): Likewise.
20303 (__DECL_SIMD_expf32x): Likewise.
20304 (__DECL_SIMD_expf64x): Likewise.
20305 (__DECL_SIMD_expf128x): Likewise.
20306 (__DECL_SIMD_powf16): Likewise.
20307 (__DECL_SIMD_powf32): Likewise.
20308 (__DECL_SIMD_powf64): Likewise.
20309 (__DECL_SIMD_powf32x): Likewise.
20310 (__DECL_SIMD_powf64x): Likewise.
20311 (__DECL_SIMD_powf128x): Likewise.
20313 * stdlib/Versions (libc): Move entries for wcstof128 and
20314 wcstof128_l to ....
20315 * wcsmbs/Versions (libc): ... here.
20316 Include <float128-abi.h>.
20318 2017-11-24 Florian Weimer <fweimer@redhat.com>
20320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20321 bits/mman-shared.h.
20322 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20323 <bits/mman-shared.h>.
20324 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20326 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20327 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20328 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20329 <bits/mman-shared.h>.
20331 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20334 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20335 posix_memalign/free.
20336 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20338 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20341 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20342 and implement the collation rules for pl from CLDR on top of that.
20343 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20344 of locales to be built for testing.
20345 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20347 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20349 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20350 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20351 libm_alias_ldouble_other.
20352 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20353 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20354 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20355 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20356 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20357 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20358 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20359 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20360 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20361 libm_alias_ldouble_r.
20362 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20363 libm_alias_ldouble_other.
20364 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20365 (log10l): Likewise.
20366 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20367 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20368 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20369 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20370 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20371 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20372 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20373 (atan2l): Likewise.
20374 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20375 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20376 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20377 libm_alias_ldouble.
20378 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20380 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20381 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20382 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20384 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20385 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20386 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20387 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20388 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20389 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20390 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20391 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20392 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20393 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20394 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20395 libm_alias_ldouble.
20396 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20397 libm_alias_ldouble_other.
20398 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20399 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20400 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20401 libm_alias_ldouble.
20402 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20403 libm_alias_ldouble_other.
20404 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20405 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20406 * sysdeps/ia64/fpu/w_lgammal_main.c
20407 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20408 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20410 2017-11-23 Florian Weimer <fweimer@redhat.com>
20412 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20413 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20414 alike. Remove freeres marker.
20415 * malloc/arena.c (arena_thread_freeres): Call
20416 tcache_thread_shutdown.
20418 2017-11-23 Florian Weimer <fweimer@redhat.com>
20421 Export nscd hash function as __nss_hash.
20422 * include/nss.h (__nss_hash): Declare.
20423 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20425 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20426 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20428 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20429 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20430 * nss/Makefiles (routines): Add nss_hash.
20431 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20432 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20433 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20434 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20436 2017-11-23 Florian Weimer <fweimer@redhat.com>
20439 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20440 Return error code, not -1.
20441 * signal/tst-sigwait-eintr.c: New file.
20442 * signal/Makefile (tests): Add tst-sigwait-eintr.
20444 2017-11-23 Florian Weimer <fweimer@redhat.com>
20446 Linux: Add memfd_create system call wrapper
20447 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20449 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20450 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20451 [__USE_GNU] (memfd_create): Declare.
20452 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20453 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20454 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20455 * sysdeps/unix/sysv/linux/**.abilist: Update.
20456 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20458 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20460 * localedata/gen-locale.sh: Fix typo in variable name.
20462 * resolv/res_debug.c (p_secstodate): Condition definition on
20463 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20464 directly as __p_secstodate, and as a compat symbol. Do not use
20465 libresolv_hidden_def.
20466 * resolv/resolv.h (p_secstodate): Remove macro and function
20468 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20469 using p_secstodate.
20470 * include/resolv.h (__p_secstodate): Do not use
20471 libresolv_hidden_proto.
20472 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20473 (tests-internal): ... here.
20474 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20475 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20476 and declare and use __p_secstodate and use compat_symbol_reference
20478 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20479 implementation returning 77.
20482 * resolv/res_debug.c: Include <libc-diag.h>.
20483 (p_secstodate): Assert time_t at least as wide as u_long. On
20484 overflow, use integer seconds since the epoch as output, or use
20485 "<overflow>" as output and set errno to EOVERFLOW if integer
20486 seconds since the epoch would be 14 or more characters.
20487 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20489 * resolv/tst-p_secstodate.c: New file.
20490 * resolv/Makefile (tests): Add tst-p_secstodate.
20491 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20493 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20494 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20495 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20497 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20499 * posix/regcomp.c (init_word_char): Add comments.
20501 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20504 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20505 strlen to compute length of ut_user and set trailing NUL byte of
20508 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20511 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20512 using “copy "iso14651_t1"” and then implementing the
20513 collation rules for lv from CLDR on top of that.
20514 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20515 of locales to be built for testing.
20516 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20519 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20521 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20522 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20523 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20524 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20525 [__USE_MISC] (MADV_HWPOISON): New macro.
20526 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20528 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20530 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20531 -Wmissing-braces on GCC 4.9.
20533 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20535 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20536 * sysdeps/s390/s390-32/start.S (_start): Likewise
20537 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20538 (thread_start): Likewise.
20539 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20540 (thread_start): Likewise.
20541 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20542 (__makecontext_ret): Likewise.
20543 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20544 (__makecontext_ret): Likewise.
20546 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20548 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20549 __wcschrnul): Remove attribute_hidden.
20551 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20553 regex: don't assume uint64_t or uint32_t
20554 This avoids -Werror=overflow errors for 32-bit systems in
20555 the 64-bit case. Problem reported by Joseph Myers in:
20556 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20557 Also, when this code is used in Gnulib it ports to platforms
20558 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20559 them, and on some 32-bit compilers there is no uint64_t.
20560 Problem reported by Gianluigi Tiesi in:
20561 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20562 * posix/regcomp.c (init_word_char): Don't assume that the types
20563 uint64_t and uint32_t exist. Adapted from Gnulib patch
20564 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20565 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20567 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20569 * sysdeps/aarch64/memset-reg.h: New file.
20570 * sysdeps/aarch64/memset.S: Use it.
20571 (__memset): Rename to MEMSET macro.
20572 [ZVA_MACRO]: Use zva_macro.
20573 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20574 Add memset_generic and memset_falkor.
20575 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20576 (__libc_ifunc_impl_list): Add memset ifuncs.
20577 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20578 local variable zva_size.
20579 * sysdeps/aarch64/multiarch/memset.c: New file.
20580 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20581 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20582 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20583 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20584 (DCZID_DZP_MASK): New macro.
20585 (DCZID_BS_MASK): Likewise.
20586 (init_cpu_features): Read and set zva_size.
20587 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20588 (struct cpu_features): New member zva_size.
20590 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20591 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20592 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20594 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20595 backwards. Fix timing computation.
20596 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20597 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20598 on memset by N at a time. Fix timing computation.
20600 2017-11-20 Florian Weimer <fweimer@redhat.com>
20602 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20603 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20605 2017-11-19 Florian Weimer <fweimer@redhat.com>
20607 manual: Document mprotect
20608 * manual/memory.texi (Memory Protection): New section.
20609 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20610 documentation of PROT_* flags and reference the Memory Protection
20613 2017-11-19 Florian Weimer <fweimer@redhat.com>
20615 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20616 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20617 (Scatter-Gather): ... to here. Remove misleading comment.
20619 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20621 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20624 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20625 when /proc/<pid>/setgroups does not exist.
20627 2017-11-18 Florian Weimer <fweimer@redhat.com>
20629 * sysdeps/unix/sysv/linux/tst-ttyname.c
20630 (become_root_in_mount_ns): Remove.
20631 (do_in_chroot_1): Call support_enter_mount_namespace.
20632 (do_in_chroot_2): Likewise.
20633 (do_test): Call support_become_root early.
20635 2017-11-18 Florian Weimer <fweimer@redhat.com>
20637 * support/namespace.h (support_enter_mount_namespace): Declare.
20638 * support/support_enter_mount_namespace.c: New file.
20639 * support/Makefile (libsupport-routines): Add
20640 support_enter_mount_namespace.
20642 2017-11-18 Florian Weimer <fweimer@redhat.com>
20644 * support/temp_file.c (support_create_temp_directory): Use
20645 test_dir and do not rely on the presence of the XXXXXX suffix.
20646 * support/temp_file.h (support_create_temp_directory): Update
20648 * support/tst-xreadlink.c (do_test): Adjust.
20649 * support/support_chroot.c (support_chroot_create): Likewise.
20651 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20653 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20655 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20658 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20660 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20661 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20662 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20663 (ceill): Define using libm_alias_ldouble.
20664 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20665 <libm-alias-ldouble.h>.
20666 (copysignl): Define using libm_alias_ldouble.
20667 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20668 (fabsl): Define using libm_alias_ldouble.
20669 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20670 (floorl): Define using libm_alias_ldouble.
20671 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20672 (fmaxl): Define using libm_alias_ldouble.
20673 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20674 (fminl): Define using libm_alias_ldouble.
20675 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20676 (llrintl): Define using libm_alias_ldouble.
20677 (lrintl): Likewise.
20678 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20679 <libm-alias-ldouble.h>.
20680 (nearbyintl): Define using libm_alias_ldouble.
20681 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20682 (truncl): Define using libm_alias_ldouble.
20683 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20684 <libm-alias-ldouble.h>.
20685 (lrintl): Define using libm_alias_ldouble.
20687 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20688 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20689 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20690 (asinhl): Define using libm_alias_ldouble.
20691 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20692 (atanl): Define using libm_alias_ldouble.
20693 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20694 (cbrtl): Define using libm_alias_ldouble.
20695 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20696 (ceill): Define using libm_alias_ldouble.
20697 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20698 (copysignl): Define using libm_alias_ldouble.
20699 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20700 (fabsl): Define using libm_alias_ldouble.
20701 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20702 (floorl): Define using libm_alias_ldouble.
20703 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20704 (fmaxl): Define using libm_alias_ldouble.
20705 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20706 (fminl): Define using libm_alias_ldouble.
20707 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20708 (frexpl): Define using libm_alias_ldouble.
20709 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20710 (llrintl): Define using libm_alias_ldouble.
20711 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20712 (logbl): Define using libm_alias_ldouble.
20713 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20714 (lrintl): Define using libm_alias_ldouble.
20715 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20716 (nearbyintl): Define using libm_alias_ldouble.
20717 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20718 (nextafterl): Define using libm_alias_ldouble.
20719 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20720 (remquol): Define using libm_alias_ldouble.
20721 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20722 (rintl): Define using libm_alias_ldouble.
20723 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20724 (truncl): Define using libm_alias_ldouble.
20725 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20726 (fmaxl): Define using libm_alias_ldouble.
20727 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20728 (fminl): Define using libm_alias_ldouble.
20730 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20731 to C syntax instead of availability and properties of types.
20732 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20733 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20734 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20735 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20736 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20737 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20739 2017-11-17 Florian Weimer <fweimer@redhat.com>
20741 support_become_root: Enable file creation in namespaces.
20742 * support/support_become_root.c (setup_mapping): New function.
20743 (support_become_root): Call it.
20745 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20747 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20750 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20752 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20753 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20755 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20757 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20759 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20762 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20764 * INSTALL: Fix botched up regeneration.
20766 * NEWS: Update sourceare link to https.
20767 * configure.ac: Likewise.
20768 * crypt/md5test-giant.c: Likewise.
20769 * dlfcn/bug-atexit1.c: Likewise.
20770 * dlfcn/bug-atexit2.c: Likewise.
20771 * localedata/README: Likewise.
20772 * malloc/tst-mallocfork.c: Likewise.
20773 * manual/install.texi: Likewise.
20774 * nptl/tst-pthread-getattr.c: Likewise.
20775 * stdio-common/tst-fgets.c: Likewise.
20776 * stdio-common/tst-fwrite.c: Likewise.
20777 * sunrpc/Makefile: Likewise.
20778 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20779 * wcsmbs/tst-mbrtowc2.c: Likewise.
20780 * configure: Regenerate.
20781 * INSTALL: Regenerate.
20783 2017-11-15 Martin Sebor <msebor@redhat.com>
20785 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20786 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20787 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20789 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20792 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20793 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20796 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20797 Defer is_pty check until end of the function.
20798 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20801 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20802 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20803 (ttyname): Likewise.
20804 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20805 (__ttyname_r): Likewise.
20807 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20810 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20812 * manual/terminal.texi (Is It a Terminal):
20813 Mention ENODEV for ttyname and ttyname_r.
20815 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20817 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20818 constant and macro.
20820 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20821 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20822 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20823 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20824 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20825 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20827 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20829 * signal/sigrelse.c (sigrelse): Optimize implementation.
20831 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20832 (__sigpause): Rely on __sigsuspend to implement single thread
20833 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20835 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20837 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20838 kernel version to 4.14.
20840 2017-11-15 Steve Ellcey <sellcey@cavium.com>
20843 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20844 Check if ifname is too long.
20846 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20848 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20850 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20852 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20853 was accidentally lost.
20855 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20857 * localedata/locales/az_IR: Add standard copyright header.
20859 2017-11-15 Florian Weimer <fweimer@redhat.com>
20862 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20863 not just the top one. Output a new "subheaps" statistic.
20865 2017-11-15 Florian Weimer <fweimer@redhat.com>
20868 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20869 under the per-arena lock.
20870 * malloc/Makefile (tests): Add tst-malloc_info.
20871 (tst-malloc_info): Link with libpthread.
20872 * malloc/tst-malloc_info.c: New file.
20874 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20877 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20878 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20879 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20880 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20881 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20882 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20883 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20884 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20885 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20886 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20887 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20888 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20889 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20890 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20891 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20892 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20893 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20894 (__floating_type): Likewise.
20895 (__real_integer_type): Likewise.
20896 (__complex_integer_type): Likewise.
20897 (__expr_is_real): Likewise.
20898 (__tgmath_real_type_sub): Likewise.
20899 (__tgmath_real_type): Likewise.
20900 (__tgmath_complex_type_sub): Likewise.
20901 (__tgmath_complex_type): Likewise.
20902 (__TGMATH_F128): Likewise.
20903 (__TGMATH_CF128): Likewise.
20904 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20906 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20907 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20909 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20913 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20914 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20916 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20917 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20919 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20920 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20921 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20923 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20924 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20925 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20929 2017-11-14 Joseph Myers <joseph@codesourcery.com>
20931 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20932 for stpncpy calls for GCC 8.
20933 (test_strncat): Disable -Wstringop-truncation warning for strncat
20934 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20935 strncat call for GCC 7.
20936 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20938 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20941 * string/bug-strncat1.c: Include <libc-diag.h>.
20942 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20944 2017-11-13 Claude Paroz <claude@2xlibre.net>
20947 * localedata/locales/aa_DJ: Improved readibility by replacing
20948 <Uxxxx> sequences in the ASCII printable range by their ASCII
20949 character equivalents.
20950 * localedata/locales/aa_ER: Likewise.
20951 * localedata/locales/aa_ER@saaho: Likewise.
20952 * localedata/locales/aa_ET: Likewise.
20953 * localedata/locales/af_ZA: Likewise.
20954 * localedata/locales/agr_PE: Likewise.
20955 * localedata/locales/ak_GH: Likewise.
20956 * localedata/locales/am_ET: Likewise.
20957 * localedata/locales/anp_IN: Likewise.
20958 * localedata/locales/ar_AE: Likewise.
20959 * localedata/locales/ar_BH: Likewise.
20960 * localedata/locales/ar_DZ: Likewise.
20961 * localedata/locales/ar_EG: Likewise.
20962 * localedata/locales/ar_IN: Likewise.
20963 * localedata/locales/ar_IQ: Likewise.
20964 * localedata/locales/ar_JO: Likewise.
20965 * localedata/locales/ar_KW: Likewise.
20966 * localedata/locales/ar_LB: Likewise.
20967 * localedata/locales/ar_LY: Likewise.
20968 * localedata/locales/ar_MA: Likewise.
20969 * localedata/locales/ar_OM: Likewise.
20970 * localedata/locales/ar_QA: Likewise.
20971 * localedata/locales/ar_SA: Likewise.
20972 * localedata/locales/ar_SD: Likewise.
20973 * localedata/locales/ar_SS: Likewise.
20974 * localedata/locales/ar_SY: Likewise.
20975 * localedata/locales/ar_TN: Likewise.
20976 * localedata/locales/ar_YE: Likewise.
20977 * localedata/locales/as_IN: Likewise.
20978 * localedata/locales/ast_ES: Likewise.
20979 * localedata/locales/ayc_PE: Likewise.
20980 * localedata/locales/az_AZ: Likewise.
20981 * localedata/locales/az_IR: Likewise.
20982 * localedata/locales/be_BY: Likewise.
20983 * localedata/locales/be_BY@latin: Likewise.
20984 * localedata/locales/bem_ZM: Likewise.
20985 * localedata/locales/ber_DZ: Likewise.
20986 * localedata/locales/ber_MA: Likewise.
20987 * localedata/locales/bg_BG: Likewise.
20988 * localedata/locales/bhb_IN: Likewise.
20989 * localedata/locales/bho_IN: Likewise.
20990 * localedata/locales/bi_VU: Likewise.
20991 * localedata/locales/bn_BD: Likewise.
20992 * localedata/locales/bn_IN: Likewise.
20993 * localedata/locales/bo_CN: Likewise.
20994 * localedata/locales/bo_IN: Likewise.
20995 * localedata/locales/br_FR: Likewise.
20996 * localedata/locales/brx_IN: Likewise.
20997 * localedata/locales/bs_BA: Likewise.
20998 * localedata/locales/byn_ER: Likewise.
20999 * localedata/locales/ca_AD: Likewise.
21000 * localedata/locales/ca_ES: Likewise.
21001 * localedata/locales/ca_FR: Likewise.
21002 * localedata/locales/ca_IT: Likewise.
21003 * localedata/locales/ce_RU: Likewise.
21004 * localedata/locales/chr_US: Likewise.
21005 * localedata/locales/cmn_TW: Likewise.
21006 * localedata/locales/crh_UA: Likewise.
21007 * localedata/locales/cs_CZ: Likewise.
21008 * localedata/locales/csb_PL: Likewise.
21009 * localedata/locales/cv_RU: Likewise.
21010 * localedata/locales/cy_GB: Likewise.
21011 * localedata/locales/da_DK: Likewise.
21012 * localedata/locales/de_AT: Likewise.
21013 * localedata/locales/de_BE: Likewise.
21014 * localedata/locales/de_CH: Likewise.
21015 * localedata/locales/de_DE: Likewise.
21016 * localedata/locales/de_IT: Likewise.
21017 * localedata/locales/de_LI: Likewise.
21018 * localedata/locales/de_LU: Likewise.
21019 * localedata/locales/doi_IN: Likewise.
21020 * localedata/locales/dv_MV: Likewise.
21021 * localedata/locales/dz_BT: Likewise.
21022 * localedata/locales/el_CY: Likewise.
21023 * localedata/locales/el_GR: Likewise.
21024 * localedata/locales/en_AG: Likewise.
21025 * localedata/locales/en_AU: Likewise.
21026 * localedata/locales/en_BW: Likewise.
21027 * localedata/locales/en_CA: Likewise.
21028 * localedata/locales/en_DK: Likewise.
21029 * localedata/locales/en_GB: Likewise.
21030 * localedata/locales/en_HK: Likewise.
21031 * localedata/locales/en_IE: Likewise.
21032 * localedata/locales/en_IL: Likewise.
21033 * localedata/locales/en_IN: Likewise.
21034 * localedata/locales/en_NG: Likewise.
21035 * localedata/locales/en_NZ: Likewise.
21036 * localedata/locales/en_PH: Likewise.
21037 * localedata/locales/en_SG: Likewise.
21038 * localedata/locales/en_US: Likewise.
21039 * localedata/locales/en_ZA: Likewise.
21040 * localedata/locales/en_ZM: Likewise.
21041 * localedata/locales/en_ZW: Likewise.
21042 * localedata/locales/eo: Likewise.
21043 * localedata/locales/es_AR: Likewise.
21044 * localedata/locales/es_BO: Likewise.
21045 * localedata/locales/es_CL: Likewise.
21046 * localedata/locales/es_CO: Likewise.
21047 * localedata/locales/es_CR: Likewise.
21048 * localedata/locales/es_CU: Likewise.
21049 * localedata/locales/es_DO: Likewise.
21050 * localedata/locales/es_EC: Likewise.
21051 * localedata/locales/es_ES: Likewise.
21052 * localedata/locales/es_GT: Likewise.
21053 * localedata/locales/es_HN: Likewise.
21054 * localedata/locales/es_MX: Likewise.
21055 * localedata/locales/es_NI: Likewise.
21056 * localedata/locales/es_PA: Likewise.
21057 * localedata/locales/es_PE: Likewise.
21058 * localedata/locales/es_PR: Likewise.
21059 * localedata/locales/es_PY: Likewise.
21060 * localedata/locales/es_SV: Likewise.
21061 * localedata/locales/es_US: Likewise.
21062 * localedata/locales/es_UY: Likewise.
21063 * localedata/locales/es_VE: Likewise.
21064 * localedata/locales/et_EE: Likewise.
21065 * localedata/locales/eu_ES: Likewise.
21066 * localedata/locales/eu_ES@euro: Likewise.
21067 * localedata/locales/fa_IR: Likewise.
21068 * localedata/locales/ff_SN: Likewise.
21069 * localedata/locales/fi_FI: Likewise.
21070 * localedata/locales/fil_PH: Likewise.
21071 * localedata/locales/fo_FO: Likewise.
21072 * localedata/locales/fr_BE: Likewise.
21073 * localedata/locales/fr_CA: Likewise.
21074 * localedata/locales/fr_CH: Likewise.
21075 * localedata/locales/fr_FR: Likewise.
21076 * localedata/locales/fr_LU: Likewise.
21077 * localedata/locales/fur_IT: Likewise.
21078 * localedata/locales/fy_DE: Likewise.
21079 * localedata/locales/fy_NL: Likewise.
21080 * localedata/locales/ga_IE: Likewise.
21081 * localedata/locales/gd_GB: Likewise.
21082 * localedata/locales/gez_ER: Likewise.
21083 * localedata/locales/gez_ET: Likewise.
21084 * localedata/locales/gl_ES: Likewise.
21085 * localedata/locales/gu_IN: Likewise.
21086 * localedata/locales/gv_GB: Likewise.
21087 * localedata/locales/ha_NG: Likewise.
21088 * localedata/locales/hak_TW: Likewise.
21089 * localedata/locales/he_IL: Likewise.
21090 * localedata/locales/hi_IN: Likewise.
21091 * localedata/locales/hif_FJ: Likewise.
21092 * localedata/locales/hne_IN: Likewise.
21093 * localedata/locales/hr_HR: Likewise.
21094 * localedata/locales/hsb_DE: Likewise.
21095 * localedata/locales/ht_HT: Likewise.
21096 * localedata/locales/hu_HU: Likewise.
21097 * localedata/locales/hy_AM: Likewise.
21098 * localedata/locales/i18n: Likewise.
21099 * localedata/locales/ia_FR: Likewise.
21100 * localedata/locales/id_ID: Likewise.
21101 * localedata/locales/ig_NG: Likewise.
21102 * localedata/locales/ik_CA: Likewise.
21103 * localedata/locales/is_IS: Likewise.
21104 * localedata/locales/it_CH: Likewise.
21105 * localedata/locales/it_IT: Likewise.
21106 * localedata/locales/iu_CA: Likewise.
21107 * localedata/locales/ja_JP: Likewise.
21108 * localedata/locales/ka_GE: Likewise.
21109 * localedata/locales/kk_KZ: Likewise.
21110 * localedata/locales/kl_GL: Likewise.
21111 * localedata/locales/kn_IN: Likewise.
21112 * localedata/locales/ko_KR: Likewise.
21113 * localedata/locales/kok_IN: Likewise.
21114 * localedata/locales/ks_IN: Likewise.
21115 * localedata/locales/ks_IN@devanagari: Likewise.
21116 * localedata/locales/ku_TR: Likewise.
21117 * localedata/locales/kw_GB: Likewise.
21118 * localedata/locales/ky_KG: Likewise.
21119 * localedata/locales/lb_LU: Likewise.
21120 * localedata/locales/lg_UG: Likewise.
21121 * localedata/locales/li_BE: Likewise.
21122 * localedata/locales/li_NL: Likewise.
21123 * localedata/locales/lij_IT: Likewise.
21124 * localedata/locales/ln_CD: Likewise.
21125 * localedata/locales/lo_LA: Likewise.
21126 * localedata/locales/lt_LT: Likewise.
21127 * localedata/locales/lv_LV: Likewise.
21128 * localedata/locales/lzh_TW: Likewise.
21129 * localedata/locales/mag_IN: Likewise.
21130 * localedata/locales/mai_IN: Likewise.
21131 * localedata/locales/mg_MG: Likewise.
21132 * localedata/locales/mhr_RU: Likewise.
21133 * localedata/locales/mi_NZ: Likewise.
21134 * localedata/locales/mk_MK: Likewise.
21135 * localedata/locales/ml_IN: Likewise.
21136 * localedata/locales/mn_MN: Likewise.
21137 * localedata/locales/mni_IN: Likewise.
21138 * localedata/locales/mr_IN: Likewise.
21139 * localedata/locales/ms_MY: Likewise.
21140 * localedata/locales/mt_MT: Likewise.
21141 * localedata/locales/my_MM: Likewise.
21142 * localedata/locales/nan_TW: Likewise.
21143 * localedata/locales/nan_TW@latin: Likewise.
21144 * localedata/locales/nb_NO: Likewise.
21145 * localedata/locales/nds_DE: Likewise.
21146 * localedata/locales/nds_NL: Likewise.
21147 * localedata/locales/ne_NP: Likewise.
21148 * localedata/locales/nhn_MX: Likewise.
21149 * localedata/locales/niu_NU: Likewise.
21150 * localedata/locales/niu_NZ: Likewise.
21151 * localedata/locales/nl_AW: Likewise.
21152 * localedata/locales/nl_BE: Likewise.
21153 * localedata/locales/nl_NL: Likewise.
21154 * localedata/locales/nn_NO: Likewise.
21155 * localedata/locales/nr_ZA: Likewise.
21156 * localedata/locales/nso_ZA: Likewise.
21157 * localedata/locales/oc_FR: Likewise.
21158 * localedata/locales/om_ET: Likewise.
21159 * localedata/locales/om_KE: Likewise.
21160 * localedata/locales/or_IN: Likewise.
21161 * localedata/locales/os_RU: Likewise.
21162 * localedata/locales/pa_IN: Likewise.
21163 * localedata/locales/pa_PK: Likewise.
21164 * localedata/locales/pap_AW: Likewise.
21165 * localedata/locales/pap_CW: Likewise.
21166 * localedata/locales/pl_PL: Likewise.
21167 * localedata/locales/ps_AF: Likewise.
21168 * localedata/locales/pt_BR: Likewise.
21169 * localedata/locales/pt_PT: Likewise.
21170 * localedata/locales/quz_PE: Likewise.
21171 * localedata/locales/raj_IN: Likewise.
21172 * localedata/locales/ro_RO: Likewise.
21173 * localedata/locales/ru_RU: Likewise.
21174 * localedata/locales/ru_UA: Likewise.
21175 * localedata/locales/rw_RW: Likewise.
21176 * localedata/locales/sa_IN: Likewise.
21177 * localedata/locales/sat_IN: Likewise.
21178 * localedata/locales/sc_IT: Likewise.
21179 * localedata/locales/sd_IN: Likewise.
21180 * localedata/locales/sd_IN@devanagari: Likewise.
21181 * localedata/locales/se_NO: Likewise.
21182 * localedata/locales/sgs_LT: Likewise.
21183 * localedata/locales/shs_CA: Likewise.
21184 * localedata/locales/si_LK: Likewise.
21185 * localedata/locales/sid_ET: Likewise.
21186 * localedata/locales/sk_SK: Likewise.
21187 * localedata/locales/sl_SI: Likewise.
21188 * localedata/locales/sm_WS: Likewise.
21189 * localedata/locales/so_DJ: Likewise.
21190 * localedata/locales/so_ET: Likewise.
21191 * localedata/locales/so_KE: Likewise.
21192 * localedata/locales/so_SO: Likewise.
21193 * localedata/locales/sq_AL: Likewise.
21194 * localedata/locales/sq_MK: Likewise.
21195 * localedata/locales/sr_ME: Likewise.
21196 * localedata/locales/sr_RS: Likewise.
21197 * localedata/locales/sr_RS@latin: Likewise.
21198 * localedata/locales/ss_ZA: Likewise.
21199 * localedata/locales/st_ZA: Likewise.
21200 * localedata/locales/sv_FI: Likewise.
21201 * localedata/locales/sv_SE: Likewise.
21202 * localedata/locales/sw_KE: Likewise.
21203 * localedata/locales/sw_TZ: Likewise.
21204 * localedata/locales/szl_PL: Likewise.
21205 * localedata/locales/ta_IN: Likewise.
21206 * localedata/locales/ta_LK: Likewise.
21207 * localedata/locales/tcy_IN: Likewise.
21208 * localedata/locales/te_IN: Likewise.
21209 * localedata/locales/tg_TJ: Likewise.
21210 * localedata/locales/th_TH: Likewise.
21211 * localedata/locales/the_NP: Likewise.
21212 * localedata/locales/ti_ER: Likewise.
21213 * localedata/locales/ti_ET: Likewise.
21214 * localedata/locales/tig_ER: Likewise.
21215 * localedata/locales/tk_TM: Likewise.
21216 * localedata/locales/tl_PH: Likewise.
21217 * localedata/locales/tn_ZA: Likewise.
21218 * localedata/locales/to_TO: Likewise.
21219 * localedata/locales/tpi_PG: Likewise.
21220 * localedata/locales/tr_CY: Likewise.
21221 * localedata/locales/tr_TR: Likewise.
21222 * localedata/locales/ts_ZA: Likewise.
21223 * localedata/locales/tt_RU: Likewise.
21224 * localedata/locales/tt_RU@iqtelif: Likewise.
21225 * localedata/locales/ug_CN: Likewise.
21226 * localedata/locales/uk_UA: Likewise.
21227 * localedata/locales/unm_US: Likewise.
21228 * localedata/locales/ur_IN: Likewise.
21229 * localedata/locales/ur_PK: Likewise.
21230 * localedata/locales/uz_UZ: Likewise.
21231 * localedata/locales/uz_UZ@cyrillic: Likewise.
21232 * localedata/locales/ve_ZA: Likewise.
21233 * localedata/locales/vi_VN: Likewise.
21234 * localedata/locales/wa_BE: Likewise.
21235 * localedata/locales/wae_CH: Likewise.
21236 * localedata/locales/wal_ET: Likewise.
21237 * localedata/locales/wo_SN: Likewise.
21238 * localedata/locales/xh_ZA: Likewise.
21239 * localedata/locales/yi_US: Likewise.
21240 * localedata/locales/yo_NG: Likewise.
21241 * localedata/locales/yue_HK: Likewise.
21242 * localedata/locales/yuw_PG: Likewise.
21243 * localedata/locales/zh_CN: Likewise.
21244 * localedata/locales/zh_HK: Likewise.
21245 * localedata/locales/zh_SG: Likewise.
21246 * localedata/locales/zh_TW: Likewise.
21247 * localedata/locales/zu_ZA: Likewise.
21249 2017-11-13 Florian Weimer <fweimer@redhat.com>
21251 * support/next_to_fault.h, support/next_to_fault.c: New files.
21252 * support/Makefile (libsupport-routines): Add next_to_fault.
21253 * resolv/tst-inet_pton.c (struct next_to_fault)
21254 (next_to_fault_allocate, next_to_fault_free): Remove.
21255 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21257 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21259 * elf/dl-support.c: Include <dl-procruntime.c>.
21260 * include/link.h: Include <link_map.h>.
21261 * sysdeps/generic/dl-procruntime.c: New file.
21262 * sysdeps/generic/link_map.h: Likewise.
21263 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21264 the writable ld.so namespace.
21266 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21268 timezone: pacify GCC -Wstringop-truncation
21269 Problem reported by Martin Sebor in:
21270 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21271 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21273 2017-11-12 Florian Weimer <fweimer@redhat.com>
21275 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21277 (tests): Add tst-xreadlink.
21278 * support/support.h (xstrndup): Declare.
21279 * support/xunistd.h (xunlink, xreadlink): Declare.
21280 * support/temp_file.h (support_create_temp_directory): Declare.
21281 * support/temp_file.c (support_create_temp_directory): New function.
21282 * support/support_chroot.c (support_chroot_create): Use it.
21283 * support/xreadlink.c: New file.
21284 * support/xstrndup.c: Likewise.
21285 * support/xunlink.c: Likewise.
21286 * support/tst-xreadlink.c: Likewise.
21288 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21290 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21292 2017-11-11 Florian Weimer <fweimer@redhat.com>
21296 * resolv/res_comp.c (printable_string, binary_hnok)
21297 (binary_leading_dash): New functions.
21298 (res_hnok): Reimplement using these functions and ns_name_pton.
21299 (res_ownok): Likewise.
21300 (res_mailok): Reimplement using printable_string, ns_name_pton and
21302 (res_dnok): Reimplement using printable_string and ns_name_pton.
21303 * resolv/tst-res_hnok.c (tests): Add additional tests.
21304 (LETTERDIGITS, PRINTABLE): Define.
21305 (do_test): Adjust one_char results.
21307 2017-11-11 Florian Weimer <fweimer@redhat.com>
21310 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21311 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21313 2017-11-11 Florian Weimer <fweimer@redhat.com>
21315 * resolv/tst-ns_name_pton.c: New file.
21316 * resolv/Makefile (tests): Add tst-ns_name_pton.
21317 (tst-ns_name_pton): Link against libresolv.
21319 2017-11-11 Florian Weimer <fweimer@redhat.com>
21321 * resolv/tst-res_hnok.c: New file.
21322 * resolv/Makefile (tests): Add tst-res_hnok.
21323 (tst-res_hnok): Link against libresolv.
21325 2017-11-11 Florian Weimer <fweimer@redhat.com>
21327 * resolv/tst-resolv-network.c: Use test framework instead explicit
21330 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21332 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21333 <jmp_buf-macros.h>.
21334 [!_ISOMAC] (STR_HELPER): New.
21335 [!_ISOMAC] (STR): Likewise.
21336 [!_ISOMAC] (TEST_SIZE): Likewise.
21337 [!_ISOMAC] (TEST_ALIGN): Likewise.
21338 [!_ISOMAC] (TEST_OFFSET): Likewise.
21339 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21340 field offsets of jmp_buf as well as sigjmp_buf.
21341 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21342 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21343 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21344 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21345 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21346 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21347 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21348 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21349 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21350 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21352 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21354 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21359 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21360 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21361 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21362 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21363 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21368 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21369 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21370 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21372 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21376 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21377 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21378 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21379 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21380 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21381 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21382 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21383 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21384 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21385 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21386 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21387 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21388 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21389 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21390 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21391 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21392 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21393 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21394 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21395 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21396 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21397 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21398 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21399 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21400 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21401 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21402 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21403 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21404 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21405 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21406 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21407 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21408 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21409 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21410 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21411 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21412 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21413 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21414 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21415 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21416 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21417 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21418 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21419 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21420 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21421 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21422 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21423 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21424 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21425 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21426 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21427 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21428 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21429 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21430 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21431 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21432 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21433 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21434 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21435 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21436 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21437 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21438 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21439 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21440 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21441 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21442 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21443 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21444 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21445 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21446 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21447 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21448 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21449 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21450 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21451 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21452 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21453 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21454 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21455 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21456 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21457 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21458 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21459 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21460 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21461 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21462 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21464 * stdlib/tst-strtod.h (F16): New macro.
21470 (IF_FLOAT16): Likewise.
21471 (IF_FLOAT32): Likewise.
21472 (IF_FLOAT64): Likewise.
21473 (IF_FLOAT32X): Likewise.
21474 (IF_FLOAT64X): Likewise.
21475 (IF_FLOAT128X): Likewise.
21476 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21477 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21478 (STRTOD_TEST_FOREACH): Likewise.
21479 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21480 (CHOOSE_f64): Likewise.
21481 (CHOOSE_f32x): Likewise.
21482 (CHOOSE_f64x): Likewise.
21484 2017-11-07 Andreas Schwab <schwab@suse.de>
21486 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21488 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21491 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21493 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21496 2017-11-07 Claude Paroz <claude@2xlibre.net>
21499 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21501 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21503 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21506 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21509 * nptl/allocatestack.c (allocate_stack): Check if
21510 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21511 __PTHREAD_MUTEX_HAVE_PREV is defined.
21512 * nptl/descr.h (pthread): Likewise.
21513 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21515 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21516 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21517 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21518 * sysdeps/nptl/bits/thread-shared-types.h
21519 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21521 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21522 of __WORDSIZE for internal layout.
21523 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21524 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21525 instead of __WORDSIZE whether to use an union for __spins and __list
21527 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21529 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21530 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21532 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21533 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21535 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21536 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21538 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21539 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21541 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21542 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21544 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21545 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21547 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21548 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21550 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21551 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21553 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21554 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21556 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21557 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21559 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21560 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21562 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21563 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21565 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21566 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21568 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21569 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21571 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21572 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21575 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21577 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21578 checks for expected input type size.
21579 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21580 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21582 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21583 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21584 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21585 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21586 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21587 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21588 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21589 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21590 superflous runtime assert check.
21591 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21593 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21595 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21597 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21599 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21601 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21603 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21604 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21605 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21607 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21609 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21611 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21613 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21615 * nptl/pthread_attr_setinheritsched.c
21616 (__pthread_attr_setinheritsched): Likewise.
21617 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21619 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21621 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21622 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21623 __old_pthread_attr_setstack): Likewise.
21624 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21626 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21628 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21630 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21631 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21633 * nptl/tst-typesizes.c: Remove file.
21635 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21636 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21637 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21638 checks for internal pthread_mutex_t offsets.
21639 * sysdeps/aarch64/nptl/pthread-offsets.h
21640 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21641 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21642 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21643 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21644 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21645 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21646 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21647 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21648 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21649 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21650 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21651 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21652 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21653 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21654 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21655 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21656 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21657 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21659 2017-11-07 Florian Weimer <fweimer@redhat.com>
21661 * bits/mman-linux.h: Move ...
21662 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21664 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21667 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21669 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21670 Redefine STRNLEN as __strnlen_power8.
21672 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21674 * signal/sighold.c (sighold): Optimize implementation.
21676 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21677 __NR_rt_sigqueueinfo.
21679 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21681 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21682 assume __NR_rt_sigtimedwait.
21683 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21684 and add LIBC_CANCEL_HANDLED for cancellation marking.
21685 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21687 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21688 (sysdeps_routines): Add memchr_noneon.
21689 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21690 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21691 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21692 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21693 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21694 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21695 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21697 * sysdeps/arm/arm-ifunc.h: New file.
21698 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21699 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21700 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21701 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21702 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21703 (__memcpy_neon): Avoid create hidden alias.
21704 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21705 (__memcpy_vfp): Likewise.
21706 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21707 (sysdep_routines): Add memcpy_arm.
21708 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21710 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21713 * Makerules (make-link-multidir): New.
21714 * config.make.in (multidir): New.
21715 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21716 * configure: Regenerated.
21717 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21718 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21719 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21722 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21725 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21726 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21728 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21730 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21733 2017-11-04 Florian Weimer <fweimer@redhat.com>
21735 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21737 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21739 * math/math.h [__HAVE_DISTINCT_FLOAT16
21740 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21741 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21742 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21743 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21744 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21745 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21746 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21747 (__MATH_TG_F32): New macro.
21748 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21749 (__MATH_TG_F64X): Likewise.
21750 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21751 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21753 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21755 * po/de.po: Update translations.
21756 * po/ru.po: Likewise.
21758 2017-11-03 Florian Weimer <fweimer@redhat.com>
21760 * manual/filesys.texi (Hard Links): Document linkat.
21762 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21764 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21765 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21766 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21767 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21768 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21769 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21770 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21771 the same as _Float128.
21772 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21773 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21774 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21777 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21779 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21781 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21783 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21784 (strtof32x): Likewise.
21785 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21786 (strtof64x): Likewise.
21787 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21788 (strtof128x): Likewise.
21789 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21790 (strfromf16): Likewise.
21791 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21792 (strfromf32): Likewise.
21793 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21794 (strfromf64): Likewise.
21795 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21796 (strfromf32x): Likewise.
21797 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21798 (strfromf64x): Likewise.
21799 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21800 (strfromf128x): Likewise.
21801 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21802 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21803 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21804 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21805 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21806 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21808 2017-11-03 Richard Henderson <rth@twiddle.net>
21810 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21812 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21814 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21816 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21818 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21819 DT_TLSDESC_GOT initialization.
21820 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21821 (_dl_tlsdesc_resolve_hold): Likewise.
21822 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21823 (_dl_tlsdesc_resolve_hold): Likewise.
21824 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21825 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21827 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21829 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21831 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21834 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21835 non-lazily for R_ARM_TLS_DESC.
21837 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21840 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21841 R_ARM_TLS_DESC case.
21842 (elf_machine_lazy_rel): Remove the prelink check.
21844 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21846 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21847 DT_TLSDESC_GOT initialization.
21848 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21849 (_dl_tlsdesc_resolve_rela): Likewise.
21850 (_dl_tlsdesc_resolve_hold): Likewise.
21851 (_dl_tlsdesc_undefweak): Remove ldar.
21852 (_dl_tlsdesc_dynamic): Likewise.
21853 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21854 (_dl_tlsdesc_resolve_rela): Likewise.
21855 (_dl_tlsdesc_resolve_hold): Likewise.
21856 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21857 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21858 (_dl_tlsdesc_resolve_rela): Likewise.
21859 (_dl_tlsdesc_resolve_hold): Likewise.
21861 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21863 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21864 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21866 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21868 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21869 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21871 2017-11-02 Joseph Myers <joseph@codesourcery.com>
21873 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21875 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21876 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21877 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21878 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21879 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21880 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21881 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21882 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21883 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21884 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21885 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21887 2017-11-02 Mike FABIAN <mfabian@redhat.com>
21890 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21891 * localedata/locales/tpi_PG: Add standard header.
21893 2017-11-02 Florian Weimer <fweimer@redhat.com>
21895 test-errno-linux: quotactl can fail with EPERM in containers.
21896 * sysdeps/unix/sysv/linux/test-errno-linux.c
21897 (LIST, LIST_FORWARD): New macros.
21898 (check_error_in_list): New function.
21899 (test_wrp_rv): Accept list of permitted error codes.
21900 (test_wrp_rv2): Remove.
21901 (test_wrp): Call test_wrp_rv with list of error codes.
21902 (test_wrp2): Accept list of error codes.
21903 (do_test): Adjust. Allow EPERM for quotactl.
21905 2017-11-02 Florian Weimer <fweimer@redhat.com>
21907 * stdio-common/bug16.c (do_test): Use array_length.
21908 * stdio-common/errlist.c (_sys_nerr): Likewise.
21909 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21910 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21911 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21912 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21913 (do_test): Use array_length.
21914 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21915 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21916 * stdio-common/tst-printf-round.c (do_test): Likewise.
21917 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21918 (CHECK): Use array_length.
21919 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21920 * stdio-common/tstscanf.c (main): Likewise.
21921 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21923 2017-11-02 Florian Weimer <fweimer@redhat.com>
21925 Add array_length and array_end macros.
21926 * include/array_length.h: New file.
21928 2017-11-02 Florian Weimer <fweimer@redhat.com>
21931 * posix/tst-glob-tilde.c (do_noescape): New variable.
21932 (one_test): Process it.
21933 (do_test): Set do_noescape. Add unescaping test case.
21935 2017-11-01 Joseph Myers <joseph@codesourcery.com>
21938 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21939 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21940 with appropriate macros defined and undefined.
21941 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21942 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21943 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21944 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21945 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21946 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21947 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21948 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21949 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21950 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21953 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21954 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21955 that for long double. Do not condition define and undefine of
21956 _Mdouble_complex_ on [__CFLOAT128].
21958 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21960 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21961 of <sysdeps/generic/sysdep.h>.
21962 (ALIGNARG): Removed.
21963 (ASM_SIZE_DIRECTIVE): Likewise.
21966 (ENTRY_CHK): Likewise.
21967 (END_CHK): Likewise.
21968 (syscall_error): Likewise.
21969 (mcount): Likewise.
21970 (PSEUDO_END): Likewise.
21972 (atom_text_section): Likewise.
21973 * sysdeps/x86/sysdep.h: New file.
21974 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21975 of <sysdeps/generic/sysdep.h>.
21976 (ALIGNARG): Removed.
21977 (ASM_SIZE_DIRECTIVE): Likewise.
21980 (ENTRY_CHK): Likewise.
21981 (END_CHK): Likewise.
21982 (syscall_error): Likewise.
21983 (mcount): Likewise.
21984 (PSEUDO_END): Likewise.
21986 (atom_text_section): Likewise.
21988 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21990 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21991 category of LC_CTYPE set to "i18n:2012".
21992 * localedata/locales/i18n_ctype: Regenerate.
21994 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
21996 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21997 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21998 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21999 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22001 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22002 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22006 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22009 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22011 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22013 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22015 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22016 (CMPLXF32X): Likewise.
22017 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22018 (CMPLXF64X): Likewise.
22019 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22020 (CMPLXF128X): Likewise.
22023 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22024 (__MATH_EVAL_FMT2): Define to add 0.0f.
22026 2017-10-31 Alan Modra <amodra@gmail.com>
22028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22044 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22045 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22046 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22048 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22052 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22053 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22055 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22056 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22057 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22058 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22059 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22060 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22061 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22062 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22063 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22064 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22070 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22071 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22072 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22073 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22074 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22075 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22076 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22077 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22078 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22079 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22080 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22081 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22082 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22083 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22084 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22085 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22086 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22089 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22090 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22091 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22092 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22093 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22094 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22095 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22096 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22097 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22098 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22101 include sysdep.h and math_ldbl_opt.h.
22103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22104 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22130 2017-10-31 Alan Modra <amodra@gmail.com>
22132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22133 string/strncase_l.c, not string/strncase.c.
22134 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22135 (libc_hidden_def): Redefine.
22137 2017-10-31 Alan Modra <amodra@gmail.com>
22139 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22140 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22141 (__strcasecmp): Don't define.
22143 2017-10-31 Alan Modra <amodra@gmail.com>
22145 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22147 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22148 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22149 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22151 2017-10-31 Alan Modra <amodra@gmail.com>
22153 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22156 2017-10-31 Alan Modra <amodra@gmail.com>
22158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22159 Redefine only when SHARED.
22161 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22163 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22164 Include <bits/math-finite.h> with appropriate macros defined and
22166 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22167 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22168 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22169 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22170 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22172 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22173 [!_Mlong_double_] (_Mlong_double_): Likewise.
22174 [!_Mfloat16_] (_Mfloat16_): Likewise.
22175 [!_Mfloat32_] (_Mfloat32_): Likewise.
22176 [!_Mfloat64_] (_Mfloat64_): Likewise.
22177 [!_Mfloat128_] (_Mfloat128_): Likewise.
22178 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22179 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22180 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22181 (_Mdouble_): Define without indirection through those macros.
22182 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22183 [!_Mfloat128_] (_Mfloat128_): Likewise.
22184 [_Mlong_double_] (_Mlong_double_): Likewise.
22185 (_Mdouble_): Define without indirection through those macros.
22186 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22187 not add -D_Mlong_double_=double.
22188 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22189 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22191 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22193 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22195 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22197 * sysdeps/x86/libc-start.c: Reformat.
22199 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22202 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22203 (1): Renamed to ...
22206 (L(Src2)): Likewise.
22207 (L(1)): Renamed to ...
22210 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22212 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22213 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22214 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22215 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22216 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22217 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22218 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22219 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22220 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22221 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22222 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22223 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22224 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22225 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22226 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22227 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22228 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22229 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22230 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22231 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22232 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22233 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22234 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22235 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22236 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22237 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22238 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22239 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22240 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22241 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22242 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22243 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22244 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22245 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22246 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22247 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22248 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22249 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22250 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22251 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22252 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22253 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22254 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22255 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22256 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22257 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22258 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22259 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22260 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22261 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22262 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22263 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22264 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22265 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22266 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22267 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22268 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22269 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22270 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22271 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22272 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22273 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22274 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22275 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22276 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22277 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22279 2017-10-30 Florian Weimer <fweimer@redhat.com>
22281 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22283 * io/tst-mkdirat.c (do_test): Likewise.
22284 * io/tst-mkfifoat.c (do_test): Likewise.
22285 * io/tst-mknodat.c (do_test): Likewise.
22286 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22287 * locale/programs/locale.c (select_dirs): Likewise.
22288 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22289 * posix/bug-glob2.c (my_readdir): Likewise.
22290 * posix/tst-dir.c (main): Likewise.
22291 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22292 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22294 2017-10-30 Florian Weimer <fweimer@redhat.com>
22296 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22299 2017-10-30 Florian Weimer <fweimer@redhat.com>
22301 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22302 Convert to support/test-driver.c.
22303 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22304 New macro parameters.
22305 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22306 * posix/tst-gnuglob.c: New file.
22307 * posix/tst-gnuglob64.c: Likewise.
22308 * posix/Makefile (tests): Add tst-gnuglob64.
22310 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22313 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22314 and use a better translation for March in “mon”.
22315 * localedata/locales/csb_PL: Use more ASCII to improve the
22316 readability of the source.
22318 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22321 * localedata/locales/km_KH: Use ASCII as much
22322 as possible for better readability of the source and
22323 remove useless comments.
22324 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22325 was commented out and apparently wrong anyway because it was
22326 using Lao characters. If Buddhist era should be used
22327 for km_KH, a native speaker should write the correct formaat
22329 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22330 (According to CLDR, the first weekday for Cambodia is Sunday).
22331 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22332 (These were using Lao characters which must be wrong. If we get
22333 the correct data from a native speaker, we could add it back, until
22334 then it is better not to have name_mr and name_mrs at all than
22337 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22339 * locale/loadlocale.c: Correct size of
22340 _nl_value_type_LC_<category> arrays.
22342 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22344 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22345 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22346 with appropriate macros defined and undefined.
22347 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22348 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22349 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22350 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22351 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22353 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22355 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22358 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22360 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22361 with lowercase letters to make it agree with CLDR.
22363 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22366 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22367 first letters of yesstr and nostr in yesexpr and noexpr,
22368 not for the full words.
22369 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22370 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22371 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22372 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22373 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22374 first letters of yesstr and nostr in yesexpr and noexpr,
22375 until now only English was matched in yesexpr and noexpr.
22376 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22377 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22378 fil but not for tl. As tl and fil are very similar, using fil
22379 is probably better than using English.
22381 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22384 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22385 in yesstr and nostr.
22387 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22389 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22390 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22391 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22393 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22395 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22397 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22399 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22400 (SNANF128X): Likewise.
22402 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22403 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22404 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22405 (HUGE_VAL_F32): Likewise.
22406 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22407 (HUGE_VAL_F64): Likewise.
22408 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22409 (HUGE_VAL_F32X): Likewise.
22410 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22411 (HUGE_VAL_F64X): Likewise.
22412 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22413 (HUGE_VAL_F128X): Likewise.
22415 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22417 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22418 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22419 for the br_FR locale.
22421 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22424 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22426 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22428 * locale/programs/record-status.h: Define globals, and function
22429 prototypes. Move function bodies...
22430 * locale/programs/record-status.c: ... to here. New file.
22431 * iconv/Makefile (iconv_prog-modules): Add record-status.
22432 * locale/Makefile (lib-modules): Likewise.
22433 * iconv/iconv_prog.c: Remove verbose.
22434 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22435 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22436 record a warning about ASCII compatibility.
22437 * locale/programs/ld-monetary.c (monetary_finish): If
22438 warn_int_curr_symbol is true then record a warning about the symbol
22439 not being in our ISO 4217 list.
22440 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22441 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22442 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22443 (OPT_NO_WARN): Define.
22444 (OPT_WARN): Define.
22445 (options): Add entry for --no-warnings, and --warnings.
22446 (set_warnings): New function to enable/disable warnings.
22447 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22448 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22449 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22450 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22451 Pass flags to generate_locale.
22452 (generate_locale): Accept new flag argument and pass it to localedef
22454 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22455 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22457 * localedata/Makefile (test-input-data): Use full file name.
22458 * localedata/da_DK.in: Rename to...
22459 * localedata/da_DK.ISO-8859-1.in: ...this.
22460 * localedata/de_DE.in: Rename to...
22461 * localedata/de_DE.ISO-8859-1.in: ...this.
22462 * localedata/en_US.in: Rename to...
22463 * localedata/en_US.ISO-8859-1.in: ...this.
22464 * localedata/fr_FR.in: Rename to...
22465 * localedata/fr_FR.UTF-8.in: ... this.
22466 * localedata/hr_HR.in: Rename to...
22467 * localedata/hr_HR.ISO-8859-2.in: ...this.
22468 * localedata/hu_HU.in: Rename to...
22469 * localedata/hu_HU.UTF-8.in: ...this.
22470 * localedata/si_LK.in: Rename to...
22471 * localedata/si_LK.UTF-8.in: ...this.
22472 * localedata/sv_SE.in: Rename to...
22473 * localedata/sv_SE.ISO-8859-1.in: ...this.
22474 * localedata/tr_TR.in: Rename to...
22475 * localedata/tr_TR.UTF-8.in: ...this.
22476 * localedata/uk_UA.in: Rename to...
22477 * localedata/uk_UA.UTF-8.in: ...this.
22478 * localedata/sort-test.sh: Test file is locale name with the
22481 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22482 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22484 * localedata/locales/i18n_ctype: Regenerate.
22485 * localedata/locales/tr_TR: Likewise.
22486 * localedata/locales/translit_circle: Likewise.
22487 * localedata/locales/translit_cjk_compat: Likewise.
22488 * localedata/locales/translit_combining: Likewise.
22489 * localedata/locales/translit_compat: Likewise.
22490 * localedata/locales/translit_font: Likewise.
22491 * localedata/locales/translit_fraction: Likewise.
22493 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22496 lxvd2x/stxvd2x with lvx/stvx.
22497 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22499 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22501 * include/alloc_buffer.h: Replace "if if " with "if " in
22503 * sysdeps/mips/memcpy.S: Likkewise.
22504 * sysdeps/mips/memset.S: Likewise.
22505 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22507 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22509 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22512 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22515 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22516 yesexpr and noexpr.
22517 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22518 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22519 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22520 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22521 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22522 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22523 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22525 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22527 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22528 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22529 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22530 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22531 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22532 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22533 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22534 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22535 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22536 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22537 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22538 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22540 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22542 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22543 as possible for better readability of the source.
22544 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22545 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22546 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22547 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22548 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22549 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22550 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22551 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22552 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22553 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22554 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22555 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22556 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22557 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22558 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22559 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22560 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22561 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22562 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22563 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22564 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22565 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22566 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22567 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22568 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22569 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22570 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22571 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22572 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22573 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22574 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22575 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22576 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22577 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22578 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22579 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22580 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22581 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22582 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22583 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22584 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22585 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22586 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22587 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22588 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22589 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22590 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22591 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22592 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22593 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22594 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22595 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22596 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22597 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22598 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22599 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22600 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22601 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22602 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22603 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22604 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22605 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22606 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22607 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22608 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22609 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22610 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22611 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22612 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22613 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22614 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22615 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22616 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22617 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22618 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22619 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22620 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22621 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22622 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22623 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22624 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22625 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22626 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22627 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22628 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22629 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22630 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22631 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22632 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22633 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22634 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22635 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22636 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22637 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22638 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22639 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22640 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22641 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22642 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22643 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22644 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22645 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22646 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22647 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22648 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22649 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22650 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22651 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22652 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22653 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22654 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22655 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22656 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22657 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22658 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22659 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22660 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22661 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22662 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22663 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22664 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22665 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22666 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22667 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22668 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22669 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22670 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22671 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22672 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22673 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22674 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22675 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22676 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22677 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22678 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22679 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22680 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22681 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22682 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22683 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22684 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22685 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22686 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22687 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22688 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22689 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22690 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22691 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22692 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22693 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22694 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22695 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22696 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22697 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22698 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22699 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22700 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22701 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22702 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22703 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22704 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22705 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22706 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22707 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22708 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22709 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22710 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22711 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22712 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22713 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22714 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22715 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22716 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22717 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22719 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22721 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22722 (Use first letters of yesstr and nostr correctly instead of using
22725 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22727 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22728 (Use first letters of yesstr and nostr correctly).
22730 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22732 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22733 also check for the first characters of yesstr and nostr.
22734 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22735 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22737 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22739 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22740 also check for Chinese characters.
22742 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22744 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22745 match also for the contents of yesstr and nostr. As the first letter
22746 of yesstr and nostr is equal, checking only for the first letter
22749 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22751 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22752 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22754 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22756 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22757 of main contributor.
22759 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22761 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22762 instead of using English.
22764 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22766 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22767 by including the first letters of nostr and yesexpr in the regexp.
22768 Also make it more readable by using ASCII where possible.
22770 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22772 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22773 the first letter of nostr in the regexp. It agrees with CLDR now.
22774 Also make it more readable by using ASCII where possible.
22776 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22778 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22779 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22780 these strings contain a U+17D6 (which somewhat looks like a colon)
22781 instead of a real colon to separate the full words for “yes”
22782 and “no” from the single letter responses.
22784 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22786 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22787 it agree with CLDR (include the first letter of yesstr).
22788 Also make it more readable by using ASCII where possible.
22790 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22792 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22793 and improve yesexpr and noexpr. The yesstr and nostr apparently
22794 came from CLDR. And CLDR has a bug there: these strings contain
22795 a U+0903 (which looks like a colon) instead of a real colon
22796 to separate the full words for “yes” and “no” from the single
22799 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22801 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22802 letters of the full yesstr and nostr in yesexpr and noexpr.
22804 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22806 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22807 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22808 * localedata/locales/an_ES: Make source more readable by using ASCII
22811 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22814 * localedata/locales/yuw_PG: New file.
22815 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22816 * locale/iso-639.def: Add Yau (Uruwa).
22818 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22820 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22822 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22824 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22825 (__libc_realloc): Likewise.
22826 (_mid_memalign): Likewise.
22827 (__libc_calloc): Likewise.
22829 2017-10-23 Mike FABIAN <mfabian@redhat.com>
22831 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22832 by adding the generic +1 and -0 as in all other locales.
22833 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22834 day names and make it more readable by using ASCII where possible.
22836 2017-10-24 Joseph Myers <joseph@codesourcery.com>
22838 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22839 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22841 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22843 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22844 WNOHANG in waitpid call.
22846 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22848 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22849 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22851 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22852 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22853 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22854 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22855 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22856 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22857 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22858 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22861 2017-10-23 Michael Collison <michael.collison@arm.com>
22863 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22864 with __builtin_sqrt.
22865 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22866 with __builtin_sqrtf.
22867 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22868 with __builtin_ceil.
22869 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22870 with __builtin_ceilf.
22871 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22872 with __builtin_floor.
22873 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22874 with __builtin_floorf.
22875 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22876 with __builtin_fma.
22877 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22878 with __builtin_fmaf.
22879 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22880 with __builtin_fmax.
22881 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22882 with __builtin_fmaxf.
22883 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22884 with __builtin_fmin.
22885 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22886 with __builtin_fminf.
22887 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22888 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22889 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22890 with builtin_rint and conversion to int.
22891 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22892 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22893 with builtin_llround.
22894 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22895 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22896 with builtin_rint and conversion to long int.
22897 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22898 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22899 with builtin_lround.
22900 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22901 with builtin_lroundf.
22902 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22903 statements with __builtin_nearbyint.
22904 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22905 statements with __builtin_nearbyintf.
22906 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22907 with __builtin_rint.
22908 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22909 with __builtin_rintf.
22910 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22911 with __builtin_round.
22912 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22913 with __builtin_roundf.
22914 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22915 with __builtin_trunc.
22916 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22917 with __builtin_truncf.
22918 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22919 and s_l[l]round[f].c too.
22921 2017-10-23 Alan Modra <amodra@gmail.com>
22923 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22924 Adjust stack after restoring regs. Add missing LR cfi_restore.
22926 2017-10-23 Alan Modra <amodra@gmail.com>
22928 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22929 Move LR save and frame setup/teardown and LR restore to
22930 immediately around memset call. Provide cfi.
22932 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22934 * sysdeps/i386/fpu/e_powf.S: Removed.
22935 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22936 * sysdeps/i386/fpu/w_powf.c: Likewise.
22937 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22938 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22939 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22941 (CFLAGS-e_powf-sse2.c): New.
22942 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22943 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22945 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22947 * sysdeps/i386/fpu/e_log2f.S: Removed.
22948 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22949 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22950 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22951 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22952 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22954 (CFLAGS-e_log2f-sse2.c): New.
22955 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22956 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22958 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22960 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22962 (CFLAGS-e_powf-fma.c): New.
22963 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22964 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22966 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22968 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22970 (CFLAGS-e_log2f-fma.c): New.
22971 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22972 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22974 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22976 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22978 (CFLAGS-e_logf-fma.c): New.
22979 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22980 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22982 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22984 * sysdeps/i386/fpu/e_logf.S: Removed.
22985 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22986 * sysdeps/i386/fpu/w_logf.c: Likewise.
22987 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22988 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22989 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22990 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22992 (CFLAGS-e_logf-sse2.c): New.
22993 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22994 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22996 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22998 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22999 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23000 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23001 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23002 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23004 (CFLAGS-e_exp2f-sse2.c): New.
23005 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23006 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23008 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23010 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23012 (CFLAGS-e_exp2f-fma.c): New.
23013 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23014 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23016 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23018 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23019 * sysdeps/i386/fpu/e_expf.S: Likewise.
23020 * sysdeps/i386/fpu/math_errf.c: Likewise.
23021 * sysdeps/i386/fpu/w_expf.c: Likewise.
23022 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23023 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23024 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23025 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23026 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23027 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23028 Remove e_expf-ia32.
23029 (CFLAGS-e_expf-sse2.c): New.
23030 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23031 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23033 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23035 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23036 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23037 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23038 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23040 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23042 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23043 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23045 (__redirect_expf): This.
23046 (SYMBOL_NAME): Changed to expf.
23047 (__ieee754_expf): Renamed to ...
23049 (__GI___expf): This.
23050 (__ieee754_expf): Add strong_alias.
23051 (__expf_finite): Likewise.
23053 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23055 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23058 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23061 2017-10-21 Florian Weimer <fweimer@redhat.com>
23063 * posix/Makefile (tests): Add tst-glob-tilde.
23064 (tests-special): Add tst-glob-tilde-mem.out
23065 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23066 (tst-glob-tilde-mem.out): Add mtrace check.
23067 * posix/tst-glob-tilde.c: New file.
23069 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23071 * bits/floatn-common.h: New file.
23072 * math/Makefile (headers): Add bits/floatn-common.h.
23073 * bits/floatn.h: Include <bits/floatn-common.h>.
23074 * sysdeps/ia64/bits/floatn.h: Likewise.
23075 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23076 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23077 * sysdeps/powerpc/bits/floatn.h: Likewise.
23078 * sysdeps/x86/bits/floatn.h: Likewise.
23080 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23082 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23083 indicates whether compiler emits an warning for alias for
23084 functions with incompatible types.
23087 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23088 the auxiliary process is terminated by a signal before calling _exit
23091 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23094 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23096 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23097 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23098 and bit_arch_XSAVEC_Usable if needed.
23099 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23100 and bit_arch_Use_dl_runtime_resolve_opt.
23101 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23103 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23104 (bit_arch_Prefer_No_AVX512): Updated.
23105 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23106 (bit_arch_XSAVEC_Usable): New.
23107 (STATE_SAVE_OFFSET): Likewise.
23108 (STATE_SAVE_MASK): Likewise.
23109 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23110 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23111 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23112 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23113 (index_arch_XSAVEC_Usable): New.
23114 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23115 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23116 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23118 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23119 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23120 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23121 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23122 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23123 _dl_runtime_resolve_xsavec.
23124 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23126 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23127 instead of VEC_SIZE.
23128 (REGISTER_SAVE_BND0): Removed.
23129 (REGISTER_SAVE_BND1): Likewise.
23130 (REGISTER_SAVE_BND3): Likewise.
23131 (REGISTER_SAVE_RAX): Always defined to 0.
23133 (_dl_runtime_resolve_avx): Likewise.
23134 (_dl_runtime_resolve_avx_slow): Likewise.
23135 (_dl_runtime_resolve_avx_opt): Likewise.
23136 (_dl_runtime_resolve_avx512): Likewise.
23137 (_dl_runtime_resolve_avx512_opt): Likewise.
23138 (_dl_runtime_resolve_sse): Likewise.
23139 (_dl_runtime_resolve_sse_vex): Likewise.
23141 (_dl_runtime_resolve_fxsave): Likewise.
23142 (USE_XSAVE): Likewise.
23143 (_dl_runtime_resolve_xsave): Likewise.
23144 (USE_XSAVEC): Likewise.
23145 (_dl_runtime_resolve_xsavec): Likewise.
23146 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23148 (_dl_runtime_resolve_avx512_opt): Likewise.
23149 (_dl_runtime_resolve_avx): Likewise.
23150 (_dl_runtime_resolve_avx_opt): Likewise.
23151 (_dl_runtime_resolve_sse): Likewise.
23152 (_dl_runtime_resolve_sse_vex): Likewise.
23153 (_dl_runtime_resolve_fxsave): New.
23154 (_dl_runtime_resolve_xsave): Likewise.
23155 (_dl_runtime_resolve_xsavec): Likewise.
23157 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23161 * posix/glob.c (__glob): Fix one-byte overflow.
23163 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23165 * malloc/malloc.c (sysdep-cancel.h): Add include.
23167 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23169 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23171 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23173 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23174 (tests): Remove $(objpfx)ga_test depdendency.
23175 * resolv/ga_test.c: Remove file.
23177 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23180 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23181 * localedata/locales/kab_DZ: New file.
23183 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23185 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23186 _dl_relocate_static_pie instead of _dl_start to compute load
23187 address in static PIE.
23189 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23191 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23193 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23196 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23197 * localedata/locales/shn_MM: New file.
23199 2017-10-20 Florian Weimer <fweimer@redhat.com>
23202 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23203 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23204 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23205 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23206 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23207 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23209 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23211 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23213 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23215 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23218 * sysdeps/mips/bits/long-double.h: Move to ....
23219 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23221 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23223 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23225 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23226 H.J. Lu <hongjiu.lu@intel.com>
23229 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23230 GLRO(dl_platform) to NULL.
23231 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23232 (modules-names): Add tst-platformmod-1 and
23233 x86_64/tst-platformmod-2.
23234 (CFLAGS-tst-platform-1.c): New.
23235 (CFLAGS-tst-platformmod-1.c): Likewise.
23236 (CFLAGS-tst-platformmod-2.c): Likewise.
23237 (LDFLAGS-tst-platformmod-2.so): Likewise.
23238 ($(objpfx)tst-platform-1): Likewise.
23239 ($(objpfx)tst-platform-1.out): Likewise.
23240 (tst-platform-1-ENV): Likewise.
23241 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23242 * sysdeps/x86_64/tst-platform-1.c: New file.
23243 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23244 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23246 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23249 * locale/iso-639.def: Add Karbi.
23250 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23251 * localedata/locales/mjw_IN: New file.
23253 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23255 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23256 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23257 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23258 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23259 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23260 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23261 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23263 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23264 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23265 * manual/math.texi (Mathematics): Document additional architecture
23266 support for _Float128.
23267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23268 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23269 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23270 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23271 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23272 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23273 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23274 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23275 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23276 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23277 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23278 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23279 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23281 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23283 2017-10-18 Renlin Li <renlin.li@arm.com>
23285 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23286 _DYNAMIC symbol to calculate load address.
23288 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23290 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23291 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23293 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23294 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23296 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23299 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23300 and improve readability by using more ASCII.
23301 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23302 and improve readability by using more ASCII.
23304 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23306 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23307 not all targets support atomics on bool.
23309 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23311 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23312 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23314 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23315 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23316 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23317 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23318 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23319 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23321 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23323 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23326 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23329 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23330 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23331 (do_check_remalloced_chunk): Fix build bug.
23332 (do_check_malloc_state): Add assert that checks arena->top.
23333 (malloc_consolidate): Remove initialization.
23334 (int_mallinfo): Remove call to malloc_consolidate.
23335 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23337 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23339 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23340 (have_fastchunks): Remove.
23341 (clear_fastchunks): Remove.
23342 (set_fastchunks): Remove.
23343 (malloc_state): Add have_fastchunks.
23344 (malloc_init_state): Use have_fastchunks.
23345 (do_check_malloc_state): Remove incorrect invariant checks.
23346 (_int_malloc): Use have_fastchunks.
23347 (_int_free): Likewise.
23348 (malloc_consolidate): Likewise.
23350 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23352 * malloc/malloc.c (tcache_put): Inline.
23353 (tcache_get): Inline.
23355 2017-10-17 Jordi Mallach <jordi@gnu.org>
23357 Aurelien Jarno <aurelien@aurel32.net>
23359 * localedata/locales/ca_ES@valencia: New file.
23360 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23362 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23365 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23368 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23370 * scripts/build-many-glibcs.py (Context.add_all_configs):
23371 Add arm-linux-gnueabihf multiarch extra_glibcs.
23373 * sysdeps/generic/ifunc-init.h: New file.
23374 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23376 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23379 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23380 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23381 * stdlib/tst-strfmon_l.c: adapt test case.
23383 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23385 * sysdeps/generic/float128-abi.h: New file.
23386 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23387 non-__prefixed symbols to ....
23388 * math/Versions: ... here. Include <float128-abi.h>.
23389 * stdlib/Versions ... and here. Include <float128-abi.h>
23391 2017-10-16 Florian Weimer <fweimer@redhat.com>
23393 * version.h (VERSION): Switch to ".9000" as the development
23396 2017-10-16 Florian Weimer <fweimer@redhat.com>
23399 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23400 compat_symbol_reference to access non-default version.
23402 2017-10-16 Florian Weimer <fweimer@redhat.com>
23404 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23406 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23408 * include/shlib-compat.h (compat_symbol_reference): Update
23411 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23413 * math/Makefile (test-types): Add
23414 $(type-float128-$(float128-alias-fcts)).
23415 * math/test-float128.h (TYPE_STR): Define conditional on
23416 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23417 (ULP_IDX): Likewise.
23418 (ULP_I_IDX): Likewise.
23420 * stdlib/strtold.c: Include <bits/floatn.h>
23421 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23422 and later undefine as macro. Define as weak alias if
23424 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23425 and later undefine as macro. Define as weak alias if
23427 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23428 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23429 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23430 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23431 Define and later undefine as macro. Define as weak alias if
23433 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23435 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23436 Define and later undefine as macro. Define as weak alias if
23438 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23439 Define and later undefine as macro. Define as weak alias if
23442 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23444 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23445 record_verbose messages.
23447 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23450 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23451 to silence -O3 -Wall warning with GCC 7.
23453 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23455 * Makeconfig (+link-static-before-libc): Use the first of
23456 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23457 * gmon/Makefile (tests): Add tst-gmon-static.
23458 (tests-static): Likewise.
23459 (CFLAGS-tst-gmon-static.c): New.
23460 (CRT-tst-gmon-static): Likewise.
23461 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23462 (tst-gmon-static-ENV): Likewise.
23463 (tests-special): Likewise.
23464 ($(objpfx)tst-gmon-static.out): Likewise.
23465 (clean-tst-gmon-static-data): Likewise.
23466 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23467 * gmon/tst-gmon-static-gprof.sh: New file.
23468 * gmon/tst-gmon-static.c: Likewise.
23470 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23473 * locale/programs/linereader.c (get_string): Don't warn on
23474 non-symbolic character.
23477 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23481 * locale/programs/record-status.h: New file
23482 * locale/programs/locale.c: Add comment.
23483 * locale/programs/charmap-dir.c: Don't include error.h.
23484 (charmap_opendir): Use record_error.
23485 * locale/programs/charmap.c: Don't include error.h.
23486 (charmap_read): Use record_error, and record_warning.
23487 (parse_charmap): Likewise.
23488 * locale/programs/ld-address.c: Don't include error.h.
23489 (address_finish): Use record_error, and record_warning.
23490 * locale/programs/ld-collate.c: Don't include error.h.
23491 (collate_finish): Use record_error, and record_error_at_line.
23492 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23493 (ctype_class_new): Likewise.
23494 (ctype_map_new): Likewise.
23495 (set_one_default): Likewise.
23496 (set_class_defaults): Likewise.
23497 (translit_flatten): Likewise.
23498 (allocate_arrays): Use record_error, and record_verbose.
23499 * locale/programs/ld-identification.c: Don't include error.h.
23500 (indentation_finish): Use record_error and record_warning.
23501 * locale/programs/ld-measurement.c: Don't include error.h.
23502 (measurement_finish): Use record_error.
23503 * locale/programs/ld-messages.c
23504 (message_finish): Likewise.
23505 * locale/programs/ld-monetary.c
23506 (monetary_finish): Likewise.
23507 * locale/programs/ld-name.c (name_finish): Use record_error
23508 and record_warning.
23509 * locale/programs/ld-numeric.c
23510 (numeric_finish): Use record_error.
23511 * locale/programs/ld-paper.c: Don't include error.h.
23512 (paper_finish): Use record_error.
23513 * locale/programs/ld-telephone.c: Don't include error.h.
23514 (telephone_finish): Use record_error.
23515 * locale/programs/ld-time.c (time_finish): Likewise.
23516 * locale/programs/linereader.h (lr_error): Make inline func.
23517 * locale/programs/localedef.c: Define recorded_warning_count,
23518 and recorded_error_count.
23519 (main): Use record_error. Use recorded_error_count and
23520 recorded_warning_count to issue correct error returns.
23521 (add_to_readlist): Use record_error.
23522 (find_locale): Likewise.
23523 (load_locale): Likewise.
23524 * locale/programs/localedef.h: Remove be_quiet
23525 and WITH_CUR_LOCALE.
23526 * locale/programs/locarchive.c (compare_from_file): Use
23528 * locale/programs/locfile.c (write_locale_data): Use
23530 * locale/programs/repertoire.c: Dont include error.h.
23531 (repertoire_complain): Use record_error.
23532 * localedata/tst-fmon.sh: Expect failures from localedef.
23533 * localedata/tst-locale.sh: Likewise.
23534 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23536 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23537 (REPORTS): Likewise.
23539 (i18n): Rename to...
23540 (i18n_ctype): ...this.
23541 (i18n-report): Rename to...
23542 (i18n_ctype-report): ...this.
23543 * localedata/locales/i18n_ctype: Regenerate.
23544 * localedata/locales/i18n: copy i18n_ctype.
23546 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23548 * stdlib/strfroml.c: Include <bits/floatn.h>.
23549 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23550 Define before include of <stdlib.h> and undefine afterwards, then
23551 define as weak alias.
23553 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23554 Undefine and restore default definition. Use
23555 libm_alias_ldouble_other.
23557 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23560 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23563 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23566 Assign sym_map to be map for local symbols, as TLS relocations
23567 use sym_map to determine whether the symbol is defined and to
23568 extract the TLS information.
23569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23572 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23575 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23576 (math_force_eval): Add powerpc version.
23579 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23581 (do_test): Likewise.
23582 * stdio-common/tst-printf.sh: Likewise.
23583 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23584 ifdef clause in order to set the carry bit right. Replace r0 by
23585 0 without changing the behavior.
23587 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23589 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23590 <libm-alias-ldouble.h>.
23591 (fabsl): Define using libm_alias_ldouble.
23592 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23593 <libm-alias-ldouble.h>.
23594 (fabsl): Define using libm_alias_ldouble.
23596 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23597 Remove conditional code.
23599 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23600 Rename to __clog10_internal_l.
23601 (__clog10_internal_l): Define aliases using
23602 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23605 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23607 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23608 * benchtests/sincosf-inputs: New file.
23609 * benchtests/cosf-inputs: New file.
23610 * benchtests/sinf-inputs: New file.
23612 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23614 * posix/tst-spawn.c (do_test): Wait for both children.
23616 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23619 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23620 tests-pie): Add tst-gmon-pie.
23621 (CFLAGS-tst-gmon-pie.c): New.
23622 (CRT-tst-gmon-pie): Likewise.
23623 (tst-gmon-pie-ENV): Likewise.
23624 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23625 ($(objpfx)tst-gmon-pie.out): Likewise.
23626 (clean-tst-gmon-pie-data): Likewise.
23627 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23628 * gmon/gmon.c [PIC]: Include <link.h>.
23629 [PIC] (callback): New function.
23630 (write_hist): Add an argument for load address. Subtract load
23632 (write_call_graph): Likewise.
23633 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23634 it to write_hist and write_call_graph.
23635 * gmon/tst-gmon-pie.c: New file.
23637 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23639 * math/Makefile (test-types-basic): New variable.
23640 (test-types): Likewise.
23641 (libm-test-support): Use $(test-types) instead of $(types).
23642 (libm-tests-base-normal): Likewise.
23643 (libm-tests-base-finite): Likewise.
23644 (libm-tests-base-inline): Likewise.
23645 (generated): Likewise.
23646 ($(objpfx)libm-test-support-$(t).c): Likewise.
23647 (libm-tests-for-type iterator): Likewise.
23648 (libm-test-support iterator): Likewise.
23649 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23650 (ulp_idx): Use ULP_IDX.
23651 * math/test-ldouble.h: Include <float.h>.
23652 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23653 (ULP_IDX): New macro.
23654 (ULP_I_IDX): Likewise.
23655 * math/test-double.h (ULP_IDX): Likewise.
23656 (ULP_I_IDX): Likewise.
23657 * math/test-float.h (ULP_IDX): Likewise.
23658 (ULP_I_IDX): Likewise.
23659 * math/test-float128.h (ULP_IDX): Likewise.
23660 (ULP_I_IDX): Likewise.
23662 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23664 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23665 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23666 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23667 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23668 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23669 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23670 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23673 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23674 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23675 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23676 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23678 (SINGLE_THREAD_BY_GLOBAL): Define.
23679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23681 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23683 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23685 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23687 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23688 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23692 2017-10-11 Andreas Schwab <schwab@suse.de>
23694 * nis/Makefile (aux): Remove.
23695 * nscd/Makefile (aux): Add nscd_hash.
23696 (nscd-modules): Likewise.
23697 ($(objpfx)nscd): Don't depend on libnsl.
23698 * nscd/nscd_hash.c: New file.
23699 * nscd/nscd_hash.h: Likewise.
23700 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23701 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23702 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23703 instead of <nis/rpcsvc/nis.h>.
23704 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23706 2017-10-11 Florian Weimer <fweimer@redhat.com>
23709 Avoid large NSS buffers with many addresses, aliases.
23710 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23711 using dynarrays and struct alloc_buffer.
23712 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23713 (tst-nss-files-hosts-multi): Link with -ldl.
23714 * nss/tst-nss-files-hosts-multi.c: New file.
23716 2017-10-11 Florian Weimer <fweimer@redhat.com>
23719 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23720 scratch_buffer. Eliminate gotos.
23722 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23724 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23725 libm_alias_ldouble_other.
23726 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23727 undefine and redefine.
23728 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23729 (exp10l): Do not define here.
23730 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23731 (weak_alias): Undefine and redefine.
23732 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23733 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23734 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23735 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23737 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23738 [!__fma] (fma): Define using libm_alias_double.
23739 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23740 [!__fmaf] (fmaf): Define using libm_alias_float.
23741 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23742 (fmal): Define using libm_alias_ldouble.
23744 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23746 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23748 (libm_alias_double_other): Likewise.
23749 (libm_alias_double_r): Use libm_alias_double_other_r.
23750 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23752 (libm_alias_float_other): Likewise.
23753 (libm_alias_float_r): Use libm_alias_float_other_r.
23754 * sysdeps/generic/libm-alias-float128.h
23755 (libm_alias_float128_other_r): New macro.
23756 (libm_alias_float128_other): Likewise.
23757 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23758 * sysdeps/generic/libm-alias-ldouble.h
23759 (libm_alias_ldouble_other_r): New macro.
23760 (libm_alias_ldouble_other): Likewise.
23761 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23762 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23763 (libm_alias_double_other_r): New macro.
23764 (libm_alias_double_other): Likewise.
23765 (libm_alias_double_r): Use libm_alias_double_other_r.
23766 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23767 (libm_alias_ldouble_other_r): New macro.
23768 (libm_alias_ldouble_other): Likewise.
23769 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23770 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23771 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23772 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23773 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23774 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23775 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23776 * math/w_exp2f.c: Use libm_alias_float_other.
23777 * math/w_expf.c: Likewise.
23778 * math/w_log2f.c: Likewise.
23779 * math/w_logf.c: Likewise.
23780 * math/w_powf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23782 [!__exp2f]: Use libm_alias_float_other.
23783 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23784 [!__expf]: Use libm_alias_float_other.
23785 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23786 [!__log2f]: Use libm_alias_float_other.
23787 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23788 [!__logf]: Use libm_alias_float_other.
23789 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23790 [!__powf]: Use libm_alias_float_other.
23792 2017-10-10 Florian Weimer <fweimer@redhat.com>
23794 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23796 (_nss_files_gethostbyname3_r): Call it.
23798 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23800 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23801 error. Remove default definition of declare_mgen_alias.
23802 [!declare_mgen_alias_r]: Likewise.
23803 * sysdeps/generic/math-type-macros-double.h
23804 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23805 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23806 (declare_mgen_alias_r): Likewise.
23807 * sysdeps/generic/math-type-macros-float128.h
23808 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23809 * sysdeps/generic/math-type-macros-ldouble.h
23810 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23811 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23813 (declare_mgen_alias_r_s): Likewise.
23814 (declare_mgen_alias_r): Likewise.
23815 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23816 (lgamma_r): Define using libm_alias_double_r.
23817 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23818 (lgammaf_r): Define using libm_alias_float_r.
23819 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23820 (lgammal_r): Define using libm_alias_ldouble_r.
23821 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23822 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23824 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23826 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23827 extern declaration.
23829 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23831 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23833 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
23836 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23837 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23838 * math/Makefile (test-math-cxx11): New test.
23839 * math/test-math-cxx11.cc: New file.
23841 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23843 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23845 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23846 call to allocate the slave pty file descriptor.
23848 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23850 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23851 [!__fma] (fma): Define using libm_alias_double.
23852 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23853 [!__fma] (fma): Define using libm_alias_double.
23855 * sysdeps/ieee754/float128/float128_private.h: Include
23856 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23857 (libm_alias_ldouble_r): Undefine and redefine.
23858 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23859 <libm-alias-ldouble.h>.
23860 (asinhl): Define using libm_alias_ldouble.
23861 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23862 <libm-alias-ldouble.h>.
23863 (atanl): Define using libm_alias_ldouble.
23864 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23865 <libm-alias-ldouble.h>.
23866 (cbrtl): Define using libm_alias_ldouble.
23867 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23868 <libm-alias-ldouble.h>.
23869 (ceill): Define using libm_alias_ldouble.
23870 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23871 <libm-alias-ldouble.h>.
23872 (copysignl): Define using libm_alias_ldouble.
23873 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23874 <libm-alias-ldouble.h>.
23875 (cosl): Define using libm_alias_ldouble.
23876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23877 <libm-alias-ldouble.h>.
23878 (erfl): Define using libm_alias_ldouble.
23880 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23881 <libm-alias-ldouble.h>.
23882 (expm1l): Define using libm_alias_ldouble.
23883 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23884 <libm-alias-ldouble.h>.
23885 (fabsl): Define using libm_alias_ldouble.
23886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23887 <libm-alias-ldouble.h>.
23888 (floorl): Define using libm_alias_ldouble.
23889 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23890 <libm-alias-ldouble.h>.
23891 (fmal): Define using libm_alias_ldouble.
23892 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23893 <libm-alias-ldouble.h>.
23894 (frexpl): Define using libm_alias_ldouble.
23895 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23896 libm_alias_ldouble.
23897 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23898 <libm-alias-ldouble.h>.
23899 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23900 libm_alias_ldouble.
23901 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23902 <libm-alias-ldouble.h>.
23903 (getpayloadl): Define using libm_alias_ldouble.
23904 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23905 <libm-alias-ldouble.h>.
23906 (llrintl): Define using libm_alias_ldouble.
23907 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23908 <libm-alias-ldouble.h>.
23909 (llroundl): Define using libm_alias_ldouble.
23910 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23911 <libm-alias-ldouble.h>.
23912 (logbl): Define using libm_alias_ldouble.
23913 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23914 <libm-alias-ldouble.h>.
23915 (lrintl): Define using libm_alias_ldouble.
23916 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23917 <libm-alias-ldouble.h>.
23918 (lroundl): Define using libm_alias_ldouble.
23919 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23920 <libm-alias-ldouble.h>.
23921 (modfl): Define using libm_alias_ldouble.
23922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23923 <libm-alias-ldouble.h>.
23924 (nearbyintl): Define using libm_alias_ldouble.
23925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23926 <libm-alias-ldouble.h>.
23927 (nextafterl): Define using libm_alias_ldouble.
23928 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23929 <libm-alias-ldouble.h>.
23930 (nextupl): Define using libm_alias_ldouble.
23931 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23932 <libm-alias-ldouble.h>.
23933 (remquol): Define using libm_alias_ldouble.
23934 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23935 <libm-alias-ldouble.h>.
23936 (rintl): Define using libm_alias_ldouble.
23937 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23938 <libm-alias-ldouble.h>.
23939 (roundevenl): Define using libm_alias_ldouble.
23940 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23941 <libm-alias-ldouble.h>.
23942 (roundl): Define using libm_alias_ldouble.
23943 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23944 using libm_alias_ldouble.
23945 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23946 <libm-alias-ldouble.h>.
23947 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23948 Define using libm_alias_ldouble.
23949 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23950 <libm-alias-ldouble.h>.
23951 (sincosl): Define using libm_alias_ldouble.
23952 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23953 <libm-alias-ldouble.h>.
23954 (sinl): Define using libm_alias_ldouble.
23955 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23956 <libm-alias-ldouble.h>.
23957 (tanhl): Define using libm_alias_ldouble.
23958 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23959 <libm-alias-ldouble.h>.
23960 (tanl): Define using libm_alias_ldouble.
23961 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23962 <libm-alias-ldouble.h>.
23963 (totalorderl): Define using libm_alias_ldouble.
23964 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23965 <libm-alias-ldouble.h>.
23966 (totalordermagl): Define using libm_alias_ldouble.
23967 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23968 <libm-alias-ldouble.h>.
23969 (truncl): Define using libm_alias_ldouble.
23970 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23971 libm_alias_ldouble.
23972 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23973 libm_alias_ldouble.
23974 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23975 <libm-alias-ldouble.h>.
23976 (weak_alias): Do not undefine and redefine.
23977 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23978 (copysignl): Define with long_double_symbol only if [IS_IN
23980 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23981 <libm-alias-ldouble.h>.
23982 (weak_alias): Do not undefine and redefine.
23983 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23984 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23985 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23986 <libm-alias-ldouble.h>.
23987 (weak_alias): Do not undefine and redefine.
23988 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23989 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23990 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23991 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23994 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23997 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24000 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24007 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24015 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24018 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24019 (tcache_thread_freeres): Set tcache_shutting_down before
24020 freeing the tcache.
24021 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24022 * malloc/tst-malloc-tcache-leak.c: New file.
24024 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24026 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24027 back to powerpc32 file.
24028 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24029 (memrchr): Add __memrchr_power8 to ifunc list.
24030 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24031 extra bytes for unaligned inputs.
24033 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24035 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24036 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24041 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24043 * sysdeps/arm/libm-test-ulps: Update.
24045 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24046 <libm-alias-ldouble.h>.
24047 (asinhl): Define using libm_alias_ldouble.
24048 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24049 <libm-alias-ldouble.h>.
24050 (cbrtl): Define using libm_alias_ldouble.
24051 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24052 <libm-alias-ldouble.h>.
24053 (copysignl): Define using libm_alias_ldouble.
24054 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24055 <libm-alias-ldouble.h>.
24056 (cosl): Define using libm_alias_ldouble.
24057 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24058 <libm-alias-ldouble.h>.
24059 (erfl): Define using libm_alias_ldouble.
24061 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24062 <libm-alias-ldouble.h>.
24063 (fmal): Define using libm_alias_ldouble.
24064 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24065 <libm-alias-ldouble.h>.
24066 (frexpl): Define using libm_alias_ldouble.
24067 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24068 libm_alias_ldouble.
24069 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24070 <libm-alias-ldouble.h>.
24071 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24072 libm_alias_ldouble.
24073 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24074 <libm-alias-ldouble.h>.
24075 (getpayloadl): Define using libm_alias_ldouble.
24076 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24077 <libm-alias-ldouble.h>.
24078 (llrintl): Define using libm_alias_ldouble.
24079 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24080 <libm-alias-ldouble.h>.
24081 (llroundl): Define using libm_alias_ldouble.
24082 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24083 <libm-alias-ldouble.h>.
24084 (lrintl): Define using libm_alias_ldouble.
24085 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24086 <libm-alias-ldouble.h>.
24087 (lroundl): Define using libm_alias_ldouble.
24088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24089 <libm-alias-ldouble.h>.
24090 (modfl): Define using libm_alias_ldouble.
24091 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24092 <libm-alias-ldouble.h>.
24093 (nextupl): Define using libm_alias_ldouble.
24094 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24095 <libm-alias-ldouble.h>.
24096 (remquol): Define using libm_alias_ldouble.
24097 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24098 <libm-alias-ldouble.h>.
24099 (roundevenl): Define using libm_alias_ldouble.
24100 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24101 <libm-alias-ldouble.h>.
24102 (roundl): Define using libm_alias_ldouble.
24103 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24104 using libm_alias_ldouble.
24105 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24106 <libm-alias-ldouble.h>.
24107 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24108 <libm-alias-ldouble.h>.
24109 (setpayloadsigl): Define using libm_alias_ldouble.
24110 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24111 <libm-alias-ldouble.h>.
24112 (sincosl): Define using libm_alias_ldouble.
24113 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24114 <libm-alias-ldouble.h>.
24115 (sinl): Define using libm_alias_ldouble.
24116 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24117 <libm-alias-ldouble.h>.
24118 (tanhl): Define using libm_alias_ldouble.
24119 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24120 <libm-alias-ldouble.h>.
24121 (tanl): Define using libm_alias_ldouble.
24122 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24123 <libm-alias-ldouble.h>.
24124 (totalorderl): Define using libm_alias_ldouble.
24125 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24126 <libm-alias-ldouble.h>.
24127 (totalordermagl): Define using libm_alias_ldouble.
24128 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24129 libm_alias_ldouble.
24130 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24131 libm_alias_ldouble.
24133 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24135 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24137 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24138 (__libc_ifunc_impl_list): Likewise.
24139 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24140 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24142 * benchtests/bench-memmove-walk.c: New file.
24143 * benchtests/Makefile (string-benchset): Add it.
24145 * benchtests/bench-memset-walk.c: New file.
24146 * benchtests/Makefile (string-benchset): Add it.
24148 * benchtests/bench-memcpy-walk.c: New file.
24149 * benchtests/Makefile (string-benchset): Add it.
24151 2017-10-05 Florian Weimer <fweimer@redhat.com>
24153 nscd: Eliminate compilation time dependency in the build output.
24154 * nscd/nscd_stat.c (STATDATA_VERSION)
24155 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24156 (STATDATA_VERSION_FULL): New macro definitions.
24157 (compilation): Remove.
24158 (struct statdata): Adjust version member.
24159 (send_stats): Set version from STATDATA_VERSION_FULL.
24160 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24162 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24164 * configure.ac (--enable-add-ons): Remove option.
24165 (machine): Do not mention add-ons in comment.
24166 (LIBC_PRECONFIGURE): Likewise.
24167 (add_ons): Remove variable and sanity checks and logic to locate
24169 (add_ons_automatic): Remove variable.
24170 (configured_add_ons): Likewise.
24171 (add_ons_sfx): Likewise.
24172 (add_ons_pfx): Likewise.
24173 (add_on_subdirs): Likewise.
24174 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24175 consideration of add-ons in Implies handling.
24176 (sysdeps_add_ons): Likewise.
24177 * configure: Regenerated.
24178 * libidn/configure.ac: Remove.
24179 * libidn/configure: Likewise.
24180 * sysdeps/unix/inet/configure.ac: New file.
24181 * sysdeps/unix/inet/configure: New generated file.
24182 * sysdeps/unix/inet/Subdirs: Add libidn.
24183 * Makeconfig (sysdeps-srcdirs): Remove variable.
24184 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24185 ($(common-objpfx)config.status): Do not depend on add-on files.
24186 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24188 (all-subdirs): Do not include $(add-on-subdirs).
24189 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24190 * config.make.in (add-ons): Remove variable.
24191 (add-on-subdirs): Likewise.
24192 (sysdeps-add-ons): Likewise.
24193 * manual/Makefile (add-chapters): Remove.
24194 ($(objpfx)texis): Do not depend on $(add-chapters).
24195 (nonexamples): Do not handle $(add-chapters).
24196 (examples): Do not handle $(add-ons).
24197 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24199 * manual/install.texi (Installation): Do not mention add-ons.
24200 (--enable-add-ons): Do not document configure option.
24201 * INSTALL: Regenerated.
24202 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24203 * manual/maint.texi (Hierarchy Conventions): Do not mention
24205 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24207 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24209 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24210 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24212 2017-10-05 Andreas Schwab <schwab@suse.de>
24215 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24216 (_IO_flush_all_lockp): Always lock list_all_lock.
24217 (_IO_flush_all_linebuffered): Likewise.
24218 (_IO_unbuffer_all): Likewise.
24220 2017-10-05 Florian Weimer <fweimer@redhat.com>
24223 Do not flush stdio streams on abort.
24224 * stdlib/abort.c (fflush): Remove macro definition.
24225 (abort): Remove stages related to stdio flushing.
24227 2017-10-05 Florian Weimer <fweimer@redhat.com>
24229 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24231 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24233 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24235 2017-10-05 Florian Weimer <fweimer@redhat.com>
24237 * support/support_format_hostent.c (support_format_hostent): Add
24238 more error information for NETDB_INTERNAL.
24240 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24242 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24243 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24244 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24245 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24246 AC_DEFINE if multi-arch is enabled.
24247 * sysdeps/i386/configure: Regenerated.
24249 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24251 * Makeconfig (+link-static-before-libc): Use
24252 $(DEFAULT-LDFLAGS-$(@F)).
24253 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24254 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24255 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24257 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24259 * elf/Makefile (tests): Add tst-main1.
24260 (modules-names): Add tst-main1mod.
24261 ($(objpfx)tst-main1): New.
24262 (CRT-tst-main1): Likewise.
24263 (LDFLAGS-tst-main1): Likewise.
24264 (LDLIBS-tst-main1): Likewise.
24265 (tst-main1mod.so-no-z-defs): Likewise.
24266 * elf/tst-main1.c: New file.
24267 * elf/tst-main1mod.c: Likewise.
24269 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24271 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24273 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24275 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24276 (fma): Define using libm_alias_double.
24277 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24278 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24280 (fmal): Do not define as compat symbol here.
24281 * sysdeps/alpha/fpu/s_fma.c: New file.
24283 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24285 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24287 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24290 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24292 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24294 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24295 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24296 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24297 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24299 Include <math_ldbl_opt.h>
24300 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24302 (compat_symbol): Undefine and redefine.
24303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24305 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24306 (compat_symbol): Undefine and redefine.
24307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24308 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24309 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24310 GLIBC_2_1 for libm.
24311 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24312 GLIBC_2.0 copysignl symbol.
24313 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24314 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24316 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24318 2017-10-04 Florian Weimer <fweimer@redhat.com>
24320 * scripts/check-local-headers.sh: Ignore nspr4 header file
24321 directory in addition to nspr.
24323 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24326 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24327 * configure: Regenerate.
24328 * crypt/Makefile (nss-cpp-flags): New variable.
24329 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24330 (CPPFLAGS-md5-crypt.c): Use it.
24331 * scripts/check-local-headers.sh: Ignore nspr header file
24334 2017-10-04 Andreas Schwab <schwab@suse.de>
24336 * nis/Makefile (services): Remove compat.
24337 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24338 ($(objpfx)libnss_compat.so): Remove rule.
24339 * nis/Versions (libnss_compat): Remove.
24340 * nss/Makefile (services): Add compat.
24341 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24342 * nss/Versions (libnss_compat): Define.
24343 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24344 Don't include <rpc/types.h>. Replace bool_t by bool.
24345 * nss/nss_compat/compat-initgroups.c: Likewise.
24346 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24347 instead of <rpcsrv/ypclnt.h>.
24348 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24349 yp_get_default_domain.
24350 * nss/nss_compat/compat-pwd.c: Likewise.
24351 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24352 yp_get_default_domain.
24353 * nss/nss_compat/nisdomain.c: New file.
24354 * nss/nss_compat/nisdomain.h: Likewise.
24356 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24359 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24360 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24362 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24368 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24370 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24371 "movl main@GOTOFF(%ebx), %eax".
24373 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24375 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24376 allow undefined _DYNAMIC in PIE libc.a.
24377 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24380 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24382 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24385 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24387 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24390 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24392 * math/test-math-iscanonical.cc (error): Replace bool with int.
24394 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24396 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24397 (modf): Define using libm_alias_double, only if [!__modf].
24398 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24399 <libm-alias-double.h>.
24400 (modf): Define using libm_alias_double, only if [!__modf].
24401 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24402 compat symbol here.
24403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24404 (weak_alias): Do not undefine and redefine.
24405 (strong_alias): Likewise.
24406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24407 (weak_alias): Likewise.
24408 (strong_alias): Likewise.
24410 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24411 (logb): Define using libm_alias_double, only if [!__logb].
24412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24413 <libm-alias-double.h>.
24414 (logb): Define using libm_alias_double, only if [!__logb].
24415 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24417 (weak_alias): Do not undefine and redefine.
24418 (strong_alias): Likewise.
24419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24420 (weak_alias): Likewise.
24421 (strong_alias): Likewise.
24423 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24425 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24426 Check SHARED instead PIC.
24428 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24430 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24431 [!__fmaf] (fmaf): Define using libm_alias_float.
24433 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24434 (frexp): Define using libm_alias_double.
24435 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24436 <libm-alias-double.h>.
24437 (frexp): Define using libm_alias_double.
24438 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24439 compat symbol here.
24441 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24444 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24445 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24446 (CFLAGS-test-math-iscanonical.cc): New variable.
24447 * math/test-math-iscanonical.cc: New file.
24448 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24449 Provide a C++ implementation based on function overloading,
24450 rather than using __MATH_TG, which uses C-only builtins.
24451 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24453 * sysdeps/powerpc/powerpc64le/Makefile
24454 (CFLAGS-test-math-iscanonical.cc): New variable.
24456 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24458 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24459 (ceil): Define using libm_alias_double.
24460 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24461 (floor): Define using libm_alias_double.
24462 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24463 <libm-alias-double.h>.
24464 (llround): Define using libm_alias_double.
24465 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24466 <libm-alias-double.h>.
24467 (lround): Define using libm_alias_double.
24468 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24469 <libm-alias-double.h>.
24470 (nearbyint): Define using libm_alias_double.
24471 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24472 <libm-alias-double.h>.
24473 (remquo): Define using libm_alias_double.
24474 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24475 (rint): Define using libm_alias_double.
24476 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24477 (round): Define using libm_alias_double.
24478 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24479 (trunc): Define using libm_alias_double.
24480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24481 <libm-alias-double.h>.
24482 (ceil): Define using libm_alias_double.
24483 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24484 <libm-alias-double.h>.
24485 (floor): Define using libm_alias_double.
24486 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24487 <libm-alias-double.h>.
24488 (llround): Define using libm_alias_double.
24489 [_LP64] (lround): Likewise.
24490 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24491 <libm-alias-double.h>.
24492 [!_LP64] (lround): Define using libm_alias_double.
24493 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24494 <libm-alias-double.h>.
24495 (nearbyint): Define using libm_alias_double.
24496 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24497 <libm-alias-double.h>.
24498 (remquo): Define using libm_alias_double.
24499 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24500 <libm-alias-double.h>.
24501 (rint): Define using libm_alias_double.
24502 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24503 <libm-alias-double.h>.
24504 (round): Define using libm_alias_double.
24505 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24506 <libm-alias-double.h>.
24507 (trunc): Define using libm_alias_double.
24508 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24509 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24510 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24511 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24512 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24513 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24514 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24515 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24516 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24518 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24520 * math/w_remainder.c: New file.
24521 * math/w_remainderf.c: New file.
24522 * math/w_remainderl.c: New file.
24524 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24526 * elf/rtld.c (BOOTSTRAP_MAP): New.
24527 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24528 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24530 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24532 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24535 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24537 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24538 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24539 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24540 rtld_hidden_data_ver): Define to empty.
24541 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24542 __assert_perror_fail): Likewise.
24543 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24544 (__rewinddir): Likewise.
24545 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24546 (__profile_frequency): Likewise.
24547 * include/setjmp.h (__sigsetjmp): Likewise.
24548 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24549 __libc_sigaction): Likewise.
24550 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24551 not set hidden attribute.
24552 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24553 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24554 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24555 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24556 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24557 __fxstatat64): Likewise.
24558 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24559 (__uname): Likewise.
24560 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24561 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24562 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24563 (NO_RTLD_HIDDEN): Set.
24564 * sysdeps/mach/hurd/configure: Refresh.
24565 * config.h.in: Refresh.
24567 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24569 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24570 (atan): Define using libm_alias_double.
24571 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24572 (tan): Define using libm_alias_double.
24573 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24574 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24577 define as weak alias of __atan. Do not define any aliases if
24579 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24580 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24581 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24582 as weak alias of __tan. Do not define any aliases if [__tan].
24583 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24584 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24585 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24587 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24588 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24589 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24590 and define as weak alias of __atan.
24591 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24593 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24594 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24595 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24596 define as weak alias of __tan.
24598 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24600 * math/w_lgamma.c: New file.
24601 * math/w_lgammaf.c: New file.
24602 * math/w_lgammal.c: New file.
24604 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24606 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24607 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24608 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24609 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24610 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24611 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24612 * sysdeps/i386/fpu/w_log2f.c: New file.
24613 * sysdeps/i386/fpu/w_logf.c: New file.
24614 * sysdeps/i386/fpu/w_powf.c: New file.
24615 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24616 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24617 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24619 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24620 H.J. Lu <hongjiu.lu@intel.com>
24622 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24623 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24624 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24625 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24626 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24628 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24629 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24630 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24631 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24632 * sysdeps/i386/fpu/w_exp2f.c: New file.
24633 * sysdeps/i386/fpu/w_expf.c: New file.
24634 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24635 * sysdeps/x86_64/fpu/w_expf.c: New file.
24637 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24639 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24642 * math/w_log2f.c: New file.
24643 * math/w_logf.c: New file.
24644 * math/w_powf.c: New file.
24645 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24646 * math/w_logf_compat.c (__logf_compat): Likewise.
24647 * math/w_powf_compat.c (__powf_compat): Likewise.
24648 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24649 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24650 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24651 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24652 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24653 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24654 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24655 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24656 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24657 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24658 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24659 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24660 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24661 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24662 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24671 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24672 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24673 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24674 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24675 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24680 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24684 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24686 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24687 (sysdep_routines): Add memrchr_power8.
24688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24689 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24690 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24692 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24693 (memrchr): Add __memrchr_power8 to ifunc list.
24694 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24699 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24700 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24702 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24703 (__posix_fallocate64_l64): Likewise.
24705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24708 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24709 (__sched_setaffinity_new): Add libc_hidden_proto and
24712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24715 * include/glob.h (__glob64): Add libc_hidden_proto.
24716 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24722 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24728 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24733 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24739 * csu/version.c (__libc_print_version): Add attribute_hidden.
24741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24744 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24749 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24754 * nscd/nscd_helper.c (__nis_hash): New prototype.
24756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24759 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24760 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24762 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24763 * termios/tcgetattr.c (__tcgetattr): Likewise.
24765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24768 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24769 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24770 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24771 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24772 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24774 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24777 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24779 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24782 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24783 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24788 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24793 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24794 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24799 * include/ifreq.h: New file.
24800 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24801 (__ifreq): Likewise.
24802 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24803 (__ifreq): Likewise.
24805 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24808 * include/idna.h: New file.
24809 * inet/getnameinfo.c: Include <idna.h> instead of
24811 (__idna_to_unicode_lzlz): Removed.
24812 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24814 (__idna_to_ascii_lz): Removed.
24815 (__idna_to_unicode_lzlz): Likewise.
24817 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24820 * include/plural-exp.h: New file.
24821 * intl/plural-exp.c: Include <plural-exp.h> instead of
24824 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24827 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24828 "getsourcefilter.h".
24829 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24830 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24831 "getsourcefilter.h".
24832 (__get_sol): Removed.
24834 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24837 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24839 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24844 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24850 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24855 * include/search.h (__tdestroy): Add libc_hidden_proto.
24856 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24861 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24866 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24869 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24872 * include/signal.h (__kill): Add libc_hidden_proto.
24873 (__sigblock): Likewise.
24874 (__sigprocmask): Likewise.
24875 (__sigaltstack): Likewise.
24876 * signal/kill.c (__kill): Add libc_hidden_def.
24877 * signal/sigblock.c (__sigblock): Likewise.
24878 * signal/sigprocmask.c (__sigprocmask): Likewise.
24879 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24880 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24881 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24882 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24883 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24885 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24887 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24888 (__sigprocmask): Likewise.
24889 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24891 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24892 (__sigprocmask): Likewise.
24893 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24896 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24899 * include/string.h (__strsep): Add libc_hidden_proto.
24900 * string/strsep.c (__strsep): Add libc_hidden_def.
24902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24905 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24907 (__spawni): Likewise.
24909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24912 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24913 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24919 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24924 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24925 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24926 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24927 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24928 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24930 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24931 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24933 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24936 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24937 (__dcigettext): Likewise.
24939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24942 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24944 (__get_nprocs): Likewise.
24945 (__get_phys_pages): Likewise.
24946 (__get_avphys_pages): Likewise.
24947 (__get_child_max): Add attribute_hidden.
24948 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24949 (__get_nprocs): Likewise.
24950 (__get_phys_pages): Likewise.
24951 (__get_avphys_pages): Likewise.
24952 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24954 (__get_nprocs): Likewise.
24955 (__get_phys_pages): Likewise.
24956 (__get_avphys_pages): Likewise.
24957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24959 (__get_nprocs_conf): Likewise.
24960 (__get_phys_pages): Likewise.
24961 (__get_avphys_pages): Likewise.
24963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24966 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24968 (__netlink_close): Likewise.
24969 (__netlink_free_handle): Likewise.
24970 (__netlink_request): Likewise.
24972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24975 * include/rpc/rpc.h (__rpc_thread_variables): Add
24977 (__rpc_thread_svc_cleanup): Likewise.
24978 (__rpc_thread_clnt_cleanup): Likewise.
24979 (__rpc_thread_key_cleanup): Likewise.
24981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24984 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24985 (__writev): Likewise.
24986 * misc/readv.c (__readv): Add libc_hidden_def.
24987 * misc/writev.c (__writev): Likewise.
24988 * sysdeps/posix/readv.c (__readv): Likewise.
24989 * sysdeps/posix/writev.c (__writev): Likewise.
24990 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24991 (__readv): Likewise.
24992 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24993 (__writev): Likewise.
24995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24998 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24999 (__regcomp): Add libc_hidden_proto.
25000 (__regexec): Likewise.
25001 (__regfree): Likewise.
25002 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25003 (__regfree): Likewise.
25004 * posix/regexec.c (__regexec): Likewise.
25006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25009 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25010 (__getutent): Likewise.
25011 (__getutid): Likewise.
25012 (__getutline): Likewise.
25013 (__pututline): Likewise.
25014 (__getutent_r): Likewise.
25015 (__getutid_r): Likewise.
25016 (__getutline_r): Likewise.
25017 (__utmpname): Add attribute_hidden.
25018 (__setutent): Likewise.
25019 (__endutent): Likewise.
25020 * login/getutent.c (__getutent): Add libc_hidden_def.
25021 * login/getutent_r.c (__getutent_r): Likewise.
25022 (__pututline): Likewise.
25023 * login/getutid.c (__getutid): Likewise.
25024 * login/getutid_r.c (__getutid_r): Likewise.
25025 * login/getutline.c (__getutline): Likewise.
25026 * login/getutline_r.c (__getutline_r): Likewise.
25027 * login/updwtmp.c (__updwtmp): Likewise.
25029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25032 * include/dirent.h (__opendir): Always add attribute_hidden.
25033 (__fdopendir): Likewise.
25034 (__closedir): Likewise.
25035 (__readdir): Likewise.
25036 (__readdir64): Add libc_hidden_proto.
25037 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25038 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25039 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25040 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25046 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25047 * include/netdb.h (__gethostbyaddr_r): Likewise.
25048 (__gethostbyname_r): Likewise.
25049 (__gethostbyname2_r): Likewise.
25050 (__getnetbyaddr_r): Likewise.
25051 (__getnetbyname_r): Likewise.
25052 (__getservbyname_r): Likewise.
25053 (__getservbyport_r): Likewise.
25054 (__getprotobyname_r): Likewise.
25055 (__getprotobynumber_r): Likewise.
25056 (__getnetgrent_r): Likewise.
25057 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25058 (__getrpcbynumber_r): Likewise.
25059 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25064 * include/stdio.h (__fcloseall): Add attribute_hidden.
25065 (__getline): Likewise.
25066 (__path_search): Likewise.
25067 (__gen_tempname): Likewise.
25068 (__libc_message): Likewise.
25069 (__flockfile): Likewise.
25070 (__funlockfile): Likewise.
25071 (__fxprintf): Likewise.
25072 (__fxprintf_nocancel): Likewise.
25074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25077 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25078 (__sgetsgent_r): Likewise.
25080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25083 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25084 (__statfs64): Likewise.
25085 (__fstatfs64): Likewise.
25086 * include/sys/statvfs.h (__statvfs64): Likewise.
25087 (__fstatvfs64): Likewise.
25088 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25089 (__statfs_filesize_max): Likewise.
25090 (__statfs_symlinks): Likewise.
25091 (__statfs_chown_restricted): Likewise.
25093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25096 * include/time.h (__tzstring): Add attribute_hidden.
25097 (__tzfile_read): Likewise.
25098 (__tzfile_compute): Likewise.
25099 (__tzfile_default): Likewise.
25100 (__tzset_parse_tz): Likewise.
25101 (__offtime): Likewise.
25102 (__asctime_r): Likewise.
25103 (__tzset): Likewise.
25104 (__tz_convert): Likewise.
25105 (__getdate_r): Likewise.
25106 (__getclktck): Likewise.
25108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25111 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25112 (__nscd_unmap): Likewise.
25113 (__nscd_cache_search): Likewise.
25114 (__nscd_get_nl_timestamp): Likewise.
25115 (__nscd_getpwnam_r): Likewise.
25116 (__nscd_getpwuid_r): Likewise.
25117 (__nscd_getgrnam_r): Likewise.
25118 (__nscd_getgrgid_r): Likewise.
25119 (__nscd_gethostbyname_r): Likewise.
25120 (__nscd_gethostbyname2_r): Likewise.
25121 (__nscd_gethostbyaddr_r): Likewise.
25122 (__nscd_getai): Likewise.
25123 (__nscd_getgrouplist): Likewise.
25124 (__nscd_getservbyname_r): Likewise.
25125 (__nscd_getservbyport_r): Likewise.
25126 (__nscd_innetgr): Likewise.
25127 (__nscd_setnetgrent): Likewise.
25129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25132 * include/gmp.h: Declare internal functions only if _ISOMAC is
25134 (__mpn_extract_double): Add attribute_hidden.
25135 (__mpn_extract_long_double): Likewise.
25136 (__mpn_extract_float128): Likewise.
25137 (__mpn_construct_float): Likewise.
25138 (__mpn_construct_double): Likewise.
25139 (__mpn_construct_long_double): Likewise.
25140 (__mpn_construct_float128): Likewise.
25141 (mpn_add_1): Likewise.
25142 (mpn_addmul_1): Likewise.
25143 (mpn_add_n): Likewise.
25144 (mpn_cmp): Likewise.
25145 (mpn_divrem): Likewise.
25146 (mpn_lshift): Likewise.
25147 (mpn_mul): Likewise.
25148 (mpn_mul_1): Likewise.
25149 (mpn_rshift): Likewise.
25150 (mpn_sub_1): Likewise.
25151 (mpn_submul_1): Likewise.
25152 (mpn_sub_n): Likewise.
25154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25157 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25158 (__wcscat): Likewise.
25159 (__btowc): Likewise.
25160 (__wcrtomb): Likewise.
25161 (__mbsrtowcs): Likewise.
25162 (__wcsrtombs): Likewise.
25163 (__mbsnrtowcs): Likewise.
25164 (__wcsnrtombs): Likewise.
25165 (__wcsncpy): Likewise.
25166 (__wcpncpy): Likewise.
25167 (__wmemcpy): Likewise.
25168 (__wmempcpy): Likewise.
25169 (__wmemmove): Likewise.
25170 (__wcschrnul): Likewise.
25171 (__vfwscanf): Likewise.
25172 (__vswprintf): Likewise.
25173 (__fwprintf): Likewise.
25174 (__vfwprintf): Likewise.
25176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25179 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25180 (__getgrgid_r): Likewise.
25181 (__getgrnam_r): Likewise.
25182 * include/pwd.h (__getpwuid_r): Likewise.
25183 (__getpwnam_r): Likewise.
25184 (__fgetpwent_r): Likewise.
25185 * include/shadow.h (__getspnam_r): Likewise.
25186 (__sgetspent_r): Likewise.
25187 (__fgetspent_r): Likewise.
25189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25192 * include/unistd.h (__access): Add attribute_hidden.
25193 (__lseek64): Likewise.
25194 (__libc_pread64): Likewise.
25195 (__pipe2): Likewise.
25196 (__sleep): Likewise.
25197 (__chdir): Likewise.
25198 (__fchdir): Likewise.
25199 (__getcwd): Likewise.
25200 (__rmdir): Likewise.
25201 (__execvpe): Likewise.
25202 (__execve): Likewise.
25203 (__setsid): Likewise.
25204 (__getuid): Likewise.
25205 (__geteuid): Likewise.
25206 (__getgid): Likewise.
25207 (__getegid): Likewise.
25208 (__getgroups): Likewise.
25209 (__group_member): Likewise.
25210 (__ttyname_r): Likewise.
25211 (__isatty): Likewise.
25212 (__readlink): Likewise.
25213 (__unlink): Likewise.
25214 (__gethostname): Likewise.
25215 (__profil): Likewise.
25216 (__getdtablesize): Likewise.
25218 (__ftruncate): Likewise.
25219 (__ftruncate64): Likewise.
25221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25224 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25225 * argp/argp-fs-xinl.c: Likewise.
25226 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25227 * argp/argp-parse.c: Include <argp.h>.
25228 * argp/argp-xinl.c: Likewise.
25229 * include/argp-fmtstream.h: New file.
25230 * include/argp.h (__argp_error): Add attribute_hidden.
25231 (__argp_failure): Likewise.
25232 (__argp_input): Likewise.
25233 (__argp_state_help): Likewise.
25235 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25238 * include/wchar.h (____wcstof_l_internal): New prototype.
25239 (____wcstod_l_internal): Likewise.
25240 (____wcstold_l_internal): Likewise.
25241 (____wcstol_l_internal): Likewise.
25242 (____wcstoul_l_internal): Likewise.
25243 (____wcstoll_l_internal): Likewise.
25244 (____wcstoull_l_internal): Likewise.
25245 (____wcstof128_l_internal): Likewise.
25246 * sysdeps/ieee754/float128/wcstof128.c
25247 (____wcstof128_l_internal): Removed.
25248 * sysdeps/ieee754/float128/wcstof128_l.c
25249 (____wcstof128_l_internal): Likewise.
25250 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25251 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25252 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25253 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25254 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25255 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25256 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25257 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25258 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25259 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25264 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25265 instead of <sys/statvfs.h>.
25266 (__internal_statvfs): Removed.
25267 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25268 instead of <sys/statvfs.h>.
25269 (__internal_statvfs64): Removed.
25270 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25271 "internal_statvfs.h" instead of <sys/statvfs.h>.
25272 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25273 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25274 instead of <sys/statvfs.h>.
25275 (__internal_statvfs): Removed.
25276 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25277 instead of <sys/statvfs.h>.
25278 (__internal_statvfs64): Removed.
25280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25283 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25284 (__gconv_close): Likewise.
25285 (__gconv): Likewise.
25286 (__gconv_find_transform): Likewise.
25287 (__gconv_lookup_cache): Likewise.
25288 (__gconv_compare_alias_cache): Likewise.
25289 (__gconv_load_cache): Likewise.
25290 (__gconv_get_path): Likewise.
25291 (__gconv_close_transform): Likewise.
25292 (__gconv_release_cache): Likewise.
25293 (__gconv_find_shlib): Likewise.
25294 (__gconv_release_shlib): Likewise.
25295 (__gconv_get_builtin_trans): Likewise.
25296 (__gconv_compare_alias): Likewise.
25297 * include/dlfcn.h (_dlerror_run): Likewise.
25298 * include/stdio.h (__fortify_fail_abort): Likewise.
25299 * include/time.h (__tz_compute): Likewise.
25300 (__strptime_internal): Likewise.
25301 * intl/gettextP.h (_nl_find_domain): Likewise.
25302 (_nl_load_domain): Likewise.
25303 (_nl_find_msg): Likewise.
25304 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25305 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25306 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25307 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25308 (__gai_find_request): Likewise.
25309 (__gai_remove_request): Likewise.
25310 (__gai_notify): Likewise.
25311 (__gai_notify_only): Likewise.
25312 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25313 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25314 (_dl_non_dynamic_init): Likewise.
25315 (_dl_aux_init): Likewise.
25316 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25317 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25319 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25320 (__wcsmbs_clone_conv): Likewise.
25321 (__wcsmbs_named_conv): Likewise.
25323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25326 * include/stdlib.h (__random): Add attribute_hidden.
25327 (__random_r): Likewise.
25328 (__srandom_r): Likewise.
25329 (__initstate_r): Likewise.
25330 (__setstate_r): Likewise.
25331 (__erand48_r): Likewise.
25332 (__nrand48_r): Likewise.
25333 (__jrand48_r): Likewise.
25334 (__srand48_r): Likewise.
25335 (__seed48_r): Likewise.
25336 (__lcong48_r): Likewise.
25337 (__drand48_iterate): Likewise.
25338 (__setenv): Likewise.
25339 (__unsetenv): Likewise.
25340 (__clearenv): Likewise.
25341 (__ptsname_r): Likewise.
25342 (__posix_openpt): Likewise.
25343 (__add_to_environ): Likewise.
25344 (__realpath): Add libc_hidden_proto.
25345 (__ecvt_r): Likewise.
25346 (__fcvt_r): Likewise.
25347 (__qecvt_r): Likewise.
25348 (__qfcvt_r): Likewise.
25349 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25350 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25355 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25356 * include/time.h (__mktime_internal): Likewise.
25357 * libio/iolibio.h (__fopen_internal): Likewise.
25359 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25361 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25363 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25364 Correct offset used to restore PIC register.
25366 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25369 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25370 code to load address of __getcontext_ret when generating PIC code.
25372 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25374 * elf/Makefile (tests-static-internal): Add
25375 tst-tls1-static-non-pie.
25376 (LDFLAGS-tst-tls1-static-non-pie): New.
25377 * elf/tst-tls1-static-non-pie.c: New file.
25379 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25381 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25382 (asinh): Define using libm_alias_double.
25383 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25384 (cbrt): Define using libm_alias_double.
25385 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25386 <libm-alias-double.h>.
25387 (copysign): Define using libm_alias_double.
25388 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25389 (erf): Define using libm_alias_double.
25391 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25392 (expm1): Define using libm_alias_double.
25393 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25394 (fabs): Define using libm_alias_double.
25395 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25397 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25398 <libm-alias-double.h>.
25399 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25401 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25402 <libm-alias-double.h>.
25403 (getpayload): Define using libm_alias_double.
25404 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25405 <libm-alias-double.h>.
25406 (llrint): Define using libm_alias_double.
25407 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25408 (lrint): Define using libm_alias_double.
25409 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25410 <libm-alias-double.h>.
25411 (nextup): Define using libm_alias_double.
25412 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25413 <libm-alias-double.h>.
25414 (roundeven): Define using libm_alias_double.
25415 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25417 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25418 <libm-alias-double.h>.
25419 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25420 using libm_alias_double.
25421 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25422 (cos): Define using libm_alias_double.
25424 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25425 <libm-alias-double.h>.
25426 (sincos): Define using libm_alias_double.
25427 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25428 (tanh): Define using libm_alias_double.
25429 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25430 <libm-alias-double.h>.
25431 (totalorder): Define using libm_alias_double.
25432 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25433 <libm-alias-double.h>.
25434 (totalordermag): Define using libm_alias_double.
25435 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25437 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25439 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25440 <libm-alias-double.h>.
25441 (getpayload): Define using libm_alias_double.
25442 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25443 <libm-alias-double.h>.
25444 (roundeven): Define using libm_alias_double.
25445 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25446 <libm-alias-double.h>.
25447 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25448 <libm-alias-double.h>.
25449 (totalorder): Define using libm_alias_double.
25450 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25451 <libm-alias-double.h>.
25452 (totalordermag): Define using libm_alias_double.
25453 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25454 libc compat symbol here.
25455 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25456 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25457 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25458 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25459 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25460 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25461 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25462 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25463 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25464 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25466 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25468 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25469 _dl_relocate_static_pie instead of _dl_start to compute load
25470 address in static PIE. Return 0 if _DYNAMIC is undefined for
25473 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25475 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25476 _DYNAMIC is undefined for static executable.
25478 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25480 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25482 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25486 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25488 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25489 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25490 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25491 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25492 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25493 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25494 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25495 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25496 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25497 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25498 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25499 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25500 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25501 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25502 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25503 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25504 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25506 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25508 * math/bits/cmathcalls.h (cimag): Remove inline.
25509 (creal): Remove inline.
25510 (conj): Remove inline.
25512 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25514 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25515 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25516 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25517 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25518 (issignalingf_inline): Likewise.
25519 (POWF_LOG2_TABLE_BITS): Likewise.
25520 (POWF_LOG2_POLY_ORDER): Likewise.
25521 (POWF_SCALE_BITS): Likewise.
25522 (POWF_SCALE): Likewise.
25523 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25524 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25525 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25527 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25529 * math/Makefile (type-float-routines): Add e_log2f_data.
25530 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25531 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25532 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25533 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25534 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25535 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25536 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25538 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25540 * math/Makefile (type-float-routines): Add e_logf_data.
25541 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25542 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25543 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25544 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25545 * sysdeps/i386/fpu/e_logf_data.c: New file.
25546 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25547 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25549 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25551 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25552 undefined _DYNAMIC in PIE libc.a.
25553 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25556 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25558 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25559 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25560 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25561 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25562 (__signbit): Remove.
25563 (__signbitl): Remove.
25564 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25565 (__signbit): Remove.
25566 (__signbitl): Remove.
25567 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25568 (__signbit): Remove.
25569 (__signbitl): Remove.
25570 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25571 (__signbit): Remove.
25572 (__signbitl): Remove.
25573 * sysdeps/tile/bits/mathinline.h: Delete file.
25574 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25575 (__signbit): Remove.
25576 (__signbitl): Remove.
25578 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25580 * math/math.h: Improve handling of C99 isgreater macros.
25581 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25582 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25583 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25584 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25585 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25587 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25589 * sysdeps/aarch64/libm-test-ulps: Update.
25591 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25595 math_opt_barrier on argument when doing arithmetic on it.
25596 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25597 Likewise. Use math_force_eval not math_opt_barrier after
25599 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25600 math_opt_barrier on argument when doing arithmetic on it.
25601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25604 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25606 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25608 (__freeifaddrs): Likewise.
25610 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25612 * include/dirent.h (__dirfd): New declaration.
25613 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25615 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25616 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25617 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25618 * include/unistd.h (__revoke): New declaration.
25619 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25621 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25622 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25624 * include/dirent.h (__seekdir): New declaration.
25625 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25626 redefine as weak alias.
25627 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25629 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25630 and use libc_hidden_def on them.
25631 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25633 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25634 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25635 instead of getifaddrs and freeifaddrs.
25637 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25640 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25641 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25642 (__dso_handle): Remove declaration.
25643 * dlfcn/tstatexit.c (__dso_handle): Removed.
25644 (main): Don't check __dso_handle.
25645 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25646 (main): Don't check __dso_handle.
25647 * include/dso_handle.h: New file.
25648 * malloc/mtrace.c: Include <dso_handle.h>.
25649 (mtrace): Pass __dso_handle directly.
25650 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25651 (__dso_handle): Remove declaration.
25652 (__pthread_atfork): Pass __dso_handle directly.
25653 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25654 (__dso_handle): Removed.
25655 * posix/wordexp-test.c: Include <dso_handle.h>.
25656 (__dso_handle): Remove declaration.
25657 (__app_register_atfork): Pass __dso_handle directly.
25658 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25659 (__dso_handle): Remove declaration.
25660 (at_quick_exit): Pass __dso_handle directly.
25661 * stdlib/atexit.c: Include <dso_handle.h>.
25662 (__dso_handle): Remove declaration.
25663 (atexit): Pass __dso_handle directly.
25664 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25665 (__dso_handle): Removed.
25667 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25669 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25672 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25674 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25675 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25676 values to correct default value for given type.
25678 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25681 * elf/Makefile (tests): Add tst-debug1.
25682 ($(objpfx)tst-debug1): New.
25683 ($(objpfx)tst-debug1.out): Likewise.
25684 ($(objpfx)tst-debug1mod1.so): Likewise.
25685 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25686 with p_filesz == 0.
25687 * elf/tst-debug1.c: New file.
25689 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25691 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25692 Define using __ifunc.
25694 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25696 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25699 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25702 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25704 2017-09-26 Florian Weimer <fweimer@redhat.com>
25706 * resolv/Makefile (tests-internal): Fix typo in comment.
25708 2017-09-26 Florian Weimer <fweimer@redhat.com>
25710 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25712 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25714 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25715 Use an union instead of a max_align_t array for __space,
25716 so that __space is the same size on all platforms.
25717 * malloc/scratch_buffer_grow_preserve.c
25718 (__libc_scratch_buffer_grow_preserve): Likewise.
25721 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25723 * posix/Makefile (routines): Add glob-lstat-compat and
25724 glob64-lstat-compat.
25725 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25726 * posix/glob-lstat-compat.c: New file.
25727 * posix/glob64-lstat-compat.c: Likewise.
25728 * posix/tst-glob_lstat_compat.c: Likewise.
25729 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25730 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25731 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25732 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25734 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25735 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25736 * posix/glob.c (glob_lstat): New function.
25737 (glob): Rename to __glob and add versioned symbol to 2.27.
25738 (glob_in_dir): Use glob_lstat.
25739 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25740 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25741 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25743 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25744 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25745 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25746 gl_lstat on glob call.
25747 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25748 and glob64 symbols.
25749 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25750 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25751 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25752 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25753 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25754 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25755 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25756 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25757 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25758 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25759 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25760 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25763 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25765 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25766 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25767 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25769 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25772 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25773 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25774 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25776 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25778 * configure.ac (AS): Require binutils 2.25 or later.
25779 * configure: Regenerated.
25781 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25784 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25787 2017-09-25 DJ Delorie <dj@redhat.com>
25790 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25793 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25795 * sysdeps/ieee754/dbl-64/sincos32.h
25796 [SINCCOS32_H]: Remove define.
25797 [SINCOS32_H]: Define.
25799 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25801 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25803 * math/w_exp2f.c: New file.
25804 * math/w_expf.c: New file.
25805 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25806 * math/w_expf_compat.c (__expf_compat): Likewise.
25807 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25808 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25811 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25812 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25813 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25815 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25816 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25829 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25830 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25831 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25832 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25838 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25842 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25844 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25845 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25846 (roundtoint, converttoint): Likewise.
25847 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25848 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25849 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25850 * sysdeps/ieee754/flt-32/math_config.h: New file.
25851 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25852 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25853 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25854 * sysdeps/i386/fpu/math_errf.c: New file.
25855 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25856 * sysdeps/ia64/fpu/math_errf.c: New file.
25857 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25858 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25860 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25862 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25863 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25864 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25865 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25866 to make sure that these symbols are defined.
25867 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25869 (__need_NULL): Do not define.
25870 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25872 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25873 CMGROUP_MAX, cmsgcred): Do not define.
25874 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25876 * bits/socket.h: Likewise.
25877 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25878 __gettimeofday instead of gettimeofday.
25879 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25880 instead of settimeofday.
25882 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25884 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25885 (asinhf): Define using libm_alias_float.
25886 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25887 (atanf): Define using libm_alias_float.
25888 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25889 (cbrtf): Define using libm_alias_float.
25890 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25891 (ceilf): Define using libm_alias_float.
25892 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25893 <libm-alias-float.h>.
25894 (copysignf): Define using libm_alias_float.
25895 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25896 (cosf): Define using libm_alias_float.
25897 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25898 (erff): Define using libm_alias_float.
25900 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25901 (expm1f): Define using libm_alias_float.
25902 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25903 (fabsf): Define using libm_alias_float.
25904 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25905 (floorf): Define using libm_alias_float.
25906 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25907 (frexpf): Define using libm_alias_float.
25908 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25910 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25911 <libm-alias-float.h>.
25912 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25914 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25915 <libm-alias-float.h>.
25916 (getpayloadf): Define using libm_alias_float.
25917 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25918 <libm-alias-float.h>.
25919 (llrintf): Define using libm_alias_float.
25920 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25921 <libm-alias-float.h>.
25922 (llroundf): Define using libm_alias_float.
25923 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25924 (logbf): Define using libm_alias_float.
25925 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25926 (lrintf): Define using libm_alias_float.
25927 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25928 (lroundf): Define using libm_alias_float.
25929 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25930 (modff): Define using libm_alias_float.
25931 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25932 <libm-alias-float.h>.
25933 (nearbyintf): Define using libm_alias_float.
25934 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25935 <libm-alias-float.h>.
25936 (nextafterf): Define using libm_alias_float.
25937 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25938 <libm-alias-float.h>.
25939 (nextupf): Define using libm_alias_float.
25940 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25941 <libm-alias-float.h>.
25942 (remquof): Define using libm_alias_float.
25943 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25944 (rintf): Define using libm_alias_float.
25945 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25946 <libm-alias-float.h>.
25947 (roundevenf): Define using libm_alias_float.
25948 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25949 (roundf): Define using libm_alias_float.
25950 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25951 using libm_alias_float.
25952 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25953 <libm-alias-float.h>.
25954 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25955 Define using libm_alias_float.
25956 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25957 <libm-alias-float.h>.
25958 (sincosf): Define using libm_alias_float.
25959 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25960 (sinf): Define using libm_alias_float.
25961 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25962 (tanf): Define using libm_alias_float.
25963 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25964 (tanhf): Define using libm_alias_float.
25965 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25966 <libm-alias-float.h>.
25967 (totalorderf): Define using libm_alias_float.
25968 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25969 <libm-alias-float.h>.
25970 (totalordermagf): Define using libm_alias_float.
25971 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25972 (truncf): Define using libm_alias_float.
25973 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25975 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25978 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25981 math/math.h: Let fpclassify use the builtin in C++ mode, even
25982 when optimazing for size.
25984 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25986 * csu/Makefile (generated): Do not add version-info.h.
25987 (before-compile): Likewise.
25988 (all-Banner-files): Remove variable.
25989 ($(objpfx)version-info.h): Remove rule.
25990 * csu/version.c (banner): Do not include "version-info.h".
25991 * libidn/Banner: Remove.
25992 * manual/contrib.texi (Simon Josefsson): New entry.
25994 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25996 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25997 Remove conditionals on LDBL_MANT_DIG.
25998 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25999 (__ieee754_lgammal_r): Likewise.
26001 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26005 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26006 _Float128 and L(). Replace _Float128 with long double and L(x)
26007 with xL, throughout the file.
26008 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26009 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26013 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26016 sysdeps/ieee754/ldbl-128ibm.
26017 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26018 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26019 of including it. Keep _Float128 and L() intact. These will be
26020 reviewed by a separate patch.
26021 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26026 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26029 (__finitef128): Define to __redirect___finitef128.
26030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26031 (__isinff128): Define to __redirect___isinff128.
26032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26033 (__isnanf128): Define to __redirect___isnanf128.
26035 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26037 * sysdeps/powerpc/powerpc64le/Makefile
26038 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26039 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26041 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26042 Carlos O'Donell <carlos@redhat.com>
26045 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26046 * stdlib/test-dlclose-exit-race.c: New file.
26047 * stdlib/test-dlclose-exit-race-helper.c: New file.
26048 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26050 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26052 * crypt/Banner: Remove file.
26053 * nptl/Banner: Likewise.
26054 * resolv/Banner: Likewise.
26055 * soft-fp/Banner: Likewise.
26056 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26057 ($(objpfx)version.d): Remove dependency on banner.h.
26058 ($(objpfx)version.os): Likewise.
26059 * nptl/version.c (banner): Do not include banner.h.
26060 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26061 Jelinek and BIND code.
26063 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26064 Carlos O'Donell <carlos@redhat.com>
26066 * support/xdlfcn.h: New file.
26067 * support/xdlfcn.c: New file.
26068 * support/Makefile (libsupport-routines): Add xdlfcn.
26069 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26071 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26074 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26075 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26076 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26077 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26078 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26079 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26080 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26081 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26083 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26084 Ricky Zhou <rickyz@google.com>
26085 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26088 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26090 (__new_exitfn): Fail registration when we finished at_exit processing.
26091 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26092 * stdlib/on_exit.c (__on_exit): Likewise.
26093 * stdlib/exit.c (__exit_funcs_done): New variable.
26094 (__run_exit_handlers): Use __exit_funcs_lock.
26095 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26097 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26098 (test-cxa_atexit-race, test-on_exit-race): New tests.
26099 * stdlib/test-atexit-race-common.c: New file.
26100 * stdlib/test-atexit-race.c: New file.
26101 * stdlib/test-at_quick_exit-race.c: New file.
26102 * stdlib/test-cxa_atexit-race.c: New file.
26103 * stdlib/test-on_exit-race.c: New file.
26105 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26107 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26108 * benchtests/exp2f-inputs: Copy of expf-inputs.
26109 * benchtests/log2f-inputs: Copy of logf-inputs.
26111 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26113 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26114 Explicitly take address of first element of array arguments in
26115 call to INLINE_SYSCALL.
26117 2017-09-19 Andreas Schwab <schwab@suse.de>
26120 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26122 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26125 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26126 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26127 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26128 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26129 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26130 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26131 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26132 * posix/Makefile (tests): Add tst-fexecve.
26133 * posix/tst-fexecve.c: New file.
26135 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26137 * benchtests/Makefile: Add logf benchmark.
26138 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26140 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26142 * benchtests/Makefile: Add expf benchmark.
26143 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26145 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26147 * csu/Makefile: Add -funwind-tables to libc-start.c.
26148 * debug/Makefile: Add -funwind-tables to backtrace.c.
26149 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26150 * sysdeps/arm/Makefile: Likewise.
26151 * sysdeps/i386/Makefile: Likewise.
26152 * sysdeps/m68k/Makefile: Likewise.
26153 * sysdeps/mips/Makefile: Likewise.
26154 * sysdeps/nios2/Makefile: Likewise.
26155 * sysdeps/sh/Makefile: Likewise.
26156 * sysdeps/sparc/Makefile: Likewise.
26158 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26160 * benchtests/Makefile (bench-math): Add trunc and truncf.
26161 (CFLAGS-bench-trunc.c): New variable.
26162 (CFLAGS-bench-truncf.c): Likewise.
26163 * benchtests/trunc-inputs: New file.
26164 * benchtests/truncf-inputs: Likewise.
26166 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26168 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26170 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26172 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26173 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26175 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26176 (exp10l): Define as weak alias.
26177 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26178 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26180 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26181 (remainderl): Define as weak alias.
26183 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26184 (fmal): Define using libm_alias_ldouble.
26185 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26186 (acoshl): Define using libm_alias_ldouble.
26187 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26188 (acosl): Define using libm_alias_ldouble.
26189 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26190 (asinl): Define using libm_alias_ldouble.
26191 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26192 (atan2l): Define using libm_alias_ldouble.
26193 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26194 (atanhl): Define using libm_alias_ldouble.
26195 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26196 (coshl): Define using libm_alias_ldouble.
26197 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26198 (exp10l): Define using libm_alias_ldouble.
26199 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26200 (exp2l): Define using libm_alias_ldouble.
26201 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26202 (expl): Define using libm_alias_ldouble.
26203 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26204 (fmodl): Define using libm_alias_ldouble.
26205 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26206 (hypotl): Define using libm_alias_ldouble.
26207 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26208 (j0l): Define using libm_alias_ldouble.
26210 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26211 (j1l): Define using libm_alias_ldouble.
26213 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26214 (jnl): Define using libm_alias_ldouble.
26216 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26217 (log10l): Define using libm_alias_ldouble.
26218 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26219 (log2l): Define using libm_alias_ldouble.
26220 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26221 (logl): Define using libm_alias_ldouble.
26222 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26223 (powl): Define using libm_alias_ldouble.
26224 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26225 (remainderl): Define using libm_alias_ldouble.
26226 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26227 (sinhl): Define using libm_alias_ldouble.
26228 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26229 (sqrtl): Define using libm_alias_ldouble.
26230 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26231 (tgammal): Define using libm_alias_ldouble.
26232 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26233 (exp10l): Do not use long_double_symbol here.
26234 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26235 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26236 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26237 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26238 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26239 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26240 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26241 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26242 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26243 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26244 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26245 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26246 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26247 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26248 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26249 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26250 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26251 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26252 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26253 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26254 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26255 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26257 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26259 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26260 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26262 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26264 * io/read.c (read): Add libc_hidden_weak.
26265 * sysdeps/mach/hurd/read.c (read): Likewise.
26266 * io/write.c (write): Likewise.
26267 * sysdeps/mach/hurd/write.c (write): Likewise.
26268 * io/pread64.c (__pread64): Likewise.
26269 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26270 * posix/pread64.c (__pread64): Add libc_hidden_def.
26272 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26274 * benchtests/scripts/compare_strings.py: New option -g.
26275 (draw_graph): Print a message that a graph is being generated.
26276 (process_results): Generate graph only if -g is passed.
26277 (main): Process option -g.
26279 * benchtests/scripts/compare_strings.py (process_results):
26280 Better spacing for output.
26282 * benchtests/scripts/compare_strings.py: Use argparse.
26283 * benchtests/README: Document existence of compare_strings.py.
26285 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26287 * math/s_fma.c: Include <libm-alias-double.h>.
26288 (fma): Define using libm_alias_double.
26289 * math/s_nextafter.c: Include <libm-alias-double.h>.
26290 (nextafter): Define using libm_alias_double.
26291 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26292 (acos): Define using libm_alias_double.
26293 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26294 (aocsh): Define using libm_alias_double.
26295 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26296 (asin): Define using libm_alias_double.
26297 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26298 (atan2): Define using libm_alias_double.
26299 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26300 (atanh): Define using libm_alias_double.
26301 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26302 (cosh): Define using libm_alias_double.
26303 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26304 (exp10): Define using libm_alias_double.
26305 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26306 (exp2): Define using libm_alias_double.
26307 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26308 (exp): Define using libm_alias_double.
26309 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26310 (fmod): Define using libm_alias_double.
26311 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26312 (hypot): Define using libm_alias_double.
26313 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26314 (j0): Define using libm_alias_double.
26316 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26317 (j1): Define using libm_alias_double.
26319 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26320 (jn): Define using libm_alias_double.
26322 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26323 (log10): Define using libm_alias_double.
26324 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26325 (log2): Define using libm_alias_double.
26326 * math/w_log_compat.c: Include <libm-alias-double.h>.
26327 (log): Define using libm_alias_double.
26328 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26329 (pow): Define using libm_alias_double.
26330 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26331 (remainder): Define using libm_alias_double.
26332 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26333 (sinh): Define using libm_alias_double.
26334 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26335 (sqrt): Define using libm_alias_double.
26336 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26337 (tgamma): Define using libm_alias_double.
26338 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26339 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26340 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26341 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26342 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26343 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26344 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26345 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26346 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26347 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26348 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26349 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26350 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26351 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26352 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26353 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26354 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26355 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26356 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26357 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26358 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26359 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26360 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26361 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26362 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26364 * math/e_acoshl.c: Remove.
26365 * math/e_acosl.c: Likewise.
26366 * math/e_asinl.c: Likewise.
26367 * math/e_atan2l.c: Likewise.
26368 * math/e_atanhl.c: Likewise.
26369 * math/e_coshl.c: Likewise.
26370 * math/e_expl.c: Likewise.
26371 * math/e_fmodl.c: Likewise.
26372 * math/e_gammal_r.c: Likewise.
26373 * math/e_hypotl.c: Likewise.
26374 * math/e_j0l.c: Likewise.
26375 * math/e_j1l.c: Likewise.
26376 * math/e_jnl.c: Likewise.
26377 * math/e_lgammal_r.c: Likewise.
26378 * math/e_log10l.c: Likewise.
26379 * math/e_log2l.c: Likewise.
26380 * math/e_logl.c: Likewise.
26381 * math/e_powl.c: Likewise.
26382 * math/e_rem_pio2l.c: Likewise.
26383 * math/e_sinhl.c: Likewise.
26384 * math/e_sqrtf128.c: Likewise.
26385 * math/e_sqrtl.c: Likewise.
26386 * math/k_cosl.c: Likewise.
26387 * math/k_sinl.c: Likewise.
26388 * math/k_tanl.c: Likewise.
26389 * math/s_asinhl.c: Likewise.
26390 * math/s_atanl.c: Likewise.
26391 * math/s_cbrtl.c: Likewise.
26392 * math/s_erfl.c: Likewise.
26393 * math/s_expm1l.c: Likewise.
26394 * math/s_log1pl.c: Likewise.
26395 * math/s_tanhl.c: Likewise.
26397 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26401 [$(subdir) = math] (sysdep_calls): New variable. Has the
26402 previous contents of sysdep_routines, but re-sorted..
26403 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26405 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26406 defined in sysdep_calls and replace by the respective m_* names.
26407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26408 (compat_symbol): Undefine to avoid duplicated compat symbols in
26411 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26413 * math/s_fmaf.c: Include <libm-alias-float.h>.
26414 (fmaf): Define using libm_alias_float.
26415 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26416 (acosf): Define using libm_alias_float.
26417 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26418 (acoshf): Define using libm_alias_float.
26419 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26420 (asinf): Define using libm_alias_float.
26421 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26422 (atan2f): Define using libm_alias_float.
26423 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26424 (atanhf): Define using libm_alias_float.
26425 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26426 (coshf): Define using libm_alias_float.
26427 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26428 (exp10f): Define using libm_alias_float.
26429 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26430 (fmodf): Define using libm_alias_float.
26431 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26432 (hypotf): Define using libm_alias_float.
26433 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26434 (j0f): Define using libm_alias_float.
26436 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26437 (j1f): Define using libm_alias_float.
26439 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26440 (jnf): Define using libm_alias_float.
26442 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26443 (log10f): Define using libm_alias_float.
26444 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26445 (log2f): Define using libm_alias_float.
26446 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26447 (logf): Define using libm_alias_float.
26448 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26449 (powf): Define using libm_alias_float.
26450 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26451 (remainderf): Define using libm_alias_float.
26452 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26453 (sinhf): Define using libm_alias_float.
26454 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26455 (sqrtf): Define using libm_alias_float.
26456 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26457 (tgammaf): Define using libm_alias_float.
26459 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26461 * include/math.h (roundeven): Change hidden_proto call to
26463 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26465 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26466 (y0): Rename to __y0 and define as weak alias.
26467 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26468 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26470 (y0f): Rename to __y0f and define as weak alias.
26471 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26473 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26474 (y1): Rename to __y1 and define as weak alias.
26475 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26476 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26478 (y1f): Rename to __y1f and define as weak alias.
26479 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26481 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26482 (yn): Rename to __yn and define as weak alias.
26483 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26484 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26486 (ynf): Rename to __ynf and define as weak alias.
26487 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26488 (fromfp): Define as weak alias.
26489 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26490 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26491 (fromfpx): Define as weak alias.
26492 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26493 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26494 __getpayload and define as weak alias.
26495 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26496 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26497 __roundeven and define as weak alias.
26498 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26499 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26501 (setpayload): Define as weak alias.
26502 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26503 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26505 (setpayloadsig): Define as weak alias.
26506 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26507 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26508 __totalorder and define as weak alias.
26509 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26510 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26511 to __totalordermag and define as weak alias.
26512 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26513 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26514 (ufromfp): Define as weak alias.
26515 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26516 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26518 (ufromfpx): Define as weak alias.
26519 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26521 Rename to __getpayload and define as weak alias.
26522 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26523 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26524 Rename to __roundeven and define as weak alias.
26525 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26526 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26527 Rename to __totalorder and define as weak alias.
26528 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26529 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26530 (totalordermag): Rename to __totalordermag and define as weak
26532 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26533 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26535 (__roundevenl): Likewise.
26536 (__totalorderl): Likewise.
26537 (__totalordermagl): Likewise
26538 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26540 (fromfpf128): Define as weak alias.
26541 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26543 (fromfpxf128): Define as weak alias.
26544 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26546 (setpayloadf128): Define as weak alias.
26547 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26548 __setpayloadsigf128.
26549 (setpayloadsigf128): Define as weak alias.
26550 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26552 (ufromfpf128): Define as weak alias.
26553 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26555 (ufromfpxf128): Define as weak alias.
26556 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26557 (fromfpf): Define as weak alias.
26558 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26560 (fromfpxf): Define as weak alias.
26561 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26562 __getpayloadf and define as weak alias.
26563 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26564 __roundevenf and define as weak alias.
26565 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26567 (setpayloadf): Define as weak alias.
26568 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26570 (setpayloadsigf): Define as weak alias.
26571 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26572 __totalorderf and define as weak alias.
26573 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26574 Rename to __totalordermagf and define as weak alias.
26575 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26577 (ufromfpf): Define as weak alias.
26578 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26580 (ufromfpxf): Define as weak alias.
26581 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26583 (fromfpl): Define as weak alias.
26584 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26586 (fromfpxl): Define as weak alias.
26587 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26588 to __getpayloadl and define as weak alias.
26589 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26590 __roundevenl and define as weak alias.
26591 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26593 (setpayloadl): Define as weak alias.
26594 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26596 (setpayloadsigl): Define as weak alias.
26597 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26598 to __totalorderl and define as weak alias.
26599 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26600 Rename to __totalordermagl and define as weak alias.
26601 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26603 (ufromfpl): Define as weak alias.
26604 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26606 (ufromfpxl): Define as weak alias.
26607 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26609 (fromfpl): Define as weak alias.
26610 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26612 (fromfpxl): Define as weak alias.
26613 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26614 Rename to __getpayloadl and define as weak alias.
26615 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26616 to __roundevenl and define as weak alias. Call __roundeven
26617 instead of roundeven.
26618 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26620 (setpayloadl): Define as weak alias.
26621 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26623 (setpayloadsigl): Define as weak alias.
26624 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26625 Rename to __totalorderl and define as weak alias.
26626 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26627 Rename to __totalordermagl and define as weak alias.
26628 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26630 (ufromfpl): Define as weak alias.
26631 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26633 (ufromfpxl): Define as weak alias.
26634 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26636 (fromfpl): Define as weak alias.
26637 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26639 (fromfpxl): Define as weak alias.
26640 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26641 __getpayloadl and define as weak alias.
26642 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26643 __roundevenl and define as weak alias.
26644 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26646 (setpayloadl): Define as weak alias.
26647 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26649 (setpayloadsigl): Define as weak alias.
26650 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26651 __totalorderl and define as weak alias.
26652 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26653 Rename to __totalordermagl and define as weak alias.
26654 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26656 (ufromfpl): Define as weak alias.
26657 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26659 (ufromfpxl): Define as weak alias.
26661 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26663 * benchtests/bench-string.h (realloc_bufs): New function.
26664 (test_init): Call it.
26665 * benchtests/bench-memset-large.c (do_test): Likewise.
26666 * benchtests/bench-memset.c (do_test): Likewise.
26668 * benchtests/bench-memset-large.c: Print output in JSON
26670 * benchtests/bench-memset.c: Likewise.
26672 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26675 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26676 * iconvdata/Makefile: Add IBM858.
26677 * iconvdata/gconv-modules: Likewise.
26678 * iconvdata/tst-tables.sh: Likewise.
26679 * iconvdata/ibm858.c: New file.
26680 * localedata/charmaps/IBM858: Likewise.
26682 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26685 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26686 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26688 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26691 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26692 and add tel_int_fmt.
26694 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26696 * sysdeps/generic/libm-alias-float128.h: New file.
26697 * sysdeps/generic/math-type-macros-float128.h: Include
26698 <libm-alias-float128.h>.
26699 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26701 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26703 * sysdeps/generic/libm-alias-ldouble.h: New file.
26704 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26705 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26706 * sysdeps/generic/math-type-macros-ldouble.h: Include
26707 <libm-alias-ldouble.h>.
26708 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26709 libm_alias_ldouble.
26711 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26713 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26714 * math/w_exp_compat.c: ... here.
26715 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26716 * math/w_expf_compat.c: ... here.
26717 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26718 * math/w_expl_compat.c: ... here.
26719 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26720 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26721 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26722 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26724 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26726 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26728 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26730 (ldexpl): Only define as compat symbol for libc, not libm.
26731 (scalbnl): Define as compat symbol for libc here.
26732 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26733 define for [IS_IN (libc)].
26734 (__ldexpl_2): Remove alias.
26735 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26736 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26737 name in long_double_symbol call.
26738 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26739 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26740 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26741 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26742 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26744 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26745 Define as compat symbol.
26747 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26749 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26750 * sysdeps/unix/sysv/linux/alpha/Makefile
26751 [$(subdir) = csu] (sysdep_routines): Remove rule.
26753 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26755 * sysdeps/generic/libm-alias-double.h: New file.
26756 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26757 * sysdeps/generic/math-type-macros-double.h: Include
26758 <libm-alias-double.h>.
26759 [declare_mgen_alias] (declare_mgen_alias): Define to use
26761 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26762 (M_LIBM_NEED_COMPAT): Remove macro.
26763 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26764 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26765 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26767 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26768 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26769 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26770 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26771 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26772 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26773 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26774 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26775 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26776 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26777 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26778 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26779 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26780 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26781 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26782 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26783 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26784 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26785 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26786 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26787 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26788 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26789 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26790 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26791 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26792 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26793 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26794 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26795 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26797 (declare_mgen_alias): New macro.
26798 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26799 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26801 (M_LIBM_NEED_COMPAT): Remove macro.
26802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26803 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26804 <first-versions.h>.
26805 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26806 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26808 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26810 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26811 (declare_mgen_alias_2): Remove.
26812 * sysdeps/generic/math-type-macros-double.h
26813 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26815 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26817 (ldexp): Define with declare_mgen_alias.
26818 (scalbn): Likewise.
26820 2017-09-12 Steve Ellcey <sellcey@cavium.com>
26822 * grp/initgroups.c: Include config.h.
26823 (DEFAULT_CONFIG): New macro.
26824 (internal_getgrouplist): Use DEFAULT_CONFIG.
26825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26826 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26827 (DEFAULT_DEFCONFIG): New macro.
26828 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26829 * nss/grp-lookup.c: Include config.h
26830 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26831 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26832 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26833 * manual/nss.texi: Update default values section.
26835 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26838 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26840 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26841 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26842 Handle MathVec_Prefer_No_AVX512.
26843 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26844 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26847 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26849 * posix/sched_primax.c (__sched_get_priority_max): Add
26851 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26852 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26853 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26854 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26855 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26856 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26857 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26858 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26861 2017-09-11 Joseph Myers <joseph@codesourcery.com>
26863 * sysdeps/generic/libm-alias-float.h: New file.
26864 * sysdeps/generic/math-type-macros-float.h: Include
26865 <libm-alias-float.h>.
26866 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26868 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26871 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26872 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26873 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26874 (HWCAP_IMPORTANT): Likewise.
26875 (HWCAP_X86_64): New enum.
26876 (HWCAP_X86_AVX512_1): Updated.
26877 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26878 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26879 (modules-names): Add x86_64/tst-x86_64mod-1.
26880 (LDFLAGS-tst-x86_64mod-1.so): New.
26881 ($(objpfx)tst-x86_64-1): Likewise.
26882 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26883 (tst-x86_64-1-clean): Likewise.
26884 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26885 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26887 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26889 * po/sv.po: Update translations.
26890 * po/fr.po: Likewise.
26892 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26894 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26896 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26898 * elf/rtld-Rules: Fix $(error) use.
26900 2017-09-09 Mike FABIAN <mfabian@redhat.com>
26903 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26904 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26905 * localedata/locales/bn_BD: “Bengali” was still used in some
26906 comments. Change it to “Bangla”.
26908 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26910 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26912 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26914 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26915 thunderx2t99p1 to list of cpu names.
26916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26917 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26919 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26921 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26922 Use strcmp instead of tunable_is_name.
26924 2017-09-08 Joseph Myers <joseph@codesourcery.com>
26926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26927 (F_GET_RW_HINT): New macro.
26928 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26929 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26930 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26931 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26932 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26933 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26934 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26935 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26936 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26939 (F_ADD_SEALS): New macro.
26940 [__USE_GNU] (F_GET_SEALS): Likewise.
26941 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26942 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26943 [__USE_GNU] (F_SEAL_GROW): Likewise.
26944 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26946 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26948 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26949 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26950 * posix/glob_internal.h (__glob_pattern_type):
26951 * posix/glob.c (glob):
26952 * posix/glob_pattern_p.c (__glob_pattern_p):
26955 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26956 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26957 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26958 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26959 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26961 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26962 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26963 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26964 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26965 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26966 * sysdeps/wordsize-64/glob.c: Likewise.
26967 * sysdeps/wordsize-64/glob64.c: Likewise.
26968 * sysdeps/wordsize-64/globfree.c: Likewise.
26969 * sysdeps/wordsize-64/globfree64.c: Likewise.
26970 * sysdeps/unix/sysv/linux/glob.c: New file.
26971 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26972 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26973 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26974 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26975 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26976 adds !GLOB_NO_OLD_VERSION as an extra condition.
26977 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26978 using relative path instead of absolute one.
26979 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26980 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26981 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26982 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26983 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26984 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26987 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26988 (glob): Use the same scratch buffer for both getlogin_r and
26989 getpwnam_r. Don’t require preallocation of the login name. This
26990 simplifies storage allocation, and corrects the handling of
26994 * posix/glob.c (glob): Port recent patches to platforms
26995 lacking getpwnam_r.
26996 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26997 returns an error number rather than setting errno.
26999 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27000 instead of GCC extension.
27001 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27002 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27003 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27007 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27008 * posix/bug-glob1.c: Remove file.
27009 * posix/tst-glob_symlinks.c: New file.
27010 * posix/glob.c (__lstat64): New macro.
27011 (is_dir): New function.
27012 (glob, glob_in_dir): Match symlinks even if they are dangling.
27013 (link_stat, link_exists_p): Remove. All uses removed.
27017 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27018 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27023 * posix/Makefile (routines): Add globfree, globfree64, and
27025 * posix/flexmember.h: New file.
27026 * posix/glob_internal.h: Likewise.
27027 * posix/glob_pattern_p.c: Likewise.
27028 * posix/globfree.c: Likewise.
27029 * posix/globfree64.c: Likewise.
27030 * sysdeps/gnu/globfree64.c: Likewise.
27031 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27032 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27033 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27034 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27035 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27036 * sysdeps/wordsize-64/globfree.c: Likewise.
27037 * sysdeps/wordsize-64/globfree64.c: Likewise.
27038 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27039 [NDEBUG): Remove comments.
27040 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27041 (dirent_type): New type. Use uint_fast8_t not
27042 uint8_t, as C99 does not require uint8_t.
27043 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27044 (struct readdir_result): Use dirent_type. Do not define skip_entry
27045 unless it is needed; this saves a byte on platforms lacking d_ino.
27046 (readdir_result_type, readdir_result_skip_entry):
27047 New functions, replacing ...
27048 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27049 these functions, which were removed. This makes the callers
27050 easier to read. All callers changed.
27051 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27052 (size_add_wrapv, glob_use_alloca): New static functions.
27053 (glob, glob_in_dir): Check for size_t overflow in several places,
27054 and fix some size_t checks that were not quite right.
27055 Remove old code using SHELL since Bash no longer
27057 (glob, prefix_array): Separate MS code better.
27058 (glob_in_dir): Remove old Amiga and VMS code.
27059 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27061 (glob_in_dir): Do not rely on undefined behavior in accessing
27062 struct members beyond their bounds. Use a flexible array member
27064 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27065 0/1. Caller changed.
27066 (glob): Fix memory leaks.
27067 * posix/glob64 (globfree64): Move to separate file.
27068 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27069 (globfree64): Remove hidden alias.
27070 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27072 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27074 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27076 Move compat code to separate file.
27077 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27080 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27082 * resolv/tst-resolv-qtypes.c (domain): Changed to
27083 "const char domain[] =".
27085 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27087 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27090 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27091 (TCP_MD5SIG_EXT): Likewise.
27092 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27093 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27094 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27096 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27098 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27100 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27102 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27105 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27107 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27109 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27110 before assuming that the file is empty. Avoid testing buffer content
27113 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27116 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27118 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27120 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27122 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27124 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27126 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27128 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27131 2017-09-06 Florian Weimer <fweimer@redhat.com>
27133 * malloc/dynarray_emplace_enlarge.c
27134 (__libc_dynarray_emplace_enlarge): Add missing else.
27136 2017-09-06 Florian Weimer <fweimer@redhat.com>
27139 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27140 case of failure to obtain the global conf object.
27142 2017-09-06 Florian Weimer <fweimer@redhat.com>
27145 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27146 dynarray allocation failure.
27148 2017-09-06 Florian Weimer <fweimer@redhat.com>
27150 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27151 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27152 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27154 (response): Call them. Add 'p', '6' flag processing.
27155 (test_reverse): New function.
27156 (test_get2_any): Call it.
27157 (test_no_inet6): Add 'p' test.
27158 (test_inet6): Likewise.
27160 2017-09-06 Florian Weimer <fweimer@redhat.com>
27162 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27163 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27165 (test_gai): Adjust query names. Add additional tests.
27166 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27167 test_get2. Adjust query names. Add additional tests.
27168 (test_no_inet6): New function, extracted from threadfunc.
27169 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27170 Add additional tests.
27172 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27175 * localedata/unicode-gen/utf8_gen.py: Set the width for
27176 characters with Prepended_Concatenation_Mark property to 1
27177 * localedata/charmaps/UTF-8: Updated using the improved script.
27179 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27182 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27183 use the range notation for all ranges of neighbouring characters
27184 with the same width.
27186 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27188 * sysdeps/generic/math-type-macros-double.h: Include
27189 <math-svid-compat.h>.
27190 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27191 * sysdeps/generic/math-type-macros-float.h: Include
27192 <math-svid-compat.h>.
27193 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27194 * sysdeps/generic/math-type-macros-ldouble.h: Include
27195 <math-svid-compat.h>.
27196 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27197 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27199 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27200 * math/w_acosf_compat.c: Likewise.
27201 * math/w_acosh_compat.c: Likewise.
27202 * math/w_acoshf_compat.c: Likewise.
27203 * math/w_acoshl_compat.c: Likewise.
27204 * math/w_acosl_compat.c: Likewise.
27205 * math/w_asin_compat.c: Likewise.
27206 * math/w_asinf_compat.c: Likewise.
27207 * math/w_asinl_compat.c: Likewise.
27208 * math/w_atan2_compat.c: Likewise.
27209 * math/w_atan2f_compat.c: Likewise.
27210 * math/w_atan2l_compat.c: Likewise.
27211 * math/w_atanh_compat.c: Likewise.
27212 * math/w_atanhf_compat.c: Likewise.
27213 * math/w_atanhl_compat.c: Likewise.
27214 * math/w_cosh_compat.c: Likewise.
27215 * math/w_coshf_compat.c: Likewise.
27216 * math/w_coshl_compat.c: Likewise.
27217 * math/w_exp10_compat.c: Likewise.
27218 * math/w_exp10f_compat.c: Likewise.
27219 * math/w_exp10l_compat.c: Likewise.
27220 * math/w_exp2_compat.c: Likewise.
27221 * math/w_exp2f_compat.c: Likewise.
27222 * math/w_exp2l_compat.c: Likewise.
27223 * math/w_fmod_compat.c: Likewise.
27224 * math/w_fmodf_compat.c: Likewise.
27225 * math/w_fmodl_compat.c: Likewise.
27226 * math/w_hypot_compat.c: Likewise.
27227 * math/w_hypotf_compat.c: Likewise.
27228 * math/w_hypotl_compat.c: Likewise.
27229 * math/w_j0_compat.c: Likewise.
27230 * math/w_j0f_compat.c: Likewise.
27231 * math/w_j0l_compat.c: Likewise.
27232 * math/w_j1_compat.c: Likewise.
27233 * math/w_j1f_compat.c: Likewise.
27234 * math/w_j1l_compat.c: Likewise.
27235 * math/w_jn_compat.c: Likewise.
27236 * math/w_jnf_compat.c: Likewise.
27237 * math/w_jnl_compat.c: Likewise.
27238 * math/w_lgamma_r_compat.c: Likewise.
27239 * math/w_lgammaf_r_compat.c: Likewise.
27240 * math/w_lgammal_r_compat.c: Likewise.
27241 * math/w_log10_compat.c: Likewise.
27242 * math/w_log10f_compat.c: Likewise.
27243 * math/w_log10l_compat.c: Likewise.
27244 * math/w_log2_compat.c: Likewise.
27245 * math/w_log2f_compat.c: Likewise.
27246 * math/w_log2l_compat.c: Likewise.
27247 * math/w_log_compat.c: Likewise.
27248 * math/w_logf_compat.c: Likewise.
27249 * math/w_logl_compat.c: Likewise.
27250 * math/w_pow_compat.c: Likewise.
27251 * math/w_powf_compat.c: Likewise.
27252 * math/w_powl_compat.c: Likewise.
27253 * math/w_remainder_compat.c: Likewise.
27254 * math/w_remainderf_compat.c: Likewise.
27255 * math/w_remainderl_compat.c: Likewise.
27256 * math/w_sinh_compat.c: Likewise.
27257 * math/w_sinhf_compat.c: Likewise.
27258 * math/w_sinhl_compat.c: Likewise.
27259 * math/w_sqrt_compat.c: Likewise.
27260 * math/w_sqrtf_compat.c: Likewise.
27261 * math/w_sqrtl_compat.c: Likewise.
27262 * math/w_tgamma_compat.c: Likewise.
27263 * math/w_tgammaf_compat.c: Likewise.
27264 * math/w_tgammal_compat.c: Likewise.
27265 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27266 [LIBM_SVID_COMPAT].
27267 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27268 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27269 [LIBM_SVID_COMPAT].
27270 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27271 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27272 [LIBM_SVID_COMPAT].
27273 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27274 * sysdeps/i386/fpu/w_sqrt.c: New file.
27275 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27276 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27277 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27278 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27279 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27280 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27281 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27282 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27283 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27284 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27285 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27286 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27287 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27288 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27289 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27290 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27291 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27292 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27293 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27294 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27295 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27296 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27297 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27298 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27299 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27300 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27301 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27302 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27303 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27304 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27305 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27306 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27307 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27308 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27309 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27310 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27311 * sysdeps/ia64/fpu/w_log.c: Likewise.
27312 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27313 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27314 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27315 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27316 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27317 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27318 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27319 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27320 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27321 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27322 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27323 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27324 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27325 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27326 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27327 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27328 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27329 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27330 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27331 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27332 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27333 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27334 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27336 [LIBM_SVID_COMPAT].
27337 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27338 * sysdeps/ieee754/k_standard.c: Likewise.
27339 * sysdeps/ieee754/k_standardf.c: Likewise.
27340 * sysdeps/ieee754/k_standardl.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27343 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27344 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27345 long_double_symbol call on [LIBM_SVID_COMPAT].
27346 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27347 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27348 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27349 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27350 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27351 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27352 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27353 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27354 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27355 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27356 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27357 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27358 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27359 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27360 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27361 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27362 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27363 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27364 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27365 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27366 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27367 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27369 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27371 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27372 * malloc/tst-mallocstate.c: Convert from test-skeleton
27373 to test-driver. Ifdef code using TEST_COMPAT macro.
27374 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27375 * math/test-matherr.c: Likewise.
27377 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27380 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27381 comparing word with byte-swapped constant.
27383 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27386 * locale/iso-639.def: add Miskito.
27387 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27388 * localedata/locales/miq_NI: New file.
27390 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27393 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27394 (__mkdir): Likewise.
27395 * io/chmod.c (__chmod): Add libc_hidden_def.
27396 * io/mkdir.c (__mkdir): Likewise.
27397 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27398 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27399 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27400 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27402 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27404 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27408 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27409 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27411 2017-09-04 Florian Weimer <fweimer@redhat.com>
27413 * math/math.h: Issue warning if log is defined.
27415 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27417 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27418 kernel version to 4.13.
27420 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27422 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27423 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27425 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27426 just <bits/types.h>.
27427 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27428 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27429 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27430 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27431 * misc/preadv2.c: Include <errno.h>.
27432 * misc/preadv64v2.c: Include <errno.h>.
27433 * misc/pwritev2.c: Include <errno.h>.
27434 * misc/pwritev64v2.c: Include <errno.h>.
27435 * sysdeps/posix/preadv2.c: Include <errno.h>.
27436 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27437 Fix <unistd.h> inclusion.
27438 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27439 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27440 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27441 __strtoul_internal): New functions.
27442 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27443 * sysdeps/posix/system.c: Include <sigsetops.h>.
27444 * sysdeps/mach/hurd/i386/Makefile
27445 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27446 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27447 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27448 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27449 __feraiseexcept_renamed to feraiseexcept instead of
27450 __GI_feraiseexcept.
27451 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27452 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27453 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27454 RWF_NOWAIT): Define to 0 if undefined already.
27455 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27457 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27458 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27460 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27462 * manual/math.texi (pow10): Do not document.
27463 (pow10f): Likewise.
27464 (pow10l): Likewise.
27465 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27466 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27467 * math/libm-test-exp10.inc (pow10_test): Remove.
27468 (do_test): Do not call pow10.
27469 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27470 [NO_LONG_DOUBLE] (pow10l): Likewise.
27471 * math/w_exp10f_compat.c (pow10f): Likewise.
27472 * math/w_exp10l_compat.c (pow10l): Likewise.
27473 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27474 (pow10): Make into compat symbol.
27475 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27476 (pow10f): Make into compat symbol.
27477 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27478 (pow10l): Make into compat symbol.
27479 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27481 (CFLAGS-nldbl-pow10.c): Remove variable..
27482 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27483 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27484 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27485 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27486 Undefine and redefine.
27487 (pow10l): Make into compat symbol.
27488 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27489 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27490 * sysdeps/arm/libm-test-ulps: Likewise.
27491 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27492 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27493 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27494 * sysdeps/microblaze/libm-test-ulps: Likewise.
27495 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27496 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27497 * sysdeps/nios2/libm-test-ulps: Likewise.
27498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27499 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27500 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27501 * sysdeps/sh/libm-test-ulps: Likewise.
27502 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27503 * sysdeps/tile/libm-test-ulps: Likewise.
27504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27506 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27508 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27510 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27512 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27513 "../ChangeLog.old/ChangeLog.8".
27514 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27515 "../ChangeLog.old/ChangeLog.14".
27517 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27519 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27522 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27524 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27526 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27528 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27529 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27531 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27533 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27534 32 atexit handlers.
27536 2017-09-01 Zack Weinberg <zackw@panix.com>
27538 * math/math.h (HUGE_VAL): Improve commentary.
27540 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27541 Andreas Schwab <schwab@suse.de>
27544 * include/stdio.h (__gen_tempfd): New function.
27545 * stdio-common/Makefile (routines): Add gentempfd.
27546 * stdio-common/gentempfd.c: New file.
27547 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27548 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27549 unnamed file first.
27551 2017-09-01 Florian Weimer <fweimer@redhat.com>
27555 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27556 result to determine success or failure, not the errno value.
27557 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27558 (tst-nss-files-hosts-erange): Link with -ldl.
27559 * nss/tst-nss-files-hosts-erange.c: New file.
27560 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27561 (do_test): Add NO_DATA tests.
27562 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27563 (do_test): Call it.
27565 2017-09-01 Florian Weimer <fweimer@redhat.com>
27568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27569 coming from gethostbyname2_r.
27571 2017-09-01 Florian Weimer <fweimer@redhat.com>
27573 * support/namespace.h (struct support_chroot_configuration): Add
27575 (struct support_chroot): Add path_hosts, path_host_conf.
27576 * support/support_chroot.c (write_file): New function.
27577 (support_chroot_create): Call it to process /etc/resolv.conf,
27578 /etc/hosts, /etc/host.conf.
27579 (support_chroot_free): Update.
27581 2017-09-01 Florian Weimer <fweimer@redhat.com>
27583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27584 status indicates it is set.
27586 2017-09-01 Florian Weimer <fweimer@redhat.com>
27589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27590 function lookup failures more reliable.
27592 2017-09-01 Florian Weimer <fweimer@redhat.com>
27594 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27595 (getcanonname): Likewise.
27596 (gaih_inet): Likewise.
27598 2017-09-01 Florian Weimer <fweimer@redhat.com>
27600 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27601 (getcanonname): Likewise.
27602 (gaih_inet): Likewise.
27604 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27605 Richard Henderson <rth@twiddle.net>
27607 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27608 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27609 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27610 (IREG_SIZE, OREG_SIZE): New macros.
27611 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27612 (IREG_SIZE, OREG_SIZE): New macros.
27613 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27614 (IREG_SIZE): New macro.
27615 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27616 (IREG_SIZE): New macro.
27617 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27619 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27620 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27621 (__CONCATX): Handle exceptions correctly on large values that may
27623 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27624 Initialize if not already set.
27625 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27627 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27629 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27630 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27632 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27634 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27636 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27638 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27640 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27642 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27644 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27645 (NO_CANCELLATION): Likewise.
27646 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27648 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27650 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27652 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27653 (NO_CANCELLATION): Likewise.
27654 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27655 (NO_CANCELLATION): Likewise.
27656 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27658 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27660 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27662 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27664 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27666 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27667 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27669 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27671 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27674 2017-08-31 Florian Weimer <fweimer@redhat.com>
27676 * include/libc-symbols.h (internal_function): Remove.
27678 2017-08-31 Florian Weimer <fweimer@redhat.com>
27680 * stdlib/fmtmsg.c (internal_addseverity): Remove
27683 2017-08-31 Florian Weimer <fweimer@redhat.com>
27685 * stdio-common/printf_fp.c (group_number): Remove
27687 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27689 2017-08-31 Florian Weimer <fweimer@redhat.com>
27691 * posix/fnmatch.c (internal_function): Remove definition.
27692 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27693 * posix/regcomp.c (peek_token, init_word_char)
27694 (duplicate_node_closure, fetch_token, peek_token)
27695 (peek_token_bracket, build_range_exp, build_collating_symbol):
27697 * posix/regex_internal.c (re_string_construct_common)
27698 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27699 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27700 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27701 (re_string_translate_buffer, re_string_reconstruct)
27702 (re_string_peek_byte_case, re_string_fetch_byte_case)
27703 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27704 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27705 (re_node_set_add_intersect, re_node_set_init_union)
27706 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27707 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27708 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27709 (re_acquire_state_context): Likewise.
27710 * posix/regex_internal.h (internal_function): Remove definition.
27711 (re_string_realloc_buffers, build_wcs_buffer)
27712 (build_wcs_upper_buffer, build_upper_buffer)
27713 (re_string_translate_buffer, re_string_context_at)
27714 (re_string_char_size_at, re_string_wchar_at)
27715 (re_string_elem_size_at): Likewise.
27716 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27717 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27718 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27719 (re_search_internal, re_search_2_stub, re_search_stub)
27720 (re_copy_regs, prune_impossible_nodes, check_matching)
27721 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27722 (free_fail_stack_return, sift_states_iter_mb)
27723 (sift_states_backward, build_sifted_states)
27724 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27725 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27726 (check_subexp_limits, sift_states_bkref, merge_state_array)
27727 (find_recover_state, transit_state, merge_state_with_log)
27728 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27729 (transit_state_mb, transit_state_bkref, get_subexp)
27730 (get_subexp_sub, find_subexp_node, check_arrival)
27731 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27732 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27733 (check_node_accept_bytes, find_collation_sequence_value)
27734 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27735 (acquire_init_state_context, check_halt_node_context)
27736 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27737 (sub_epsilon_src_nodes): Likewise.
27738 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27739 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27740 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27741 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27742 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27743 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27744 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27745 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27746 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27747 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27748 (PREADV): Likewise.
27749 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27750 (PREADV): Likewise.
27751 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27752 (PWRITEV): Likewise.
27753 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27754 (PWRITEV): Likewise.
27755 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27756 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27758 2017-08-31 Florian Weimer <fweimer@redhat.com>
27760 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27761 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27762 Remove internal_function.
27763 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27764 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27765 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27766 (__deallocate_stack, __libc_pthread_init)
27767 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27768 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27769 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27771 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27772 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27773 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27775 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27776 (__pthread_mutex_unlock_usercnt): Likewise.
27778 2017-08-31 Florian Weimer <fweimer@redhat.com>
27780 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27781 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27782 (fts_safe_changedir): Remove internal_function.
27783 * io/ftw.c (internal_function): Remove definition.
27784 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27786 2017-08-31 Florian Weimer <fweimer@redhat.com>
27788 * inet/deadline.c (__deadline_current_time)
27789 (__deadline_from_timeval, __deadline_to_ms): Remove
27791 * inet/getnameinfo.c (nrl_domainname): Likewise.
27792 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27793 * inet/inet6_option.c (add_pad): Likewise.
27794 * inet/net-internal.h (__deadline_current_time)
27795 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27796 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27797 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27798 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27800 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27802 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27803 include <bits/nan.h>.
27804 * math/Makefile (headers): Remove bits/nan.h.
27805 * bits/nan.h: Remove.
27806 * sysdeps/ieee754/bits/nan.h: Likewise.
27807 * sysdeps/mips/bits/nan.h: Likewise.
27809 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27810 not include <bits/inf.h>.
27811 * math/Makefile (headers): Remove bits/inf.h.
27812 * bits/inf.h: Remove.
27813 * sysdeps/ieee754/bits/inf.h: Likewise.
27815 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27816 bits/huge_vall.h or bits/huge_val_flt128.h.
27817 (HUGE_VAL): Define directly here.
27818 [__USE_ISOC99] (HUGE_VALF): Likewise.
27819 [__USE_ISOC99] (HUGE_VALL): Likewise.
27820 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27821 (HUGE_VAL_F128): Likewise.
27822 * math/Makefile (headers): Remove bits/huge_val.h,
27823 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27824 * bits/huge_val.h: Remove.
27825 * bits/huge_val_flt128.h: Likewise.
27826 * bits/huge_valf.h: Likewise.
27827 * bits/huge_vall.h: Likewise.
27828 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27829 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27830 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27831 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27832 * sysdeps/sh/bits/huge_val.h: Likewise.
27833 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27834 * sysdeps/x86/bits/huge_vall.h: Likewise.
27836 2017-08-31 Florian Weimer <fweimer@redhat.com>
27838 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27840 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27842 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27843 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27844 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27845 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27846 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27847 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27848 * elf/dl-libc.c (dlerror_run): Likewise.
27849 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27850 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27851 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27852 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27854 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27855 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27856 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27857 * elf/dl-profile.c (_dl_start_profile): Likewise.
27858 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27859 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27861 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27862 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27863 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27864 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27865 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27866 (_dl_allocate_tls_storage): Likewise.
27867 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27868 (_dl_check_all_versions): Likewise.
27869 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27870 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27871 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27872 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27873 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27874 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27875 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27876 internal_function from __dl_start.
27877 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27878 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27879 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27880 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27881 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27882 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27883 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27884 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27885 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27886 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27887 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27888 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27889 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27890 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27891 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27893 (struct rtld_global_ro): Remove internal_function from the
27894 _dl_lookup_symbol_x member.
27895 (_dl_symbol_value): Remove. No longer defined anywhere.
27896 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27898 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27899 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27900 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27901 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27902 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27903 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27904 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27905 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27906 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27907 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27908 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27909 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27911 2017-08-31 Florian Weimer <fweimer@redhat.com>
27913 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27914 Remove internal_function.
27915 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27917 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27920 2017-08-31 Florian Weimer <fweimer@redhat.com>
27922 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27923 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27924 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27926 2017-08-31 Florian Weimer <fweimer@redhat.com>
27928 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27929 (__gai_enqueue_request): Remove internal_function.
27930 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27931 (__gai_remove_request, __gai_notify, __gai_notify_only)
27932 (__gai_sigqueue): Likewise.
27933 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27934 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27935 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27936 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27939 2017-08-31 Florian Weimer <fweimer@redhat.com>
27941 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27942 * include/dirent.h (__opendirat, __getdents, __getdents64)
27943 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27944 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27945 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27946 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27948 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27950 2017-08-31 Florian Weimer <fweimer@redhat.com>
27952 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27954 (GETCWD_RETURN_TYPE): Likewise.
27956 2017-08-31 Florian Weimer <fweimer@redhat.com>
27958 * include/time.h (__tz_compute, __strptime_internal): Remove
27960 * time/strptime_l.c (__strptime_internal): Likewise.
27961 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27963 2017-08-31 Florian Weimer <fweimer@redhat.com>
27965 * iconv/gconv.c (__gconv): Remove internal_function.
27966 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27967 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27968 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27969 (__gconv_release_cache): Likewise.
27970 * iconv/gconv_close.c (__gconv_close): Likewise.
27971 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27972 (read_conf_file, __gconv_get_path): Likewise.
27973 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27974 (__gconv_release_step, gen_steps, increment_counter)
27975 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27976 (__gconv_close_transform, free_modules_db): Likewise.
27977 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27979 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27980 (__gconv_find_transform, __gconv_lookup_cache)
27981 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27982 (__gconv_close_transform, __gconv_release_cache)
27983 (__gconv_loaded_object, __gconv_release_shlib)
27984 (__gconv_compare_alias): Likewise.
27985 * iconv/gconv_open.c (__gconv_open): Likewise.
27986 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27987 * iconv/iconvconfig.c (add_module): Likewise.
27988 * intl/dcigettext.c (plural_lookup, guess_category_value)
27989 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27990 * intl/eval-plural.h (plural_eval): Likewise.
27991 * intl/finddomain.c (_nl_find_domain): Likewise.
27992 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27993 (_nl_load_domain, _nl_find_msg): Likewise.
27994 (internal_function): Remove definition.
27995 * intl/loadinfo.h (internal_function): Likewise.
27996 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27998 * intl/localealias.c (internal_function): Remove definition.
27999 (read_alias_file): Remove internal_function.
28000 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28001 * intl/plural-exp.h (internal_function): Remove definition.
28002 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28004 * intl/plural.c: Regenerate.
28005 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28006 * locale/coll-lookup.c (__collidx_table_lookup)
28007 (__collseq_table_lookup): Likewise.
28008 * locale/coll-lookup.h (__collidx_table_lookup)
28009 (__collseq_table_lookup): Likewise.
28010 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28011 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28012 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28013 (_nl_unload_locale): Likewise.
28014 * locale/localeinfo.h (struct __locale_data): Remove
28015 internal_function from cleanup member.
28016 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28017 (_nl_remove_locale, _nl_load_locale_from_archive)
28018 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28019 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28020 (_nl_cleanup_time): Remove internal_function.
28021 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28022 (_nl_parse_alt_digit): Likewise.
28023 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28024 (_nl_select_era_entry): Likewise.
28025 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28026 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28027 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28028 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28029 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28031 2017-08-31 Florian Weimer <fweimer@redhat.com>
28033 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28034 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28035 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28036 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28038 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28039 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28040 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28041 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28043 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28045 2017-08-31 Florian Weimer <fweimer@redhat.com>
28047 * misc/getttyent.c (skip, value): Remove internal_function.
28048 * misc/syslog.c (openlog_internal): Likewise.
28049 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28051 2017-08-31 Florian Weimer <fweimer@redhat.com>
28053 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28054 (__nss_rewrite_field): Remove internal_function.
28055 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28056 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28057 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28058 * nss/nsswitch.c (nss_parse_file, nss_getline)
28059 (nss_parse_service_list, nss_new_service): Likewise.
28060 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28061 * nss/valid_field.c (__nss_valid_field): Likewise.
28062 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28064 2017-08-31 Florian Weimer <fweimer@redhat.com>
28066 * malloc/arena.c (__malloc_fork_lock_parent)
28067 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28068 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28069 internal_function from defintions.
28070 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28071 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28072 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28073 internal_function from declarations.
28074 * malloc/malloc.c (internal_function): Do not define.
28075 (mem2mem_check): Remove internal_function from declaration.
28076 (munmap_chunk, mremap_chunk): Remove internal_function.
28077 * malloc/mtrace.c (tr_where): Likewise.
28079 2017-08-31 Florian Weimer <fweimer@redhat.com>
28081 * include/rpc/pmap_clnt.h (__get_socket): Remove
28083 * sunrpc/auth_des.c (synchronize): Likewise.
28084 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28085 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28086 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28087 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28088 (key_call): Likewise.
28089 * sunrpc/pm_getport.c (__get_socket): Likewise.
28090 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28091 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28092 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28093 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28094 (invalidate): Likewise.
28095 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28096 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28097 (set_input_fragment, get_input_bytes): Likewise.
28099 2017-08-31 Florian Weimer <fweimer@redhat.com>
28101 * malloc/malloc.c (_int_free): Remove locked variable and related
28104 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28107 * Makerules (build-module-helper-objlist): Filter out
28108 $(elf-objpfx)sofini.os.
28109 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28112 2017-08-31 Florian Weimer <fweimer@redhat.com>
28114 * libio/fcloseall.c: Assume weak_alias is defined.
28115 * libio/feof.c: Likewise.
28116 * libio/fileno.c: Likewise.
28117 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28118 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28120 (_IO_file_open): Call __open directly.
28121 (_IO_new_file_sync): Assume ESPIPE is defined.
28122 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28123 (_IO_new_file_write): Call __write directly.
28124 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28125 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28126 * libio/genops.c: Assume _LIBC is defined.
28127 (save_for_backup): Remove internal_function.
28128 * libio/getc.c: Assume weak_alias is defined.
28129 * libio/getwc.c: Likewise.
28130 * libio/iofclose.c: Assume _LIBC is defined.
28131 * libio/iofdopen.c: Likewise.
28132 (_IO_fcntl): Remove macro definition.
28133 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28134 Call __fcntl directly.
28135 * libio/iofflush.c: Assume weak_alias is defined.
28136 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28138 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28139 * libio/iofgets.c: Likewise.
28140 * libio/iofopen.c: Assume _LIBC is defined.
28141 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28142 * libio/iofputs.c: Assume weak_alias is defined.
28143 * libio/iofread.c: Likewise.
28144 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28145 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28146 * libio/ioftell.c: Assume weak_alias is defined.
28147 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28148 * libio/iofwide.c: Assume _LIBC is defined.
28149 (_IO_fwide): Drop SHARED conditional because it is implied by
28151 * libio/iofwrite.c: Assume weak_alias is defined.
28152 * libio/iogetdelim.c: Likewise.
28153 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28154 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28155 (_IO_getwline): Call __wmemcpy directly.
28156 * libio/iopopen.c: Assume _LIBC is defined.
28157 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28158 (_IO_close): Remove macro definitions.
28159 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28161 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28163 * libio/ioputs.c: Assume weak_alias is defined.
28164 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28165 * libio/iosetbuffer.c: Assume weak_alias is defined.
28166 * libio/iosetvbuf.c: Likewise.
28167 * libio/ioungetc.c: Likewise.
28168 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28169 libc_hidden_def, libc_hidden_weak, NULL are defined.
28170 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28171 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28173 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28175 (_IO_old_file_init_internal): Drop SHARED conditional because it
28176 is implied by SHLIB_COMPAT.
28177 (_IO_old_file_fopen): Call __open directly.
28178 (_IO_old_file_sync): Assume ESPIPE is defined.
28179 (_IO_old_file_write): Call __write directly.
28180 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28181 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28182 Call __fcntl directly.
28183 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28184 (_IO_old_fgetpos): Assume EIO is defined.
28185 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28186 (_IO_old_fgetpos64): Assume EIO is defined.
28187 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28188 (_IO_old_fsetpos): Assume EIO is defined.
28189 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28190 (_IO_old_fsetpos64): Assume EIO is defined.
28191 * libio/oldiopopen.c: Assume _LIBC is defined.
28192 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28193 (_IO_close): Remove macro definitions.
28194 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28196 (_IO_old_proc_close): Call __close, __waitpid directly.
28197 * libio/put.c: Assume weak_alias is defined.
28198 * libio/stdfiles.c: Assume _LIBC is defined.
28199 * libio/stdio.c: Likewise.
28200 * libio/wfileops.c: Likewise.
28201 (_IO_wfile_sync): Assume ESPIPE is defined.
28202 * libio/wgenops.c: Assume _LIBC is defined.
28203 (save_for_wbackup): Remove internal_function.
28205 2017-08-31 Florian Weimer <fweimer@redhat.com>
28207 * malloc/malloc.c (top_check): Change return type to void. Remove
28209 * malloc/hooks.c (top_check): Likewise.
28210 (malloc_check, realloc_check, memalign_check): Adjust.
28212 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28215 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28216 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28217 sigcontext and namespace requirements.
28218 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28219 * sysdeps/m68k/sys/ucontext.h: Likewise.
28220 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28221 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28222 <bits/sigcontext.h>.
28223 (__ctx): Define earlier.
28224 (mcontext_t): Define structure contents rather than using struct
28226 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28227 __glibc_reserved1 instead of __reserved.
28228 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28229 <bits/sigcontext.h>.
28230 (__ctx): Define earlier.
28231 (mcontext_t): Define structure contents rather than using struct
28233 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28234 mcontext_t instead of struct sigcontext.
28235 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28236 <bits/sigcontext.h>.
28237 (__ctx): Define earlier.
28238 (mcontext_t): Define structure contents rather than using struct
28240 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28241 <bits/sigcontext.h>.
28242 (__ctx): Define earlier.
28243 (mcontext_t): Define structure contents rather than using struct
28245 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28246 mcontext_t instead of struct sigcontext.
28247 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28248 mcontext_t instead of struct sigcontext.
28249 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28250 <bits/sigcontext.h>.
28251 (__ctx): New macro.
28252 (struct __ia64_fpreg_mcontext): New type.
28253 (mcontext_t): Define structure contents rather than using struct
28255 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28256 (uc_sigmask): Define using __ctx.
28257 (uc_stack): Likewise.
28258 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28259 <bits/sigcontext.h>.
28260 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28261 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28262 <bits/sigcontext.h>.
28263 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28264 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28265 <bits/sigcontext.h>.
28266 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28267 <bits/sigcontext.h>.
28268 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28269 <bits/sigcontext.h>.
28270 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28271 <bits/sigcontext.h>.
28272 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28273 <bits/sigcontext.h>.
28274 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28275 <bits/sigcontext.h>.
28276 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28277 <bits/sigcontext.h>.
28278 (__ctx): Define earlier.
28279 (mcontext_t): Define structure contents rather than using struct
28281 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28282 <bits/sigcontext.h>. Include <bits/types.h>.
28283 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28284 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28285 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28286 (test-xfail-UNIX98/signal.h/conform): Likewise.
28287 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28288 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28289 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28290 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28291 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28292 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28293 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28294 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28295 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28297 2017-08-30 Florian Weimer <fweimer@redhat.com>
28299 * malloc/dynarray_emplace_enlarge.c
28300 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28301 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28302 * malloc/tst-dynarray.c (test_long_overflow): New function.
28303 (do_test): Call it.
28305 2017-08-30 Florian Weimer <fweimer@redhat.com>
28307 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28308 (set_arena_corrupt): Remove definitions.
28309 (mtrim): Do not check for corrupt arena.
28310 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28313 2017-08-30 Florian Weimer <fweimer@redhat.com>
28316 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28318 (ptmalloc_init): Do not set or use check_action.
28319 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28320 call to malloc_printerr. Remove return statement.
28321 (free_check): Likewise. Remove arena unlock.
28322 (top_check): Update comment. Adjust call to malloc_printerr.
28323 Remove heap repair code.
28324 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28325 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28326 (sysmalloc): Adjust call to malloc_printerr.
28327 (munmap_chunk, __libc_realloc): Likewise. Remove return
28329 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28330 Remove errout label and corresponding gotos.
28331 (_int_free): Likewise. Remove arena unlock.
28332 (do_set_mallopt_check): Do not set check_action.
28333 (malloc_printerr): Adjust parameter list. Do not mark arena as
28335 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28337 * manual/probes.texi (Memory Allocation Probes): Remove
28338 memory_mallopt_check_action.
28340 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28342 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28343 Use pointer to uint64_t instead of long int for sp.
28345 2017-08-30 Florian Weimer <fweimer@redhat.com>
28348 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28349 without printing a backtrace. Do not leak any information in the
28351 * manual/memory.texi (Heap Consistency Checking): Update.
28352 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28354 2017-08-30 Florian Weimer <fweimer@redhat.com>
28356 Do not scale NPTL tests with available number of CPUs.
28357 * nptl/tst-cond16.c (count): Set to constant value of 8.
28358 * nptl/tst-cond18.c (count): Likewise.
28360 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28363 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28364 Define to take a second argument that is a macro that
28365 concatentates a suffix, not the suffix itself.
28366 (__CONCAT_d): New macro.
28367 (__CONCAT_f): Likewise.
28368 (__CONCAT_l): Likewise.
28370 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28372 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28375 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28376 Aurelien Jarno <aurelien@aurel32.net>
28377 Maciej W. Rozycki <macro@imgtec.com>
28380 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28381 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28382 `mips16-syscall6' and `mips16-syscall7'.
28383 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28384 (CFLAGS-mips16-syscall7.c): Remove.
28385 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28386 Remove `__mips16_syscall5', `__mips16_syscall6' and
28387 `__mips16_syscall7'.
28388 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28389 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28390 `__mips_syscall_return'.
28391 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28392 (__mips16_syscall1): Likewise.
28393 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28394 (__mips16_syscall2): Likewise.
28395 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28396 (__mips16_syscall3): Likewise.
28397 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28398 (__mips16_syscall4): Likewise.
28399 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28401 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28403 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28405 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28406 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28407 `__mips16_syscall5'. Remove prototype.
28408 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28409 `__mips16_syscall6'. Remove prototype.
28410 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28411 `__mips16_syscall7'. Remove prototype.
28412 (__nomips16, __mips16_syscall_return): Move to...
28413 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28414 (__nomips16, __mips_syscall_return): ... here.
28415 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28416 `__mips16_syscall_return' to `__mips_syscall_return'.
28417 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28418 `internal_syscall##nr'.
28419 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28420 `internal_syscall##nr'.
28421 (FORCE_FRAME_POINTER): Remove.
28422 (__mips_syscall5): New prototype.
28423 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28424 (__mips_syscall6): New prototype.
28425 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28426 (__mips_syscall7): New prototype.
28427 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28428 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28429 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28430 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28431 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28432 (sysdep_routines): Add libc-do-syscall.
28433 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28434 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28436 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28439 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28440 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28441 (advise_stack_range): New function.
28442 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28443 stack non required to advise_stack_range at allocatestack.c
28445 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28447 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28449 2017-08-29 Florian Weimer <fweimer@redhat.com>
28452 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28453 __end_fct. Mangle __end_fct after setting it to NULL.
28454 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28455 (modules-names, modules-names-tests): Add
28456 tst-gconv-init-failure-mod.
28457 (gconv-modules): New target.
28458 (tst-gconv-init-failure-mod.so): Link against libsupport.
28459 (tst-gconv-init-failure): Depend on gconv-modules,
28460 tst-gconv-init-failure-mod.so.
28461 * iconv/tst-gconv-init-failure-mod.c: New file.
28462 * iconv/tst-gconv-init-failure.c: Likewise.
28463 * iconv/test-gconv-modules: Likewise.
28465 2017-08-29 Florian Weimer <fweimer@redhat.com>
28468 * iconv/gconv_db.c (free_derivation): Remove redundant
28470 (gen_steps): Unconditionally mangle __btowc_fct after
28472 (increment_counter): Likewise. Do not call init_fct for internal
28475 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28478 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28479 (_MSUF_): Remove macro.
28480 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28482 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28483 (__REDIRFROM_X): New macro.
28484 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28486 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28487 (__REDIRTO_X): Likewise.
28488 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28490 (__MATH_REDIRCALL_2): Likewise.
28491 (__MATH_REDIRCALL_INTERNAL): Likewise.
28492 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28493 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28494 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28495 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28496 * math/test-finite-macros.c: New file.
28497 * math/Makefile (tests): Add test-finite-macros.
28498 (CFLAGS-test-finite-macros.c): New variable.
28500 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28501 Jeff Law <law@redhat.com>
28504 Mangle NULL pointers in iconv/gconv.
28505 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28506 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28507 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28508 is non-NULL before demangling the end_fct. Check for NULL
28509 end_fct after demangling.
28510 (__gconv_release_step): Demangle the end_fct before checking
28511 it for NULL. Remove assert on __shlibc_handle != NULL.
28512 (gen_steps): Don't check btowc_fct for NULL before mangling.
28513 Demangle init_fct before checking for NULL.
28514 (increment_counter): Likewise.
28515 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28516 end_fct for NULL before mangling.
28517 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28520 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28523 * locale/iso-639.def: add Morisyen.
28525 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28528 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28529 (iszero): New C++ implementation that does not use
28530 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28531 signaling nans are enabled, since __builtin_types_compatible_p
28532 is a C-only feature.
28533 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28534 defined, include ieee754_float128.h for access to the union and
28535 member ieee854_float128.ieee.
28536 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28537 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28538 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28539 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28540 options of test-math-zero on powerpc64le.
28542 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28544 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28545 Change double to float.
28547 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28549 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28551 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28552 conditional code; define contents only for [LIBM_SVID_COMPAT].
28554 2017-08-28 Florian Weimer <fweimer@redhat.com>
28556 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28557 (abi-lp64_be-options): Remove.
28558 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28559 (abi-hard-options): Likewise.
28560 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28561 (abi-o32_hard-options, abi-o32_soft_2008-options)
28562 (abi-o32_hard_2008-options, abi-n32_soft-options)
28563 (abi-n32_hard-options, abi-n32_soft_2008-options)
28564 (abi-n32_hard_2008-options, abi-n64_soft-options)
28565 (abi-n64_hard-options, abi-n64_soft_2008-options)
28566 (abi-n64_hard_2008-options): Likewise.
28567 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28568 (abi-64-v1-options, abi-64-v2-options): Likewise.
28569 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28570 (abi-64-options): Likewise.
28571 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28572 (abi-64-options): Likewise.
28573 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28574 (abi-64-options): Likewise.
28575 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28576 (abi-64-options, abi-x32-options): Likewise.
28578 2017-08-28 Florian Weimer <fweimer@redhat.com>
28580 Store supported list of SYS_* system calls in the source tree.
28581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28582 (bits/syscall.h): Generate from list file.
28583 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28584 [$(subdir) = misc] (tests): Add tst-syscall-list.
28585 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28586 [$(subdir) = misc] (tst-syscall-list-macros.list)
28587 [$(subdir) = misc] (tst-syscall-list-nr.list)
28588 (tst-syscall-list-sys.list): Helper targets for new
28589 tst-syscall-list test.
28590 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28591 tst-syscall-list.sh.
28592 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28593 target. Do not include bits/syscall.d.
28594 [$(subdir) = misc] (generated): Do not update.
28595 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28596 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28597 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28598 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28600 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28602 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28603 (tst-cxa_atexit, tst-on_exit): Likewise.
28604 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28605 tst-cxa_atexit, and tst-on_exit.
28606 * stdlib/tst-atexit-common.c: New file.
28607 * stdlib/tst-atexit.c: New file.
28608 * stdlib/tst-at_quick_exit.c: New file.
28609 * stdlib/tst-cxa_atexit.c: New file.
28610 * stdlib/tst-on_exit.c: New file.
28612 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28614 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28615 * mach/stack_chk_fail_local.c: New file.
28616 * hurd/stack_chk_fail_local.c: New file.
28617 * mach/Machrules ($(interface-library)-routines): Add
28618 stack_chk_fail_local.
28619 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28620 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28621 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28622 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28623 * hurd/Makefile (CFLAGS-hurdstartup.o,
28624 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28626 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28628 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28629 (index_cpu_*, index_arch_*): Removed.
28631 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28633 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28634 Use uint64_t instead of unsigned long.
28636 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28638 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28639 [__HAVE_DISTINCT_FLOAT128].
28641 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28642 of <bits/math-finite.h>.
28643 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28644 inclusion of <bits/math-finite.h>.
28645 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28646 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28647 __NO_LONG_DOUBLE_MATH].
28648 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28649 (__MATH_REDIRCALL_2): Likewise.
28650 (__MATH_REDIRCALL_INTERNAL): Likewise.
28651 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28652 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28653 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28667 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28668 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28669 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28670 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28672 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28673 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28674 w_sqrtf_compat-ppc32.
28676 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28678 * math/math.h [defined __cplusplus] (issignaling): In the long
28679 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28680 is not defined. Call __issignaling, otherwise.
28682 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28684 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28685 syscall definitions and replace __builtin_expect with __glibc_likely.
28686 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28688 (SYSCALL_CANCELLABLE): Removedefinition
28689 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28691 (PSEUDO_END): Likewise.
28692 [IS_IN (libpthread)] (CENABLE): Likewise.
28693 [IS_IN (libpthread)] (CDISABLE): Likewise.
28694 [IS_IN (libc)] (CENABLE): Likewise.
28695 [IS_IN (libc)] (CENABLE): Likewise.
28696 [IS_IN (librt)] (CDISABLE): Likewise.
28697 [IS_IN (librt)] (CDISABLE): Likewise.
28698 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28699 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28701 (PSEUDO_END): Likewise.
28702 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28703 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28704 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28705 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28706 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28707 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28708 (CENABLE): Likewise.
28709 (CDISABLE): Likewise.
28710 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28711 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28713 (PSEUDO_END): Likewise.
28714 [IS_IN (libpthread)] (CENABLE): Likewise.
28715 [IS_IN (libpthread)] (CDISABLE): Likewise.
28716 [IS_IN (libc)] (CENABLE): Likewise.
28717 [IS_IN (libc)] (CENABLE): Likewise.
28718 [IS_IN (librt)] (CDISABLE): Likewise.
28719 [IS_IN (librt)] (CDISABLE): Likewise.
28720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28721 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28723 (PSEUDO_END): Likewise.
28724 [IS_IN (libpthread)] (CENABLE): Likewise.
28725 [IS_IN (libpthread)] (CDISABLE): Likewise.
28726 [IS_IN (libc)] (CENABLE): Likewise.
28727 [IS_IN (libc)] (CENABLE): Likewise.
28728 [IS_IN (librt)] (CDISABLE): Likewise.
28729 [IS_IN (librt)] (CDISABLE): Likewise.
28730 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28731 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28733 (PSEUDO_END): Likewise.
28734 [IS_IN (libpthread)] (CENABLE): Likewise.
28735 [IS_IN (libpthread)] (CDISABLE): Likewise.
28736 [IS_IN (libc)] (CENABLE): Likewise.
28737 [IS_IN (libc)] (CENABLE): Likewise.
28738 [IS_IN (librt)] (CDISABLE): Likewise.
28739 [IS_IN (librt)] (CDISABLE): Likewise.
28740 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28741 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28743 (PSEUDO_END): Likewise.
28744 [IS_IN (libpthread)] (CENABLE): Likewise.
28745 [IS_IN (libpthread)] (CDISABLE): Likewise.
28746 [IS_IN (libc)] (CENABLE): Likewise.
28747 [IS_IN (libc)] (CENABLE): Likewise.
28748 [IS_IN (librt)] (CDISABLE): Likewise.
28749 [IS_IN (librt)] (CDISABLE): Likewise.
28750 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28751 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28753 (PSEUDO_END): Likewise.
28754 [IS_IN (libpthread)] (CENABLE): Likewise.
28755 [IS_IN (libpthread)] (CDISABLE): Likewise.
28756 [IS_IN (libc)] (CENABLE): Likewise.
28757 [IS_IN (libc)] (CENABLE): Likewise.
28758 [IS_IN (librt)] (CDISABLE): Likewise.
28759 [IS_IN (librt)] (CDISABLE): Likewise.
28760 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28761 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28763 (PSEUDO_END): Likewise.
28764 [IS_IN (libpthread)] (CENABLE): Likewise.
28765 [IS_IN (libpthread)] (CDISABLE): Likewise.
28766 [IS_IN (libc)] (CENABLE): Likewise.
28767 [IS_IN (libc)] (CENABLE): Likewise.
28768 [IS_IN (librt)] (CDISABLE): Likewise.
28769 [IS_IN (librt)] (CDISABLE): Likewise.
28770 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28771 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28773 (PSEUDO_END): Likewise.
28774 [IS_IN (libpthread)] (CENABLE): Likewise.
28775 [IS_IN (libpthread)] (CDISABLE): Likewise.
28776 [IS_IN (libc)] (CENABLE): Likewise.
28777 [IS_IN (libc)] (CENABLE): Likewise.
28778 [IS_IN (librt)] (CDISABLE): Likewise.
28779 [IS_IN (librt)] (CDISABLE): Likewise.
28780 (SINGLE_THREAD_P): Likewise.
28781 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28783 (PSEUDO_END): Likewise.
28784 [IS_IN (libpthread)] (CENABLE): Likewise.
28785 [IS_IN (libpthread)] (CDISABLE): Likewise.
28786 [IS_IN (libc)] (CENABLE): Likewise.
28787 [IS_IN (libc)] (CENABLE): Likewise.
28788 [IS_IN (librt)] (CDISABLE): Likewise.
28789 [IS_IN (librt)] (CDISABLE): Likewise.
28790 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28791 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28793 (PSEUDO_END): Likewise.
28794 [IS_IN (libpthread)] (CENABLE): Likewise.
28795 [IS_IN (libpthread)] (CDISABLE): Likewise.
28796 [IS_IN (libc)] (CENABLE): Likewise.
28797 [IS_IN (libc)] (CENABLE): Likewise.
28798 [IS_IN (librt)] (CDISABLE): Likewise.
28799 [IS_IN (librt)] (CDISABLE): Likewise.
28800 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28801 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28802 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28803 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28806 (PSEUDO_END): Likewise.
28807 [IS_IN (libpthread)] (CENABLE): Likewise.
28808 [IS_IN (libpthread)] (CDISABLE): Likewise.
28809 [IS_IN (libc)] (CENABLE): Likewise.
28810 [IS_IN (libc)] (CENABLE): Likewise.
28811 [IS_IN (librt)] (CDISABLE): Likewise.
28812 [IS_IN (librt)] (CDISABLE): Likewise.
28813 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28816 (PSEUDO_END): Likewise.
28817 [IS_IN (libpthread)] (CENABLE): Likewise.
28818 [IS_IN (libpthread)] (CDISABLE): Likewise.
28819 [IS_IN (libc)] (CENABLE): Likewise.
28820 [IS_IN (libc)] (CENABLE): Likewise.
28821 [IS_IN (librt)] (CDISABLE): Likewise.
28822 [IS_IN (librt)] (CDISABLE): Likewise.
28823 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28824 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28826 (PSEUDO_END): Likewise.
28827 [IS_IN (libpthread)] (CENABLE): Likewise.
28828 [IS_IN (libpthread)] (CDISABLE): Likewise.
28829 [IS_IN (libc)] (CENABLE): Likewise.
28830 [IS_IN (libc)] (CENABLE): Likewise.
28831 [IS_IN (librt)] (CDISABLE): Likewise.
28832 [IS_IN (librt)] (CDISABLE): Likewise.
28833 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28837 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
28839 (PSEUDO_END): Likewise.
28840 [IS_IN (libpthread)] (CENABLE): Likewise.
28841 [IS_IN (libpthread)] (CDISABLE): Likewise.
28842 [IS_IN (libc)] (CENABLE): Likewise.
28843 [IS_IN (libc)] (CENABLE): Likewise.
28844 [IS_IN (librt)] (CDISABLE): Likewise.
28845 [IS_IN (librt)] (CDISABLE): Likewise.
28846 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28847 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
28849 (PSEUDO_END): Likewise.
28850 [IS_IN (libpthread)] (CENABLE): Likewise.
28851 [IS_IN (libpthread)] (CDISABLE): Likewise.
28852 [IS_IN (libc)] (CENABLE): Likewise.
28853 [IS_IN (libc)] (CENABLE): Likewise.
28854 [IS_IN (librt)] (CDISABLE): Likewise.
28855 [IS_IN (librt)] (CDISABLE): Likewise.
28856 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28858 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28860 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28862 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28864 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28866 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28869 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28870 middle and outer with size_t instead of int. Repleace %d and
28871 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28872 "MAX (outer, nchars - 64)" to support unsigned outer and
28873 nchars. Also exit loop when outer == 0.
28875 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28877 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28878 * include/signal.h (__sigsuspend_nocancel): Likewise.
28879 * include/time.h (__nanosleep_nocancel): Likewise.
28880 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28881 * login/utmp_file.c: Include non cancellable syscall header.
28882 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28885 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28887 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28888 .byte sequences with AVX512F instructions.
28889 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28890 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28891 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28892 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28897 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28898 Steve Ellcey <sellcey@cavium.com>
28900 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28901 Use PTR_REG macro in cmp instruction.
28903 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28905 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28906 Change the return type of the ifunc resolver to match the return
28907 type of the target function.
28909 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28911 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28912 (preadv64): Likewise.
28913 (pwrite64(: Likewise.
28914 (pwritev64): Likewise.
28916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28917 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28918 (LOAD_ARGS_0): Likewise.
28919 (LOAD_ARGS_1): Likewise.
28920 (LOAD_ARGS_2): Likewise.
28921 (LOAD_ARGS_3): Likewise.
28922 (LOAD_ARGS_4): Likewise.
28923 (LOAD_ARGS_5): Likewise.
28924 (LOAD_ARGS_6): Likewise.
28925 (LOAD_REGS_0): Likewise.
28926 (LOAD_REGS_1): Likewise.
28927 (LOAD_REGS_2): Likewise.
28928 (LOAD_REGS_3): Likewise.
28929 (LOAD_REGS_4): Likewise.
28930 (LOAD_REGS_5): Likewise.
28931 (LOAD_REGS_6): Likewise.
28932 (ASM_ARGS_0): Likewise.
28933 (ASM_ARGS_1): Likewise.
28934 (ASM_ARGS_2): Likewise.
28935 (ASM_ARGS_3): Likewise.
28936 (ASM_ARGS_4): Likewise.
28937 (ASM_ARGS_5): Likewise.
28938 (ASM_ARGS_6): Likewise.
28939 (LOAD_ARGS_TYPES_1): Likewise.
28940 (LOAD_ARGS_TYPES_2): Likewise.
28941 (LOAD_ARGS_TYPES_3): Likewise.
28942 (LOAD_ARGS_TYPES_4): Likewise.
28943 (LOAD_ARGS_TYPES_5): Likewise.
28944 (LOAD_ARGS_TYPES_6): Likewise.
28945 (LOAD_REGS_TYPES_1): Likewise.
28946 (LOAD_REGS_TYPES_2): Likewise.
28947 (LOAD_REGS_TYPES_3): Likewise.
28948 (LOAD_REGS_TYPES_4): Likewise.
28949 (LOAD_REGS_TYPES_5): Likewise.
28950 (LOAD_REGS_TYPES_6): Likewise.
28951 (TYPEFY): New define.
28952 (ARGIFY): Likewise.
28953 (internal_syscall0): Likewise.
28954 (internal_syscall1): Likewise.
28955 (internal_syscall2): Likewise.
28956 (internal_syscall3): Likewise.
28957 (internal_syscall4): Likewise.
28958 (internal_syscall5): Likewise.
28959 (internal_syscall6): Likewise.
28960 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28961 (INTERNAL_SYSCALL_NCS): Remove define.
28962 (internal_syscall1): Add define.
28964 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28966 * math/w_remainder_compat.c: Remove duplicate inclusion of
28967 math-svid-compat.h.
28968 * math/w_remainderf_compat.c: Likewise.
28969 * math/w_remainderl_compat.c: Likewise.
28971 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28975 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28978 * math/tgmath.h (__floating_type): Simplify definitions.
28979 (__real_integer_type): New macro.
28980 (__complex_integer_type): Likewise.
28981 (__expr_is_real): Likewise.
28982 (__tgmath_real_type_sub): Update comment to describe handling of
28984 (__tgmath_complex_type_sub): New macro.
28985 (__tgmath_complex_type): Likewise.
28986 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28987 (__TGMATH_CF128): Use __expr_is_real.
28988 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28990 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28991 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28992 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28995 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28997 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28999 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29001 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29004 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29005 nanosleep_not_cancel with __nanosleep_nocancel.
29006 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29007 (__nanosleep_nocancel): New macro.
29008 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29010 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29012 (__nanosleep_nocancel): New prototype.
29014 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29015 pause_not_cancel with __pause_nocancel.
29016 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29017 (__pause_nocancel): New macro.
29018 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29020 (__pause_nocancel): New prototype.
29021 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29023 2017-08-22 Martin Sebor <msebor@redhat.com>
29025 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29026 to return a pointer to the same type as the target function.
29028 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29032 * include/printf.h (__printf_fphex): Add attribute_hidden.
29033 (__guess_grouping): New prototype.
29034 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29035 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29036 libc_hidden_proto and libc_hidden_def.
29037 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29038 (__vstrfmon_l): Remove the third argument passed to
29041 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29043 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29044 definition for issignaling that does not rely on __MATH_TG,
29045 since __MATH_TG uses __builtin_types_compatible_p, which is only
29046 available in C mode.
29047 (CFLAGS-test-math-issignaling.cc): New variable.
29048 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29049 * math/test-math-issignaling.cc: New test for C++ implementation
29050 of type-generic issignaling.
29051 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29052 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29053 options of test-math-issignaling on powerpc64le.
29055 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29057 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29059 (hidden_proto): Likewise.
29060 (hidden_tls_proto): Likewise.
29061 (__hidden_proto): Likewise.
29063 2017-08-22 Florian Weimer <fweimer@redhat.com>
29065 math: Statically link tests of internal functionality.
29066 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29068 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29069 (gmp-objs): Remove assignment.
29070 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29072 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29075 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29077 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29079 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29082 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29083 variable definitions above inclusion of ../Rules.
29085 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29087 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29088 case calling __builtin_unreachable.
29090 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29092 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29093 __waitpid_nocancel.
29094 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29095 (__waitpid_nocancel): New macro.
29096 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29098 (__waitpid_nocancel): Replace macro with a function.
29099 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29102 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29104 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29105 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29107 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29108 __writev_nocancel_nostatus.
29109 (write_call_graph): Likewise.
29110 (write_bb_counts): Likewise.
29111 * resolv/herror.c (herror): Likewise.
29112 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29114 (__writev_nocancel_nostatus): New macro.
29115 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29117 (__writev_nocancel_nostatus): New function.
29119 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29122 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29124 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29126 (hidden_proto): Likewise.
29127 (hidden_tls_proto): Likewise.
29128 (__hidden_proto): Likewise.
29131 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29132 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29141 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29143 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29144 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29145 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29146 GLIBC_2.0 sqrtl symbol.
29148 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29149 [__USE_MISC] (_LIB_VERSION): Likewise.
29150 [__USE_MISC] (struct exception): Likewise.
29151 [__USE_MISC] (matherr): Likewise.
29152 [__USE_MISC] (DOMAIN): Likewise.
29153 [__USE_MISC] (SING): Likewise.
29154 [__USE_MISC] (OVERFLOW): Likewise.
29155 [__USE_MISC] (UNDERFLOW): Likewise.
29156 [__USE_MISC] (TLOSS): Likewise.
29157 [__USE_MISC] (PLOSS): Likewise.
29158 [__USE_MISC] (HUGE): Likewise.
29159 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29160 * math/math-svid-compat.h: New file.
29161 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29163 * include/math.h [!_ISOMAC] (__matherr): Remove.
29164 * manual/arith.texi (FP Exceptions): Do not document matherr.
29165 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29166 (tests-internal): New variable.
29167 (install-lib): Do not add libieee.a.
29168 (non-lib.a): Likewise.
29169 (extra-objs): Do not add libieee.a and ieee-math.o.
29170 (CPPFLAGS-s_lib_version.c): Remove variable.
29171 ($(objpfx)libieee.a): Remove rule.
29172 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29173 * math/ieee-math.c: Remove.
29174 * math/libm-test-support.c (matherr): Remove.
29175 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29176 and license notices. Include <math-svid-compat.h> and
29178 (matherr): Undefine as macro. Use compat_symbol_reference.
29179 (_LIB_VERSION): Likewise.
29180 * math/test-matherr-2.c: New file.
29181 * math/test-matherr-3.c: Likewise.
29182 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29184 (__kernel_standard_f): Likewise.
29185 (__kernel_standard_l): Likewise.
29186 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29187 <math_private.h>. Include <math-svid-compat.h>.
29188 (_LIB_VERSION): Undefine as macro.
29189 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29190 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29191 [LIBM_SVID_COMPAT], use compat_symbol.
29192 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29193 <math_private.h>. Include <math-svid-compat.h>.
29194 (matherr): Undefine as macro.
29195 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29197 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29198 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29199 compat_symbol_reference.
29200 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29201 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29202 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29203 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29204 (MATHERR_D): Remove declaration.
29205 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29206 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29207 [LIBM_BUILD] (pmatherrf): Likewise.
29208 [LIBM_BUILD] (pmatherr): Likewise.
29209 [LIBM_BUILD] (pmatherrl): Likewise.
29210 (DOMAIN): Likewise.
29212 (OVERFLOW): Likewise.
29213 (UNDERFLOW): Likewise.
29216 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29217 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29219 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29220 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29222 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29223 * math/w_acos_compat.c: Likewise.
29224 * math/w_acosf_compat.c: Likewise.
29225 * math/w_acosh_compat.c: Likewise.
29226 * math/w_acoshf_compat.c: Likewise.
29227 * math/w_acoshl_compat.c: Likewise.
29228 * math/w_acosl_compat.c: Likewise.
29229 * math/w_asin_compat.c: Likewise.
29230 * math/w_asinf_compat.c: Likewise.
29231 * math/w_asinl_compat.c: Likewise.
29232 * math/w_atan2_compat.c: Likewise.
29233 * math/w_atan2f_compat.c: Likewise.
29234 * math/w_atan2l_compat.c: Likewise.
29235 * math/w_atanh_compat.c: Likewise.
29236 * math/w_atanhf_compat.c: Likewise.
29237 * math/w_atanhl_compat.c: Likewise.
29238 * math/w_cosh_compat.c: Likewise.
29239 * math/w_coshf_compat.c: Likewise.
29240 * math/w_coshl_compat.c: Likewise.
29241 * math/w_exp10_compat.c: Likewise.
29242 * math/w_exp10f_compat.c: Likewise.
29243 * math/w_exp10l_compat.c: Likewise.
29244 * math/w_exp2_compat.c: Likewise.
29245 * math/w_exp2f_compat.c: Likewise.
29246 * math/w_exp2l_compat.c: Likewise.
29247 * math/w_fmod_compat.c: Likewise.
29248 * math/w_fmodf_compat.c: Likewise.
29249 * math/w_fmodl_compat.c: Likewise.
29250 * math/w_hypot_compat.c: Likewise.
29251 * math/w_hypotf_compat.c: Likewise.
29252 * math/w_hypotl_compat.c: Likewise.
29253 * math/w_j0_compat.c: Likewise.
29254 * math/w_j0f_compat.c: Likewise.
29255 * math/w_j0l_compat.c: Likewise.
29256 * math/w_j1_compat.c: Likewise.
29257 * math/w_j1f_compat.c: Likewise.
29258 * math/w_j1l_compat.c: Likewise.
29259 * math/w_jn_compat.c: Likewise.
29260 * math/w_jnf_compat.c: Likewise.
29261 * math/w_jnl_compat.c: Likewise.
29262 * math/w_lgamma_main.c: Likewise.
29263 * math/w_lgamma_r_compat.c: Likewise.
29264 * math/w_lgammaf_main.c: Likewise.
29265 * math/w_lgammaf_r_compat.c: Likewise.
29266 * math/w_lgammal_main.c: Likewise.
29267 * math/w_lgammal_r_compat.c: Likewise.
29268 * math/w_log10_compat.c: Likewise.
29269 * math/w_log10f_compat.c: Likewise.
29270 * math/w_log10l_compat.c: Likewise.
29271 * math/w_log2_compat.c: Likewise.
29272 * math/w_log2f_compat.c: Likewise.
29273 * math/w_log2l_compat.c: Likewise.
29274 * math/w_log_compat.c: Likewise.
29275 * math/w_logf_compat.c: Likewise.
29276 * math/w_logl_compat.c: Likewise.
29277 * math/w_pow_compat.c: Likewise.
29278 * math/w_powf_compat.c: Likewise.
29279 * math/w_powl_compat.c: Likewise.
29280 * math/w_remainder_compat.c: Likewise.
29281 * math/w_remainderf_compat.c: Likewise.
29282 * math/w_remainderl_compat.c: Likewise.
29283 * math/w_scalb_compat.c: Likewise.
29284 * math/w_scalbf_compat.c: Likewise.
29285 * math/w_scalbl_compat.c: Likewise.
29286 * math/w_sinh_compat.c: Likewise.
29287 * math/w_sinhf_compat.c: Likewise.
29288 * math/w_sinhl_compat.c: Likewise.
29289 * math/w_sqrt_compat.c: Likewise.
29290 * math/w_sqrtf_compat.c: Likewise.
29291 * math/w_sqrtl_compat.c: Likewise.
29292 * math/w_tgamma_compat.c: Likewise.
29293 * math/w_tgammaf_compat.c: Likewise.
29294 * math/w_tgammal_compat.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29296 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29297 * sysdeps/ieee754/k_standard.c: Likewise.
29298 * sysdeps/ieee754/k_standardf.c: Likewise.
29299 * sysdeps/ieee754/k_standardl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29302 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29304 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29305 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29306 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29307 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29308 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29315 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29316 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29318 2017-08-21 Florian Weimer <fweimer@redhat.com>
29321 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29322 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29323 Move before inclusion of ../Rules.
29325 2017-08-21 Florian Weimer <fweimer@redhat.com>
29328 * assert/assert.h (assert): Use static_cast (bool) for C++.
29329 Use the ternary operator in the warning branch for GNU C.
29330 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29331 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29332 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29333 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29334 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29336 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29339 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29340 (__syscall_clock_gettime): Add attribute_hidden.
29341 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29342 (__start_context): Likewise.
29344 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29346 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29348 (hidden_proto): Likewise.
29349 (hidden_tls_proto): Likewise.
29350 (__hidden_proto): Likewise.
29352 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29354 * include/libc-symbols.h (attribute_hidden): Enable hidden
29355 visibility in libc.a compiled with PIE.
29357 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29360 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29361 Add attribute_hidden.
29363 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29366 * Makerules (all-nonlib): Add $(others-extras).
29367 * catgets/Makefile (others-extras): New.
29368 * elf/Makefile (others-extras): Likewise.
29369 * nss/Makefile (others-extras): Likewise.
29371 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29374 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29375 * elf/dl-open.c: Include <libc-internal.h>.
29376 (__libc_multiple_libcs): Removed.
29377 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29379 * include/libc-internal.h (__libc_multiple_libcs): New.
29380 * misc/sbrk.c: Include <libc-internal.h>.
29381 (__libc_multiple_libcs): Removed.
29383 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29386 * grp/initgroups.c (__nss_group_database): Removed.
29387 (__nss_initgroups_database): Likewise.
29388 * nscd/gai.c (__nss_hosts_database): Likewise.
29389 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29390 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29391 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29392 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29393 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29394 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29396 * nss/nsswitch.c (__nss_database_custom): Define only if
29397 USE_NSCD is defined.
29398 (__nss_configure_lookup): Use __nss_database_custom only if
29399 USE_NSCD is defined.
29400 * nss/nsswitch.h (__nss_database_custom): Declare only if
29401 USE_NSCD is defined. Add attribute_hidden.
29402 (__nss_setent): Add attribute_hidden.
29403 (__nss_endent): Likewise.
29404 (__nss_getent_r): Likewise.
29405 (__nss_getent): Likewise.
29406 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29408 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29411 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29412 libc_hidden_proto and libc_hidden_def.
29414 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29417 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29418 Add libc_hidden_proto.
29419 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29420 Add libc_hidden_def.
29422 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29425 * gmon/Makefile (routines): Remove bb_init_func and
29427 (elide-routines.os): Removed.
29428 * gmon/bb_exit_func.c: Likewise.
29429 * gmon/bb_init_func.c: Likewise.
29430 * include/sys/gmon.h (__bb): Likewise.
29431 (__bb_init_func): Likewise.
29432 (__bb_exit_func): Likewise.
29433 * sysdeps/alpha/bb_init_func.S: Likewise.
29435 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29437 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29438 * include/setjmp.h (____longjmp_chk): Here. Add
29441 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29444 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29446 (__strspn_sse2): Likewise.
29448 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29450 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29451 (close_not_cancel_no_status): Likewise.
29452 (__close_nocancel): New macro.
29453 (__close_nocancel_nostatus): Likewise.
29454 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29456 (close_not_cancel): Likewise.
29457 (close_not_cancel_no_status): Likewise.
29458 (__close_nocancel): New prototype.
29459 (__close_nocancel_nostatus): New function.
29460 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29461 * catgets/open_catalog.c (__open_catalog): Replace
29462 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29463 * gmon/gmon.c (write_gmon): Likewise.
29464 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29465 * intl/loadmsgcat.c (close): Likewise.
29466 * io/ftw.c (open_dir_stream): Likewise.
29467 (ftw_startup): Likewise.
29468 * libio/fileops.c (_IO_file_open): Likewise.
29469 (_IO_file_close_mmap): Likewise.
29470 (_IO_file_close): Likewise.
29471 * libio/iopopen.c (_IO_dup2): Likewise.
29472 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29473 * locale/loadlocale.c (_nl_load_locale): Likewise.
29474 * login/utmp_file.c (pututline_file): Likewise.
29475 (endutent_file): Likewise.
29476 * misc/daemon.c (daemon): Likewise.
29477 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29478 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29479 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29480 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29482 * nscd/nscd_helper.c (open_socket): Likewise.
29483 (__nscd_open_socket): Likewise.
29484 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29485 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29486 (__nscd_innetgr): Likewise.
29487 * nss/nss_db/db-open.c (internal_setent): Likewise.
29488 * resolv/res-close.c (__res_iclose): Likewise.
29489 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29490 * sysdeps/posix/closedir.c (__closedir): Likewise.
29491 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29492 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29493 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29494 (opendir_tail): Likewise.
29495 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29496 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29497 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29498 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29499 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29500 (gethostid): Likewise.
29501 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29502 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29504 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29505 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29506 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29507 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29509 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29510 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29511 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29513 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29514 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29516 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29518 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29520 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29523 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29524 (openat_not_cancel_3): Likewise.
29525 (openat64_not_cancel_3): Likewise).
29526 (openat_not_cancel_3): Likewise).
29527 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29529 (openat_not_cancel_3): Likewise.
29530 (openat64_not_cancel): Likewise.
29531 (openat64_not_cancel_3): Likewise.
29532 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29533 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29534 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29535 __open{64}_nocancel.
29536 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29537 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29538 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29540 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29543 * include/argz.h (__argz_create_sep): New function prototype.
29544 (__argz_append): Likewise.
29545 (__argz_add): Likewise.
29546 (__argz_add_sep): Likewise.
29547 (__argz_delete): Likewise.
29548 (__argz_insert): Likewise.
29549 (__argz_replace): Likewise.
29550 * string/argz.h (__argz_create_sep): Removed.
29551 (__argz_append): Likewise.
29552 (__argz_add): Likewise.
29553 (__argz_add_sep): Likewise.
29554 (__argz_delete): Likewise.
29555 (__argz_insert): Likewise.
29556 (__argz_replace): Likewise.
29558 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29560 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29561 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29562 (GNU_PROPERTY_STACK_SIZE): Likewie.
29563 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29564 (GNU_PROPERTY_LOPROC): Likewise.
29565 (GNU_PROPERTY_HIPROC): Likewise.
29566 (GNU_PROPERTY_LOUSER): Likewise.
29567 (GNU_PROPERTY_HIUSER): Likewise.
29568 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29569 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29570 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29571 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29572 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29573 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29574 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29575 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29576 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29577 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29578 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29579 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29580 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29581 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29582 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29583 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29584 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29585 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29586 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29587 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29588 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29589 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29590 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29592 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29594 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29597 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29600 * math/math.h (isinf): Check if in C or C++ mode before using
29601 __builtin_types_compatible_p, since this is a C mode feature.
29603 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29605 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29606 (__write_nocancel): New macro.
29607 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29608 Rewrite as a function prototype.
29609 (write_not_cancel): Remove macro.
29610 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29611 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29612 (write_gmon): Likewise.
29613 * libio/fileops.c (_IO_new_file_write): Likewise.
29614 * login/utmp_file.c (pututline_file): Likewise.
29615 (updwtmp_file): Likewise.
29616 * stdio-common/psiginfo.c (psiginfo): Likewise.
29617 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29618 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29619 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29621 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29624 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29625 (__read_nocancel): New macro.
29626 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29628 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29630 (__read_nocancel): New prototype.
29631 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29632 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29633 with __read_nocancel.
29634 * intl/loadmsgcat.c (read): Likewise.
29635 * libio/fileops.c (_IO_file_read): Likewise.
29636 * locale/loadlocale.c (_nl_load_locale): Likewise.
29637 * login/utmp_file.c (getutent_r_file): Likewise.
29638 (internal_getut_r): Likewise.
29639 (getutline_r_file): Likewise.
29640 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29641 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29642 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29645 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29646 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29647 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29649 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29651 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29653 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29655 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29657 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29660 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29661 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29664 2017-08-17 DJ Delorie <dj@redhat.com>
29666 * bug17079.c: Update to new test harness.
29667 * test-digits-dots.c: Likewise.
29668 * test-netdb.c: Likewise.
29669 * tst-field.c: Likewise.
29670 * tst-nss-getpwent.c: Likewise.
29671 * tst-nss-static.c: Likewise.
29672 * tst-nss-test1.c: Likewise.
29673 * tst-nss-test2.c: Likewise.
29674 * tst-nss-test3.c: Likewise.
29675 * tst-nss-test4.c: Likewise.
29676 * tst-nss-test5.c: Likewise.
29678 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29680 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29681 (open_not_cancel_2): Likewise.
29682 (open_nocancel): New macro.
29683 (open64_nocancel): Likewise.
29684 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29685 (open_not_cancel_2): Likewise.
29686 (__open_nocancel): New prototype.
29687 (__open64_nocancel): Likewise.
29688 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29690 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29691 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29692 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29693 with __open_nocancel.
29694 * csu/check_fds.c (check_one_fd): Likewise.
29695 * gmon/gmon.c (write_gmon): Likewise.
29696 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29697 * intl/loadmsgcat.c (open): Likewise.
29698 * libio/fileops.c (_IO_file_open): Likewise.
29699 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29700 * locale/loadlocale.c (_nl_load_locale): Likewise.
29701 * login/utmp_file.c (setutent_file): Likewise.
29702 * misc/daemon.c (daemon): Likewise.
29703 * nss/nss_db/db-open.c (internal_setent): Likewise.
29704 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29705 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29706 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29707 (__opendir): Likewise.
29708 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29709 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29710 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29711 (gethostid): Likewise.
29712 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29716 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29717 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29718 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29720 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29722 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29724 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29726 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29728 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29730 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29731 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29733 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29735 * benchtests/bench-skeleton.c (main): Add support for
29736 latency benchmarking.
29737 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29739 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29741 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29742 the startup object.
29744 2017-08-17 Florian Weimer <fweimer@redhat.com>
29746 * include/sys/socket.h (__opensock): Remove internal_function.
29747 * socket/opensock.c (__opensock): Likewise.
29748 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29750 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29753 * signal/bits/types/__sigval_t.h: New file.
29754 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29755 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29756 and define sigval_t using __sigval_t.
29757 * include/bits/types/__sigval_t.h: New file.
29758 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29759 instead of <bits/types/__sigval_t.h>.
29760 (struct sigevent): Use __sigval_t instead of sigval_t.
29761 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29762 instead of <bits/types/__sigval_t.h>.
29763 (siginfo_t): Use __sigval_t instead of sigval_t.
29764 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29765 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29766 (struct sigevent): Use __sigval_t instead of sigval_t.
29767 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29768 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29769 (siginfo_t): Use __sigval_t instead of sigval_t.
29770 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29772 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29774 * NEWS: Remove "[Add new features here]" for 2.27.
29776 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29778 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29781 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29783 * NEWS: Mention x86-64 FMA optimization.
29785 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29790 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29791 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29792 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29794 2017-08-16 Andreas Schwab <schwab@suse.de>
29798 * elf/ldd.bash.in: Never run file directly.
29800 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29803 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29804 (L(SP_INF_0)): Likewise.
29806 2017-08-15 Florian Weimer <fweimer@redhat.com>
29808 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29811 2017-08-15 Florian Weimer <fweimer@redhat.com>
29813 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29814 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29815 BROKEN_THREAD_SIGNALS code.
29816 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29817 request_list): Remove caller_pid member used for
29818 BROKEN_THREAD_SIGNALS.
29819 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29820 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29821 Remove BROKEN_THREAD_SIGNALS support.
29822 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29823 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29825 2017-08-15 Florian Weimer <fweimer@redhat.com>
29827 * gmon/Makefile (tests): Add tst-gmon.
29828 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29830 (tests-special): Add tst-gmon-prof.out.
29831 (tst-gmon.out): Depend on clean-tst-gmon-data.
29832 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29833 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29834 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29836 * aclocal.m4 (GPROF): Set and substitute.
29837 * config.amke.in (GPROF): Set.
29838 * configure: Regenerate.
29840 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29842 * elf/elf.h A (NT_PPC_TAR): New macro.
29843 (NT_PPC_PPR): Likewise.
29844 (NT_PPC_DSCR): Likewise.
29845 (NT_PPC_EBB): Likewise.
29846 (NT_PPC_PMU): Likewise.
29847 (NT_PPC_TM_CGPR): Likewise.
29848 (NT_PPC_TM_CFPR): Likewise.
29849 (NT_PPC_TM_CVMX): Likewise.
29850 (NT_PPC_TM_CVSX): Likewise.
29851 (NT_PPC_TM_SPR): Likewise.
29852 (NT_PPC_TM_CTAR): Likewise.
29853 (NT_PPC_TM_CPPR): Likewise.
29854 (NT_PPC_TM_CDSCR): Likewise.
29856 2017-08-15 Florian Weimer <fweimer@redhat.com>
29858 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29859 regparm (2) instead of internal_function.
29860 (_MCOUNT_DECL): Adjust.
29862 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29864 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29865 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29867 2017-08-14 Joseph Myers <joseph@codesourcery.com>
29869 * conform/data/sys/wait.h-data (si_value): Do not expect for
29872 2017-08-14 Florian Weimer <fweimer@redhat.com>
29875 NSS: Create stubs for accidentally exported lookup functions.
29876 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29877 Remove declaration.
29878 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29879 (ether_hostton): Call __nss_ethers_lookup2 instead.
29880 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29881 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29882 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29883 (setup): Call __nss_netgroup_lookup2 instead.
29884 * nss/Makefile (routines): Add compat-lookup.
29885 * nss/Versions (GLIBC_2.27): Add symbol version.
29886 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29887 (DB_COMPAT_FCT): Remove.
29888 * nss/compat-lookup.c: New file.
29889 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29890 from databases.def.
29891 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29892 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29893 (netname2user): Call __nss_publickey_lookup2 instead.
29894 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29895 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29898 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29899 Sergei Trofimovich <slyfox@inbox.ru>
29902 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29903 Rename to MMAP2_PAGE_UNIT.
29904 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29905 __OFF_T_MATCHES_OFF64_T is not defined.
29906 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29908 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29909 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29911 2017-08-14 Florian Weimer <fweimer@redhat.com>
29913 i386: Do not set internal_function.
29914 * config.h.in (USE_REGPARMS, internal_function): Remove.
29915 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29916 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29918 2017-08-14 Florian Weimer <fweimer@redhat.com>
29920 * elf/dl-init.c (_dl_init): Remove internal_function.
29921 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29922 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29924 2017-08-14 Florian Weimer <fweimer@redhat.com>
29926 * elf/rtld.c (_dl_start): Remove internal_function.
29927 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29930 2017-08-14 Florian Weimer <fweimer@redhat.com>
29932 * elf/dl-fini.c (_dl_fini): Remove internal_function
29933 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29935 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29937 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
29938 (bit_cpu_SHSTK): Likewise.
29939 (index_cpu_IBT): Likewise.
29940 (index_cpu_SHSTK): Likewise.
29941 (reg_IBT): Likewise.
29942 (reg_SHSTK): Likewise.
29943 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29944 Handle index_cpu_IBT and index_cpu_SHSTK.
29946 2017-08-14 Mike FABIAN <mfabian@redhat.com>
29949 * po/fr.po: Fix spelling mistake.
29951 2017-08-13 Florian Weimer <fweimer@redhat.com>
29953 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29954 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29955 (_dl_catch_error, _dl_receive_error): Likewise.
29956 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29957 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29958 (_dl_deallocate_tls): Likewise.
29959 * include/dlfcn.h (_dl_addr): Likewise.
29960 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29961 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29962 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29965 2017-08-13 Florian Weimer <fweimer@redhat.com>
29967 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29968 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29970 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29972 2017-08-13 Florian Weimer <fweimer@redhat.com>
29974 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29976 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29977 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29978 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29979 internal_function from _dl_make_stack_executable_hook member.
29980 (_dl_make_stack_executable): Remove internal_function.
29981 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29983 * sysdeps/unix/sysv/linux/dl-execstack.c
29984 (_dl_make_stack_executable): Likewise.
29986 2017-08-13 Florian Weimer <fweimer@redhat.com>
29988 * sysdeps/unix/sysv/linux/netlinkaccess.h
29989 (__netlink_assert_response): Remove internal_function.
29990 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29991 (__netlink_assert_response): Likewise.
29993 2017-08-13 Florian Weimer <fweimer@redhat.com>
29995 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29997 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29999 2017-08-13 Florian Weimer <fweimer@redhat.com>
30001 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30003 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30004 * inet/netgroup.h (__internal_setnetgrent)
30005 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30006 * inet/getnetgrent_r.c (__internal_setnetgrent)
30007 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30008 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30009 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30010 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30011 * nss/nsswitch.h (db_lookup_function): Likewise.
30013 2017-08-13 Florian Weimer <fweimer@redhat.com>
30015 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30016 Remove internal_function.
30017 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30018 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30019 message argument on the stack.
30020 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30023 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30025 Adapt test case data to the changes in the thousands
30029 * localedata/tst-langinfo.sh: Adapt test case data.
30030 * stdlib/tst-strfmon_l.c: Likewise.
30031 * stdlib/tst-strtod4.c: Likewise.
30032 * stdlib/tst-strtod5i.c: Likewise.
30034 2017-08-11 Florian Weimer <fweimer@redhat.com>
30037 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30038 Suppress pedantic warning resulting from statement expression.
30039 (__ASSERT_FUNCTION): Add missing __extension__.
30041 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30043 * benchtests/bench-memmove-large.c: Print output in JSON
30045 * benchtests/bench-memmove.c: Likewise.
30047 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30048 * benchtests/bench-memchr.c (do_one_test): Likewise.
30049 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30050 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30051 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30052 * benchtests/bench-memmove.c (do_one_test): Likewise.
30053 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30054 * benchtests/bench-memset.c (do_one_test): Likewise.
30055 * benchtests/bench-string.h (test_init): Remove memsets.
30057 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30060 (Computing the Width of an Integer Data Type): Rename section to
30061 "Width of an Integer Type". Remove inaccurate statement regarding
30062 lack of C language facilities for determining width of integer
30063 types, and reorder content to improve flow and context of
30066 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30068 * lang.texi (va_copy): Change standard from ISO to C99.
30069 (__va_copy): Add standard and header annotation.
30070 Update description for clarity of origins and current use.
30072 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30075 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30076 xssqrtqp requires operands to be in Vector Registers
30077 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30078 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30079 (__ieee754_sqrtf128): Likewise.
30081 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30083 * sysdeps/aarch64/memcmp.S (memcmp):
30084 Rewrite of optimized memcmp.
30086 2017-08-10 Florian Weimer <fweimer@redhat.com>
30088 Introduce ld.so exceptions.
30089 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30090 (_dl_exception_create, _dl_exception_create_format)
30091 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30092 (_dl_catch_exception): Declare.
30093 (_dl_catch_error): Update comment.
30094 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30095 errstring, malloced members with exception member.
30096 (_dl_out_of_memory): Remove.
30097 (fatal_error): New function, extracted from _dl_signal_error.
30098 (_dl_signal_exception, _dl_signal_cexception): New functions.
30099 (_dl_signal_error): Call _dl_exception_create to allocate an
30101 (_dl_catch_exception): New function, based on _dl_catch_error.
30102 (_dl_catch_error): Implement using _dl_catch_exception.
30103 * elf/dl-exception.c: New file.
30104 * elf/Makefile (dl-routines): Add dl-exception.
30105 (elide-routines.os): Likewise.
30106 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30107 _dl_exception_create_format, _dl_exception_free.
30108 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30109 _dl_signal_exception.
30110 * elf/dl-lookup.c (make_string): Remove.
30111 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30112 _dl_signal_cexception, _dl_exception_free.
30113 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30114 _dl_signal_exception.
30115 * elf/dl-sym.c (do_sym): Likewise.
30116 * elf/dl-version.c (make_string): Remove.
30117 (match_symbol): Use _dl_exception_create_format,
30118 _dl_signal_cexception, _dl_exception_free.
30119 (_dl_check_map_versions): Likewise.
30120 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30121 _dl_catch_exception.
30122 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30123 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30124 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30125 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30126 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30127 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30128 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30129 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30131 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30138 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30139 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30140 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30142 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30144 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30146 2017-08-10 Florian Weimer <fweimer@redhat.com>
30148 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30149 attribute_hidden, internal_function.
30150 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30153 2017-08-10 Florian Weimer <fweimer@redhat.com>
30155 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30156 function which calls __builtin_unreachable.
30158 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30160 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30161 Indian monetary formatting
30162 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30165 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30167 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30168 Fix typo in comment.
30171 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30172 PTRACE_SEIZE_DEVEL): Remove.
30173 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30179 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30181 * posix/bits/types.h (__qaddr_t): Remove.
30184 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30185 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30187 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30188 (ucontext_t): Use __ctx with uc_flags.
30189 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30190 (__ctxt): Likewise.
30191 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30193 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30194 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30196 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30197 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30199 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30201 (ucontext_t): Use __ctx with uc_flags.
30202 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30203 (ucontext_t): Use __ctx with uc_flags.
30204 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30205 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30206 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30207 (ucontext_t): Use __ctx with uc_flags.
30208 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30209 undefine further down.
30210 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30212 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30213 undefine further down.
30214 (ucontext_t): Use __ctx with uc_flags.
30215 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30216 undefine further down.
30217 (ucontext_t): Use __ctx with uc_flags.
30218 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30219 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30220 Rename uc_pad to __glibc_reserved1.
30221 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30222 undefine further down.
30223 (ucontext_t): Use __ctx with uc_flags.
30224 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30226 (ucontext_t): Use __ctx with uc_flags.
30227 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30228 __ctx with uc_flags.
30229 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30230 (ucontext_t): Use __ctx with uc_flags.
30231 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30232 __ctx with uc_flags.
30234 2017-08-09 Florian Weimer <fweimer@redhat.com>
30237 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30238 before early return.
30240 2017-08-09 Andreas Schwab <schwab@suse.de>
30243 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30247 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30248 tst-compat-forwarder.
30249 (modules-names): Add tst-compat-forwarder-mod.
30250 ($(objpfx)tst-compat-forwarder): Depend on
30251 $(objpfx)tst-compat-forwarder-mod.so.
30252 * nptl/tst-compat-forwarder.c: New file.
30253 * nptl/tst-compat-forwarder-mod.c: New file.
30255 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30257 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30260 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30261 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30263 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30265 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30266 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30267 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30268 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30270 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30273 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30276 * manual/setjmp.texi (getcontex): Document uc_stack value
30277 compatibility differences.
30279 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30281 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30282 (old_malloc_hook): Likewise.
30283 (old_memalign_hook): Likewise.
30284 (old_realloc_hook): Likewise.
30285 (struct hdr): Likewise.
30287 (freehook): Likewise.
30288 (mallochook): Likewise.
30289 (memalignhook): Likewise.
30290 (reallochook): Likewise.
30291 (mprobe): Likewise.
30292 * malloc/mtrace.c (mallwatch): Likewise.
30293 (tr_old_free_hook): Likewise.
30294 (tr_old_malloc_hook): Likewise.
30295 (tr_old_realloc_hook): Likewise.
30296 (tr_old_memalign_hook): Likewise.
30297 (tr_where): Likewise.
30298 (lock_and_info): Likewise.
30299 (tr_freehook): Likewise.
30300 (tr_mallochook): Likewise.
30301 (tr_reallochook): Likewise.
30302 (tr_memalignhook): Likewise.
30303 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30304 * misc/mmap.c (__mmap): Likewise.
30305 * misc/mmap64.c (__mmap64): Likewise.
30306 * misc/mprotect.c (__mprotect): Likewise.
30307 * misc/msync.c (msync): Likewise.
30308 * misc/munmap.c (__munmap): Likewise.
30309 * posix/posix_madvise.c (posix_madvise): Likewise.
30310 * socket/send.c (__send): Likewise.
30311 * socket/sendto.c (__sendto): Likewise.
30312 * socket/setsockopt.c (__setsockopt): Likewise.
30313 * string/memcmp.c (__ptr_t): Remove macro.
30314 (MEMCMP): Use void * instead of ptr_t.
30315 * string/memrchr.c (__ptr_t): Remove macro.
30316 (__memrchr): Use void * instead of ptr_t.
30317 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30318 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30319 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30320 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30321 * sysdeps/mach/msync.c (msync): Likewise.
30322 * sysdeps/mach/munmap.c (__munmap): Likewise.
30323 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30325 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30326 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30327 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30328 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30329 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30330 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30331 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30334 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30335 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30336 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30337 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30338 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30339 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30340 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30341 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30344 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30345 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30346 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30347 (MEMCMP): Use void * instead of ptr_t.
30348 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30349 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30351 2017-08-08 Florian Weimer <fweimer@redhat.com>
30353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30356 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30359 * csu/libc-tls.c: Include <startup.h> first.
30360 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30361 * elf/dl-tunables.c: Include <startup.h> first.
30362 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30363 * sysdeps/generic/startup.h: New file.
30364 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30365 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30366 (I386_USE_SYSENTER): New. Defined to 0.
30368 2017-08-08 Andreas Schwab <schwab@suse.de>
30371 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30372 * nptl/pt-system.c (system): Likewise.
30374 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30377 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30379 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30380 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30381 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30382 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30383 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30384 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30385 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30387 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30390 * bits/sigaction.h (struct sigaction): Define sa_handler and
30391 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30392 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30393 [__USE_XOPEN_EXTENDED].
30394 (SA_RESTART): Likewise.
30395 (SA_NODEFER): Likewise.
30396 (SA_RESETHAND): Likewise.
30397 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30398 (struct sigaction): Define sa_handler and sa_sigaction using union
30399 also for [__USE_XOPEN_EXTENDED].
30400 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30401 [__USE_XOPEN_EXTENDED].
30402 (SA_RESTART): Likewise.
30403 (SA_NODEFER): Likewise.
30404 (SA_RESETHAND): Likewise.
30405 * sysdeps/unix/sysv/linux/bits/sigaction.h
30406 (struct sigaction): Define sa_handler and sa_sigaction using union
30407 also for [__USE_XOPEN_EXTENDED].
30408 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30409 [__USE_XOPEN_EXTENDED].
30410 (SA_RESTART): Likewise.
30411 (SA_NODEFER): Likewise.
30412 (SA_RESETHAND): Likewise.
30413 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30414 (struct sigaction): Define sa_handler and sa_sigaction using union
30415 also for [__USE_XOPEN_EXTENDED].
30416 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30417 [__USE_XOPEN_EXTENDED].
30418 (SA_RESTART): Likewise.
30419 (SA_NODEFER): Likewise.
30420 (SA_RESETHAND): Likewise.
30421 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30422 (struct sigaction): Define sa_handler and sa_sigaction using union
30423 also for [__USE_XOPEN_EXTENDED].
30424 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30425 [__USE_XOPEN_EXTENDED].
30426 (SA_RESTART): Likewise.
30427 (SA_NODEFER): Likewise.
30428 (SA_RESETHAND): Likewise.
30429 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30430 (struct sigaction): Define sa_handler and sa_sigaction using union
30431 also for [__USE_XOPEN_EXTENDED].
30432 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30433 [__USE_XOPEN_EXTENDED].
30434 (SA_RESTART): Likewise.
30435 (SA_NODEFER): Likewise.
30436 (SA_RESETHAND): Likewise.
30437 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30438 (struct sigaction): Define sa_handler and sa_sigaction using union
30439 also for [__USE_XOPEN_EXTENDED].
30440 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30441 [__USE_XOPEN_EXTENDED].
30442 (SA_RESTART): Likewise.
30443 (SA_NODEFER): Likewise.
30444 (SA_RESETHAND): Likewise.
30445 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30446 (struct sigaction): Define sa_handler and sa_sigaction using union
30447 also for [__USE_XOPEN_EXTENDED].
30448 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30449 [__USE_XOPEN_EXTENDED].
30450 (SA_RESTART): Likewise.
30451 (SA_NODEFER): Likewise. Define directly rather than as alias.
30452 (SA_RESETHAND): Likewise.
30453 (SA_INTERRUPT): Define only for [__USE_MISC].
30454 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30455 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30457 (SA_STACK): Define only for [__USE_MISC].
30458 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30459 (struct sigaction): Define sa_handler and sa_sigaction using union
30460 also for [__USE_XOPEN_EXTENDED].
30461 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30462 [__USE_XOPEN_EXTENDED].
30463 (SA_RESTART): Likewise.
30464 (SA_NODEFER): Likewise.
30465 (SA_RESETHAND): Likewise.
30466 (SA_NOPTRACE): Define only for [__USE_MISC].
30468 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30469 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30470 (struct catalog_info): Likewise.
30471 * inet/htontest.c (lo): Likewise.
30473 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30474 * inet/inet_net.c (inet_network): Likewise.
30475 * inet/inet_netof.c (inet_netof): Likewise.
30476 * inet/rcmd.c (__ivaliduser): Likewise.
30477 (iruserok): Likewise.
30478 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30479 * locale/programs/locale-spec.c (locale_special): Likewise.
30480 * nis/nis_findserv.c (struct findserv_req): Likewise.
30481 (__nis_findfastest_with_timeout): Likewise.
30482 * nss/test-netdb.c (test_network): Likewise.
30483 * resolv/inet_neta.c (inet_neta): Likewise.
30484 * resolv/ns_date.c (ns_datetosecs): Likewise.
30485 (SECS_PER_DAY): Likewise.
30486 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30488 * resolv/res_comp.c (__putlong): Likewise.
30489 (__putshort): Likewise.
30490 (_getlong): Likewise.
30491 (_getshort): Likewise.
30492 * resolv/res_debug.c (p_time): Likewise.
30493 (precsize_ntoa): Likewise.
30494 (precsize_aton): Likewise.
30495 (latlon2ul): Likewise.
30496 (loc_aton): Likewise.
30497 (loc_ntoa): Likewise.
30498 * resolv/res_hconf.c (struct netaddr): Likewise.
30499 (_res_hconf_reorder_addrs): Likewise.
30500 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30501 (clnttcp_control): Likewise.
30502 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30503 (clntudp_control): Likewise.
30504 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30505 (clntunix_control): Likewise.
30506 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30507 * sunrpc/rpc/auth.h (union des_block): Likewise.
30508 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30509 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30510 (xdrrec_create): Likewise.
30511 (xdrrec_endofrecord): Likewise.
30512 (flush_out): Likewise.
30513 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30514 (xdrstdio_putlong): Likewise.
30515 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30518 * misc/sys/cdefs.h (__long_double_t): Remove.
30519 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30520 instead of __long_double_t,
30521 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30523 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30525 * benchtests/scripts/compare_strings.py: Avoid display error when
30526 running on a text terminal.
30528 * benchtests/scripts/compare_strings.py (main): Add an
30529 optional -base option.
30530 (process_results): New argument base_func.
30532 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30534 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30535 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30537 2017-08-07 Andreas Schwab <schwab@suse.de>
30539 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30540 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30541 * intl/Makefile ($(objpfx)tst-gettext.out)
30542 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30543 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30544 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30545 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30546 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30547 * posix/Makefile ($(objpfx)globtest.out)
30548 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30549 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30550 ($(objpfx)tst-printf.out): Likewise.
30551 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30552 ($(objpfx)tst-setcontext3.out): Likewise.
30554 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30557 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30558 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30559 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30560 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30562 (CFLAGS-doasin-fma.c): New.
30563 (CFLAGS-dosincos-fma.c): Likewise.
30564 (CFLAGS-e_asin-fma.c): Likewise.
30565 (CFLAGS-e_atan2-fma.c): Likewise.
30566 (CFLAGS-e_exp-fma.c): Likewise.
30567 (CFLAGS-e_log-fma.c): Likewise.
30568 (CFLAGS-e_pow-fma.c): Likewise.
30569 (CFLAGS-halfulp-fma.c): Likewise.
30570 (CFLAGS-mpa-fma.c): Likewise.
30571 (CFLAGS-mpatan-fma.c): Likewise.
30572 (CFLAGS-mpatan2-fma.c): Likewise.
30573 (CFLAGS-mpexp-fma.c): Likewise.
30574 (CFLAGS-mplog-fma.c): Likewise.
30575 (CFLAGS-mpsqrt-fma.c): Likewise.
30576 (CFLAGS-mptan-fma.c): Likewise.
30577 (CFLAGS-s_atan-fma.c): Likewise.
30578 (CFLAGS-sincos32-fma.c): Likewise.
30579 (CFLAGS-slowexp-fma.c): Likewise.
30580 (CFLAGS-slowpow-fma.c): Likewise.
30581 (CFLAGS-s_sin-fma.c): Likewise.
30582 (CFLAGS-s_tan-fma.c): Likewise.
30583 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30584 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30585 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30586 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30587 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30588 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30590 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30591 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30592 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30593 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30594 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30595 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30596 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30597 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30598 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30599 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30600 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30602 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30606 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30608 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30609 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30610 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30611 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30612 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30615 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30617 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30618 (min_of_type_f): New macro.
30619 (min_of_type_): Likewise.
30620 (min_of_type_l): Likewise.
30621 (min_of_type_f128): Likewise.
30622 (min_of_type): Define using __MATH_TG and taking an expression
30624 (math_check_force_underflow): Pass expression instead of type to
30626 (math_check_force_underflow_nonneg): Likewise.
30628 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30630 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30631 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30632 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30634 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30637 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30638 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30639 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30640 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30641 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30642 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30643 memmove_chk-nonshared and memset_chk-nonshared
30644 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30645 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30646 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30647 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30648 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30649 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30650 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30651 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30652 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30653 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30654 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30655 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30656 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30657 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30658 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30659 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30660 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30661 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30662 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30663 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30664 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30665 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30666 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30667 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30668 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30669 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30670 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30671 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30672 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30673 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30674 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30675 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30676 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30677 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30678 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30679 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30680 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30681 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30682 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30683 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30684 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30685 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30686 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30687 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30688 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30689 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30690 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30691 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30692 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30693 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30694 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30695 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30696 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30697 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30698 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30699 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30700 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30701 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30702 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30703 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30704 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30705 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30706 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30707 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30708 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30709 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30710 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30711 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30712 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30713 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30714 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30715 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30716 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30717 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30718 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30719 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30720 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30721 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30722 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30723 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30724 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30725 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30726 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30727 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30728 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30729 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30730 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30732 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30733 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30734 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30735 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30736 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30737 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30738 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30739 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30740 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30741 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30742 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30743 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30744 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30745 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30746 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30747 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30748 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30749 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30750 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30751 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30753 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30755 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30756 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30757 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30758 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30759 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30760 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30761 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30762 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30763 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30764 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30765 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30766 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30767 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30768 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30769 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30770 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30771 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30772 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30773 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30774 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30775 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30776 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30777 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30778 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30779 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30780 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30781 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30782 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30783 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30784 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30785 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30786 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30787 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30788 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30789 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30790 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30791 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30793 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30794 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30795 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30796 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30797 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30798 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30799 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30800 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30801 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30802 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30803 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30804 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30805 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30806 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30808 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30809 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30810 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30811 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30812 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30813 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30815 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30816 Don't include <sysdep.h> nor <init-arch.h>.
30817 (_ZGVbN2v_cos): Removed.
30818 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30821 Don't include <sysdep.h> nor <init-arch.h>.
30822 (_ZGVdN4v_cos): Removed.
30823 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30825 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30826 Don't include <sysdep.h> nor <init-arch.h>.
30827 (_ZGVeN8v_cos): Removed.
30828 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30830 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30831 Don't include <sysdep.h> nor <init-arch.h>.
30832 (_ZGVbN2v_exp): Removed.
30833 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30835 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30836 Don't include <sysdep.h> nor <init-arch.h>.
30837 (_ZGVdN4v_exp): Removed.
30838 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30840 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30841 Don't include <sysdep.h> nor <init-arch.h>.
30842 (_ZGVeN8v_exp): Removed.
30843 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30845 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30846 Don't include <sysdep.h> nor <init-arch.h>.
30847 (_ZGVbN2v_log): Removed.
30848 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30850 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30851 Don't include <sysdep.h> nor <init-arch.h>.
30852 (_ZGVdN4v_log): Removed.
30853 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30855 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30856 Don't include <sysdep.h> nor <init-arch.h>.
30857 (_ZGVeN8v_log): Removed.
30858 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30860 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30861 Don't include <sysdep.h> nor <init-arch.h>.
30862 (_ZGVbN2vv_pow): Removed.
30863 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30865 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30866 Don't include <sysdep.h> nor <init-arch.h>.
30867 (_ZGVdN4vv_pow): Removed.
30868 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30870 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30871 Don't include <sysdep.h> nor <init-arch.h>.
30872 (_ZGVeN8vv_pow): Removed.
30873 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30875 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30876 Don't include <sysdep.h> nor <init-arch.h>.
30877 (_ZGVbN2v_sin): Removed.
30878 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30880 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30881 Don't include <sysdep.h> nor <init-arch.h>.
30882 (_ZGVbN4v_sin): Removed.
30883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30885 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30886 Don't include <sysdep.h> nor <init-arch.h>.
30887 (_ZGVbN8v_sin): Removed.
30888 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30890 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30891 Don't include <sysdep.h> nor <init-arch.h>.
30892 (_ZGVbN2vvv_sincos): Removed.
30893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30896 Don't include <sysdep.h> nor <init-arch.h>.
30897 (_ZGVdN4vvv_sincos): Removed.
30898 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30901 Don't include <sysdep.h> nor <init-arch.h>.
30902 (_ZGVeN8vvv_sincos): Removed.
30903 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30905 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30906 Don't include <sysdep.h> nor <init-arch.h>.
30907 (_ZGVeN16v_cosf): Removed.
30908 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30910 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30911 Don't include <sysdep.h> nor <init-arch.h>.
30912 (_ZGVbN4v_cosf): Removed.
30913 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30915 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30916 Don't include <sysdep.h> nor <init-arch.h>.
30917 (_ZGVdN8v_cosf): Removed.
30918 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30920 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30921 Don't include <sysdep.h> nor <init-arch.h>.
30922 (_ZGVeN16v_expf): Removed.
30923 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30925 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30926 Don't include <sysdep.h> nor <init-arch.h>.
30927 (_ZGVbN4v_expf): Removed.
30928 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30930 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30931 Don't include <sysdep.h> nor <init-arch.h>.
30932 (_ZGVdN8v_expf): Removed.
30933 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30935 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30936 Don't include <sysdep.h> nor <init-arch.h>.
30937 (_ZGVeN16v_logf): Removed.
30938 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30940 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30941 Don't include <sysdep.h> nor <init-arch.h>.
30942 (_ZGVbN4v_logf): Removed.
30943 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30945 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30946 Don't include <sysdep.h> nor <init-arch.h>.
30947 (_ZGVdN8v_logf): Removed.
30948 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30950 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30951 Don't include <sysdep.h> nor <init-arch.h>.
30952 (_ZGVeN16vv_powf): Removed.
30953 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30955 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30956 Don't include <sysdep.h> nor <init-arch.h>.
30957 (_ZGVbN4vv_powf): Removed.
30958 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30960 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30961 Don't include <sysdep.h> nor <init-arch.h>.
30962 (_ZGVdN8vv_powf): Removed.
30963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30966 Don't include <sysdep.h> nor <init-arch.h>.
30967 (_ZGVeN16vvv_sincosf): Removed.
30968 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30971 Don't include <sysdep.h> nor <init-arch.h>.
30972 (_ZGVbN4vvv_sincosf): Removed.
30973 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30975 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30976 Don't include <sysdep.h> nor <init-arch.h>.
30977 (_ZGVdN8vvv_sincosf): Removed.
30978 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30980 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30981 Don't include <sysdep.h> nor <init-arch.h>.
30982 (_ZGVeN16v_sinf): Removed.
30983 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30985 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30986 Don't include <sysdep.h> nor <init-arch.h>.
30987 (_ZGVbN4v_sinf): Removed.
30988 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30990 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30991 Don't include <sysdep.h> nor <init-arch.h>.
30992 (_ZGVdN8v_sinf): Removed.
30994 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30997 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30998 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30999 s_rint-sse4_1 and s_rintf-sse4_1.
31000 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31001 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31002 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31003 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31004 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31005 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31007 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31008 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31009 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31010 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31011 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31013 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31014 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31015 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31016 (__ceilf): Removed.
31017 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31018 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31019 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31020 (__floor): Removed.
31021 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31022 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31023 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31024 (__floorf): Removed.
31025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31026 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31027 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31028 (__nearbyint): Removed.
31029 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31030 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31031 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31032 (__nearbyintf): Removed.
31033 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31034 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31035 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31037 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31038 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31039 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31040 (__rintf): Removed.
31042 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31044 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31045 SHARED. Avoid dynamic relocation against main in static PIE.
31047 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31050 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31051 (LDFLAGS-tst-prelink): Likewise.
31053 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31055 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31056 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31057 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31058 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31059 (INTERNAL_SYSCALL_NCS): Likewise.
31060 (LOADARGS_1): Likewise.
31061 (LOADARGS_5): Likewise.
31062 (RESTOREARGS_1): Likewise.
31063 (RESTOREARGS_5): Likewise.
31065 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31067 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31068 (MEMPCPY_SYMBOL): Likewise.
31069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31070 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31074 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31076 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31077 (__hidden_ver1): Don't use in libc.a.
31078 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31079 (__mempcpy): Don't create a weak alias in libc.a.
31080 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31082 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31083 (__hidden_ver1): Don't use in libc.a.
31085 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31087 * config.make.in (have-insert): New.
31088 * configure.ac (libc_cv_insert): New. Set to yes if linker
31089 supports INSERT in linker script.
31090 (AC_SUBST(libc_cv_insert): New.
31091 * configure: Regenerated.
31092 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31093 if $(have-insert) == yes.
31095 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31097 * elf/Makefile (tests): Add vismain only if
31098 $(have-protected-data) == yes.
31099 (tests-pie): Likewise.
31101 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31104 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31105 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31107 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31110 * sysdeps/i386/i586/memset.S
31111 (__memset_zero_constant_len_parameter): Removed.
31112 * sysdeps/i386/i686/memset.S
31113 (__memset_zero_constant_len_parameter): Likewise.
31114 * sysdeps/i386/i686/multiarch/memset_chk.S
31115 (__memset_zero_constant_len_parameter): Likewise.
31116 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31119 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31121 * stdlib/getentropy.c (getentropy): Change return type to int.
31123 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31125 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31127 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31129 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31131 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31132 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31134 (ieee_float_shape_type): Likewise.
31135 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31136 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31137 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31138 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31139 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31140 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31141 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31142 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31143 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31145 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31146 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31147 (__ieee754_yn): Likewise.
31148 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31149 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31150 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31152 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31153 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31154 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31155 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31156 (__erfc): Likewise.
31157 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31158 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31159 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31160 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31161 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31162 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31164 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31165 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31166 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31167 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31168 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31169 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31170 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31171 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31172 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31173 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31174 (__issignaling): Likewise.
31175 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31176 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31177 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31180 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31181 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31182 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31184 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31186 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31187 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31188 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31189 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31190 (__erfcf): Likewise.
31191 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31192 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31193 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31194 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31196 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31197 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31199 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31200 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31201 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31202 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31203 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31204 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31205 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31206 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31208 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31210 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31212 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31215 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31217 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31218 (__ieee754_ynl): Likewise.
31219 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31220 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31222 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31224 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31225 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31226 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31228 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31229 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31230 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31231 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31232 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31233 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31234 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31237 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31238 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31239 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31241 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31242 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31243 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31244 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31245 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31254 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31255 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31257 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31258 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31259 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31262 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31265 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31267 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31268 (__ieee754_remainderl): Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31272 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31274 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31275 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31277 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31278 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31279 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31280 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31281 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31284 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31285 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31286 (__ieee754_y0l): Likewise.
31289 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31290 (__ieee754_y1l): Likewise.
31293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31294 (__ieee754_ynl): Likewise.
31295 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31296 (__ieee754_lgammal_r): Likewise.
31297 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31299 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31300 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31301 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31302 (__erfcl): Likewise.
31303 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31304 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31306 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31307 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31308 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31309 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31310 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31311 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31312 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31314 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31315 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31316 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31317 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31318 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31320 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31321 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31323 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31324 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31325 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31326 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31327 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31329 2017-08-03 Florian Weimer <fweimer@redhat.com>
31332 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31333 on memory allocation failure.
31335 2017-08-03 Alan Modra <amodra@gmail.com>
31337 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31338 tst-tlsopt-powerpc.c with function name change and no test harness.
31339 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31340 Call tls_get_addr_opt_test.
31341 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31342 (modules-names): Add mod-tlsopt-powerpc.
31343 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31344 (tst-tlsopt-powerpc): Depend on .so.
31345 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31346 define. Expand use in TLS_GD and TLS_LD.
31348 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31350 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31352 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31354 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31357 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31358 comparing size with that of double.
31359 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31360 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31361 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31362 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31363 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31364 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31365 unsigned __int128 types.
31367 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31369 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31370 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31371 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31372 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31373 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31375 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31377 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31379 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31383 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31391 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31394 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31395 bit-field expressions passed to sizeof or typeof.
31396 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31397 (__TGMATH_F128): Likewise.
31398 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31399 (__TGMATH_CF128): Likewise.
31400 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31401 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31402 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31403 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31404 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31405 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31406 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31407 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31408 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31409 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31410 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31411 (__TGMATH_UNARY_IMAG): Likewise.
31412 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31413 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31414 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31416 (define_vars_for_type): Handle bit_field type specially.
31417 (Tests.__init__): Declare structure with bit-field element.
31419 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31422 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31423 (MEMCPY_CHK): Define only if SHARED is defined.
31424 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31429 See ChangeLog.18 for earlier changes.