1 2019-01-16 Zack Weinberg <zackw@panix.com>
3 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4 (xget_sigstack_location): New test support functions.
5 * support/xsigstack.c: New file, implementing them.
6 * support/tst-xsigstack.c: New test for them.
7 * support/Makefile: Update.
9 * signal/tst-minsigstksz-1.c
10 * signal/tst-minsigstksz-2.c
11 * signal/tst-minsigstksz-3.c
12 * signal/tst-minsigstksz-3a.c
13 * signal/tst-minsigstksz-4.c: New tests.
14 * signal/Makefile: Run them.
16 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
18 * po/libc.pot: Regenerate.
20 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
22 * math/libm-test-fma.inc (fma_test_data): Set
23 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
25 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
27 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
28 (do_test): Changed __vector __int128_t to __vector unsigned int.
30 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
32 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
34 stpcpy-avx2 and stpncpy-avx2.
35 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
36 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
37 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
39 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
40 ifunc-strcpy.h}: rename header for a more generic name.
41 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
42 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
43 AVX unaligned load is fast and vzeroupper is preferred.
44 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
45 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
46 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
47 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
48 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
49 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
51 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
53 * argp/argp-help.c: Fix typo in comment.
54 * misc/sys/cdefs.h: Likewise.
55 * posix/regexec.c (sift_states_iter_mb): Likewise.
56 * socket/sockatmark.c: Likewise.
57 * socket/sys/socket.h: Likewise.
58 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
59 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
60 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
61 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62 * sysdeps/unix/sockatmark.c: Likewise.
63 * time/strptime_l.c: Likewise.
65 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
67 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
68 missing space after the cast of "_NL_CURRENT".
70 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
72 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
73 ifdef to fix read of VSCR.
74 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
75 tst-ucontext-ppc64-vscr.c to test list.
76 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
78 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
80 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
83 2019-01-09 Jim Wilson <jimw@sifive.com>
85 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
87 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
89 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
90 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
91 __memcpy_falkor for ares.
92 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
94 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
97 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
100 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
101 4_FP_W_TYPEs are used for IEEE quad precision.
102 * soft-fp/extendhftf2.c: Likewise.
103 * soft-fp/extendsftf2.c: Likewise.
104 * soft-fp/extendxftf2.c: Likewise.
105 * soft-fp/trunctfdf2.c: Likewise.
106 * soft-fp/trunctfhf2.c: Likewise.
107 * soft-fp/trunctfsf2.c: Likewise.
108 * soft-fp/trunctfxf2.c: Likewise.
109 * sysdeps/alpha/ots_cvttx.c: Likewise.
110 * sysdeps/alpha/ots_cvtxt.c: Likewise.
111 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
112 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
113 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
114 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
115 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
116 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
117 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
118 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
119 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
120 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
121 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
122 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
123 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
124 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
125 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
126 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
128 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
131 * Makeconfig: Build libm with -fno-math-errno but build the remaining
132 code with -fmath-errno.
133 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
134 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
135 * string/test-strerror-errno.c: New file.
137 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
140 * localedata/locales/en_US (date_fmt): Add, set to
143 2019-01-07 Florian Weimer <fweimer@redhat.com>
146 * manual/arith.texi (Math Error Reporting): Use @code{errno}
147 instead of @var{errno}.
148 (Parsing of Integers): Likewise.
149 (Parsing of Floats): Likewise.
150 * manual/filesys.texi (Working with Directory Trees): Likewise.
151 (Temporary Files): Likewise.
152 * manual/job.texi (Terminal Access Functions): Likewise.
153 * manual/llio.texi (Synchronizing I/O): Likewise.
154 * manual/math.texi (SVID Random): Likewise.
155 * manual/message.texi (The catgets Functions): Likewise.
156 (Translation with gettext): Likewise.
157 (Locating gettext catalog): Likewise.
158 (Charset conversion in gettext): Likewise.
159 * manual/nss.texi (NSS Module Function Internals): Likewise.
160 * manual/search.texi (Hash Search Function): Likewise.
161 * manual/setjmp.texi (System V contexts): Likewise.
162 * manual/time.texi (Sleeping): Likewise.
163 * manual/users.texi (Lookup User): Likewise.
164 (Lookup Group): Likewise.
166 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
168 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
171 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
174 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
175 __builtin_unreachable for default case in switch.
176 (__ieee754_yn): Likewise.
177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
178 (__ieee754_ynl): Likewise.
179 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
180 (__ieee754_ynl): Likewise.
181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
182 (__ieee754_ynl): Likewise.
184 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
186 * manual/maint.texi: Use @{ and @}.
188 2019-01-04 Florian Weimer <fweimer@redhat.com>
190 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
192 (do_in_chroot_1): Call it.
194 Improve error reporting in case it is not possible to create a
195 collision for the PTY name required by the test.
197 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
199 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
200 lll_wait_tid with timeout.
201 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
202 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
203 futex_reltimed_wait_cancelable for cancelabla mode.
204 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
205 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
207 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
208 * sysdeps/posix/waitid.c (__sigwait): Likewise.
209 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
210 SYSCALL_CANCEL_NCS): New macro.
211 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
212 (lll_timedwait_tid): Remove macro.
213 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
215 (lll_timedwait_tid): Likewise.
216 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
218 (lll_timedwait_tid): Likewise.
219 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
221 (lll_timedwait_tid): Likewise.
222 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
223 Use INTERNAL_SYSCALL_CANCEL.
224 * sysdeps/unix/sysv/linux/futex-internal.h
225 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
226 instead of __pthread_{enable,disable}_asynccancel.
227 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
228 (lll_futex_wait_cancel): New macro.
230 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
231 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
233 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
234 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
236 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
237 in backtrace analysis.
238 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
242 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
243 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
244 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
245 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
246 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
247 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
248 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
249 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
250 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
251 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
252 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
253 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
255 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
256 tst-cancel-wrappers.sh.
257 (generated): Remove tst-cancel-wrappers.out.
258 (tst-cancel-wrappers.out): Remove rule.
259 * nptl/tst-cancel-wrappers.sh: Remove file.
261 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
263 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
267 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
270 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
271 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
272 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
273 close-on-exec reset for adddup2 file action.
274 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
276 2019-01-03 Zack Weinberg <zackw@panix.com>
278 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
279 parameter. Only use deprecated scanf when __USE_GNU is defined
280 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
281 than 201103L, whichever is relevant for the language being compiled.
283 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
284 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
285 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
286 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
287 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
296 * stdio-common/fscanf.c
297 * stdio-common/scanf.c
298 * stdio-common/vfscanf.c
299 * stdio-common/vfwscanf.c
300 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
301 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
302 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
303 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
304 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
305 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
306 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
307 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
308 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
309 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
310 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
311 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
312 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
313 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
314 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
316 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
317 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
318 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
320 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
321 with a preprocessor macro.
323 * stdio-common/bug21.c, stdio-common/scanf14.c:
324 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
325 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
326 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
327 to xscanf, xfscanf, xsscanf.
329 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
330 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
331 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
332 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
334 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
335 override feature selection macros or provide definitions of u_char etc.
336 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
337 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
338 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
341 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
345 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
346 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
347 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
348 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
349 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
350 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
352 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
353 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
354 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
355 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
356 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
357 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
359 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
360 (sysdep_headers): Add termios-misc.h.
362 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
363 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
364 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
368 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
369 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
370 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
371 TCSAFLUSH): Move to termios-tcflow.h.
372 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
373 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
379 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
380 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
381 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
383 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
384 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
385 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
386 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
388 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
389 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
391 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
395 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
396 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
397 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
398 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
399 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
401 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
402 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
409 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
410 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
413 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
414 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
415 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
416 __MAX_BAUD): Move to termios-baud.h.
417 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
418 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
419 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
423 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
425 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
426 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
427 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
428 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
429 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
430 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
432 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
433 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
435 [USE_MISC] (XTABS): Likewise.
436 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
437 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
438 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
439 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
441 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
443 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
444 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
446 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
447 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
448 IUTF8): Move to termios-c_iflag.h.
449 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
450 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
452 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
454 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
456 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
457 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
458 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
460 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
461 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
462 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
463 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
464 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
465 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
466 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
467 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
469 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
470 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
471 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
472 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
475 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
477 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
479 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
481 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
485 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
486 _HAVE_C_OSPEED): Define.
487 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
488 _HAVE_C_OSPEED): Likewise.
489 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
490 _HAVE_C_OSPEED): Likewise.
491 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
492 (cfsetospeed): Check for define value instead of existence.
493 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
494 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
495 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
496 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
497 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
500 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
502 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
503 (TIOCSER_TEMT): Likewise.
504 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
505 (TEOCSER_TEMT): Likewise.
507 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
510 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
512 2019-01-02 Joseph Myers <joseph@codesourcery.com>
514 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
516 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
518 * sysdeps/htl/pt-barrierattr-setpshared.c
519 (pthread_barrierattr_setpshared): Add stub warning.
520 * sysdeps/htl/pt-condattr-setpshared.c
521 (pthread_condattr_setpshared): Likewise.
522 * sysdeps/htl/pt-mutexattr-setpshared.c
523 (pthread_mutexattr_setpshared): Likewise.
524 * sysdeps/htl/pt-rwlockattr-setpshared.c
525 (pthread_rwlockattr_setpshared): Likewise.
526 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
527 (pthread_mutexattr_setpshared): Likewise.
529 2019-01-02 Joseph Myers <joseph@codesourcery.com>
531 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
532 constants to match with Linux 4.20.
534 * sysdeps/mips/mips32/libm-test-ulps: Update.
535 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
537 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
540 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
541 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
542 than __typeof (...) for the a_ptr variable.
544 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
546 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
547 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
548 * libio/Makefile (tests): Add tst-sprintf-ub and
550 (CFLAGS-tst-sprintf-ub.c): New variable.
551 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
552 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
553 destination buffer and check for overflows in fortified mode.
554 * libio/libioP.h (PRINTF_CHK): New macro.
555 * libio/tst-sprintf-chk-ub.c: New file.
556 * libio/tst-sprintf-ub.c: Likewise.
558 2019-01-02 Florian Weimer <fweimer@redhat.com>
561 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
564 2019-01-02 Florian Weimer <fweimer@redhat.com>
566 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
568 2019-01-01 Joseph Myers <joseph@codesourcery.com>
570 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
573 * sysdeps/unix/sysv/linux/netpacket/packet.h
574 (PACKET_IGNORE_OUTGOING): New macro.
576 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
579 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
581 (riscv_flush_icache): New syscall.
583 * manual/texinfo.tex: Update to version 2018-12-28.17 with
584 trailing whitespace removed.
585 * scripts/config.guess: Update to version 2019-01-01.
586 * scripts/config.sub: Update to version 2019-01-01.
587 * scripts/move-if-change: Update from gnulib.
589 * NEWS: Update copyright dates.
590 * catgets/gencat.c (print_version): Likewise.
591 * csu/version.c (banner): Likewise.
592 * debug/catchsegv.sh: Likewise.
593 * debug/pcprofiledump.c (print_version): Likewise.
594 * debug/xtrace.sh (do_version): Likewise.
595 * elf/ldconfig.c (print_version): Likewise.
596 * elf/ldd.bash.in: Likewise.
597 * elf/pldd.c (print_version): Likewise.
598 * elf/sotruss.sh: Likewise.
599 * elf/sprof.c (print_version): Likewise.
600 * iconv/iconv_prog.c (print_version): Likewise.
601 * iconv/iconvconfig.c (print_version): Likewise.
602 * locale/programs/locale.c (print_version): Likewise.
603 * locale/programs/localedef.c (print_version): Likewise.
604 * login/programs/pt_chown.c (print_version): Likewise.
605 * malloc/memusage.sh (do_version): Likewise.
606 * malloc/memusagestat.c (print_version): Likewise.
607 * malloc/mtrace.pl: Likewise.
608 * manual/libc.texinfo: Likewise.
609 * nptl/version.c (banner): Likewise.
610 * nscd/nscd.c (print_version): Likewise.
611 * nss/getent.c (print_version): Likewise.
612 * nss/makedb.c (print_version): Likewise.
613 * posix/getconf.c (main): Likewise.
614 * scripts/test-installation.pl: Likewise.
615 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
617 * All files with FSF copyright notices: Update copyright dates
618 using scripts/update-copyrights.
619 * locale/programs/charmap-kw.h: Regenerated.
620 * locale/programs/locfile-kw.h: Likewise.
622 2018-12-31 Joseph Myers <joseph@codesourcery.com>
624 * timezone/zdump.c: Update from tzcode 2018i.
625 * timezone/zic.c: Likewise.
627 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
629 regex: improve Gnulib port to AIX
630 From the glibc point of view, this removes duplicate macro
631 definitions and is obviously safe.
632 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
633 * posix/regex_internal.h:
634 (__attribute__, __attribute_warn_unused_result__):
635 Remove; already defined elsewhere.
637 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
640 * malloc/malloc.c (_int_realloc): Always call memcpy for the
641 copying operation. (ncopies had the wrong type, resulting in an
642 integer wraparound and too few elements being copied.)
644 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
647 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
648 <asm/syscalls.h> exists with __has_include__ before including it.
650 2018-12-31 Joseph Myers <joseph@codesourcery.com>
652 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
655 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
657 * hurd/lookup-retry: Include <unistd.h>.
658 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
659 Release it on return. Handle "pid" magical lookup retry.
661 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
664 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
665 (t_fmt_ampm): Likewise.
666 * localedata/locales/aa_ER (t_fmt): Likewise.
667 (t_fmt_ampm): Likewise.
668 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
669 (t_fmt_ampm): Likewise.
670 * localedata/locales/aa_ET (t_fmt): Likewise.
671 (t_fmt_ampm): Likewise.
672 * localedata/locales/am_ET (t_fmt): Likewise.
673 (t_fmt_ampm): Likewise.
674 * localedata/locales/byn_ER (t_fmt): Likewise.
675 (t_fmt_ampm): Likewise.
676 * localedata/locales/om_ET (t_fmt): Likewise.
677 (t_fmt_ampm): Likewise.
678 * localedata/locales/sid_ET (t_fmt): Likewise.
679 (t_fmt_ampm): Likewise.
680 * localedata/locales/so_DJ (t_fmt): Likewise.
681 (t_fmt_ampm): Likewise.
682 * localedata/locales/so_ET (t_fmt): Likewise.
683 (t_fmt_ampm): Likewise.
684 * localedata/locales/so_SO (t_fmt): Likewise.
685 (t_fmt_ampm): Likewise.
686 * localedata/locales/ti_ER (t_fmt): Likewise.
687 (t_fmt_ampm): Likewise.
688 * localedata/locales/ti_ET (t_fmt): Likewise.
689 (t_fmt_ampm): Likewise.
690 * localedata/locales/tig_ER (t_fmt): Likewise.
691 (t_fmt_ampm): Likewise.
692 * localedata/locales/wal_ET (t_fmt): Likewise.
693 (t_fmt_ampm): Likewise.
695 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
696 * localedata/locales/ar_IN (t_fmt): Likewise.
697 * localedata/locales/bhb_IN (t_fmt): Likewise.
698 * localedata/locales/bho_IN (t_fmt): Likewise.
699 * localedata/locales/bi_VU (t_fmt): Likewise.
700 * localedata/locales/bn_BD (t_fmt): Likewise.
701 * localedata/locales/bn_IN (t_fmt): Likewise.
702 * localedata/locales/brx_IN (t_fmt): Likewise.
703 * localedata/locales/doi_IN (t_fmt): Likewise.
704 * localedata/locales/en_HK (t_fmt): Likewise.
705 (t_fmt_ampm): Likewise.
706 * localedata/locales/en_IN (t_fmt): Likewise.
707 * localedata/locales/en_PH (t_fmt): Likewise.
708 * localedata/locales/gu_IN (t_fmt): Likewise.
709 * localedata/locales/hi_IN (t_fmt): Likewise.
710 * localedata/locales/hif_FJ (t_fmt): Likewise.
711 * localedata/locales/hne_IN (t_fmt): Likewise.
712 * localedata/locales/kn_IN (t_fmt): Likewise.
713 * localedata/locales/kok_IN (t_fmt): Likewise.
714 * localedata/locales/ks_IN (t_fmt): Likewise.
715 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
716 * localedata/locales/mag_IN (t_fmt): Likewise.
717 * localedata/locales/mai_IN (t_fmt): Likewise.
718 * localedata/locales/mjw_IN (t_fmt): Likewise.
719 * localedata/locales/ml_IN (t_fmt): Likewise.
720 * localedata/locales/mni_IN (t_fmt): Likewise.
721 * localedata/locales/mr_IN (t_fmt): Likewise.
722 * localedata/locales/ms_MY (t_fmt): Likewise.
723 * localedata/locales/pa_IN (t_fmt): Likewise.
724 * localedata/locales/raj_IN (t_fmt): Likewise.
725 * localedata/locales/sa_IN (t_fmt): Likewise.
726 * localedata/locales/sat_IN (t_fmt): Likewise.
727 * localedata/locales/sd_IN (t_fmt): Likewise.
728 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
729 * localedata/locales/tcy_IN (t_fmt): Likewise.
730 * localedata/locales/the_NP (t_fmt): Likewise.
731 * localedata/locales/to_TO (t_fmt): Likewise.
732 * localedata/locales/ur_IN (t_fmt): Likewise.
734 * localedata/locales/hif_FJ (d_t_fmt): Set to
735 "%A %d %b %Y %I:%M:%S %p".
736 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
738 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
739 * localedata/locales/ar_BH (t_fmt): Likewise.
740 * localedata/locales/ar_DZ (t_fmt): Likewise.
741 * localedata/locales/ar_EG (t_fmt): Likewise.
742 * localedata/locales/ar_IQ (t_fmt): Likewise.
743 * localedata/locales/ar_JO (t_fmt): Likewise.
744 * localedata/locales/ar_KW (t_fmt): Likewise.
745 * localedata/locales/ar_LB (t_fmt): Likewise.
746 * localedata/locales/ar_LY (t_fmt): Likewise.
747 * localedata/locales/ar_OM (t_fmt): Likewise.
748 * localedata/locales/ar_QA (t_fmt): Likewise.
749 * localedata/locales/ar_SD (t_fmt): Likewise.
750 * localedata/locales/ar_SS (t_fmt): Likewise.
751 * localedata/locales/ar_SY (t_fmt): Likewise.
752 * localedata/locales/ar_TN (t_fmt): Likewise.
753 * localedata/locales/ar_YE (t_fmt): Likewise.
755 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
756 (t_fmt_ampm): Likewise.
757 * localedata/locales/gez_ET (t_fmt): Likewise.
758 (t_fmt_ampm): Likewise.
760 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
761 (t_fmt_ampm): Likewise.
762 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
764 * localedata/locales/zh_HK (t_fmt):
765 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
767 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
768 because this locale does not use the 12-hour clock.
769 (t_fmt): Set to "%Z %H:%M:%S".
770 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
772 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
773 because this locale does not use the 12-hour clock.
774 (t_fmt): Set to "%H:%M:%S %Z".
775 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
777 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
778 because this locale does not use the 12-hour clock.
779 (t_fmt): Set to "%T".
780 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
781 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
783 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
784 because this locale does not use the 12-hour clock.
785 (t_fmt): Set to "%H:%M:%S %Z".
786 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
788 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
789 because this locale does not use the 12-hour clock.
790 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
791 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
793 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
797 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
798 (t_fmt_ampm): Likewise.
799 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
800 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
801 (d_fmt): Set to "%-d.%-m.%y".
803 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
805 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
806 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
807 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
809 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
810 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
811 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
813 * support/blob_repeat.c (check_mul_overflow_size_t,
814 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
816 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
818 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
820 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
822 regex: simplify Gnulib port
823 This simplifies the code, by removing stuff intended for porting
824 to Gnulib but no longer needed there.
825 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
826 uses of libc_hidden_def, weak_alias.
827 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
828 _Restrict_ except for public-facing headers.
829 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
830 Remove; already defined elsewhere.
831 * posix/regex.c, posix/regex_internal.h:
832 Use __GNUC_PREREQ instead of rolling our own.
833 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
835 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
837 * benchtests/bench-strlen.c (generic_strlen): New function.
838 (memchr_strlen): New function.
840 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
842 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
843 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
844 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
846 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
848 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
850 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
852 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
853 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
854 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
855 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
856 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
857 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
858 <sysdeps/ieee754/flt-32/s_sincosf.c>.
860 2018-12-21 Joseph Myers <joseph@codesourcery.com>
863 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
864 PLT reference in libc.so.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
866 _Q_lltoq and _Q_qtod PLT references in libc.so.
868 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
870 * benchtests/bench-memchr.c: Cleanup defines.
871 * benchtests/bench-memcmp.c: Likewise.
872 * benchtests/bench-memset.c: Likewise.
873 * benchtests/bench-memset-large.c: Likewise.
874 * benchtests/bench-memset-walk.c: Likewise.
875 * benchtests/bench-stpcpy.c: Likewise.
876 * benchtests/bench-stpncpy.c: Likewise.
877 * benchtests/bench-strcat.c: Likewise.
878 * benchtests/bench-strchr.c: Likewise.
879 * benchtests/bench-strcmp.c: Likewise.
880 * benchtests/bench-strcpy.c: Likewise.
881 * benchtests/bench-strcspn.c: Likewise.
882 * benchtests/bench-string.h: Likewise.
883 * benchtests/bench-strlen.c: Likewise.
884 * benchtests/bench-strncat.c: Likewise.
885 * benchtests/bench-strncmp.c: Likewise.
886 * benchtests/bench-strncpy.c: Likewise.
887 * benchtests/bench-strnlen.c: Likewise.
888 * benchtests/bench-strpbrk.c: Likewise.
889 * benchtests/bench-strrchr.c: Likewise.
890 * benchtests/bench-strspn.c: Likewise.
892 2018-12-21 Joseph Myers <joseph@codesourcery.com>
894 * stdlib/longlong.h: Update from GCC.
897 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
898 * configure: Regenerated.
899 * manual/install.texi (Tools for Compilation): Update minimum GCC
901 * INSTALL: Regenerated.
903 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
905 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
907 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
909 * malloc/malloc.c (mremap_chunk): Additional checks.
911 2018-12-21 Mao Han <han_mao@c-sky.com>
913 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
914 * scripts/build-many-glibcs.py: Add C-SKY targets.
915 * sysdeps/csky/Implies: New file.
916 * sysdeps/csky/Makefile: Likewise.
917 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
918 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
919 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
920 * sysdeps/csky/abiv2/memcmp.S: Likewise.
921 * sysdeps/csky/abiv2/memcpy.S: Likewise.
922 * sysdeps/csky/abiv2/memmove.S: Likewise.
923 * sysdeps/csky/abiv2/memset.S: Likewise.
924 * sysdeps/csky/abiv2/setjmp.S: Likewise.
925 * sysdeps/csky/abiv2/start.S: Likewise.
926 * sysdeps/csky/abiv2/strcmp.S: Likewise.
927 * sysdeps/csky/abiv2/strcpy.S: Likewise.
928 * sysdeps/csky/abiv2/strlen.S: Likewise.
929 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
930 * sysdeps/csky/abort-instr.h: Likewise.
931 * sysdeps/csky/atomic-machine.h: Likewise.
932 * sysdeps/csky/bits/endian.h: Likewise.
933 * sysdeps/csky/bits/fenv.h: Likewise.
934 * sysdeps/csky/bits/link.h: Likewise.
935 * sysdeps/csky/bits/setjmp.h: Likewise.
936 * sysdeps/csky/bsd-_setjmp.S: Likewise.
937 * sysdeps/csky/bsd-setjmp.S: Likewise.
938 * sysdeps/csky/configure: Likewise.
939 * sysdeps/csky/configure.ac: Likewise.
940 * sysdeps/csky/dl-machine.h: Likewise.
941 * sysdeps/csky/dl-procinfo.c: Likewise.
942 * sysdeps/csky/dl-procinfo.h: Likewise.
943 * sysdeps/csky/dl-sysdep.h: Likewise.
944 * sysdeps/csky/dl-tls.h: Likewise.
945 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
946 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
947 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
948 * sysdeps/csky/fpu/fegetenv.c: Likewise.
949 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
950 * sysdeps/csky/fpu/fegetmode.c: Likewise.
951 * sysdeps/csky/fpu/fegetround.c: Likewise.
952 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
953 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
954 * sysdeps/csky/fpu/fenv_private.h: Likewise.
955 * sysdeps/csky/fpu/fesetenv.c: Likewise.
956 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
957 * sysdeps/csky/fpu/fesetmode.c: Likewise.
958 * sysdeps/csky/fpu/fesetround.c: Likewise.
959 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
960 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
961 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
962 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
963 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
964 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
965 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
966 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
967 * sysdeps/csky/fpu_control.h: Likewise.
968 * sysdeps/csky/gccframe.h: Likewise.
969 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
970 * sysdeps/csky/ldsodefs.h: Likewise.
971 * sysdeps/csky/libc-tls.c: Likewise.
972 * sysdeps/csky/linkmap.h: Likewise.
973 * sysdeps/csky/machine-gmon.h: Likewise.
974 * sysdeps/csky/memusage.h: Likewise.
975 * sysdeps/csky/nofpu/Implies: Likewise.
976 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
977 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
978 * sysdeps/csky/nptl/Makefile: Likewise.
979 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
980 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
981 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
982 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
983 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
984 * sysdeps/csky/nptl/tls.h: Likewise.
985 * sysdeps/csky/preconfigure: Likewise.
986 * sysdeps/csky/sfp-machine.h: Likewise.
987 * sysdeps/csky/sotruss-lib.c: Likewise.
988 * sysdeps/csky/stackinfo.h: Likewise.
989 * sysdeps/csky/sysdep.h: Likewise.
990 * sysdeps/csky/tininess.h: Likewise.
991 * sysdeps/csky/tst-audit.h: Likewise.
992 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
993 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
994 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
995 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
996 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
997 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
998 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
999 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1000 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1001 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1002 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1003 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1004 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1005 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1006 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1007 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1008 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1009 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1010 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1011 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1012 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1013 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1014 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1015 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1016 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1017 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1018 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1019 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1020 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1021 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1023 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1025 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1026 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1027 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1028 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1029 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1030 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1031 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1032 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1033 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1034 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1035 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1037 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1039 * include/time.h (__difftime64): Add.
1040 * time/difftime.c (subtract): convert to 64-bit time.
1041 * time/difftime.c (__difftime64): Add.
1042 * time/difftime.c (__difftime): Wrap around __difftime64.
1044 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1046 * manual/examples/add.c: Remove redundant "if not".
1047 * manual/examples/argp-ex1.c: Likewise.
1048 * manual/examples/argp-ex2.c: Likewise.
1049 * manual/examples/argp-ex3.c: Likewise.
1050 * manual/examples/argp-ex4.c: Likewise.
1051 * manual/examples/atexit.c: Likewise.
1052 * manual/examples/db.c: Likewise.
1053 * manual/examples/dir.c: Likewise.
1054 * manual/examples/dir2.c: Likewise.
1055 * manual/examples/execinfo.c: Likewise.
1056 * manual/examples/filecli.c: Likewise.
1057 * manual/examples/filesrv.c: Likewise.
1058 * manual/examples/fmtmsgexpl.c: Likewise.
1059 * manual/examples/genpass.c: Likewise.
1060 * manual/examples/inetcli.c: Likewise.
1061 * manual/examples/inetsrv.c: Likewise.
1062 * manual/examples/isockad.c: Likewise.
1063 * manual/examples/longopt.c: Likewise.
1064 * manual/examples/memopen.c: Likewise.
1065 * manual/examples/memstrm.c: Likewise.
1066 * manual/examples/mkdirent.c: Likewise.
1067 * manual/examples/mkfsock.c: Likewise.
1068 * manual/examples/mkisock.c: Likewise.
1069 * manual/examples/mygetpass.c: Likewise.
1070 * manual/examples/pipe.c: Likewise.
1071 * manual/examples/popen.c: Likewise.
1072 * manual/examples/rprintf.c: Likewise.
1073 * manual/examples/search.c: Likewise.
1074 * manual/examples/select.c: Likewise.
1075 * manual/examples/setjmp.c: Likewise.
1076 * manual/examples/sigh1.c: Likewise.
1077 * manual/examples/sigusr.c: Likewise.
1078 * manual/examples/stpcpy.c: Likewise.
1079 * manual/examples/strdupa.c: Likewise.
1080 * manual/examples/strftim.c: Likewise.
1081 * manual/examples/subopt.c: Likewise.
1082 * manual/examples/swapcontext.c: Likewise.
1083 * manual/examples/termios.c: Likewise.
1084 * manual/examples/testopt.c: Likewise.
1085 * manual/examples/testpass.c: Likewise.
1086 * manual/examples/timeval_subtract.c: Likewise.
1088 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1090 * sysdeps/x86/fpu/math_private.h: New file.
1091 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1093 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1098 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1100 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1101 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1102 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1103 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1105 (_dl_show_auxv): Give a special treatment to
1106 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1107 and AT_L3_CACHEGEOMETRY.
1108 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1109 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1110 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1111 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1113 2018-12-19 Andreas Schwab <schwab@suse.de>
1115 * nscd/connections.c (check_use): Don't abort on invalid len.
1117 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1119 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1120 values in the 64bit value cases.
1122 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1128 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1134 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1137 (__gmtime64_r): Add.
1139 (__gmtime64_r): Add.
1140 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1146 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1149 (__localtime64_r): Add.
1151 (__localtime64_r): Add.
1152 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1154 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1156 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1157 kernel_sigction definition.
1159 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1161 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1163 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1164 __syscall_rt_sigaction.
1165 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1166 (kernel_sigaction): Use Linux generic defintion.
1168 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1169 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1170 (__syscall_rt_sigaction): Remove implementation.
1171 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1173 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1174 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1175 INTERNAL_SYSCALL): Remove definitions.
1176 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1177 action and signal set size.
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1179 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1181 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1182 James Clarke <jrtc27@jrtc27.com>
1185 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1186 Define if SA_RESTORER is defined.
1187 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1188 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1190 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1191 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1193 (HAS_SA_RESTORER): Define.
1194 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1195 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1196 (HAS_SA_RESTORER): Define.
1197 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1198 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1199 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1200 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1201 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1203 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1205 * sysdeps/unix/sysv/linux/kernel-features.h
1206 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1208 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1209 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1210 (__ASSUME_ST_INO_64_BIT): Likewise.
1211 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1212 <kernel-features.h>.
1213 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1214 Remove conditional code.
1215 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1216 <kernel-features.h>.
1217 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1218 Remove conditional code.
1219 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1220 <kernel-features.h>.
1221 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1222 Remove conditional code.
1223 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1224 <kernel-features.h>.
1225 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1226 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1228 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1230 * sysdeps/s390/multiarch/ifunc-resolve.h
1231 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1232 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1233 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1234 Delete macro definition.
1235 (s390_libc_ifunc_init): Rename to
1236 s390_libc_ifunc_expr_stfle_init.
1237 * sysdeps/s390/bzero: Use
1238 s390_libc_ifunc_expr_stfle_init instead of
1239 s390_libc_ifunc_init.
1240 * sysdeps/s390/memcmp.c: Likewise.
1241 * sysdeps/s390/memcpy.c: Likewise.
1242 * sysdeps/s390/mempcpy.c: Likewise.
1243 * sysdeps/s390/memset.c: Likewise.
1245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1247 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1248 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1250 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1252 * sysdeps/s390/multiarch/Makefile
1253 (sysdep_routines): Remove wmemcmp variants.
1254 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1255 * sysdeps/s390/multiarch/ifunc-impl-list.c
1256 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1257 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1258 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1259 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1260 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1261 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1262 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1263 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1267 * sysdeps/s390/multiarch/Makefile
1268 (sysdep_routines): Remove wmemset variants.
1269 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1270 * sysdeps/s390/multiarch/ifunc-impl-list.c
1271 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1272 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1273 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1274 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1275 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1276 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1277 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1278 * sysdeps/s390/ifunc-wmemset.h: New file.
1280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1282 * sysdeps/s390/multiarch/Makefile
1283 (sysdep_routines): Remove wmemchr variants.
1284 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1285 * sysdeps/s390/multiarch/ifunc-impl-list.c
1286 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1287 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1288 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1289 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1290 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1291 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1292 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1293 * sysdeps/s390/ifunc-wmemchr.h: New file.
1295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1297 * sysdeps/s390/multiarch/Makefile
1298 (sysdep_routines): Remove wcscspn variants.
1299 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1300 * sysdeps/s390/multiarch/ifunc-impl-list.c
1301 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1302 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1303 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1304 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1305 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1306 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1307 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1308 * sysdeps/s390/ifunc-wcscspn.h: New file.
1310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1312 * sysdeps/s390/multiarch/Makefile
1313 (sysdep_routines): Remove wcspbrk variants.
1314 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1315 * sysdeps/s390/multiarch/ifunc-impl-list.c
1316 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1317 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1318 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1319 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1320 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1321 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1322 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1323 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1327 * sysdeps/s390/multiarch/Makefile
1328 (sysdep_routines): Remove wcsspn variants.
1329 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1330 * sysdeps/s390/multiarch/ifunc-impl-list.c
1331 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1332 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1333 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1334 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1335 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1336 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1337 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1338 * sysdeps/s390/ifunc-wcsspn.h: New file.
1340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1342 * sysdeps/s390/multiarch/Makefile
1343 (sysdep_routines): Remove wcsrchr variants.
1344 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1345 * sysdeps/s390/multiarch/ifunc-impl-list.c
1346 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1347 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1348 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1349 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1350 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1351 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1352 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1353 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1357 * sysdeps/s390/multiarch/Makefile
1358 (sysdep_routines): Remove wcschrnul variants.
1359 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1360 * sysdeps/s390/multiarch/ifunc-impl-list.c
1361 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1362 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1363 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1364 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1365 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1366 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1367 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1368 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1372 * sysdeps/s390/multiarch/Makefile
1373 (sysdep_routines): Remove wcschr variants.
1374 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1375 * sysdeps/s390/multiarch/ifunc-impl-list.c
1376 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1377 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1378 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1379 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1380 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1381 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1382 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1383 * sysdeps/s390/ifunc-wcschr.h: New file.
1385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1387 * sysdeps/s390/multiarch/Makefile
1388 (sysdep_routines): Remove wcsncmp variants.
1389 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1390 * sysdeps/s390/multiarch/ifunc-impl-list.c
1391 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1392 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1393 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1394 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1395 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1396 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1397 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1398 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1400 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1402 * sysdeps/s390/multiarch/Makefile
1403 (sysdep_routines): Remove wcscmp variants.
1404 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1405 * sysdeps/s390/multiarch/ifunc-impl-list.c
1406 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1407 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1408 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1409 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1410 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1411 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1412 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1413 * sysdeps/s390/ifunc-wcscmp.h: New file.
1415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1417 * sysdeps/s390/multiarch/Makefile
1418 (sysdep_routines): Remove wcsncat variants.
1419 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1420 * sysdeps/s390/multiarch/ifunc-impl-list.c
1421 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1422 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1423 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1424 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1425 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1426 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1427 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1428 * sysdeps/s390/ifunc-wcsncat.h: New file.
1430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1432 * sysdeps/s390/multiarch/Makefile
1433 (sysdep_routines): Remove wcscat variants.
1434 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1435 * sysdeps/s390/multiarch/ifunc-impl-list.c
1436 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1437 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1438 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1439 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1440 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1441 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1442 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1443 * sysdeps/s390/ifunc-wcscat.h: New file.
1445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1447 * sysdeps/s390/multiarch/Makefile
1448 (sysdep_routines): Remove wcpncpy variants.
1449 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1450 * sysdeps/s390/multiarch/ifunc-impl-list.c
1451 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1452 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1453 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1454 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1455 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1456 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1457 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1458 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1462 * sysdeps/s390/multiarch/Makefile
1463 (sysdep_routines): Remove wcsncpy variants.
1464 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1465 * sysdeps/s390/multiarch/ifunc-impl-list.c
1466 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1467 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1468 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1469 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1470 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1471 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1472 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1473 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1477 * sysdeps/s390/multiarch/Makefile
1478 (sysdep_routines): Remove wcpcpy variants.
1479 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1480 * sysdeps/s390/multiarch/ifunc-impl-list.c
1481 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1482 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1483 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1484 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1485 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1486 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1487 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1488 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1492 * sysdeps/s390/multiarch/Makefile
1493 (sysdep_routines): Remove wcscpy variants.
1494 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1495 * sysdeps/s390/multiarch/ifunc-impl-list.c
1496 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1497 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1498 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1499 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1500 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1501 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1502 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1503 * sysdeps/s390/ifunc-wcscpy.h: New file.
1505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1507 * sysdeps/s390/multiarch/Makefile
1508 (sysdep_routines): Remove wcsnlen variants.
1509 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1510 * sysdeps/s390/multiarch/ifunc-impl-list.c
1511 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1512 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1513 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1514 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1515 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1516 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1517 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1518 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1520 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1522 * sysdeps/s390/multiarch/Makefile
1523 (sysdep_routines): Remove wcslen variants.
1524 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1525 * sysdeps/s390/multiarch/ifunc-impl-list.c
1526 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1527 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1528 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1529 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1530 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1531 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1532 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1533 * sysdeps/s390/ifunc-wcslen.h: New file.
1535 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1537 * sysdeps/s390/multiarch/Makefile
1538 (sysdep_routines): Remove memrchr variants.
1539 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1540 * sysdeps/s390/multiarch/ifunc-impl-list.c
1541 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1542 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1543 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1544 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1545 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1546 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1547 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1548 * sysdeps/s390/ifunc-memrchr.h: New file.
1550 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1552 * sysdeps/s390/multiarch/Makefile
1553 (sysdep_routines): Remove memccpy variants.
1554 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1555 * sysdeps/s390/multiarch/ifunc-impl-list.c
1556 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1557 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1558 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1559 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1560 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1561 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1562 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1563 * sysdeps/s390/ifunc-memccpy.h: New file.
1565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1567 * sysdeps/s390/multiarch/Makefile
1568 (sysdep_routines): Remove rawmemchr variants.
1569 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1570 * sysdeps/s390/multiarch/ifunc-impl-list.c
1571 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1572 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1573 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1574 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1575 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1576 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1577 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1578 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1582 * sysdeps/s390/multiarch/Makefile
1583 (sysdep_routines): Remove memchr variants.
1584 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1585 * sysdeps/s390/multiarch/ifunc-impl-list.c
1586 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1587 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1588 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1589 * sysdeps/s390/multiarch/memchr.c: Move to ...
1590 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1591 * sysdeps/s390/ifunc-memchr.h: New file.
1592 * sysdeps/s390/s390-64/memchr.S: Move to ...
1593 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1594 for 31/64bit and ifunc handling.
1595 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1596 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1597 * sysdeps/s390/s390-32/memchr.S: Likewise.
1599 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1601 * sysdeps/s390/multiarch/Makefile
1602 (sysdep_routines): Remove strcspn variants.
1603 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1604 * sysdeps/s390/multiarch/ifunc-impl-list.c
1605 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1606 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1607 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1608 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1609 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1610 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1611 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1612 * sysdeps/s390/ifunc-strcspn.h: New file.
1614 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1616 * sysdeps/s390/multiarch/Makefile
1617 (sysdep_routines): Remove strpbrk variants.
1618 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1619 * sysdeps/s390/multiarch/ifunc-impl-list.c
1620 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1621 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1622 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1623 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1624 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1625 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1626 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1627 * sysdeps/s390/ifunc-strpbrk.h: New file.
1629 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1631 * sysdeps/s390/multiarch/Makefile
1632 (sysdep_routines): Remove strspn variants.
1633 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1634 * sysdeps/s390/multiarch/ifunc-impl-list.c
1635 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1636 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1637 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1638 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1639 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1640 * sysdeps/s390/multiarch/strspn.c: Move to ...
1641 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1642 * sysdeps/s390/ifunc-strspn.h: New file.
1644 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1646 * sysdeps/s390/multiarch/Makefile
1647 (sysdep_routines): Remove strrchr variants.
1648 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1649 * sysdeps/s390/multiarch/ifunc-impl-list.c
1650 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1651 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1652 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1653 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1654 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1655 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1656 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1657 * sysdeps/s390/ifunc-strrchr.h: New file.
1659 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1661 * sysdeps/s390/multiarch/Makefile
1662 (sysdep_routines): Remove strchrnul variants.
1663 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1664 * sysdeps/s390/multiarch/ifunc-impl-list.c
1665 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1666 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1667 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1668 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1669 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1670 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1671 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1672 * sysdeps/s390/ifunc-strchrnul.h: New file.
1674 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1676 * sysdeps/s390/multiarch/Makefile
1677 (sysdep_routines): Remove strchr variants.
1678 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1679 * sysdeps/s390/multiarch/ifunc-impl-list.c
1680 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1681 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1682 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1683 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1684 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1685 * sysdeps/s390/multiarch/strchr.c: Move to ...
1686 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1687 * sysdeps/s390/ifunc-strchr.h: New file.
1689 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1691 * sysdeps/s390/multiarch/Makefile
1692 (sysdep_routines): Remove strncmp variants.
1693 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1694 * sysdeps/s390/multiarch/ifunc-impl-list.c
1695 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1696 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1697 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1698 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1699 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1700 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1701 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1702 * sysdeps/s390/ifunc-strncmp.h: New file.
1704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1706 * sysdeps/s390/multiarch/Makefile
1707 (sysdep_routines): Remove strcmp variants.
1708 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1709 * sysdeps/s390/multiarch/ifunc-impl-list.c
1710 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1711 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1712 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1713 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1714 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1715 * sysdeps/s390/ifunc-strcmp.h: New file.
1716 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1717 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1718 for 31/64bit and ifunc handling.
1719 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1720 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1721 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1723 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1725 * sysdeps/s390/multiarch/Makefile
1726 (sysdep_routines): Remove strncat variants.
1727 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1728 * sysdeps/s390/multiarch/ifunc-impl-list.c
1729 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1730 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1731 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1732 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1733 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1734 * sysdeps/s390/multiarch/strncat.c: Move to ...
1735 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1736 * sysdeps/s390/ifunc-strncat.h: New file.
1738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1740 * sysdeps/s390/multiarch/Makefile
1741 (sysdep_routines): Remove strcat variants.
1742 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1743 * sysdeps/s390/multiarch/ifunc-impl-list.c
1744 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1745 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1746 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1747 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1748 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1749 * sysdeps/s390/multiarch/strcat.c: Move to ...
1750 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1751 * sysdeps/s390/ifunc-strcat.h: New file.
1753 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1755 * sysdeps/s390/multiarch/Makefile
1756 (sysdep_routines): Remove stpncpy variants.
1757 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1758 * sysdeps/s390/multiarch/ifunc-impl-list.c
1759 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1760 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1761 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1762 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1763 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1764 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1765 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1766 * sysdeps/s390/ifunc-stpncpy.h: New file.
1768 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1770 * sysdeps/s390/multiarch/Makefile
1771 (sysdep_routines): Remove strncpy variants.
1772 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1773 * sysdeps/s390/multiarch/ifunc-impl-list.c
1774 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1775 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1776 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1777 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1778 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1779 * sysdeps/s390/ifunc-strncpy.h: New file.
1780 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1781 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1782 and adjust ifunc handling.
1783 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1784 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1785 and adjust ifunc handling.
1786 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1787 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1791 * sysdeps/s390/multiarch/Makefile
1792 (sysdep_routines): Remove stpcpy variants.
1793 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1794 * sysdeps/s390/multiarch/ifunc-impl-list.c
1795 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1796 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1797 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1798 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1799 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1800 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1801 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1802 * sysdeps/s390/ifunc-stpcpy.h: New file.
1804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1806 * sysdeps/s390/multiarch/Makefile
1807 (sysdep_routines): Remove strcpy variants.
1808 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1809 * sysdeps/s390/multiarch/ifunc-impl-list.c
1810 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1811 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1812 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1813 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1814 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1815 * sysdeps/s390/ifunc-strcpy.h: New file.
1816 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1817 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1818 for 31/64bit and ifunc handling.
1819 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1820 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1821 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1823 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1825 * sysdeps/s390/multiarch/Makefile
1826 (sysdep_routines): Remove strnlen variants.
1827 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1828 * sysdeps/s390/multiarch/ifunc-impl-list.c
1829 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1830 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1831 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1832 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1833 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1834 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1835 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1836 * sysdeps/s390/ifunc-strnlen.h: New file.
1838 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1840 * sysdeps/s390/multiarch/Makefile
1841 (sysdep_routines): Remove strlen variants.
1842 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1843 * sysdeps/s390/multiarch/ifunc-impl-list.c
1844 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1845 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1846 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1847 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1848 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1849 * sysdeps/s390/multiarch/strlen.c: Move to ...
1850 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1851 * sysdeps/s390/ifunc-strlen.h: New file.
1853 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1855 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1856 * sysdeps/s390/multiarch/ifunc-impl-list.c
1857 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1858 * sysdeps/s390/ifunc-memmem.h: New file.
1859 * sysdeps/s390/memmem.c: Likewise.
1860 * sysdeps/s390/memmem-c.c: Likewise.
1861 * sysdeps/s390/memmem-vx.c: Likewise.
1863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1865 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1866 * sysdeps/s390/multiarch/ifunc-impl-list.c
1867 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1868 * sysdeps/s390/ifunc-strstr.h: New file.
1869 * sysdeps/s390/strstr.c: Likewise.
1870 * sysdeps/s390/strstr-c.c: Likewise.
1871 * sysdeps/s390/strstr-vx.c: Likewise.
1873 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1875 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1876 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1877 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1878 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1880 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1881 * sysdeps/s390/memmove-c.c: New file.
1882 * sysdeps/s390/memmove.c: Likewise.
1883 * sysdeps/s390/multiarch/ifunc-impl-list.c
1884 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1888 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1889 * sysdeps/s390/configure.ac: Add check for z13 support.
1890 * sysdeps/s390/configure: Regenerated.
1892 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1894 * sysdeps/s390/memcopy.h: New file.
1896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1898 * sysdeps/s390/s390-32/bcopy.S: Remove.
1899 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1903 * sysdeps/s390/ifunc-memcpy.h: New File.
1904 * sysdeps/s390/memcpy.S: Move to ...
1905 * sysdeps/s390/memcpy-z900.S ... here.
1906 Move implementations from memcpy-s390x.s to here.
1907 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1908 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1909 Remove memcpy/mempcpy variants.
1910 * sysdeps/s390/Makefile (sysdep_routines):
1911 Add memcpy/mempcpy variants.
1912 * sysdeps/s390/multiarch/ifunc-impl-list.c
1913 (__libc_ifunc_impl_list): Adjust ifunc variants for
1915 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1917 * sysdeps/s390/memcpy.c: ... here.
1918 Adjust ifunc variants for memcpy.
1919 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1920 * sysdeps/s390/mempcpy.c: ... here.
1921 Adjust ifunc variants for mempcpy.
1922 * sysdeps/s390/mempcpy.S: Delete file.
1924 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1926 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1927 * sysdeps/s390/memcpy.S: ... here.
1928 Adjust to be usable for 31/64bit.
1929 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1930 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1931 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1932 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1933 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1934 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1935 Adjust to be usable for 31/64bit.
1936 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1937 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1938 * sysdeps/s390/multiarch/memcpy.c: ... here.
1939 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1943 * sysdeps/s390/ifunc-memcmp.h: New File.
1944 * sysdeps/s390/memcmp.S: Move to ...
1945 * sysdeps/s390/memcmp-z900.S ... here.
1946 Move implementations from memcmp-s390x.s to here.
1947 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1948 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1949 Remove memcmp variants.
1950 * sysdeps/s390/Makefile (sysdep_routines):
1951 Add memcmp variants.
1952 * sysdeps/s390/multiarch/ifunc-impl-list.c
1953 (__libc_ifunc_impl_list): Adjust ifunc variants for
1955 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1957 * sysdeps/s390/memcmp.c: ... here.
1958 Adjust ifunc variants for memcmp.
1960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1962 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1963 * sysdeps/s390/memcmp.S: ... here.
1964 Adjust to be usable for 31/64bit.
1965 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1966 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1967 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1969 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1970 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1971 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1972 Adjust to be usable for 31/64bit.
1973 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1974 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1975 * sysdeps/s390/multiarch/memcmp.c: ... here.
1976 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1980 * sysdeps/s390/s390-32/bzero.S: Delete file.
1981 * sysdeps/s390/s390-64/bzero.S: Likewise.
1982 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
1983 * sysdeps/s390/bzero.c: New file.
1984 * sysdeps/s390/memset-z900.S: Add bzero entry points.
1985 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
1986 * sysdeps/s390/multiarch/ifunc-impl-list.c
1987 (__libc_ifunc_impl_list): Add bzero ifunc variants.
1989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1991 * sysdeps/s390/ifunc-memset.h: New File.
1992 * sysdeps/s390/memset.S: Move to ...
1993 * sysdeps/s390/memset-z900.S ... here.
1994 Move implementations from memset-s390x.s to here.
1995 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
1996 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1997 Remove memset variants.
1998 * sysdeps/s390/Makefile (sysdep_routines):
1999 Add memset variants.
2000 * sysdeps/s390/multiarch/ifunc-impl-list.c
2001 (__libc_ifunc_impl_list): Adjust ifunc variants for
2003 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2005 * sysdeps/s390/memset.c: ... here.
2006 Adjust ifunc variants for memset.
2008 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2010 * sysdeps/s390/s390-64/memset.S: Move to ...
2011 * sysdeps/s390/memset.S: ... here.
2012 Adjust to be usable for 31/64bit.
2013 * sysdeps/s390/s390-32/memset.S: Delete File.
2014 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2015 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2017 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2018 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2019 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2020 Adjust to be usable for 31/64bit.
2021 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2022 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2023 * sysdeps/s390/multiarch/memset.c: ... here.
2024 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2026 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2028 * sysdeps/s390/multiarch/ifunc-resolve.h
2029 (s390_libc_ifunc_init, s390_libc_ifunc,
2030 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2034 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2035 * sysdeps/s390/configure.ac: Add check for z10 support.
2036 * sysdeps/s390/configure: Regenerated.
2038 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2040 * sysdeps/i386/atomic-machine.h: Merged with ...
2041 * sysdeps/x86_64/atomic-machine.h: To ...
2042 * sysdeps/x86/atomic-machine.h: This. New file.
2044 2018-12-18 Florian Weimer <fweimer@redhat.com>
2046 Rewrite locale/gen-translit.pl in Python.
2047 * locale/Makefile (generated): Add C-translit.h.
2048 (before-compile): Add $(objpfx)C-translit.h.
2049 (C-translit.h): Move to $(objpfx). Create target directory.
2050 Build using Python script.
2051 * locale/gen-translit.py: New file.
2052 * locale/gen-translit.pl: Remove file.
2053 * locale/C-translit.h.in: Change comment character to '#' for
2054 easier parsing without a C preprocessor.
2055 * locale/C-translit.h: Remove generated file.
2056 * manual/install.texi (Tools for Compilation): Do not mention
2058 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2059 Remove locale/C-translit.h.
2060 * scripts/update-copyrights: Likewise.
2061 * INSTALL: Regenerate.
2063 2018-12-18 Florian Weimer <fweimer@redhat.com>
2066 * localedata/locales/bi_VU: Remove executable bit from file.
2068 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2071 (__localtime64): Add.
2072 * manual/maint.texi: Document Y2038 symbol handling.
2074 (__localtime64): Add.
2075 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2077 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2079 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2082 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2083 to allow extra macros from first or second sources.
2084 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2085 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2086 (tests-special): Add $(objpfx)tst-mman-consts.out.
2087 ($(objpfx)tst-mman-consts.out): New makefile target.
2089 2018-12-17 Mao Han <han_mao@c-sky.com>
2091 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2092 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2093 without stat64 system call support.
2094 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2095 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2096 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2097 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2098 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2099 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2100 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2101 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2102 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2103 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2104 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2106 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2108 regex: fix storage-exhaustion error
2110 * posix/regexec.c (get_subexp):
2111 Do not continue if storage is exhausted.
2113 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2115 regex: fix heap-use-after-free error
2117 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2118 https://debbugs.gnu.org/32592
2119 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2120 call extend_buffers which reallocates the re_string_t internal buffer.
2121 Local variable 'buf' was not updated in such case, resulting in
2123 * posix/regexec.c (get_subexp): Update 'buf' after call to
2126 2018-12-15 Florian Weimer <fweimer@redhat.com>
2128 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2129 (minimum_stride_size): Use it.
2130 (support_blob_repeat_allocate): Likewise.
2132 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2134 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2139 2018-12-14 Florian Weimer <fweimer@redhat.com>
2141 * manual/process.texi (Process Creation Concepts): Remove
2142 documentation of process (ID) lifetime. List more process
2143 creation functions. Reference Process Identification section.
2144 (Process Identification): Add information about process ID
2145 lifetime. Describe Linux thread/task IDs.
2146 * manual/signal.texi (Signaling Another Process): Mention that the
2147 signal is always sent to the process.
2149 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2151 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2152 and tst-ldbl-efgcvt.
2153 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2154 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2155 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2156 (fcvt_tests, output_error, output_r_error, do_test): Use the
2157 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2158 select the type of floating-point variables and arguments; to
2159 produce extra tests for double and conversion specifiers for
2160 printf; and to set the names of called functions.
2161 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2162 in tst-efgcvt-template.c.
2163 * misc/tst-ldbl-efgcvt.c: Likewise.
2165 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2167 * nss/Makefile (tst-nss-test3.out): New rule.
2169 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2171 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2174 2018-12-13 fanjinke <fanjinke@hygon.cn>
2176 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2179 2018-12-13 Andreas Schwab <schwab@suse.de>
2182 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2183 (__pthread_rwlock_rdlock_full): Update expected value for
2184 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2185 * nptl/tst-rwlock-pwn.c: New file.
2186 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2188 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2190 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2193 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2195 * benchtests/scripts/compare_bench.py (do_compare): write to
2196 stderr in casestat is not present.
2197 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2198 stderr in case timings field is not present. Also string showing
2199 the output filename goes into the stderr.
2201 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2203 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2204 and ZeroDivisorError exceptions.
2205 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2206 argument to loop through user provided statistics.
2207 * benchtests/scripts/compare_bench.py (main): Include the --stats
2210 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2212 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2215 2018-12-12 Florian Weimer <fweimer@redhat.com>
2217 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2218 clause to copyright header.
2220 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2223 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2224 registers saved in the stack frame.
2225 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2226 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2228 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2230 * include/bits/monetary-ldbl.h: New file.
2231 * include/bits/printf-ldbl.h: Likewise.
2232 * include/bits/stdio-ldbl.h: Likewise.
2233 * include/bits/stdlib-ldbl.h: Likewise.
2234 * include/bits/syslog-ldbl.h: Likewise.
2235 * include/bits/wchar-ldbl.h: Likewise.
2237 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2239 * libio/libio.h: Remove redirection for _IO_vfprintf.
2241 2018-12-11 Andreas Schwab <schwab@suse.de>
2243 * Makerules: Remove all references to abilist-pattern.
2244 (update-all-abi): Simplify find expression.
2246 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2249 * math/auto-libm-test-in: Add new test case.
2250 * math/auto-libm-test-out-pow: Regenerated.
2251 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2253 2018-12-10 DJ Delorie <dj@redhat.com>
2256 * support/test-container.c: Move postclean step to before we
2259 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2261 * scripts/gen-as-const.py (main): Handle --python option.
2262 * scripts/gen-py-const.awk: Remove.
2263 * Makerules (py-const-script): Use gen-as-const.py.
2264 ($(py-const)): Likewise.
2265 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2266 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2267 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2268 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2269 ~PTHREAD_MUTEX_NO_ELISION_NP.
2270 * manual/README.pretty-printers: Update reference to
2273 * scripts/glibcextract.py: New file.
2274 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2275 or tempfile. Import glibcexctract.
2276 (compute_c_consts): Remove. Moved to glibcextract.py.
2277 (gen_test): Update reference to compute_c_consts.
2279 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2280 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2281 * sysdeps/unix/sysv/linux/Makefile
2282 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2283 Redirect stderr as well as stdout.
2285 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2288 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2289 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2290 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2291 ALWAYS_USE_VSYSCALL.
2292 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2293 ALWAYS_USE_VSYSCALL.
2294 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2295 ALWAYS_USE_VSYSCALL.
2297 2018-12-10 Florian Weimer <fweimer@redhat.com>
2300 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2301 offset instead of count for clarity. Fix typo in comment.
2302 (__old_getdents64): Keep track of previous offset. Use it to call
2304 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2305 that d_off is never zero.
2307 2018-12-10 Andreas Schwab <schwab@suse.de>
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2310 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2312 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2313 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2315 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2317 * timezone/private.h: Update from tzcode 2018g.
2318 * timezone/tzfile.h: Likewise.
2319 * timezone/tzselect.ksh: Likewise.
2320 * timezone/zdump.c: Likewise.
2321 * timezone/zic.c: Likewise.
2323 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2326 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2327 (do_test): Adjust buffer size and fix format.
2329 2018-12-07 DJ Delorie <dj@redhat.com>
2332 * malloc/tst-tcfree3.c: New.
2333 * malloc/Makefile: Add it.
2335 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2337 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2339 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2341 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2342 used as a mask for the mode argument of __vfscanf_internal and
2343 __vfwscanf_internal.
2344 * stdio-common/vfscanf-internal.c
2345 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2346 (__strtof128_internal): Define to __wcstof128_internal.
2347 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2348 __strtof128_internal or __wcstof128_internal when the format of
2349 long double is the same as _Float128.
2351 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2353 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2354 * posix/confstr.c (confstr): Rename to __confstr.
2355 (__confstr): Add hidden def.
2356 (confstr): Add weak alias for __confstr.
2357 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2360 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2362 * NEWS: Mention getcpu.
2363 * include/sched.h (__getcpu): New libc_hidden_proto.
2364 * manual/resource.texi: Document getcpu.
2365 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2366 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2367 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2368 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2369 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2370 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2371 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2372 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2373 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2374 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2375 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2376 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2377 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2379 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2381 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2390 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2391 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2392 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2393 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2394 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2395 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2396 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2397 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2398 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2399 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2400 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2403 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2405 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2407 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2409 2018-12-07 Florian Weimer <fweimer@redhat.com>
2412 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2413 * posix/Versions (GLIBC_2.29): Export
2414 posix_spawn_file_actions_addfchdir_np.
2415 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2416 * posix/spawn_faction_destroy.c
2417 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2418 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2419 and the field action.fchdir_action.
2420 * posix/tst-spawn-chdir.c (add_chdir): New function.
2421 (do_test): Add do_fchdir loop. Call add_chdir.
2422 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2423 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2424 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2425 posix_spawn_file_actions_addfchdir_np.
2426 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2428 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2430 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2431 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2433 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2435 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2437 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2439 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2441 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2443 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2444 (GLIBC_2.29): Likewise.
2445 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2446 (GLIBC_2.29): Likewise.
2447 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2448 (GLIBC_2.29): Likewise.
2449 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2450 (GLIBC_2.29): Likewise.
2451 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2454 (GLIBC_2.29): Likewise.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2456 (GLIBC_2.29): Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2458 (GLIBC_2.29): Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2460 (GLIBC_2.29): Likewise.
2461 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2463 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2465 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2467 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2470 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2472 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2474 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2477 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2479 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2480 trailing whitespace removed.
2481 * scripts/config.guess: Update to version 2018-11-28.
2482 * scripts/config.sub: Update to version 2018-11-28.
2483 * scripts/install-sh: Update to version 2018-03-11.20.
2484 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2485 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2487 2018-12-07 Florian Weimer <fweimer@redhat.com>
2491 * inet/tst-if_index-long.c: New file.
2492 * inet/Makefile (tests): Add tst-if_index-long.
2494 2018-12-07 Florian Weimer <fweimer@redhat.com>
2496 * support/check.h (support_record_failure_is_failed): Declare.
2497 * support/descriptors.h: New file.
2498 * support/support_descriptors.c: Likewise.
2499 * support/tst-support_descriptors.c: Likewise.
2500 * support/support_record_failure.c
2501 (support_record_failure_is_failed): New function.
2502 * support/Makefile (libsupport-routines): Add support_descriptors.
2503 (tests): Add tst-support_descriptors.
2505 2018-12-05 Zack Weinberg <zackw@panix.com>
2506 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2508 * stdio-common/vfprintf-internal.c
2509 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2510 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2512 and __no_long_double.
2513 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2514 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2515 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2516 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2517 and __nldbl_*syslog* functions.
2518 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2519 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2520 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2521 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2522 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2523 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2524 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2525 (__nldbl_vwprintf, __nldbl_wprintf):
2526 Directly call the appropriate __v*printf_internal routine, passing
2527 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2529 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2530 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2531 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2532 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2533 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2534 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2535 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2536 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2537 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2538 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2539 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2540 (__nldbl_syslog, __nldbl_vsyslog):
2541 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2542 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2544 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2547 2018-12-05 Zack Weinberg <zackw@panix.com>
2548 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2551 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2552 Moved here from debug/vsprintf_chk.c.
2553 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2554 and completion logic for the strfile to match exactly what
2555 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2556 _IO_str_init_static_internal instead of maxlen-1.
2557 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2558 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2559 __vsprintf_internal.
2561 * debug/vsprintf_chk.c (__vsprintf_chk)
2562 * debug/sprintf_chk.c (__sprintf_chk):
2563 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2564 'flags' argument is positive, and slen as maxlen. No need to lock
2565 the FILE and/or construct a temporary FILE. Minimize and normalize
2566 header inclusions and variable names. Do not libc_hidden_def anything.
2568 * debug/asprintf_chk.c (__asprintf_chk)
2569 * debug/dprintf_chk.c (__dprintf_chk)
2570 * debug/fprintf_chk.c (__fprintf_chk)
2571 * debug/fwprintf_chk.c (__fwprintf_chk)
2572 * debug/printf_chk.c (__printf_chk)
2573 * debug/snprintf_chk.c (__snprintf_chk)
2574 * debug/swprintf_chk.c (__swprintf_chk)
2575 * debug/vasprintf_chk.c (__vasprintf_chk)
2576 * debug/vdprintf_chk.c (__vdprintf_chk)
2577 * debug/vfprintf_chk.c (__vfprintf_chk)
2578 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2579 * debug/vprintf_chk.c (__vprintf_chk)
2580 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2581 * debug/vswprintf_chk.c (__vswprintf_chk)
2582 * debug/vwprintf_chk.c (__vwprintf_chk)
2583 * debug/wprintf_chk.c (__wprintf_chk):
2584 Directly call the corresponding vxxprintf_internal function, passing
2585 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2586 the FILE and/or construct a temporary FILE. Minimize and normalize
2587 header inclusions and variable names. Do not libc_hidden_def anything.
2589 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2590 __obstack_vprintf_internal.
2591 (__obstack_vprintf_chk): Convert into a wrapper that calls
2592 __obstack_vprintf_internal (these two functions already had the
2593 same code) and move to new file...
2594 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2596 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2597 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2598 * debug/Makefile (routines): Add vobprintf_chk.
2600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2601 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2602 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2603 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2604 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2605 (__nldbl___obstack_vfprintf_chk):
2606 Directly call the corresponding vxxprintf_internal function,
2607 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2608 duplicate comparison of slen with 0 or maxlen from the corresponding
2609 non-__nldbl function.
2611 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2612 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2613 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2614 Remove libc_hidden_proto.
2616 * stdio-common/vfprintf-internal.c
2617 (__vfprintf_internal, __vfwprintf_internal):
2618 Do not check _IO_FLAGS2_FORTIFY.
2619 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2620 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2621 a comment explaining why it has the maxlen argument.
2622 (_IO_acquire_lock_clear_flags2_fct): Remove.
2623 (_IO_acquire_lock_clear_flags2): Remove.
2624 (_IO_release_lock): Remove conditional statement which will
2626 (_IO_acquire_lock): Remove variable which is now unused.
2627 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2628 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2630 * stdio-common/Makefile (tests): Add tst-bz11319 and
2631 tst-bz11319-fortify2.
2632 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2633 * stdio-common/tst-bz11319-fortify2.c: New file.
2634 * stdio-common/tst-bz11319.c: Likewise.
2636 2018-12-05 Zack Weinberg <zackw@panix.com>
2637 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2639 * misc/syslog.c: Include libioP.h, not iolibio.h.
2640 (__vsyslog_internal): New function with the former body of
2641 __vsyslog_chk; takes mode_flags argument same as
2642 __v*printf_internal. Call __vfprintf_internal directly.
2644 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2645 Remove libc_hidden_def.
2646 (__syslog, __syslog_chk): Use __vsyslog_internal.
2647 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2649 * include/sys/syslog.h: Add multiple inclusion guard.
2650 Add prototype for __vsyslog_internal.
2651 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2653 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2654 Use __vsyslog_internal.
2656 2018-12-05 Zack Weinberg <zackw@panix.com>
2657 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2659 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2660 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2661 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2663 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2664 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2666 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2667 Include wctype.h here if COMPILE_WPRINTF is defined.
2668 Define __vfprintf_internal or __vfwprintf_internal, depending
2670 Temporarily, on entry to this function, update mode_flags
2671 according to the environmental settings corresponding to
2672 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2673 Throughout, check mode_flags instead of __ldbl_is_dbl and
2674 _IO_FLAGS2_FORTIFY on the destination FILE.
2675 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2676 Include vfprintf-internal.c. Don't include wctype.h.
2677 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2678 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2680 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2681 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2683 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2685 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2686 and add mode_flags argument; use __vfprintf_internal.
2687 (__vdprintf): New function. Alias vdprintf to this.
2688 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2689 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2690 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2691 (__obstack_printf): Use __obstack_printf_internal.
2692 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2693 public aliases __vsnprintf and vsnprintf.
2694 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2696 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2697 public aliases _IO_vsprintf and vsprintf.
2698 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2699 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2700 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2701 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2702 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2704 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2705 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2706 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2707 * stdio-common/printf.c: Use __vfprintf_internal.
2709 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2710 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2711 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2714 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2715 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2716 __vfwprintf_internal.
2718 * libio/libio.h: Remove libc_hidden_proto and declaration for
2720 Remove declaration of _IO_vfwprintf.
2721 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2723 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2725 * include/stdio.h: Add prototype for __vasprintf.
2726 (__vsnprintf): Remove declaration, because there are no more
2728 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2729 declaration, because there are no more internal calls.
2731 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2732 __vsnprintf_internal, instead of _IO_vsnprintf.
2733 * argp/argp-help.c (__argp_error, __argp_failure): Use
2734 __vasprintf_internal, instead of _IO_vasprintf.
2735 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2736 redefine, because there are no more internal calls.
2738 2018-12-05 Zack Weinberg <zackw@panix.com>
2739 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2741 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2742 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2743 Include libio/strfile.h instead of libioP.h.
2744 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2745 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2746 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2747 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2748 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2749 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2750 necessary. Do not set __no_long_double. Normalize variable names.
2751 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2752 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2753 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2754 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2755 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2756 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2757 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2758 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2759 Do not set __no_long_double. Normalize variable names.
2761 2018-12-05 Zack Weinberg <zackw@panix.com>
2762 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2764 * stdio-common/isoc99_scanf.c
2765 * stdio-common/isoc99_fscanf.c
2766 * stdio-common/isoc99_sscanf.c
2767 * stdio-common/isoc99_vscanf.c
2768 * stdio-common/isoc99_vfscanf.c
2769 * stdio-common/isoc99_vsscanf.c
2770 * wcsmbs/isoc99_wscanf.c
2771 * wcsmbs/isoc99_fwscanf.c
2772 * wcsmbs/isoc99_swscanf.c
2773 * wcsmbs/isoc99_vwscanf.c
2774 * wcsmbs/isoc99_vfwscanf.c
2775 * wcsmbs/isoc99_vswscanf.c:
2776 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2777 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2778 No need to lock and unlock the FILE passed to that function.
2780 * stdio-common/vfscanf-internal.c
2781 (__vfscanf_internal, __vfwscanf_internal):
2782 Don't look at _IO_FLAGS2_SCANF_STD.
2783 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2784 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2785 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2787 2018-12-05 Zack Weinberg <zackw@panix.com>
2788 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2790 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2791 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2792 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2793 * libio/strfile.h: Add multiple inclusion guard.
2794 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2796 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2797 consistency with the other version of this file.
2798 (ldbl_compat_symbol): New macro.
2799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2802 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2803 Define __vfscanf_internal or __vfwscanf_internal, depending on
2804 COMPILE_WSCANF; don't define any other public symbols.
2805 Remove errval and code to set errp.
2806 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2807 as the mode_flags argument.
2808 (encode_error, conv_error, input_error): Don't set errval.
2809 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2810 Include vfscanf-internal.c.
2811 * stdio-common/vfscanf.c: New file defining the public entry
2812 point vfscanf, which calls __vfscanf_internal.
2813 * stdio-common/vfwscanf.c: New file defining the public entry
2814 point vfwscanf, which calls __vfwscanf_internal.
2816 * stdio-common/iovfscanf.c: New file.
2817 * stdio-common/iovfwscanf.c: Likewise.
2819 * stdio-common/Makefile (routines): Add vfscanf-internal,
2820 vfwscanf-internal, iovfscanf, iovfwscanf.
2821 * stdio-common/Versions: Mention GLIBC_2.29, so that
2822 it can be used in SHLIB_COMPAT expressions.
2823 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2824 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2825 Call __vfscanf_internal, instead of _IO_vfscanf.
2826 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2828 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2831 * libio/iovsscanf.c: Clean up includes, when possible. Use
2832 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2833 __vfscanf_internal or __vfwscanf_internal directly.
2834 * libio/iovswscanf.c: Likewise.
2835 * libio/swscanf.c: Likewise.
2836 * libio/vscanf.c: Likewise.
2837 * libio/vwscanf.c: Likewise.
2838 * libio/wscanf.c: Likewise.
2839 * stdio-common/isoc99_fscanf.c: Likewise.
2840 * stdio-common/isoc99_scanf.c: Likewise.
2841 * stdio-common/isoc99_sscanf.c: Likewise.
2842 * stdio-common/isoc99_vfscanf.c: Likewise.
2843 * stdio-common/isoc99_vscanf.c: Likewise.
2844 * stdio-common/isoc99_vsscanf.c: Likewise.
2845 * stdio-common/scanf.c: Likewise.
2846 * stdio-common/sscanf.c: Likewise.
2847 * wcsmbs/isoc99_fwscanf.c: Likewise.
2848 * wcsmbs/isoc99_swscanf.c: Likewise.
2849 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2850 * wcsmbs/isoc99_vswscanf.c: Likewise.
2851 * wcsmbs/isoc99_vwscanf.c: Likewise.
2852 * wcsmbs/isoc99_wscanf.c: Likewise.
2854 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2857 (__tz_compute): Replace time_t with __time64_t.
2858 (__tz_convert): Replace time_t* with __time64_t.
2859 (__offtime): Replace time_t* with __time64_t.
2861 (__gmtime_r): Adjust call to __tz_convert.
2864 (__localtime_r): Likewise.
2865 (localtime): Likewise.
2866 * time/offtime.c: Replace time_t with __time64_t.
2867 * time/tzset.c: Likewise.
2869 2018-12-04 Joseph Myers <joseph@codesourcery.com>
2871 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2872 dynamic linker unless [$(run-built-tests) = yes].
2874 2018-12-03 DJ Delorie <dj@delorie.com>
2876 * support/test-container.c (check_for_unshare_hints): New.
2877 (main): Call it if unshare fails. Add support for "su" scriptlet
2880 2018-12-03 Joseph Myers <joseph@codesourcery.com>
2882 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2883 'START' to indicate that start text should be output.
2884 (gen_test): Likewise.
2885 (main): Generate 'START' for first symbol or '--' line, or at end
2886 of input if not previously generated.
2888 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2891 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2892 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2893 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2894 ALWAYS_USE_VSYSCALL.
2896 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2899 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2902 2018-12-03 Carlos O'Donell <carlos@redhat.com>
2905 * locale/programs/localedef.c: Declare boolean hard_links default true.
2906 (options): Add --no-hard-links option.
2907 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2908 * locale/programs/localedef.h: Declare prototype for hard_links.
2909 * locale/programs/locfile.c (write_locale_data): Don't use hard
2910 links if hard_links is false.
2912 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2914 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2916 (__cache_sysconf): Likewise.
2917 (init_cacheinfo): Likewise.
2918 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2919 populate COMMON_CPUID_INDEX_80000007 and
2920 COMMON_CPUID_INDEX_80000008.
2921 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2922 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2923 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2924 (init_cpu_features): Use _Static_assert on
2925 index_arch_Fast_Unaligned_Load.
2926 __get_cpuid_registers and __get_arch_feature. Updated for
2927 cpu_features_basic. Set stepping in cpu_features.
2928 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2929 (FEATURE_INDEX_2): New.
2930 (FEATURE_INDEX_MAX): Changed to enum.
2931 (COMMON_CPUID_INDEX_D_ECX_1): New.
2932 (COMMON_CPUID_INDEX_80000007): Likewise.
2933 (COMMON_CPUID_INDEX_80000008): Likewise.
2934 (cpuid_registers): Likewise.
2935 (cpu_features_basic): Likewise.
2936 (CPU_FEATURE_USABLE): Likewise.
2937 (bit_arch_XXX_Usable): Likewise.
2938 (cpu_features): Use cpuid_registers and cpu_features_basic.
2939 (bit_arch_XXX): Reweritten.
2940 (bit_cpu_XXX): Likewise.
2941 (index_cpu_XXX): Likewise.
2942 (reg_XXX): Likewise.
2943 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2945 (CHECK_CPU_FEATURE): New.
2946 (CHECK_CPU_FEATURE_USABLE): Likewise.
2947 (cpu_kinds): Likewise.
2948 (do_test): Print vendor, family, model and stepping. Check
2949 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2950 (TEST_FUNCTION): Removed.
2951 Include <support/test-driver.c> instead of
2952 "../../test-skeleton.c".
2953 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2954 Check POPCNT instead of POPCOUNT.
2955 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2957 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2959 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2960 there is no element in `consts'.
2962 2018-12-01 Florian Weimer <fweimer@redhat.com>
2964 * support/support_capture_subprocess.c
2965 (support_capture_subprocess): Check that pipe descriptors have
2966 expected values. Close original pipe descriptors in subprocess.
2968 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2971 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2972 attr with __pthread_default_barrierattr.
2973 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2974 attr with __pthread_default_condattr.
2975 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2976 attr with __pthread_default_mutexattr.
2977 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2978 attr with __pthread_default_rwlockattr.
2980 2018-12-01 Kemi Wang <kemi.wang@intel.com>
2982 * manual/tunables.texi (POSIX Thread Tunables): New node.
2983 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
2984 * nptl/nptl-init.c: Include pthread_mutex_conf.h
2985 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
2986 __pthread_tunables_init.
2987 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
2988 (max_adaptive_count): Define.
2989 * nptl/pthread_mutex_conf.c: New file.
2990 * nptl/pthread_mutex_conf.h: New file.
2991 * sysdeps/generic/adaptive_spin_count.h: New file.
2992 * sysdeps/nptl/dl-tunables.list: New file.
2993 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2994 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
2995 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
2998 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3001 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3002 * stdlib/on_exit.c (__on_exit): Likewise.
3003 * stdlib/Makefile (tests): Add tst-bz20544.
3004 * stdlib/tst-bz20544.c: New test.
3006 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3009 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3010 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3013 2018-11-30 Florian Weimer <fweimer@redhat.com>
3015 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3016 Extend error logging.
3017 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3020 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3022 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3023 __sigismember instead of sigismember.
3024 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3025 cancel_handler): New definitions.
3026 (do_system): Use posix_spawn instead of fork and execl and remove
3028 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3029 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3030 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3031 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3032 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3033 * sysdeps/unix/sysv/linux/system.c: Likewise.
3037 * NEWS: Add new semantic for atfork with popen and system.
3038 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3041 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3044 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3045 modification order when accessing reloc_result->addr.
3046 * include/link.h (reloc_result): Add field init.
3047 * nptl/Makefile (tests): Add tst-audit-threads.
3048 (modules-names): Add tst-audit-threads-mod1 and
3049 tst-audit-threads-mod2.
3050 Add rules to build tst-audit-threads.
3051 * nptl/tst-audit-threads-mod1.c: New file.
3052 * nptl/tst-audit-threads-mod2.c: Likewise.
3053 * nptl/tst-audit-threads.c: Likewise.
3054 * nptl/tst-audit-threads.h: Likewise.
3056 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3058 * scripts/gen-as-const.py: New file.
3059 * scripts/gen-as-const.awk: Remove.
3060 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3062 ($(objpfx)test-as-const-%.c): Likewise.
3064 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3066 * elf/dl-exception.c: Include <_itoa.h>.
3068 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3070 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3071 returned by __f_setlk.
3073 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3074 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3076 * elf/Makefile (tests-internal): Add tst-create_format1.
3077 * elf/dl-exception.c (_dl_exception_create_format): Support
3079 * elf/tst-create_format1.c: New file.
3081 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3083 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3084 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3086 * argp/argp-help.c (__argp_failure): Likewise.
3088 2018-11-29 Mao Han <han_mao@c-sky.com>
3090 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3091 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3092 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3093 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3094 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3095 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3096 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3097 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3098 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3099 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3100 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3101 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3102 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3103 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3104 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3105 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3106 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3107 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3108 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3109 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3110 (R_CKCORE_TLS_TPOFF32): New defines.
3112 2018-11-29 Florian Weimer <fweimer@redhat.com>
3114 * posix/Makefile (before-compile): Remove testcases.h and
3116 (generated): Add testcases.h and ptestcases.h.
3117 (testcases.h, ptestcases.h): Move to $(objpfx).
3118 (runtests.o): Add dependency on testcases.h.
3119 (runptests.o): Add dependency on ptestcases.h.
3120 * posix/testcases.h, posix/ptestcases.h: Remove files.
3121 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3122 not touch posix/testcases.h and posix/ptestcases.h.
3124 2018-11-28 Florian Weimer <fweimer@redhat.com>
3126 support: Add signal support to support_capture_subprocess_check.
3127 * support/capture_subprocess.h (support_capture_subprocess_check):
3128 Adjust comment and rename parameter.
3129 * support/support_capture_subprocess_check.c
3130 (print_actual_status): New function.
3131 (support_capture_subprocess_check): Support negative
3132 status_or_signal. Call print_actual_status.
3133 * support/tst-support_capture_subprocess.c (do_test): Call
3134 support_capture_subprocess_check.
3135 * libio/tst-vtables-common.c (termination_status)
3136 (init_termination_status): Remove.
3137 (check_for_termination): Adjust support_capture_subprocess_check
3139 (do_test): Remove call to init_termination_status.
3141 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3143 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3144 source directory instead of a copy.
3145 (CommandList.create_copy_dir): Remove.
3147 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3149 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3151 2018-11-28 Florian Weimer <fweimer@redhat.com>
3153 * support/support.h (support_quote_string): Do not use str
3156 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3158 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3159 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3161 2018-11-27 Florian Weimer <fweimer@redhat.com>
3163 * support/support.h (support_quote_string): Declare.
3164 * support/support_quote_string.c: New file.
3165 * support/tst-support_quote_string.c: Likewise.
3166 * support/Makefile (libsupport-routines): Add
3167 support_quote_string.
3168 (tests): Add tst-support_quote_string.
3170 2018-11-27 Florian Weimer <fweimer@redhat.com>
3174 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3175 descriptor leak in case of ENODEV error.
3177 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3180 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3181 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3184 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3186 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3187 Error for unknown lines.
3189 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3191 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3192 Touch additional files.
3194 2018-11-26 Florian Weimer <fweimer@redhat.com>
3197 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3200 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3204 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3205 SHARED. Include sysdep.h.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3207 ALWAYS_USE_VSYSCALL.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3209 ALWAYS_USE_VSYSCALL.
3211 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3214 * nptl/Makefile (tests-static): Add tst-cond11-static.
3216 * nptl/tst-cond11-static.c: New File.
3217 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3218 tst-affinity-static.
3220 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3222 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3223 (USE_VSYSCALL): Likewise.
3224 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3225 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3227 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3232 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3235 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3236 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3239 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3241 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3242 (tst-cet-legacy-1a-ARGS): New.
3243 ($(objpfx)tst-cet-legacy-1a): New target.
3244 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3246 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3248 * conform/conformtest.py (CompileSubTest.__init__): Set
3249 self.run_early to False.
3250 (ExecuteSubTest.__init__): Likewise.
3251 (HeaderTests.run): Try running all non-optional, non-XFAILed
3252 compilation tests in a single execution of the compiler.
3254 * conform/conformtest.py (CompileSubTest): New class.
3255 (ExecuteSubTest): Likewise.
3256 (ElementTest.run): Rename to gen_subtests. Append tests to
3257 self.subtests instead of running them.
3258 (ConstantTest.run): Likewise.
3259 (SymbolTest.run): Likewise.
3260 (TypeTest.run): Likewise.
3261 (TagTest.run): Likewise.
3262 (FunctionTest.run): Likewise.
3263 (VariableTest.run): Likewise.
3264 (MacroFunctionTest.run): Likewise.
3265 (MacroStrTest.run): Likewise.
3266 (HeaderTests.handle_test_line): Generate subtests for tests.
3267 (HeaderTests.run): Run subtests for tests.
3269 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3271 * math/Versions (GLIBC_2.29): Add pow.
3272 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3274 * math/w_pow.c: New file.
3275 * sysdeps/i386/fpu/w_pow.c: New file.
3276 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3278 and add necessary aliases.
3279 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3280 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3281 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3282 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3283 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3285 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3286 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3287 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3288 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3289 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3291 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3292 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3293 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3298 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3299 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3300 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3301 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3302 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3303 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3304 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3305 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3307 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3308 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3309 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3311 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3313 * math/Versions (GLIBC_2.29): Add log2.
3314 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3316 * math/w_log2.c: New file.
3317 * sysdeps/i386/fpu/w_log2.c: New file.
3318 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3319 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3320 and add necessary aliases.
3321 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3322 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3323 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3324 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3325 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3326 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3327 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3328 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3329 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3330 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3331 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3332 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3333 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3334 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3335 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3341 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3342 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3343 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3344 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3345 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3346 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3348 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3350 * math/Versions (GLIBC_2.29): Add log.
3351 * math/w_log_compat.c (__log_compat): Change to versioned compat
3353 * math/w_log.c: New file.
3354 * sysdeps/i386/fpu/w_log.c: New file.
3355 * sysdeps/ia64/fpu/e_log.S: Update.
3356 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3357 and add necessary aliases.
3358 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3359 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3360 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3361 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3362 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3363 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3364 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3365 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3366 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3367 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3368 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3369 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3370 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3371 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3372 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3378 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3379 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3380 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3381 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3382 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3383 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3384 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3386 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3388 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3389 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3391 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3393 * math/Versions (GLIBC_2.29): Add exp and exp2.
3394 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3395 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3396 * math/w_exp_compat.c (__exp_compat): Likewise.
3397 * math/w_exp.c: New file.
3398 * math/w_exp2.c: New file.
3399 * sysdeps/i386/fpu/w_exp.c: New file.
3400 * sysdeps/i386/fpu/w_exp2.c: New file.
3401 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3402 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3403 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3404 and add necessary aliases.
3405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3406 and add necessary aliases.
3407 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3408 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3409 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3410 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3411 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3412 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3413 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3414 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3415 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3416 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3419 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3421 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3428 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3429 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3430 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3431 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3432 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3433 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3434 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3435 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3436 (__ieee754_exp): Rename to __exp.
3437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3438 (__ieee754_exp): Rename to __exp.
3439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3440 (__ieee754_exp): Rename to __exp.
3441 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3443 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3445 2018-11-20 DJ Delorie <dj@redhat.com>
3447 * malloc/malloc.c (tcache_entry): Add key field.
3448 (tcache_put): Set it.
3449 (tcache_get): Likewise.
3450 (_int_free): Check for double free in tcache.
3451 * malloc/tst-tcfree1.c: New.
3452 * malloc/tst-tcfree2.c: New.
3453 * malloc/Makefile: Run the new tests.
3454 * manual/probes.texi: Document memory_tcache_double_free probe.
3456 * dlfcn/dlerror.c (check_free): Prevent double frees.
3458 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3460 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3462 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3464 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3465 in tests. Use names for format arguments.
3466 (ConstantTest.run): Likewise.
3467 (SymbolTest.run): Likewise.
3468 (TypeTest.run): Likewise.
3469 (TagTest.run): Likewise.
3470 (FunctionTest.run): Likewise.
3471 (VariableTest.run): Likewise.
3472 (MacroFunctionTest.run): Likewise.
3473 (MacroStrTest.run): Likewise.
3474 (HeaderTests.__init__): Set self.num_tests.
3475 (HeaderTests.handle_test_line): Set test.num. Increment
3478 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3480 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3481 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3484 2018-11-19 Mao Han <han_mao@c-sky.com>
3486 * scripts/config.guess: Update to version 2018-08-29.
3487 * scripts/config.sub: Update to version 2018-08-29.
3489 2018-11-19 Florian Weimer <fweimer@redhat.com>
3491 support: Print timestamps in timeout handler.
3492 * support/support_test_main.c (print_timestamp): New function.
3493 (signal_handler): Use it to print the termination time and the
3494 time of the last write to standard output.
3496 2018-11-16 Zack Weinberg <zackw@panix.com>
3497 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3499 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3500 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3502 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3503 and add flags argument. Check flags instead of __ldbl_is_dbl when
3504 deciding whether to set is_long_double.
3505 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3506 passing zero for flags argument.
3507 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3510 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3511 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3512 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3513 variable names. Remove libc_hidden_def/libc_hidden_proto from
3514 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3515 longer called from within the library.
3516 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3517 for __nldbl___vstrfmon_l, declare it explicitly.
3519 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3521 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3523 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3525 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3526 F_SETLK64, F_SETLKW64, respectively.
3527 * sysdeps/mach/hurd/f_setlk.c: New file.
3528 * sysdeps/mach/hurd/f_setlk.h: New file.
3529 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3531 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3532 (__libc_fcntl): Move non-flock operations to...
3533 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3534 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3536 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3538 mktime: DEBUG_MKTIME cleanup
3539 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3540 And it’s no longer needed now that glibc and Gnulib both have
3541 their own testing mechanisms for mktime.
3542 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3544 mktime: fix non-EOVERFLOW errno handling
3546 mktime was not properly reporting failures when the underlying
3547 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3548 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3549 The problem could happen on non-glibc platforms, with Gnulib.
3550 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3551 (tm_diff): ... this simpler function, which does not change errno.
3552 All callers changed to deal with errno themselves.
3553 (ranged_convert, __mktime_internal): Return failure immediately if
3554 the underlying function reports any failure other than EOVERFLOW.
3555 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3558 mktime: fix bug with Y2038 DST transition
3560 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3561 mishandle a DST transition that jumps over the Y2038 boundary.
3562 No such DST transitions are known so this is only a theoretical
3563 bug, but we might as well do things right.
3565 mktime: make more room for overflow
3567 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3568 This is so that we can add tm_diff results to a previous guess,
3569 which will be useful in a later patch.
3571 mktime: simplify offset guess
3573 * time/mktime.c (__mktime_internal): Omit excess precision.
3575 mktime: new test for mktime failure
3577 Based on a test suggested by Albert Aribaud in:
3578 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3579 * time/Makefile (tests): Add bug-mktime4.
3580 * time/bug-mktime4.c: New file.
3582 mktime: fix EOVERFLOW bug
3584 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3585 Include libc-config.h, not config.h, for __set_errno.
3586 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3588 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3590 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3591 __attribute_copy__ to copy attributes from name. Drop static qualifier
3592 to avoid warnings about leaf attribute not having effect on static
3595 2018-11-13 Florian Weimer <fweimer@redhat.com>
3597 * malloc/malloc.c (fastbin_push_entry): New function.
3598 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3599 (REMOVE_FB): Remove macro.
3600 (_int_malloc): Use fastbin_pop_entry and reindent.
3601 (_int_free): Use fastbin_push_entry.
3602 (malloc_consolidate): Use atomic_exchange_acquire.
3604 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3606 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3607 alias attribute, not with strong_alias.
3609 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3610 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3611 with additional parameter thread.
3612 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3613 in terms of __hidden_ver2.
3614 (hidden_tls_def): New macro.
3615 (libc_hidden_tls_def): Likewise.
3616 (rtld_hidden_tls_def): Likewise.
3617 (libm_hidden_tls_def): Likewise.
3618 (libmvec_hidden_tls_def): Likewise.
3619 (libresolv_hidden_tls_def): Likewise.
3620 (librt_hidden_tls_def): Likewise.
3621 (libdl_hidden_tls_def): Likewise.
3622 (libnss_files_hidden_tls_def): Likewise.
3623 (libnsl_hidden_tls_def): Likewise.
3624 (libnss_nisplus_hidden_tls_def): Likewise.
3625 (libutil_hidden_tls_def): Likewise.
3626 (libutil_hidden_tls_def): Likweise.
3627 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3628 libc_hidden_tls_def.
3629 (__sim_disabled_exceptions_thread): Likewise.
3630 (__sim_round_mode_thread): Likewise.
3632 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3633 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3634 copy attributes from name.
3636 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3638 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3639 Use __attribute_copy__ to copy attributes from name.
3641 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3642 with __hidden_ver1 call.
3643 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3644 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3645 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3646 (__cosf): Do not declare here.
3647 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3648 (__sincosf): Do not declare here.
3649 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3650 (__sinf): Do not declare here.
3652 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3653 (__BIG_ENDIAN): Likewise.
3654 (__BYTE_ORDER): Likewise.
3655 (strong_alias): Likewise.
3656 (_strong_alias): Likewise.
3658 2018-11-12 Florian Weimer <fweimer@redhat.com>
3660 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3661 function. Move after the definition of in_smallbin_range. Do not
3662 use __builtin_expect for paths that lead to a noreturn function.
3663 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3664 because it is unclear whether this is in fact an unlikely
3666 (_int_malloc, _int_free): Adjust.
3667 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3669 * malloc/arena.c (heap_trim): Likewise.
3671 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3673 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3674 it, free it if needed.
3675 (reauthenticate): Test and use ccwdir.
3676 (child_init_port): In non-resetids case, test and use ccwdir.
3677 (child_chdir): New nested function to set ccwdir.
3678 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3679 * hurd/hurd/port.h (_hurd_port_move): New function.
3680 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3681 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3682 * hurd/Versions (_hurd_port_move): Export function.
3683 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3685 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3686 of dtablesize for allocating dtable_cloexec.
3688 2018-11-09 Martin Sebor <msebor@redhat.com>
3690 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3691 it's already defined.
3692 (_strong_alias): Use __attribute_copy__.
3693 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3694 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3695 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3696 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3697 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3698 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3699 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3700 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3701 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3702 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3703 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3704 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3705 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3706 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3707 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3708 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3709 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3710 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3711 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3713 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3715 * misc/tst-efgcvt.c: Include support/check.h and
3716 support/test-driver.c. Do not include test-skeleton.c.
3717 (error_count): Remove.
3718 (output_error): Replace increments to error_count with calls to
3719 support_record_failure.
3720 (output_r_error): Likewise.
3721 (special): Likewise.
3722 (do_test): Unconditionally return zero.
3723 (TEST_FUNCTION): Remove.
3725 2018-11-09 Joseph Myers <joseph@codesourcery.com>
3727 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3729 ($(linknamespace-header-tests)): Likewise.
3731 * conform/conformtest.py: New file.
3732 * conform/conformtest.pl: Remove.
3733 * conform/GlibcConform.pm: Likewise.
3734 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3735 (KEYWORDS_C99): Likewise.
3736 (KEYWORDS): Likewise.
3737 * conform/Makefile ($(conformtest-header-tests)): Use
3738 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3739 option. Use --header instead of --headers.
3740 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3742 * conform/data/spawn.h-data: Likewise.
3743 * conform/data/fcntl.h-data (openat): Add space after function
3745 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3746 (wcscasecmp_l): Likewise.
3747 * conform/data/termios.h-data (c_cc): Add space after element
3750 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3752 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3753 instead of manually comparing and reporting mismatching strings.
3754 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3755 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3757 2018-11-08 Joseph Myers <joseph@codesourcery.com>
3759 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3760 __ASSUME_SOCKETCALL.
3761 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3762 (__ASSUME_SOCKETCALL): Remove.
3763 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3764 (__ASSUME_SOCKETCALL): Likewise.
3765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3766 (__ASSUME_SOCKETCALL): Likewise.
3767 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3768 (__ASSUME_SOCKETCALL): Likewise.
3769 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3770 (__ASSUME_SOCKETCALL): Likewise.
3771 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3772 (__ASSUME_SOCKETCALL): Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3774 (__ASSUME_SOCKETCALL): Likewise.
3776 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3779 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3780 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3781 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3782 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3783 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3786 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3789 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3791 2018-11-07 Joseph Myers <joseph@codesourcery.com>
3794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3795 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3796 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3797 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3799 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3801 * support/support_test_compare_string.c
3802 (support_test_compare_string): Fix printf format.
3804 2018-11-07 Florian Weimer <fweimer@redhat.com>
3806 Implement TEST_COMPARE_STRING.
3807 * support/check.h (TEST_COMPARE_STRING): Define.
3808 (support_test_compare_string): Declare.
3809 * support/Makefile (libsupport-routines): Add
3810 support_test_compare_string.
3811 (tests): Add tst-test_compare_string.
3812 * support/support_test_compare_string.c: New file.
3813 * support/tst-test_compare_string.c: Likewise.
3815 2018-11-07 Andreas Schwab <schwab@suse.de>
3818 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3819 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3822 2018-11-06 Joseph Myers <joseph@codesourcery.com>
3825 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3826 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3827 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3828 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3831 2018-11-06 Florian Weimer <fweimer@redhat.com>
3834 * posix/Makefile (routines): Add spawn_faction_addchdir.
3835 (tests): Add tst-spawn-chdir.
3836 * posix/Versions (GLIBC_2.29): Add
3837 posix_spawn_file_actions_addchdir_np.
3838 * posix/spawn_faction_addchdir.c: New file.
3839 * posix/spawn_faction_destroy.c
3840 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3841 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3842 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3844 * posix/tst-spawn-chdir.c: New file.
3845 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3846 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3847 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3848 posix_spawn_file_actions_addchdir_np.
3849 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3851 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3853 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3854 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3856 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3858 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3860 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3862 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3866 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3867 (GLIBC_2.29): Likewise.
3868 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3869 (GLIBC_2.29): Likewise.
3870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3871 (GLIBC_2.29): Likewise.
3872 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3873 (GLIBC_2.29): Likewise.
3874 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3877 (GLIBC_2.29): Likewise.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3879 (GLIBC_2.29): Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3881 (GLIBC_2.29): Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3883 (GLIBC_2.29): Likewise.
3884 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3886 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3890 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3893 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3895 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3900 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3902 * misc/Makefile (tests): Add tst-ldbl-error.
3903 * misc/tst-ldbl-error.c: New file.
3905 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3907 * misc/Makefile (tests): Add tst-ldbl-warn.
3908 * misc/tst-ldbl-warn.c: New file.
3910 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3912 * argp/Makefile (tests): Add tst-ldbl-argp.
3913 * argp/tst-ldbl-argp.c: New file.
3915 2018-11-05 Arjun Shankar <arjun@redhat.com>
3917 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3918 __gconv_path_elem and call __gconv_get_path unconditionally.
3920 2018-11-05 Andreas Schwab <schwab@suse.de>
3923 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3924 creating the first helper thread failed.
3926 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3928 * sysdeps/mach/hurd/msync.c: New file.
3930 2018-11-02 Florian Weimer <fweimer@redhat.com>
3932 * support/shell-container.c (copy_func): Call
3933 support_copy_file_range instead of copy_file_range to support
3934 cross-device copies.
3936 2018-11-02 Florian Weimer <fweimer@redhat.com>
3938 * support/test-container.c: Include <libc-pointer-arith.h> for
3941 2018-11-01 Zong Li <zong@andestech.com>
3943 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3944 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3945 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3946 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3948 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3949 variable to avoid overlap arguments.
3951 2018-11-01 Joseph Myers <joseph@codesourcery.com>
3953 * posix/bug-regex22.c (main): Use puts with distinct error
3954 messages for unexpected success of re_compile_pattern, not printf
3955 with NULL argument to %s.
3957 * stdio-common/bug22.c: Include <libc-diag.h>.
3958 (do_test): Disable -Wformat-overflow= warnings around fprintf
3959 calls outputting more than INT_MAX characters.
3960 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3961 around printf call with NULL %s argument.
3964 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3965 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3967 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3968 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3969 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3970 (__ASSUME_SENDTO_SYSCALL): Likewise.
3971 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3972 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3974 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3975 (__ASSUME_CONNECT_SYSCALL): Likewise.
3976 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3977 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3978 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3980 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
3982 [__LINUX_KERNEL_VERSION >= 0x040400]
3983 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3984 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
3987 (setsockopt): Likewise.
3989 2018-11-01 Fredrik Noring <noring@nocrew.org>
3991 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
3992 with the ISA override.
3994 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
3996 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
3999 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4001 * manual/errno.texi (EIEIO): Document how translators should
4002 translate the error message.
4003 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4004 printing trailing whitespaces refused by git.
4005 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4006 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4007 * hurd/Makefile (user-interfaces): Add pci.
4009 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4011 * conform/linknamespace.py: New file.
4012 * conform/linknamespace.pl: Remove file.
4013 * conform/Makefile ($(linknamespace-header-tests)): Use
4014 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4017 2018-10-30 Florian Weimer <fweimer@redhat.com>
4019 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4022 2018-10-30 Florian Weimer <fweimer@redhat.com>
4024 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4026 2018-10-30 Florian Weimer <fweimer@redhat.com>
4028 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4029 support_blob_repeat.
4031 2018-10-30 Florian Weimer <fweimer@redhat.com>
4033 Avoid spurious test failures in stdlib/test-bz22786.
4034 * support/Makefile (libsupport-routines): Add blob_repeat.
4035 (tests): Add tst-support_blob_repeat.
4036 * support/blob_repeat.h: New file.
4037 * support/blob_repeat.c: Likewise.
4038 * support/tst-support_blob_repeat.c: Likewise.
4039 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4040 support_blob_repeat_allocate.
4042 2018-10-30 Andreas Schwab <schwab@suse.de>
4045 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4046 Don't use tail call.
4047 * elf/tst-unwind-main.c: New file.
4048 * elf/Makefile (tests): Add tst-unwind-main.
4049 (CFLAGS-tst-unwind-main.c): Define.
4051 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4054 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4056 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4058 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4060 * conform/glibcconform.py: Do not import shutil.
4061 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4064 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4065 critic_missing for versions before 3.4.
4066 * configure: Regenerated.
4067 * manual/install.texi (Tools for Compilation): Document
4068 requirement for Python to build glibc.
4069 * INSTALL: Regenerated.
4070 * Rules [PYTHON]: Make code unconditional.
4071 * benchtests/Makefile [PYTHON]: Likewise.
4072 * conform/Makefile [PYTHON]: Likewise.
4073 * manual/Makefile [PYTHON]: Likewise.
4074 * math/Makefile [PYTHON]: Likewise.
4076 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4078 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4079 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4080 answer to interrupt_operation, return EIEIO instead of EINTR.
4081 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4082 _hurd_intr_rpc_msg_about_to global point to start of controlled
4083 assembly snippet. Make it check canceled flag.
4084 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4085 the _hurd_intr_rpc_msg_about_to point.
4086 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4087 issue, remove cancel flag check.
4089 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4091 * scripts/build-many-glibcs.py: Remove compatibility for missing
4092 os.cpu_count and re.fullmatch.
4094 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4097 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4098 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4099 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4101 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4103 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4106 2018-10-25 Florian Weimer <fweimer@redhat.com>
4110 XFAIL siginfo_t si_band conform test on sparc64.
4111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4112 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4114 (conformtest-xfail-conds): Add sparc64-linux.
4115 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4117 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4119 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4121 * elf/elf.h (NT_MIPS_DSP): New macro.
4122 (NT_MIPS_FP_MODE): Likewise.
4124 2018-10-25 Zong Li <zong@andestech.com>
4126 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4127 name by adding the file extension (.so).
4129 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4131 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4132 (test-xfail-ISO11/threads.h/linknamespace,
4133 test-xfail-ISO11/threads.h/conform): Add.
4135 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4137 * math/gen-libm-test.py: Import os.
4138 (ALL_FLOATS_MANUAL): New constant.
4139 (ALL_FLOATS_SUFFIX): Likewise.
4140 (Ulps.all_functions): New function.
4141 (real_all_ulps): Likewise.
4142 (generate_err_table_sub): Likewise.
4143 (generate_err_table): Likewise.
4144 (main): Handle -s and -m options.
4145 * manual/libm-err-tab.pl: Remove.
4146 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4147 instead of libm-err-tab.pl.
4148 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4150 * manual/install.texi (Tools for Compilation): Document
4151 requirement for Python to build manual.
4152 * INSTALL: Regenerated.
4154 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4156 * bits/time64.h: New file.
4157 * include/time.h: Replace internal_time_t with __time64_t.
4158 * posix/bits/types (__time64_t): Add.
4159 * stdlib/Makefile: Add bits/time64.h to includes.
4160 * time/tzfile.c: Replace internal_time_t with __time64_t.
4162 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4164 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4165 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4166 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4167 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4168 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4170 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4171 * posix/spawn_faction_addclose.c
4172 (__posix_spawn_file_actions_addclose): Add hidden definition.
4173 * posix/spawn_faction_adddup2.c
4174 (__posix_spawn_file_actions_adddup2): Likewise.
4175 * posix/spawn_faction_destroy.c
4176 (__posix_spawn_file_actions_destroy): Likewise.
4177 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4179 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4180 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4181 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4183 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4184 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4187 2018-10-24 Andreas Schwab <schwab@suse.de>
4190 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4192 * elf/cache.c (print_cache): Likewise.
4194 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4196 * bits/timesize.h: New file.
4197 * stdlib/Makefile (headers): Add bits/timesize.h.
4198 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4199 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4200 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4201 (__SEM_PAD_AFTER_TIME): Likewise.
4202 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4203 (__SHM_PAD_AFTER_TIME): Likewise.
4204 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4205 (__MSQ_PAD_BEFORE_TIME): Likewise.
4206 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4207 (__SEM_PAD_BEFORE_TIME): Likewise.
4208 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4209 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4210 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4211 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4213 (__MSQ_PAD_BEFORE_TIME): Likewise.
4214 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4215 (__SEM_PAD_BEFORE_TIME): Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4217 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4218 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4219 (__MSQ_PAD_BEFORE_TIME): Likewise.
4220 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4221 (__SEM_PAD_BEFORE_TIME): Likewise.
4222 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4223 (__SHM_PAD_BEFORE_TIME): Likewise.
4224 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4225 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4226 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4228 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4230 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4231 USE_RDTSCP is defined.
4232 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4233 USE_RDTSCP is defined.
4235 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4237 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4241 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4242 independently of other flags.
4244 2018-10-23 Florian Weimer <fweimer@redhat.com>
4246 * time/tst-mktime2.c (N_STRINGS): Remove.
4247 (set_timezone): New function.
4248 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4249 (mktime_test1): Report localtime failure and check errno value.
4251 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4252 (do_test): Remove alarm call. Use set_timezone and array_length.
4254 2018-10-23 Andreas Schwab <schwab@suse.de>
4256 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4257 (__start_context): Use END instead of PSEUDO_END.
4259 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4261 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4264 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4268 * wcsmbs/c32rtomb.c: New file.
4269 * wcsmbs/mbrtoc32.c: Likewise.
4270 * wcsmbs/tst-c32-state.c: Likewise.
4271 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4272 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4273 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4274 (tests): Add tst-c32-state.
4275 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4278 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4280 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4281 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4283 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4286 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4287 pair and return 0 in that case, and use saved character to
4288 interpret following character.
4289 * wcsmbs/tst-c16-surrogate.c: New file.
4290 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4291 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4292 Depend on $(gen-locales)
4294 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4297 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4298 (struct siginfo_t): Use correct type for si_band.
4300 2018-10-19 Florian Weimer <fweimer@redhat.com>
4303 * resource/bits/types/struct_rusage.h (struct rusage): Update
4304 comment on struct. Remove extraneous field comment.
4306 2018-10-18 David S. Miller <davem@davemloft.net>
4308 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4309 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4310 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4311 sysdep_routines in subdir elf.
4312 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4313 version for __vdso_clock_gettime.
4314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4316 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4317 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4319 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4321 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4323 * sysdeps/i386/init-arch.h: Removed.
4324 * sysdeps/i386/i586/init-arch.h: Likewise.
4325 * sysdeps/i386/i686/init-arch.h: Likewise.
4326 * sysdeps/i386/i686/hp-timing.h: Likewise.
4327 * sysdeps/x86_64/hp-timing.h: Likewise.
4328 * sysdeps/i386/isa.h: New file.
4329 * sysdeps/i386/i586/isa.h: Likewise.
4330 * sysdeps/i386/i686/isa.h: Likewise.
4331 * sysdeps/x86_64/isa.h: Likewise.
4332 * sysdeps/x86/hp-timing.h: New file.
4333 * sysdeps/x86/init-arch.h: Include <isa.h>.
4335 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4337 * math/libm-test-pow.inc (pow_test_data): Do not allow
4338 divide-by-zero exception for pow(+/- 0, -Inf).
4340 2018-10-17 Zack Weinberg <zackw@panix.com>
4342 * manual/job.texi (Job Control is Optional): Remove node, as
4343 job control has not been optional in quite some time.
4344 (Job Control): Mention briefly that systems older than
4345 POSIX.1-2001 might not support job control.
4346 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4347 defined on systems conforming to POSIX.1-2001.
4349 2018-10-17 Arjun Shankar <arjun@redhat.com>
4352 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4354 * (__gconv_read_conf): Mark function static.
4355 * (once): New static variable.
4356 * (__gconv_load_conf): New function.
4357 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4358 * iconv/gconv_db.c (once): Remove static variable.
4359 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4361 * (__gconv_find_transform): Likewise.
4362 * iconv/tst-iconv-mt.c: New test.
4363 * iconv/Makefile: Add tst-iconv_mt.
4365 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4369 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4370 (shmatt_t): Define as __syscall_ulong_t.
4371 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4372 and [__SHM_PAD_AFTER_TIME].
4373 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4374 Define shm_segsz and associated padding based on
4375 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4376 Use __syscall_ulong_t instead of unsigned long int.
4377 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4379 [__USE_MISC] (struct shm_info): Likewise.
4380 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4381 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4382 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4384 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4385 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4386 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4387 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4390 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4394 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4395 (SHMLBA): Remove macro.
4396 (__getpagesize): Remove function declaration.
4397 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4399 (SHMLBA): Remove macro.
4400 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4402 (SHMLBA): Remove macro.
4403 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4405 (SHMLBA): Remove macro.
4406 (__getpagesize): Remove function declaration.
4407 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4409 (SHMLBA): Remove macro.
4410 (__getshmlba): Remove function declaration.
4411 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4412 (SHMLBA): Remove macro.
4413 (__getpagesize): Remove function declaration.
4414 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4415 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4416 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4417 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4418 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4419 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4420 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4421 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4425 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4428 * nptl/tst-mutex10.c: New File.
4429 * nptl/Makefile (tests): Add tst-mutex10.
4430 (tst-mutex10-ENV): New variable.
4431 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4432 Ensure that elision path is used if elision is available.
4433 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4435 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4437 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4438 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4439 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4440 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4442 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4443 (__pthread_mutex_cond_lock_adjust): Likewise.
4444 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4446 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4447 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4448 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4449 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4451 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4452 Use atomic_load_relaxed and atomic_store_relaxed.
4453 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4454 Use atomic_store_relaxed.
4456 2018-10-17 Andreas Schwab <schwab@suse.de>
4458 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4459 * crypt/badsalttest.c (TIMEOUT): Likewise.
4460 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4461 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4462 * io/test-lfs.c (TIMEOUT): Likewise.
4463 * libio/tst-atime.c (TIMEOUT): Likewise.
4464 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4465 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4466 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4467 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4468 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4469 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4470 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4471 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4472 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4473 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4474 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4475 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4476 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4477 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4478 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4479 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4480 * nptl/tst-once2.c (TIMEOUT): Likewise.
4481 * nptl/tst-once3.c (TIMEOUT): Likewise.
4482 * nptl/tst-once4.c (TIMEOUT): Likewise.
4483 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4484 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4485 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4486 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4487 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4488 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4489 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4490 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4491 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4492 * posix/tst-chmod.c (TIMEOUT): Likewise.
4493 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4494 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4495 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4496 * posix/tst-regex2.c (TIMEOUT): Likewise.
4497 * posix/tst-waitid.c (TIMEOUT): Likewise.
4498 * rt/tst-aio.c (TIMEOUT): Likewise.
4499 * rt/tst-aio10.c (TIMEOUT): Likewise.
4500 * rt/tst-aio4.c (TIMEOUT): Likewise.
4501 * rt/tst-aio5.c (TIMEOUT): Likewise.
4502 * rt/tst-aio6.c (TIMEOUT): Likewise.
4503 * rt/tst-aio64.c (TIMEOUT): Likewise.
4504 * rt/tst-aio7.c (TIMEOUT): Likewise.
4505 * rt/tst-aio9.c (TIMEOUT): Likewise.
4506 * rt/tst-clock.c (TIMEOUT): Likewise.
4507 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4508 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4509 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4510 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4511 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4512 * rt/tst-timer4.c (TIMEOUT): Likewise.
4513 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4514 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4515 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4516 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4517 * time/tst-ftime.c (TIMEOUT): Likewise.
4518 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4520 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4522 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4523 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4526 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4530 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4531 instead of <bits/wordsize.h>.
4532 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4533 and [__SEM_PAD_AFTER_TIME].
4534 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4535 __syscall_ulong_t instead of unsigned long int.
4536 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4537 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4538 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4539 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4540 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4541 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4542 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4543 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4544 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4546 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4548 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4550 regex: simplify by using intprops.h
4552 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4553 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4554 intprops.h defines them.
4556 regex: __builtin_expect → __glibc_unlikely
4558 This refactoring was prompted by a problem when the regex code is
4559 used as part of Gnulib and when the builder’s compiler does not grok
4560 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4561 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4562 Although this refactoring does not fix the problem directly,
4563 we might as well have Gawk use the now-preferred glibc style for when
4564 __builtin_expect is unavailable.
4565 * posix/regex_internal.h (BE): Remove.
4566 All uses replaced by __glibc_unlikely or __glibc_likely.
4568 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4572 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4573 instead of <bits/wordsize.h>.
4574 (msgqnum_t): Define as __syscall_ulong_t.
4575 (msglen_t): Likewise.
4576 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4577 and [__MSQ_PAD_AFTER_TIME].
4578 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4579 __syscall_ulong_t instead of unsigned long int.
4580 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4581 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4582 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4584 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4585 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4586 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4587 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4588 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4589 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4590 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4592 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4594 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4595 (struct shmid_ds): Condition padding after time fields on
4597 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4598 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4599 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4601 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4602 (struct semid_ds): Condition padding after time fields on
4604 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4605 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4606 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4609 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4610 (struct msqid_ds): Condition padding after time fields on
4612 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4613 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4614 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4615 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4617 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4619 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4621 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4623 * libio/tst-readline.c (TIMEOUT): Define.
4625 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4627 mktime fix for Gnulib + coreutils
4629 This fix affects only Gnulib. Problem discovered when
4630 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4632 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4633 Do not define since it is not used. Defining an unused static
4634 function prompts a warning from GCC when Coreutils is configured
4635 with --enable-gcc-warnings.
4637 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4639 * benchtests/scripts/compare_bench.py (main): set float type on
4642 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4645 * localedata/locales/kl_GL (mon): Update, the relative case.
4646 (alt_mon): Add, fill with month names in the nominative case.
4647 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4648 (d_fmt): Set to "%b %d %Y".
4650 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4653 <bits/mman-linux.h>.
4654 (PROT_READ): Don't define here.
4655 (PROT_WRITE): Likewise.
4656 (PROT_EXEC): Likewise.
4657 (PROT_NONE): Likewise.
4658 (PROT_GROWSDOWN): Likewise.
4659 (PROT_GROWSUP): Likewise.
4660 (MAP_SHARED): Likewise.
4661 (MAP_PRIVATE): Likewise.
4662 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4663 [__USE_MISC] (MAP_FILE): Likewise.
4664 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4665 [__USE_MISC] (MAP_ANON): Likewise.
4666 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4667 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4668 (MCL_CURRENT): Likewise.
4669 (MCL_FUTURE): Likewise.
4670 (MCL_ONFAULT): Likewise.
4671 [__USE_MISC] (MADV_NORMAL): Likewise.
4672 [__USE_MISC] (MADV_RANDOM): Likewise.
4673 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4674 [__USE_MISC] (MADV_WILLNEED): Likewise.
4675 [__USE_MISC] (MADV_DONTNEED): Likewise.
4676 [__USE_MISC] (MADV_FREE): Likewise.
4677 [__USE_MISC] (MADV_REMOVE): Likewise.
4678 [__USE_MISC] (MADV_DONTFORK): Likewise.
4679 [__USE_MISC] (MADV_DOFORK): Likewise.
4680 [__USE_MISC] (MADV_HWPOISON): Likewise.
4681 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4682 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4683 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4684 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4685 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4686 (__MAP_ANONYMOUS): New macro.
4687 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4688 <bits/mman-linux.h> inclusion.
4689 (MAP_FIXED): Likewise.
4690 (MS_SYNC): Likewise.
4691 (MS_ASYNC): Likewise.
4692 (MS_INVALIDATE): Likewise.
4693 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4694 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4695 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4696 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4697 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4698 [__USE_MISC] (MADV_DODUMP): Likewise.
4699 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4700 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4705 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4706 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4707 Add test-nldbl-redirect.
4708 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4709 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4710 $(objpfx)libnldbl_nonshared.a.
4712 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4714 * support/support.h (support_objdir_elf_ldso): New variable.
4715 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4716 * support/Makefile (CFLAGS-support_paths.c): Add definition
4717 for OBJDIR_ELF_LDSO_PATH.
4718 * support/test-container.c (main): Search for the ld.so
4719 which is also used by the testsuite.
4721 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4724 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4725 should be "sap" rather than "sab".
4726 (day): Fix spelling of Sunday, should be "sapaat" rather than
4729 2018-10-02 Joseph Myers <joseph@codesourcery.com>
4731 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4733 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4736 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4737 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4738 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4740 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4742 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4744 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4746 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4748 (CFLAGS-elision-unlock.c): Likewise.
4749 (CFLAGS-elision-timed.c): Likewise.
4750 (CFLAGS-elision-trylock.c): Likewise.
4751 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4753 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4756 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4757 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4758 new fd_to_filename interface.
4759 * libio/freopen64.c (freopen64): Likewise.
4760 * libio/tst-memstream.h: New file.
4761 * libio/tst-memstream4.c: Likewise.
4762 * libio/tst-wmemstream4.c: Likewise.
4763 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4764 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4765 and remove internal dynamic allocation.
4767 2018-10-01 Joseph Myers <joseph@codesourcery.com>
4769 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4770 (MREMAP_MAYMOVE): Do not define here.
4771 [__USE_GNU] (MREMAP_FIXED): Likewise.
4772 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4773 (MREMAP_MAYMOVE): Define here instead.
4774 [__USE_GNU] (MREMAP_FIXED): Likewise.
4775 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4776 (MREMAP_MAYMOVE): Remove.
4777 [__USE_GNU] (MREMAP_FIXED): Likewise.
4779 2018-09-28 Joseph Myers <joseph@codesourcery.com>
4781 * math/fromfp.h: Do not include <math_private.h>.
4782 * math/s_cacosh_template.c: Likewise.
4783 * math/s_casin_template.c: Likewise.
4784 * math/s_casinh_template.c: Likewise.
4785 * math/s_ccos_template.c: Likewise.
4786 * math/s_cproj_template.c: Likewise.
4787 * math/s_fdim_template.c: Likewise.
4788 * math/s_fmaxmag_template.c: Likewise.
4789 * math/s_fminmag_template.c: Likewise.
4790 * math/s_iseqsig_template.c: Likewise.
4791 * math/s_ldexp_template.c: Likewise.
4792 * math/s_nextdown_template.c: Likewise.
4793 * math/w_log1p_template.c: Likewise.
4794 * math/w_scalbln_template.c: Likewise.
4795 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4796 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4797 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4798 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4799 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4800 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4801 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4802 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4803 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4804 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4805 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4806 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4807 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4808 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4809 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4810 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4811 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4813 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4814 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4815 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4816 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4817 * sysdeps/ieee754/k_standardf.c: Likewise.
4818 * sysdeps/ieee754/k_standardl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4821 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4827 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4828 * sysdeps/ieee754/s_signgam.c: Likewise.
4829 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4830 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4831 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4832 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4833 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4834 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4835 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4836 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4837 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4838 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4839 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4840 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4841 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4842 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4843 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4844 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4845 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4846 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4847 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4848 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4849 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4850 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4851 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4852 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4853 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4854 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4855 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4856 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4857 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4858 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4859 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4860 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4861 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4862 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4863 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4864 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4865 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4867 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4869 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4872 * sysdeps/i386/dl-cet.c: Removed.
4873 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4875 (_dl_runtime_profile_shstk): Likewise.
4876 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4877 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4879 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4882 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4883 do_test_with_invalid_iov): New tests.
4884 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4885 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4886 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4888 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4889 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4890 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4892 2018-09-27 Joseph Myers <joseph@codesourcery.com>
4894 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4895 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4896 (MATH_REDIRECT_BINARY_ARGS): New macro.
4897 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4898 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4899 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4901 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4903 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4914 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4915 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4920 * sysdeps/generic/math_private_calls.h
4921 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4922 Do not declare and define as an inline function.
4923 * math/divtc3.c (__divtc3): Use copysign functions instead of
4924 __copysign variants.
4925 * math/multc3.c (__multc3): Likewise.
4926 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4927 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4928 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4929 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4931 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4932 (__ieee754_yn): Likewise.
4933 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4934 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4935 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4936 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4937 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4939 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4946 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4947 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4949 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4950 (__ieee754_ynf): Likewise.
4951 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4952 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4953 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4957 (__ieee754_ynl): Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4963 (__ieee754_ynl): Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4967 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4969 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4973 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4974 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4975 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4977 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4978 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4979 using MATH_REDIRECT.
4980 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
4982 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4985 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
4986 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
4992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
4993 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4994 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4996 (round): Redirect to __round.
4997 (__roundl): Call round instead of __round.
4998 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5000 [_ARCH_PWR5X] (__roundf): Likewise.
5001 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5002 functions instead of __round variants.
5003 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5008 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5010 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5013 (__ieee754_expl): Call roundl instead of __roundl.
5015 2018-09-27 Andreas Schwab <schwab@suse.de>
5018 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5019 (do_test): Make st1 static.
5021 2018-09-26 Andreas Schwab <schwab@suse.de>
5024 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5025 * elf/Makefile (tests): Add tst-unwind-ctor.
5026 (modules-names): Add tst-unwind-ctor-lib.
5027 ($(objpfx)tst-unwind-ctor): Depend on
5028 $(objpfx)tst-unwind-ctor-lib.so.
5030 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5032 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5033 file. Most contents moved from ....
5034 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5035 and include <bits/mman-map-flags-generic.h>.
5036 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5037 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5038 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5039 <bits/mman-map-flags-generic.h>.
5040 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5041 macros defined in <bits/mman-map-flags-generic.h>.
5042 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5043 <bits/mman-map-flags-generic.h>.
5044 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5045 defined in <bits/mman-map-flags-generic.h>.
5047 2018-09-26 Andreas Schwab <schwab@suse.de>
5049 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5052 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5053 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5054 Fangrui Song <maskray@google.com>
5057 * config.make.in (have-textrel_ifunc): New define.
5058 * configure.ac: Add check if linker supports textrel relocation with
5060 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5062 (CFLAGS-tst-ifunc-textrel.c): New rule.
5063 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5064 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5065 * elf/tst-ifunc-textrel.c: New file.
5067 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5069 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5070 <bits/procfs-prregset.h>.
5071 (prgregset_t): Define using __prgregset_t.
5072 (prfpregset_t): Define using __prfpregset_t.
5073 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5074 (sysdep_headers): Add bits/procfs-prregset.h.
5075 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5076 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5077 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5078 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5080 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5081 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5082 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5084 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5085 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5086 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5087 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5088 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5089 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5090 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5091 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5092 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5093 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5094 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5095 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5096 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5098 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5099 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5100 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5101 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5102 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5103 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5104 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5105 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5107 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5109 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5110 AArch64 version. Include <bits/procfs.h>.
5111 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5112 (sysdep_headers): Add bits/procfs.h.
5113 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5114 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5115 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5116 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5117 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5118 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5119 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5120 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5121 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5122 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5123 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5124 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5125 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5126 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5127 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5128 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5129 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5131 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5133 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5136 2018-09-25 Arjun Shankar <arjun@redhat.com>
5138 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5139 (__gconv_max_path_elem_len): Likewise.
5140 (__gconv_nmodules): Likewise.
5141 (__gconv_get_path): Likewise.
5142 (path_elem): Move to ...
5143 * iconv/gconv_conf.c: ... here.
5144 (__gconv_get_path): Mark function static.
5145 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5146 * iconv/gconv_open.c: ... here.
5148 2018-09-24 Andreas Schwab <schwab@suse.de>
5150 * scripts/haveversions.awk: New file.
5151 * Makerules ($(common-objpfx)Versions.def)
5152 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5153 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5155 * Makeconfig ($(common-objpfx)Versions.def)
5156 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5157 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5159 ($(common-objpfx)Versions.mk): New rule. Include it.
5160 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5161 Emit error if build-obsolete-nsl = yes.
5162 * manual/install.texi (Configuring and compiling): Describe
5163 --enable-obsolete-nsl as unavaiable after version 2.28.
5164 * INSTALL: Regenerate.
5166 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5168 * NEWS: Add note about new TLE support on powerpc64le.
5169 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5170 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5172 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5173 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5174 * sysdeps/powerpc/powerpc32/sysdep.h,
5175 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5176 ABORT_TRANSACTION): Remove macros.
5177 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5178 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5179 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5181 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5182 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5184 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5186 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5189 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5190 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5191 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5192 which is the same as in it_IT.
5193 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5194 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5196 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5198 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5199 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5200 using MATH_REDIRECT.
5201 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5203 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5205 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5207 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5213 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5214 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5215 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5216 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5217 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5218 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5219 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5221 (ceil): Redirect to __ceil.
5222 (floor): Redirect to __floor.
5223 (trunc): Redirect to __trunc.
5224 (__truncl): Call trunc instead of __trunc.
5225 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5227 [_ARCH_PWR5X] (__truncf): Likewise.
5228 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5229 trunc functions instead of __trunc variants.
5230 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5232 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5234 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5236 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5239 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5240 [__i586__ || __pentium__].
5241 [__i486__]: Handle explicitly.
5242 (HAS_CPUID): Define to 1 if above macros are undefined.
5243 (HAS_I586): Likewise.
5244 (HAS_I686): Likewise.
5246 2018-09-20 Florian Weimer <fweimer@redhat.com>
5248 * misc/tst-gethostid.c: New file.
5249 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5250 (tst-gethostid): Link with -ldl.
5252 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5254 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5255 value from gethostbyname_r.
5257 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5259 * stdlib/tst-setcontext9.c (f1): Rename to...
5261 (f1b): New function implementing lower half of f1 in alternate stack.
5263 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5265 Fix mktime localtime offset confusion
5267 * include/time.h (__mktime_internal): The localtime offset is now
5268 of type long int instead of time_t. This is the longstanding type
5269 in glibc, and it is more than enough to represent difference
5270 between localtime and gmtime even if it is 32 bits and time_t is
5271 64. Changing it now will let us avoid an unnecessary change when
5272 time_t is widened to 64 bits on 32-bit platforms.
5273 * time/mktime-internal.h (mktime_offset_t): Now long int.
5275 Merge mktime, timegm from upstream Gnulib
5276 [BZ #23603][BZ #16346]
5277 This fixes some obscure problems with integer overflow.
5278 Although it looks scary, it is almost all a byte-for-byte copy
5279 from Gnulib, and the Gnulib code has been tested reasonably well.
5280 * include/intprops.h: New file, copied from Gnulib.
5281 * include/verify.h, time/mktime-internal.h:
5282 New tiny files, simplified from Gnulib.
5283 * time/mktime.c: Copy from Gnulib. This has the following changes:
5284 Do not include config.h if DEBUG_MKTIME is nonzero.
5285 Include stdbool.h, intprops.h, verify.h.
5286 Include string.h only if needed.
5287 Include stdlib.h on MS-Windows.
5288 Include mktime-internal.h.
5289 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5290 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5291 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5292 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5293 simplify later conditionals; default the others to zero. Use
5294 these conditionals to express only the code needed on the current
5295 platform. In uses of these conditionals, explicitly spell out how
5296 _LIBC affects things, so it’s easier to review from a glibc
5298 (WRAPV): Remove; no longer needed now that we have
5299 systematic overflow checking.
5300 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5301 compartmentalize tzset issues. Move system-dependent tzsettish
5302 code here from mktime.
5303 (verify): Remove; now done by verify.h. All uses changed.
5304 (long_int): Use a more-conservative definition, to avoid
5306 (SHR): Remove, replacing with ...
5307 (shr): New function, which means we needn’t worry about side
5308 effects in args, and conversion analysis is simpler.
5309 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5310 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5311 (time_t_avg, time_t_add_ok): Remove.
5312 (mktime_min, mktime_max): New constants.
5313 (leapyear, isdst_differ): Use bool for booleans.
5314 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5315 Use long_int, not time_t, for mktime differences.
5316 (long_int_avg): New function, replacing time_t_avg.
5317 INT_ADD_WRAPV replaces time_t_add_ok.
5318 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5320 (convert_time): New function.
5321 (ranged_convert): Use it.
5322 (__mktime_internal): Last arg now points to mktime_offset_t, not
5323 time_t. All uses changed. This is a no-op on glibc, where
5324 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5325 offset guess. Directly check for integer overflow instead of
5326 using a heuristic that works only 99.9...% of the time.
5327 Access *OFFSET only once, to avoid an unlikely race if the
5328 compiler delays a load and if this cascades into a signed integer
5330 (mktime): Move tzsettish code to my_tzset, and move
5331 localtime_offset to within mktime so that it doesn’t
5332 need a separate ifdef.
5333 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5334 instead of localtime.
5335 * time/timegm.c: Copy from Gnulib. This has the following changes:
5336 Include mktime-internal.h.
5337 [!_LIBC]: Include config.h and time.h. Do not include
5338 timegm.h or time_r.h. Make __mktime_internal a macro,
5339 and include mktime-internal.h to get its declaration.
5340 (timegm): Temporary is now mktime_offset_t, not time_t.
5341 This affects only Gnulib.
5343 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5346 * string/test-strstr.c (pr23637): New function.
5347 (test_main): Add tests with longer needles.
5348 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5349 * string/strstr.c (AVAILABLE): Likewise.
5351 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5353 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5355 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5357 * NEWS: Mention pow improvements.
5358 * math/Makefile (type-double-routines): Add e_pow_log_data.
5359 * sysdeps/generic/math_private.h (__exp1): Remove.
5360 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5361 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5362 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5364 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5365 (exp_inline): Remove.
5366 (__ieee754_exp): Only single double input is handled.
5367 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5368 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5369 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5370 (__pow_log_data): Define.
5371 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5372 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5373 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5374 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5376 (CFLAGS-e_pow-fma4.c): Likewise.
5378 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5380 Simplify tzfile fstat failure code
5382 * time/tzfile.c (__tzfile_read): Simplify slightly.
5384 Fix tzfile low-memory assertion failure
5386 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5387 when registering time zone abbreviations.
5389 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5392 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5393 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5394 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5395 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5396 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5397 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5403 (__ceill): Call ceil instead of __ceil.
5404 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5406 (__floorl): Call floor instead of __floor.
5408 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5410 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5411 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5412 using MATH_REDIRECT.
5413 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5415 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5418 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5422 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5427 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5428 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5431 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5432 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5433 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5435 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5436 functions instead of __ceil variants.
5437 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5438 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5440 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5442 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5443 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5445 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5446 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5449 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5451 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5452 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5453 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5454 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5455 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5456 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5457 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5458 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5459 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5460 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5461 (ILL_BADIADDR): Remove constant.
5462 (TRAP_BRANCH): Likewise.
5463 (TRAP_HWBKPT): Likewise.
5465 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5468 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5469 Remove [_MIPS_SIM = _ABIN32] conditional case.
5470 (struct elf_prpsinfo): Likewise.
5473 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5474 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5475 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5477 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5478 elf_prpsinfo): Likewise.
5479 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5480 elf_prpsinfo): Likewise.
5481 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5484 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5485 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5486 using MATH_REDIRECT.
5487 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5489 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5490 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5491 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5492 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5495 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5496 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5499 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5500 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5501 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5502 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5503 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5504 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5505 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5506 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5507 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5512 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5513 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5514 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5515 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5517 * math/e_scalbf.c (invalid_fn): Likewise.
5518 * math/e_scalbl.c (invalid_fn): Likewise.
5519 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5521 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5523 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5524 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5525 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5527 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5529 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5531 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5532 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5534 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5535 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5537 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5538 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5539 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5540 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5541 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5542 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5543 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5544 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5545 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5546 && !NO_MATH_REDIRECT] (floor): Likewise.
5547 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5549 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5552 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5553 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5556 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5561 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5562 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5565 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5566 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5567 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5569 [_ARCH_PWR5X] (__floorf): Likewise.
5570 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5572 [__SSE4_1__] (__floorf): Likewise.
5573 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5574 instead of __floor variants.
5575 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5576 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5577 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5578 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5579 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5580 * math/w_tgamma_compat.c (__tgamma): Likewise.
5581 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5582 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5583 * math/w_tgammal_compat.c (__tgammal): Likewise.
5584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5587 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5588 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5589 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5592 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5593 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5595 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5596 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5598 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5599 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5601 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5602 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5603 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5604 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5605 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5606 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5608 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5610 * elf/Makefile (modules-names-tests): New variable.
5612 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5614 * NEWS: Mention log2 improvements.
5615 * math/Makefile (type-double-routines): Add e_log2_data.
5616 * sysdeps/i386/fpu/e_log2_data.c: New file.
5617 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5618 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5619 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5620 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5621 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5622 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5624 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5626 * NEWS: Mention log improvement.
5627 * math/Makefile (type-double-routines): Add e_log_data.
5628 * sysdeps/i386/fpu/e_log_data.c: New file.
5629 * sysdeps/ia64/fpu/e_log_data.c: New file.
5630 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5631 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5632 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5633 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5634 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5635 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5637 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5638 Xuepeng Guo <xuepeng.guo@intel.com>
5641 * sysdeps/i386/start.S: Include <sysdep.h>
5642 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5643 enabled. Add cfi_undefined (eip).
5645 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5649 (EXTRACT_WORDS64): Likewise.
5650 (INSERT_WORDS64): Likewise.
5651 (GET_FLOAT_WORD): Likewise.
5652 (SET_FLOAT_WORD): Likewise.
5654 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5656 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5657 build, but not for second build if --full-gcc. Use
5658 --enable-languages=all for second build if --full-gcc.
5659 (get_parser): Add --full-gcc option.
5660 (main): Update call to Context.
5662 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5665 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5666 Single Quotation Mark).
5667 (thousands_sep): Likewise.
5668 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5669 * localedata/locales/it_IT (thousands_sep): Use ".".
5670 (grouping): Use "3;3".
5672 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5674 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5675 x86_64 and i686 configs using --enable-obsolete-rpc
5676 --enable-obsolete-nsl.
5678 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5680 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5682 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5684 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5685 Increment size of new_argv by one.
5687 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5690 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5691 * localedata/locales/ar_IN (d_fmt): Likewise.
5692 * localedata/locales/bhb_IN (d_fmt): Likewise.
5693 * localedata/locales/bho_IN (d_fmt): Likewise.
5694 * localedata/locales/bn_BD (d_fmt): Likewise.
5695 * localedata/locales/bn_IN (d_fmt): Likewise.
5696 * localedata/locales/doi_IN (d_fmt): Likewise.
5697 * localedata/locales/gu_IN (d_fmt): Likewise.
5698 * localedata/locales/hi_IN (d_fmt): Likewise.
5699 * localedata/locales/hne_IN (d_fmt): Likewise.
5700 * localedata/locales/kn_IN (d_fmt): Likewise.
5701 * localedata/locales/mag_IN (d_fmt): Likewise.
5702 * localedata/locales/mai_IN (d_fmt): Likewise.
5703 * localedata/locales/mjw_IN (d_fmt): Likewise.
5704 * localedata/locales/ml_IN (d_fmt): Likewise.
5705 * localedata/locales/mni_IN (d_fmt): Likewise.
5706 * localedata/locales/mr_IN (d_fmt): Likewise.
5707 * localedata/locales/pa_IN (d_fmt): Likewise.
5708 * localedata/locales/raj_IN (d_fmt): Likewise.
5709 * localedata/locales/sat_IN (d_fmt): Likewise.
5710 * localedata/locales/sd_IN (d_fmt): Likewise.
5711 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5712 * localedata/locales/ta_IN (d_fmt): Likewise.
5713 * localedata/locales/ta_LK (d_fmt): Likewise.
5714 * localedata/locales/tcy_IN (d_fmt): Likewise.
5715 * localedata/locales/ur_IN (d_fmt): Likewise.
5717 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5718 * localedata/locales/ks_IN (d_fmt): Likewise.
5719 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5721 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5722 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5723 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5724 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5726 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5728 * NEWS: Mention exp and exp2 improvements.
5729 * math/Makefile (libm-support): Remove t_exp.
5730 (type-double-routines): Add math_err and e_exp_data.
5731 * sysdeps/aarch64/libm-test-ulps: Update.
5732 * sysdeps/arm/libm-test-ulps: Update.
5733 * sysdeps/i386/fpu/e_exp_data.c: New file.
5734 * sysdeps/i386/fpu/math_err.c: New file.
5735 * sysdeps/i386/fpu/t_exp.c: Remove.
5736 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5737 * sysdeps/ia64/fpu/math_err.c: New file.
5738 * sysdeps/ia64/fpu/t_exp.c: Remove.
5739 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5740 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5741 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5743 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5744 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5745 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5746 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5747 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5748 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5749 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5750 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5751 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5752 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5756 2018-09-05 Joseph Myers <joseph@codesourcery.com>
5758 * sysdeps/alpha/fpu/math_private.h: Remove.
5760 * sysdeps/generic/math_private.h
5761 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5762 Move this inline function ....
5763 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5764 * include/math.h [!_ISOMAC]: To here....
5766 2018-09-04 Joseph Myers <joseph@codesourcery.com>
5768 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5770 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5771 * include/fenv.h [!_ISOMAC]: ... to here.
5772 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5773 (feraiseexcept): Likewise.
5774 * math/fromfp.h: Do not include <fenv_private.h>.
5775 * math/s_cexp_template.c: Likewise.
5776 * math/s_csin_template.c: Likewise.
5777 * math/s_csinh_template.c: Likewise.
5778 * math/s_ctan_template.c: Likewise.
5779 * math/s_ctanh_template.c: Likewise.
5780 * math/s_iseqsig_template.c: Likewise.
5781 * math/w_acos_compat.c: Likewise.
5782 * math/w_acosf_compat.c: Likewise.
5783 * math/w_acosl_compat.c: Likewise.
5784 * math/w_asin_compat.c: Likewise.
5785 * math/w_asinf_compat.c: Likewise.
5786 * math/w_asinl_compat.c: Likewise.
5787 * math/w_j0_compat.c: Likewise.
5788 * math/w_j0f_compat.c: Likewise.
5789 * math/w_j0l_compat.c: Likewise.
5790 * math/w_j1_compat.c: Likewise.
5791 * math/w_j1f_compat.c: Likewise.
5792 * math/w_j1l_compat.c: Likewise.
5793 * math/w_jn_compat.c: Likewise.
5794 * math/w_jnf_compat.c: Likewise.
5795 * math/w_log10_compat.c: Likewise.
5796 * math/w_log10f_compat.c: Likewise.
5797 * math/w_log10l_compat.c: Likewise.
5798 * math/w_log2_compat.c: Likewise.
5799 * math/w_log2f_compat.c: Likewise.
5800 * math/w_log2l_compat.c: Likewise.
5801 * math/w_log_compat.c: Likewise.
5802 * math/w_logf_compat.c: Likewise.
5803 * math/w_logl_compat.c: Likewise.
5804 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5805 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5807 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5809 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5810 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5811 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5812 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5813 * sysdeps/ieee754/k_standardl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5827 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5831 * math/w_ilogb_template.c: Include <fenv.h> instead of
5833 * math/w_llogb_template.c: Likewise.
5834 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5835 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5837 2018-09-03 Joseph Myers <joseph@codesourcery.com>
5839 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5840 * math/fromfp.h: Include <fenv_private.h>.
5841 * math/math-narrow.h: Likewise.
5842 * math/s_cexp_template.c: Likewise.
5843 * math/s_csin_template.c: Likewise.
5844 * math/s_csinh_template.c: Likewise.
5845 * math/s_ctan_template.c: Likewise.
5846 * math/s_ctanh_template.c: Likewise.
5847 * math/s_iseqsig_template.c: Likewise.
5848 * math/w_acos_compat.c: Likewise.
5849 * math/w_acosf_compat.c: Likewise.
5850 * math/w_acosl_compat.c: Likewise.
5851 * math/w_asin_compat.c: Likewise.
5852 * math/w_asinf_compat.c: Likewise.
5853 * math/w_asinl_compat.c: Likewise.
5854 * math/w_ilogb_template.c: Likewise.
5855 * math/w_j0_compat.c: Likewise.
5856 * math/w_j0f_compat.c: Likewise.
5857 * math/w_j0l_compat.c: Likewise.
5858 * math/w_j1_compat.c: Likewise.
5859 * math/w_j1f_compat.c: Likewise.
5860 * math/w_j1l_compat.c: Likewise.
5861 * math/w_jn_compat.c: Likewise.
5862 * math/w_jnf_compat.c: Likewise.
5863 * math/w_llogb_template.c: Likewise.
5864 * math/w_log10_compat.c: Likewise.
5865 * math/w_log10f_compat.c: Likewise.
5866 * math/w_log10l_compat.c: Likewise.
5867 * math/w_log2_compat.c: Likewise.
5868 * math/w_log2f_compat.c: Likewise.
5869 * math/w_log2l_compat.c: Likewise.
5870 * math/w_log_compat.c: Likewise.
5871 * math/w_logf_compat.c: Likewise.
5872 * math/w_logl_compat.c: Likewise.
5873 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5874 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5875 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5876 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5901 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5902 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5903 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5904 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5905 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5906 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5907 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5908 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5909 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5910 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5911 * sysdeps/ieee754/k_standardl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5922 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5938 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5942 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5943 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5946 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5948 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5949 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5950 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5951 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5952 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5953 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5954 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5955 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5956 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5957 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5958 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5959 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5960 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5961 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5962 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5963 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5964 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5965 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5966 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5967 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5968 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5969 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5970 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5971 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5972 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5973 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5974 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5975 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5976 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5977 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5978 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5979 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5980 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5981 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5982 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5984 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5987 * include/stdio.h (__libc_fatal): Mention newline in comment.
5988 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
5989 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
5990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5991 * nss/nsswitch.c (__nss_next2): Likewise.
5992 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
5993 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
5994 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
5995 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5996 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
5997 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
5998 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
5999 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6000 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6001 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6002 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6003 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6004 (__netlink_assert_response): Likewise.
6006 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6008 * conform/glibcconform.py: New file.
6009 * conform/list-header-symbols.py: Likewise.
6010 * conform/list-header-symbols.pl: Remove.
6011 * conform/Makefile (tests-special): Only add linknamespace tests
6013 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6015 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6018 * support/Makefile (libsupport-routines): Add
6019 support_copy_file_range and xcopy_file_range.
6020 * support/support.h: Include <sys/types.h>.
6021 (support_copy_file_range): New prototype.
6022 * support/support_copy_file_range.c: New file. Copied and
6023 modified from io/copy_file_range-compat.c.
6024 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6025 instead of copy_file_range.
6026 * support/xcopy_file_range.c: New file.
6027 * support/xunistd.h (xcopy_file_range): New prototype.
6029 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6031 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6032 xpthread_create and xpthread_join.
6034 2018-08-30 Florian Weimer <fweimer@redhat.com>
6036 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6038 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6040 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6043 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6045 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6046 and minus_oflow as non-finite.
6048 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6050 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6051 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6052 moved to fenv_private.h except for ...
6053 (TOINT_INTRINSICS): Kept in math_private.h.
6054 (roundtoint): Likewise.
6055 (converttoint): Likewise.
6056 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6057 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6058 * sysdeps/arm/math_private.h: Remove.
6059 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6061 * sysdeps/generic/math_private.h: ... this file. Include
6062 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6063 Include <fenv_private.h>. Remove functions and macros moved to
6065 * sysdeps/i386/fpu/math_private.h: Remove.
6066 * sysdeps/mips/math_private.h: Move to ....
6067 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6068 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6069 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6070 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6071 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6072 * sysdeps/powerpc/fpu/math_private.h: Do not include
6074 * sysdeps/riscv/rvf/math_private.h: Move to ....
6075 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6076 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6078 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6079 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6080 * sysdeps/sparc/fpu/math_private.h: Remove.
6081 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6082 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6083 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6085 * sysdeps/x86_64/fpu/math_private.h: Do not include
6086 <sysdeps/i386/fpu/fenv_private.h>.
6088 2018-08-28 Florian Weimer <fweimer@redhat.com>
6091 * posix/tst-regcomp-truncated.c: New file.
6092 * posix/Makefile (tests): Add it.
6093 (tst-regcomp-truncated.out): Depend on generated locales.
6095 2018-08-28 Florian Weimer <fweimer@redhat.com>
6097 * support/test-container.c (main): Treat unshare failure with
6098 EPERM as an unsupported test.
6100 2018-08-28 Florian Weimer <fweimer@redhat.com>
6103 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6104 * nscd/netgroupcache.c
6105 (addgetnetgrentX): Add tofreep parameter. Do not free
6106 heap-allocated buffer.
6107 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6108 (addgetnetgrentX_ignore): New function.
6109 (addgetnetgrent): Call it.
6110 (readdgetnetgrent): Likewise.
6112 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6114 * string/memmem.c: Use memcmp for first match.
6116 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6119 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6121 2018-08-27 DJ Delorie <dj@redhat.com>
6123 * support/Makefile (others): Don't list programs explicitly as a
6124 dependency of "others".
6126 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6128 * sysdeps/generic/math-tests-trap-force.h: New file.
6129 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6130 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6131 * sysdeps/powerpc/math-tests.h: Remove file.
6132 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6134 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6135 Torvald Riegel <triegel@redhat.com>
6138 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6139 Update r to include the set wake-request flag if waiters are
6140 remaining after spinning.
6142 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6144 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6146 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6149 regex: fix uninitialized memory access
6150 I introduced this bug into gnulib in commit
6151 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6152 eventually it was merged into glibc. The bug was found by
6153 project-repo <bugs@feusi.co> and reported here:
6154 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6155 Diagnosis and draft fix reported by Assaf Gordon here:
6156 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6157 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6158 * posix/regex_internal.c (build_wcs_upper_buffer):
6159 Fix bug when mbrtowc returns 0.
6161 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6163 * po/be.po: Update translation.
6165 2018-08-24 DJ Delorie <dj@delorie.com>
6167 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6170 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6173 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6174 create temporary files in source tree.
6176 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6178 * sysdeps/generic/math-tests-trap.h: New file.
6179 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6180 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6181 * sysdeps/aarch64/math-tests.h: Remove file.
6182 * sysdeps/arm/math-tests.h: Likewise.
6183 * sysdeps/riscv/math-tests.h: Likewise.
6184 * sysdeps/aarch64/math-tests-trap.h: New file.
6185 * sysdeps/arm/math-tests-trap.h: Likewise.
6186 * sysdeps/riscv/math-tests-trap.h: Likewise.
6188 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6190 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6191 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6192 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6193 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6194 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6195 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6200 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6203 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6204 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6205 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6206 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6207 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6209 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6211 * sysdeps/generic/math-tests-exceptions.h: New file.
6212 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6213 (EXCEPTION_TESTS_float): Do not define here.
6214 (EXCEPTION_TESTS_double): Likewise.
6215 (EXCEPTION_TESTS_long_double): Likewise.
6216 (EXCEPTION_TESTS_float128): Likewise.
6217 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6219 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6220 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6221 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6222 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6223 * sysdeps/mips/math-tests.h: Likewise.
6224 * sysdeps/nios2/math-tests.h: Likewise.
6225 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6226 (EXCEPTION_TESTS_float): Do not define here.
6227 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6228 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6229 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6231 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6233 * NEWS: Move optimized sinf entry to 2.29.
6235 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6237 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6239 2018-08-22 DJ Delorie <dj@redhat.com>
6241 * Makefile (testroot.pristine): New rules to initialize the
6242 test-in-container "testroot".
6243 * Makerules (all-testsuite): Add tests-container.
6244 * Rules (tests-expected): Add tests-container.
6245 (binaries-all-tests): Likewise.
6246 (tests-container): New, run these tests in the testroot container.
6247 * support/Makefile (others): Add *-container, support_paths.c,
6248 xmkdirp, and links-dso-program.
6249 * support/links-dso-program-c.c: New.
6250 * support/links-dso-program.cc: New.
6251 * support/test-container.c: New.
6252 * support/shell-container.c: New.
6253 * support/echo-container.c: New.
6254 * support/true-container.c: New.
6255 * support/xmkdirp.c: New.
6256 * support/xsymlink.c: New.
6257 * support/support_paths.c: New.
6258 * support/support.h: Add support paths prototypes.
6259 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6261 * nss/tst-nss-test3.c: Convert to test-in-container.
6262 * nss/tst-nss-test3.root/: New.
6264 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6266 regex: port Gnulib code to z/OS POSIX environment
6267 Problem reported by Arnold Robbins in:
6268 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6269 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6272 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6274 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6275 (ROUNDING_TESTS_double): Remove.
6276 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6277 (ROUNDING_TESTS_double): Remove.
6278 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6279 (ROUNDING_TESTS_double): Remove.
6280 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6281 (ROUNDING_TESTS_float): Remove.
6282 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6283 (ROUNDING_TESTS_float): Remove.
6284 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6285 (ROUNDING_TESTS_float): Remove.
6286 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6288 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6289 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6291 * sysdeps/generic/math-tests-rounding.h: New file.
6292 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6293 (ROUNDING_TESTS_float): Do not define here.
6294 (ROUNDING_TESTS_double): Likewise.
6295 (ROUNDING_TESTS_long_double): Likewise.
6296 (ROUNDING_TESTS_float128): Likewise.
6297 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6298 (ROUNDING_TESTS_double): Undefine before defining.
6299 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6300 (ROUNDING_TESTS_double): Undefine before defining.
6301 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6302 (ROUNDING_TESTS_double): Undefine before defining.
6303 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6304 (ROUNDING_TESTS_float): Undefine before defining.
6305 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6306 (ROUNDING_TESTS_float): Undefine before defining.
6307 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6308 (ROUNDING_TESTS_float): Undefine before defining.
6309 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6310 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6312 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6313 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6314 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6315 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6316 (ROUNDING_TESTS_float): Do not define here.
6317 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6318 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6319 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6320 (ROUNDING_TESTS_float): Likewise.
6321 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6322 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6323 * sysdeps/mips/math-tests.h [__mips_soft_float]
6324 (ROUNDING_TESTS_float): Likewise.
6325 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6326 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6327 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6328 (ROUNDING_TESTS_double): Likewise.
6329 (ROUNDING_TESTS_long_double): Likewise.
6331 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6333 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6334 (PF_XDP): New macro.
6335 (AF_XDP): New macro.
6336 (SOL_XDP): New macro.
6338 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6340 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6341 (TCP_INQ): Likewise.
6342 (TCP_CM_INQ): Likewise.
6343 (TCP_REPAIR_ON): Likewise.
6344 (TCP_REPAIR_OFF): Likewise.
6345 (TCP_REPAIR_OFF_NO_WP): Likewise.
6346 (struct tcp_zerocopy_receive): New type.
6348 2018-08-21 Florian Weimer <fweimer@redhat.com>
6350 * support/support.h (support_descriptor_supports_holes): Declare.
6351 * support/Makefile (libsupport-routines): Add
6352 support_descriptor_supports_holes.
6353 * support/support_descriptor_supports_holes.c: New file.
6354 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6355 and stop testing if holes are not supported.
6356 * io/test-lfs.c (do_prepare): Likewise.
6357 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6359 * timezone/tst-tzset.c (create_tz_file): Likewise.
6360 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6362 (do_prepare): Set it.
6363 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6365 2018-08-21 Florian Weimer <fweimer@redhat.com>
6368 * Makeconfig (+cflags): Do not sort (and deduplicate).
6370 2018-08-21 Florian Weimer <fweimer@redhat.com>
6372 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6373 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6375 2018-08-20 Florian Weimer <fweimer@redhat.com>
6377 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6378 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6380 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6382 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6383 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6384 and ssi_arch members.
6386 * elf/elf.c (NT_VMCOREDD): New macro.
6387 (AT_MINSIGSTKSZ): Likewise.
6389 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6392 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6393 s_cosf-ppc64 and s_cosf-power8.
6394 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6395 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6396 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6397 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6404 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6405 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6407 2018-08-17 Florian Weimer <fweimer@redhat.com>
6409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6411 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6413 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6415 2018-08-16 Florian Weimer <fweimer@redhat.com>
6417 * configure.ac: Add --with-nonshared-cflags option.
6418 * config.make.in (extra-nonshared-cflags): Set variable.
6419 * Makeconfig (CFLAGS-.oS): Use it.
6420 * manual/install.texi (Configuring and compiling): Document
6421 --with-nonshared-cflags.
6422 * configure: Regenerate.
6423 * INSTALL: Likewise.
6425 2018-08-16 Florian Weimer <fweimer@redhat.com>
6427 * Makeconfig (ASFLAGS): Always append required assembler flags.
6429 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6431 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6432 (malloc_consolidate): Likewise.
6434 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6436 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6438 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6440 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6443 * benchtests/bench-strlen.c: Print performance numbers in json.
6445 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6447 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6448 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6449 only for little endian.
6450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6451 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6452 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6454 Add check for little endian.
6455 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6456 (__strcmp_power9): Add check for little endian.
6457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6458 Add check for little endian.
6459 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6460 (__strncmp_power9): Add check for little endian.
6461 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6462 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6463 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6464 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6465 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6467 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6469 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6470 [!STRLEN](STRLEN): Set to __strlen.
6471 * sysdeps/aarch64/multiarch/strlen.c: New file.
6472 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6473 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6474 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6475 (__libc_ifunc_impl_list): Add strlen.
6476 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6477 strlen_generic and strlen_asimd.
6479 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6482 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6483 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6485 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6487 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6489 2018-08-14 Florian Weimer <fweimer@redhat.com>
6492 * include/stdio.h (__vfxprintf): Declare.
6493 * stdio-common/fxprintf.c (__vfxprintf): New function.
6494 (__fxprintf): Call it.
6495 * misc/err.c (convert_and_print): Remove function.
6496 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6497 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6498 * misc/Makefile (tests): Add tst-warn-wide.
6499 * misc/tst-warn-wide.c: New file.
6501 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6502 Szabolcs Nagy <szabolcs.nagy@arm.com>
6504 * NEWS: Mention sinf, cosf, sincosf.
6505 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6506 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6507 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6508 constants rather than including generic sincosf.h.
6509 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6510 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6511 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6512 (reduced_cos): Remove.
6513 (sinf_poly): New function.
6514 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6516 2018-08-14 Florian Weimer <fweimer@redhat.com>
6520 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6521 processing, bail out if no room, and close the stream before
6523 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6524 (tst-nss-files-alias-leak): Link with libdl.
6525 (tst-nss-files-alias-leak.out): Depend on nss_files.
6527 * nss/tst-nss-files-alias-leak.c: New file.
6529 2018-08-14 Florian Weimer <fweimer@redhat.com>
6531 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6532 server_user, stat_user.
6534 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6538 (io_pgetevents): New syscall.
6541 * manual/install.texi (Configuring and compiling): Do not list
6542 tools used for testing pretty printers here.
6543 (Tools for Compilation): List Python, PExpect and GDB here.
6544 Update descriptions of uses of Perl and Python.
6545 * INSTALL: Regenerate.
6547 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6550 2018-08-13 Florian Weimer <fweimer@redhat.com>
6552 * misc/error.c (error): Add missing va_end call.
6553 (error_at_line): Likewise.
6555 2018-08-13 Florian Weimer <fweimer@redhat.com>
6557 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6559 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6561 * benchtests/scripts/benchout.schema.json (properties): Add
6564 * benchtests/bench-skeleton.c (main): Add duration and
6565 iterations attributes.
6567 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6569 regex: Gnulib unibyte RRI uses bytes not chars
6570 Adjust the non-glibc code to agree with what Gawk needs for
6571 rational range interpretation (RRI) for regular expression ranges.
6572 In unibyte locales, Gawk wants ranges to use the underlying byte
6573 rather than the character code point. This change does not affect
6575 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6576 In unibyte locales, use the byte value rather than
6577 running it through btowc.
6579 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6581 * sysdeps/generic/math-tests-snan.h: New file.
6582 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6583 (SNAN_TESTS_float): Do not define here.
6584 (SNAN_TESTS_double): Likewise.
6585 (SNAN_TESTS_long_double): Likewise.
6586 (SNAN_TESTS_float128): Likewise.
6587 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6588 * sysdeps/i386/fpu/math-tests.h: Remove file.
6589 * sysdeps/ia64/math-tests-snan.h: New file.
6590 * sysdeps/ia64/math-tests.h: Remove file.
6591 * sysdeps/x86/math-tests.h: Likewise.
6592 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6594 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6595 Szabolcs Nagy <szabolcs.nagy@arm.com>
6597 * math/Makefile: Add s_sincosf_data.c.
6598 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6599 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6600 (sincosf_poly): Likewise.
6601 (reduce_small): Likewise.
6602 (reduce_large): Likewise.
6603 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6604 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6605 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6606 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6608 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6609 Szabolcs Nagy <szabolcs.nagy@arm.com>
6611 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6612 (converttoint): Use lround.
6613 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6614 document the semantics when TOINT_INTRINSICS is set.
6615 (converttoint): Likewise.
6616 (TOINT_RINT): Remove.
6617 (TOINT_SHIFT): Remove.
6618 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6621 2018-08-10 Florian Weimer <fweimer@redhat.com>
6624 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6626 (__old_getdents64): Use getdents64. Convert entries without
6628 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6629 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6630 tst-readdir64-compat.
6632 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6634 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6637 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6639 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6640 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6641 code to s390x-mcount.h and #include it.
6642 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6643 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6646 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6648 * stdlib/Versions: Remove __fentry__.
6649 * sysdeps/i386/Versions: Add __fentry__.
6650 * sysdeps/x86_64/Versions: Add __fentry__.
6652 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6654 * sysdeps/s390/Makefile: Register the new tests.
6655 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6656 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6657 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6658 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6659 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6660 * sysdeps/s390/tst-dl-runtime.c: New file.
6662 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6664 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6667 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6669 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6672 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6674 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6677 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6679 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6682 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6684 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6685 Use symbolic offsets for stack variables.
6687 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6689 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6690 Use symbolic offsets for stack variables.
6692 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6694 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6695 Use symbolic offsets for stack variables.
6697 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6699 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6700 Use symbolic offsets for stack variables.
6702 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6704 * math/gen-libm-test.py: New file.
6705 * math/gen-libm-test.pl: Remove.
6706 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6707 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6709 ($(libm-test-c-noauto-obj)): Likewise.
6710 ($(libm-test-c-auto-obj)): Likewise.
6711 ($(libm-test-c-narrow-obj)): Likewise.
6712 (regen-ulps): Likewise.
6713 * math/README.libm-test: Update references to gen-libm-test.pl.
6714 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6715 referencing gen-libm-test.pl.
6716 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6717 * math/libm-test-support.c: Likewise.
6718 * math/libm-test-support.h: Likewise.
6719 * sysdeps/generic/libm-test-ulps: Likewise.
6721 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6723 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6726 2018-08-08 Joseph Myers <joseph@codesourcery.com>
6728 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6729 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6731 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6733 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6735 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6736 __pthread_setspecific): Add hidden proto.
6737 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6738 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
6740 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6742 * benchtests/bench-string.h (buf1_size, buf2_size): New
6744 (init_sizes): New function.
6745 (test_init): Use it.
6746 (alloc_buf, exit_error): New functions.
6747 (alloc_bufs): Use ALLOC_BUF.
6748 (realloc_bufs): Remove.
6749 * benchtests/bench-memcmp.c (do_test): Adjust.
6750 * benchtests/bench-memset-large.c (do_test): Likewise.
6751 * benchtests/bench-memset-walk.c (do_test): Likewise.
6752 * benchtests/bench-memset.c (do_test): Likewise.
6753 * benchtests/bench-strncmp.c (do_test): Likewise.
6755 2018-08-06 Andreas Schwab <schwab@suse.de>
6757 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6758 of CONST_THREAD_AREA.
6760 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6762 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6763 (STATE_SAVE_MASK): Likewise.
6764 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6765 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6766 (STATE_SAVE_MASK): Likewise.
6767 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6768 instead of <cpu-features.h>.
6770 2018-08-03 DJ Delorie <dj@redhat.com>
6772 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
6773 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
6775 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6777 2018-08-03 Joseph Myers <joseph@codesourcery.com>
6779 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6781 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6782 * math/libm-test-logb.inc (logb_test_data): Likewise.
6784 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6786 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6787 * string/strstr.c (AVAILABLE): Likewise.
6789 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6791 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6793 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6794 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6795 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6797 2018-08-03 Carlos O'Donell <carlos@redhat.com>
6799 * po/be.po: Update translation.
6801 * po/be.po: Update translation.
6803 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6805 * sysdeps/x86/cpu-features-offsets.sym
6806 (rtld_global_ro_offsetof): Removed.
6807 (CPU_FEATURES_SIZE): Likewise.
6808 (CPUID_OFFSET): Likewise.
6809 (CPUID_SIZE): Likewise.
6810 (CPUID_EAX_OFFSET): Likewise.
6811 (CPUID_EBX_OFFSET): Likewise.
6812 (CPUID_ECX_OFFSET): Likewise.
6813 (CPUID_EDX_OFFSET): Likewise.
6814 (FAMILY_OFFSET): Likewise.
6815 (MODEL_OFFSET): Likewise.
6816 (FEATURE_OFFSET): Likewise.
6817 (FEATURE_SIZ): Likewise.
6818 (COMMON_CPUID_INDEX_1): Likewise.
6819 (COMMON_CPUID_INDEX_7): Likewise.
6820 (FEATURE_INDEX_1): Likewise.
6821 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6823 2018-08-02 Carlos O'Donell <carlos@redhat.com>
6825 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6826 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6827 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6828 (install-locales): Depend on install-locale-archive.
6829 (install-locale-archive): Define.
6830 (install-locale-files): Define.
6831 (build-one-locale): Define macro.
6832 * manual/install.texi (Running make install): Document.
6833 * manual/INSTALL: Regenerate.
6835 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6837 * benchtests/scripts/compare_strings.py: Import traceback.
6838 (parse_file): Pretty-print error.
6840 * NEWS: Mention the change.
6841 * elf/dl-tunables.list: Rename tune namespace to cpu.
6842 * sysdeps/powerpc/dl-tunables.list: Likewise.
6843 * sysdeps/x86/dl-tunables.list: Likewise.
6844 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6846 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6847 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6848 * manual/README.tunables: Likewise.
6849 * manual/tunables.texi: Likewise.
6850 * sysdeps/powerpc/cpu-features.c: Likewise.
6851 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6852 (init_cpu_features): Likewise.
6853 * sysdeps/x86/cpu-features.c: Likewise.
6854 * sysdeps/x86/cpu-features.h: Likewise.
6855 * sysdeps/x86/cpu-tunables.c: Likewise.
6856 * sysdeps/x86_64/Makefile: Likewise.
6857 * sysdeps/x86/dl-cet.c: Likewise.
6859 2018-08-02 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6863 [__mips_hard_float].
6864 (FE_UNDERFLOW): Likewise.
6865 (FE_OVERFLOW): Likewise.
6866 (FE_DIVBYZERO): Likewise.
6867 (FE_INVALID): Likewise.
6868 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6869 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6870 (FE_UPWARD): Likewise.
6871 (FE_DOWNWARD): Likewise.
6872 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6873 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6874 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6875 [__mips_hard_float].
6876 (FP_ROUNDMODE): Likewise.
6877 (FP_RND_NEAREST): Likewise.
6878 (FP_RND_ZERO): Likewise.
6879 (FP_RND_PINF): Likewise.
6880 (FP_RND_MINF): Likewise.
6881 (FP_EX_INVALID): Likewise.
6882 (FP_EX_OVERFLOW): Likewise.
6883 (FP_EX_UNDERFLOW): Likewise.
6884 (FP_EX_DIVZERO): Likewise.
6885 (FP_EX_INEXACT): Likewise.
6886 (FP_INIT_ROUNDMODE): Likewise.
6887 * sysdeps/mips/nofpu/fesetenv.c: New file.
6888 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6890 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6892 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6893 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6894 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6895 conditional on [FE_UPWARD].
6897 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6899 regex: fix memory leak in Gnulib
6900 Problem and fix reported by Assaf Gordon in:
6901 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6902 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6903 range_ends members too, as they are defined in 'struct
6904 re_charset_t' even if not _LIBC. This affects only Gnulib.
6906 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6908 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6910 (get_common_indices): This.
6911 (init_cpu_features): Updated.
6913 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/generic/math-tests-snan-payload.h: New file.
6916 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6917 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6918 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6919 * sysdeps/generic/math-tests.h: Include
6920 <math-tests-snan-payload.h>.
6921 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6922 * sysdeps/hppa/math-tests.h: Remove file.
6923 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6924 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6925 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6928 * sysdeps/generic/math-tests-snan-cast.h: New file.
6929 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6930 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6931 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6932 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6934 2018-08-01 Carlos O'Donel <carlos@redhat.com>
6936 * version.h (RELEASE): Set to "development".
6937 (VERSION): Set to "2.28.9000".
6938 * NEWS (2.29): New section.
6940 * version.h (RELEASE): Set to "stable".
6941 (VERSION): Set to "2.28".
6942 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6943 * NEWS: Add the list of bugs fixed in 2.28.
6945 * po/ca.po: Update to latest version.
6946 * po/cs.po: Likewise
6947 * po/da.po: Likewise
6948 * po/el.po: Likewise
6949 * po/eo.po: Likewise
6950 * po/es.po: Likewise
6951 * po/fi.po: Likewise
6952 * po/fr.po: Likewise
6953 * po/gl.po: Likewise
6954 * po/hu.po: Likewise
6955 * po/ia.po: Likewise
6956 * po/id.po: Likewise
6957 * po/it.po: Likewise
6958 * po/ja.po: Likewise
6959 * po/ko.po: Likewise
6960 * po/lt.po: Likewise
6961 * po/nb.po: Likewise
6962 * po/nl.po: Likewise
6963 * po/pt_BR.po: Likewise
6964 * po/ru.po: Likewise
6965 * po/rw.po: Likewise
6966 * po/sk.po: Likewise
6967 * po/sl.po: Likewise
6968 * po/tr.po: Likewise
6969 * po/zh_CN.po: Likewise
6970 * po/zh_TW.po: Likewise
6972 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6974 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6976 (init): ... before initializing libpthread.
6978 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6979 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6980 (__mach_setup_tls): ... new function.
6981 (mach_setup_tls): New alias.
6982 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
6983 __mach_setup_thread.
6984 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
6985 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
6986 * mach/Versions [libc] (mach_setup_tls): Add symbol.
6987 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
6989 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6991 * manual/install.texi: Update versions.
6992 * INSTALL: Regenerate.
6994 * manual/contrib.texi (Contributors): Update contributions.
6996 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6998 * po/be.po: Update translations.
7000 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7002 * sysdeps/sh/libm-test-ulps: Update.
7004 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7006 * po/bg.po: Update translations.
7007 * po/de.po: Likewise.
7008 * po/hr.po: Likewise.
7009 * po/pt_BR.po: Likewise.
7010 * po/sv.po: Likewise.
7011 * po/vi.po: Likewise.
7013 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7016 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7017 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7018 (CFLAGS-tst-cet-property-1.o): New.
7019 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7020 ($(objpfx)tst-cet-property-2): Likewise.
7021 ($(objpfx)tst-cet-property-2.out): Likewise.
7022 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7023 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7024 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7025 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7026 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7028 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7031 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7033 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7035 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7036 __sbrk): Do not set attribute_hidden.
7037 * sysdeps/mach/hurd/not-errno.h: New file.
7038 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7039 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7041 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7043 * po/uk.po: Update translations.
7044 * po/cs.po: Likewise.
7045 * po/pl.po: Likewise.
7047 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7049 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7050 parse beyond the note end.
7052 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7054 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7055 kernel does not support OFD locks.
7056 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7058 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7060 * sysdeps/mach/hurd/Versions (libc): Make __access and
7061 __access_noerrno external so they can override the ld symbols.
7062 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7063 __writev, __open64, __access_noerrno extern so they can be overrided.
7064 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7065 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7067 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7069 * po/libc.pot: Regenerate.
7071 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7073 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7075 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7078 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7080 (init_cpu_features): Call get_extended_indices for both Intel
7082 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7083 Remove "for AMD" comment.
7085 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7088 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7089 COMMON_CPUID_INDEX_80000001.
7091 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7093 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7094 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7096 2018-07-26 Florian Weimer <fweimer@redhat.com>
7098 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7099 aliases for symbols not in the implementation namespace.
7101 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7104 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7105 lowercase in LATIN script.
7106 * localedata/Makefile (test-input): Add en_US.UTF-8.
7107 * localedata/en_US.UTF-8.in: New file.
7108 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7109 and restore old tests.
7110 * posix/tst-regexloc.c (do_test): Add back range expression test.
7112 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7114 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7116 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7118 * nptl/threads.h: Move to ...
7119 * sysdeps/nptl/threads.h: ... here.
7120 * sysdeps/hurd/stdc-predef.h: New file.
7122 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7124 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7125 tst-cet-setcontext-1 if CET is enabled.
7126 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7127 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7129 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7131 * include/threads.h: Move to ...
7132 * sysdeps/nptl/threads.h: ... here.
7133 * sysdeps/htl/threads.h: New file.
7134 * conform/Makefile (linknamespace-libs-ISO11): Use
7135 static-thread-library instead of linking libpthread.
7136 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7138 2018-07-25 Florian Weimer <fweimer@redhat.com>
7140 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7141 nanoseconds into seconds.
7142 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7143 (do_test): Likewise.
7144 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7145 (do_test): Likewise. Avoid nanosecond overflow and spurious
7146 timeouts due to system load.
7147 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7148 (child_wait): Increment it.
7149 (do_test): Wait as long as necessary until all expected threads
7152 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7153 H.J. Lu <hongjiu.lu@intel.com>
7155 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7157 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7158 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7159 (__push___start_context): New.
7160 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7162 (__getcontext): Record the current shadow stack base. Save the
7163 caller's shadow stack pointer and base.
7164 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7165 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7166 (__push___start_context): New prototype.
7167 (__makecontext): Call __push___start_context to allocate a new
7168 shadow stack, push __start_context onto the new stack as well
7169 as the new shadow stack.
7170 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7172 (__setcontext): Restore the target shadow stack.
7173 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7175 (__swapcontext): Record the current shadow stack base. Save
7176 the caller's shadow stack pointer and base. Restore the target
7178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7179 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7180 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7182 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7184 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7185 tst-setcontext8 and tst-setcontext9.
7186 * stdlib/tst-setcontext6.c: New file.
7187 * stdlib/tst-setcontext7.c: Likewise.
7188 * stdlib/tst-setcontext8.c: Likewise.
7189 * stdlib/tst-setcontext9.c: Likewise.
7191 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7193 * stdlib/Makefile ((tests): Add tst-setcontext5.
7194 * stdlib/tst-setcontext5.c: New file.
7196 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7198 * stdlib/Makefile (tests): Add tst-setcontext4.
7199 * stdlib/tst-setcontext4.c: New file.
7201 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7203 * stdlib/Makefile (tests): Add tst-swapcontext1.
7204 * stdlib/tst-swapcontext1.c: New test.
7206 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7208 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7209 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7210 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7211 and tst-cet-legacy-4c.
7212 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7213 and tst-cet-legacy-mod-4.
7214 (CFLAGS-tst-cet-legacy-2.c): New.
7215 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7216 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7217 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7218 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7219 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7220 ($(objpfx)tst-cet-legacy-1): Likewise.
7221 ($(objpfx)tst-cet-legacy-2): Likewise.
7222 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7223 ($(objpfx)tst-cet-legacy-2a): Likewise.
7224 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7225 ($(objpfx)tst-cet-legacy-4): Likewise.
7226 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7227 ($(objpfx)tst-cet-legacy-4a): Likewise.
7228 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7229 (tst-cet-legacy-4a-ENV): Likewise.
7230 ($(objpfx)tst-cet-legacy-4b): Likewise.
7231 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7232 (tst-cet-legacy-4b-ENV): Likewise.
7233 ($(objpfx)tst-cet-legacy-4c): Likewise.
7234 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7235 (tst-cet-legacy-4c-ENV): Likewise.
7236 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7237 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7238 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7239 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7240 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7241 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7242 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7243 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7244 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7245 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7246 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7248 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7250 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7251 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7253 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7254 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7257 2018-07-25 Andreas Schwab <schwab@suse.de>
7260 * locale/weightwc.h (findidx): Handle the case where usrc is a
7261 prefix of cp but one character too short.
7263 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7265 * NEWS: Add ISO C threads addition.
7267 2018-07-24 Florian Weimer <fweimer@redhat.com>
7269 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7270 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7271 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7274 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7276 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7277 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7278 <sys/prctl.h> and <asm/prctl.h>.
7279 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7280 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7282 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7283 ARCH_CET_LEGACY_BITMAP.
7284 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7285 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7286 * sysdeps/x86/libc-start.c: Include <startup.h>.
7288 2018-07-24 Florian Weimer <fweimer@redhat.com>
7290 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7291 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7293 2018-07-24 Rical Jasan <rj@2c3t.io>
7294 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7295 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7298 * manual/debug.texi: Update adjacent chapter name.
7299 * manual/probes.texi: Likewise.
7300 * manual/threads.texi (ISO C Threads): New section.
7301 (POSIX Threads): Convert to a section.
7303 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7304 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7307 * nptl/Makefile (tests): Add new test files.
7308 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7309 * nptl/tst-cnd-basic.c: Likewise.
7310 * nptl/tst-cnd-broadcast.c: Likewise.
7311 * nptl/tst-cnd-timedwait.c: Likewise.
7312 * nptl/tst-mtx-basic.c: Likewise.
7313 * nptl/tst-mtx-recursive.c: Likewise.
7314 * nptl/tst-mtx-timedlock.c: Likewise.
7315 * nptl/tst-mtx-trylock.c: Likewise.
7316 * nptl/tst-thrd-basic.c: Likewise.
7317 * nptl/tst-thrd-detach.c: Likewise.
7318 * nptl/tst-thrd-sleep.c: Likewise.
7319 * nptl/tst-tss-basic.c: Likewise.
7321 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7324 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7325 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7328 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7329 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7330 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7331 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7332 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7333 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7334 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7335 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7338 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7346 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7347 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7348 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7349 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7352 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7353 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7354 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7355 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7356 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7357 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7358 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7360 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7361 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7362 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7363 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7364 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7365 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7366 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7367 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7368 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7369 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7370 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7371 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7378 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7379 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7380 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7381 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7382 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7383 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7384 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7385 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7388 * conform/data/threads.h-data (thread_local): New macro.
7389 (TSS_DTOR_ITERATIONS): Likewise.
7391 (tss_dtor_t): Likewise.
7392 (tss_create): New function.
7393 (tss_get): Likewise.
7394 (tss_set): Likewise.
7395 (tss_delete): Likewise.
7396 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7397 tss_get, and tss_set objects.
7398 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7399 * nptl/tss_create.c: New file.
7400 * nptl/tss_delete.c: Likewise.
7401 * nptl/tss_get.c: Likewise.
7402 * nptl/tss_set.c: Likewise.
7403 * sysdeps/nptl/threads.h (thread_local): New define.
7404 (TSS_DTOR_ITERATIONS): Likewise.
7405 (tss_t): New typedef.
7406 (tss_dtor_t): Likewise.
7407 (tss_create): New prototype.
7408 (tss_get): Likewise.
7409 (tss_set): Likewise.
7410 (tss_delete): Likewise.
7413 * conform/data/threads.h-data (cnd_t): New type.
7414 (cnd_init): New function.
7415 (cnd_signal): Likewise.
7416 (cnd_broadcast): Likewise.
7417 (cnd_wait): Likewise.
7418 (cnd_timedwait): Likewise.
7419 (cnd_destroy): Likewise.
7420 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7421 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7423 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7424 * nptl/cnd_broadcast.c: New file.
7425 * nptl/cnd_destroy.c: Likewise.
7426 * nptl/cnd_init.c: Likewise.
7427 * nptl/cnd_signal.c: Likewise.
7428 * nptl/cnd_timedwait.c: Likewise.
7429 * nptl/cnd_wait.c: Likewise.
7430 * sysdeps/nptl/threads.h (cnd_t): New type.
7431 (cnd_init): New prototype.
7432 (cnd_signa): Likewise.
7433 (cnd_broadcast): Likewise.
7434 (cnd_wait): Likewise.
7435 (cnd_timedwait): Likewise.
7436 (cnd_destroy): Likewise.
7439 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7440 (once_flag): New type.
7441 (call_once): New function.
7442 * nptl/Makefile (libpthread-routines): Add call_once object.
7443 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7444 * nptl/call_once.c: New file.
7445 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7446 (once_flag): New type.
7447 (call_once): New prototype.
7450 * conform/data/threads.h-data (mtx_plain): New constant.
7451 (mtx_recursive): Likewise.
7452 (mtx_timed): Likewise.
7454 (mtx_init): New function.
7455 (mtx_lock): Likewise.
7456 (mtx_timedlock): Likewise.
7457 (mtx_trylock): Likewise.
7458 (mtx_unlock): Likewise.
7459 (mtx_destroy): Likewise.
7460 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7461 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7462 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7463 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7464 * nptl/mtx_destroy.c: New file.
7465 * nptl/mtx_init.c: Likewise.
7466 * nptl/mtx_lock.c: Likewise.
7467 * nptl/mtx_timedlock.c: Likewise.
7468 * nptl/mtx_trylock.c: Likewise.
7469 * nptl/mtx_unlock.c: Likewise.
7470 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7471 (mtx_recursive): Likewise.
7472 (mtx_timed): Likewise.
7474 (mtx_init): New prototype.
7475 (mtx_lock): Likewise.
7476 (mtx_timedlock): Likewise.
7477 (mtx_trylock): Likewise.
7478 (mtx_unlock): Likewise.
7479 (mtx_destroy): Likewise.
7482 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7483 (linknamespace-libs-ISO11): Add libpthread.a.
7484 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7486 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7487 * nptl/Makefile (headers): Add threads.h.
7488 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7489 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7491 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7492 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7493 thrd_join, thrd_sleep, and thrd_yield symbols.
7494 * nptl/descr.h (struct pthread): Add c11 field.
7495 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7496 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7497 routine with expected function prototype.
7498 (__pthread_create_2_1): Add C11 threads check based on attribute
7500 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7501 * nptl/thrd_create.c: New file.
7502 * nptl/thrd_current.c: Likewise.
7503 * nptl/thrd_detach.c: Likewise.
7504 * nptl/thrd_equal.c: Likewise.
7505 * nptl/thrd_exit.c: Likewise.
7506 * nptl/thrd_join.c: Likewise.
7507 * nptl/thrd_priv.h: Likewise.
7508 * nptl/thrd_sleep.c: Likewise.
7509 * nptl/thrd_yield.c: Likewise.
7510 * include/threads.h: Likewise.
7512 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7514 * bits/indirect-return.h: New file.
7515 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7516 * sysdeps/x86/bits/indirect-return.h: Likewise.
7517 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7518 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7519 (swapcontext): Add __INDIRECT_RETURN.
7520 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7521 (prepare_test_buffer): Use it.
7523 2018-07-24 Andreas Schwab <schwab@suse.de>
7526 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7527 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7529 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7531 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7532 Redefine if shadow stack is enabled.
7533 (SYSCALL_ERROR_LABEL): Likewise.
7534 (__vfork): Pop shadow stack and jump back to to caller directly
7535 when shadow stack is in use.
7536 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7537 Redefine if shadow stack is enabled.
7538 (SYSCALL_ERROR_LABEL): Likewise.
7539 (__vfork): Pop shadow stack and jump back to to caller directly
7540 when shadow stack is in use.
7542 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7544 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7547 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7550 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7552 * scripts/build-many-glibcs.py (Context.checkout): Default
7553 binutils version to 2.31 branch.
7555 2018-07-20 Zong Li <zong@andestech.com>
7557 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7558 URL of gcc's tarball.
7560 2018-07-20 Florian Weimer <fweimer@redhat.com>
7563 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7564 not compare an extra byte after the end of the weights.
7566 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7568 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7570 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7572 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7573 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7574 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7575 list of libraries whose stack executability is expected.
7576 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7577 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7579 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7580 libc.so libpthread.so.
7582 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7584 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7586 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7588 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7590 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7592 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7594 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7595 library to improve command line parsing.
7596 (__main__): make schema file as optional parameter (--schema),
7597 defaulting to benchtests/scripts/benchout.schema.json.
7598 (main): move out of the parsing stuff to __main_ and leave it
7599 only as caller of main comparison functions.
7601 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7603 * NEWS: Add a note for Intel CET status.
7604 * manual/install.texi: Likewise.
7605 * INSTALL: Regenerated.
7607 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7610 * localedata/locales/oc_FR (mon): Rename to...
7611 (alt_mon): This, then update October (typo fix).
7612 (mon): New content (genitive case, month names preceded by
7616 * localedata/locales/oc_FR (abday): Update all items.
7617 (day): Update Wednesday and Saturday (typo fixes).
7618 (abmon): Update all items, except May.
7619 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7620 (LC_IDENTIFICATION): Bump the revision number and date.
7621 Keep the "category" entries in alphabetic order.
7622 (LC_ADDRESS): Remove no longer needed comment.
7623 (LC_COLLATE): Use “copy "ca_ES"”.
7624 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7627 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7629 * grp/tst_fgetgrent.c: Include <unistd.h>.
7630 (main): Use mkstemp instead of tmpnam.
7631 * io/test-utime.c (main): Likewise.
7632 * posix/annexc.c (macrofile): Change to modifiable array.
7633 (main): Remove macrofile here.
7634 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7636 (check_header): Do not remove macrofile here.
7637 * posix/bug-getopt1.c: Include <stdlib.h>.
7638 (do_test): Use mkstemp instead of tmpnam.
7639 * posix/bug-getopt2.c: Include <stdlib.h>.
7640 (do_test): Use mkstemp instead of tmpnam.
7641 * posix/bug-getopt3.c: Include <stdlib.h>.
7642 (do_test): Use mkstemp instead of tmpnam.
7643 * posix/bug-getopt4.c: Include <stdlib.h>.
7644 (do_test): Use mkstemp instead of tmpnam.
7645 * posix/bug-getopt5.c: Include <stdlib.h>.
7646 (do_test): Use mkstemp instead of tmpnam.
7647 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7648 (main): Use mkstemp instead of tmpnam.
7649 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7650 (main): Use mkstemp instead of tmpnam.
7651 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7652 (main): use mkstemp instead of tmpnam.
7653 * stdlib/isomac.c (macrofile): Change to modifiable array.
7654 (main): Remove macrofile here.
7655 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7657 (check_header): Do not remove macrofile here.
7659 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7661 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7662 glibc.tune.x86_shstk.
7664 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7666 * NEWS: Mention --enable-cet.
7667 * manual/install.texi: Document --enable-cet.
7668 * INSTALL: Regenerated.
7670 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7672 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7673 Add _CET_NOTRACK before indirect jump to jump table.
7675 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7677 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7678 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7681 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7683 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7684 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7687 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7689 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7690 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7693 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7695 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7696 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7699 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7702 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7704 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7706 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7709 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7712 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7714 * sysdeps/i386/i686/multiarch/memset-sse2.S
7715 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7718 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7720 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7721 indirect jump to jump table.
7723 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7726 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7730 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
7733 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7737 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7739 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7740 _CET_NOTRACK before indirect jump to jump table.
7742 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7744 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7745 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7748 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7750 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7751 indirect jump to jump table.
7753 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7756 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7757 (LOCALES): Likewise.
7758 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7759 * localedata/locales/sah_RU: New file.
7760 * localedata/sah_RU.UTF-8.in: New file.
7762 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7764 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7766 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7767 _CET_ENDBR to indirect jump targets and adjust jump destination
7769 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7771 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7772 _CET_ENDBR to indirect jump targets and adjust jump destination
7774 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7776 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7777 _CET_ENDBR to indirect jump targets and adjust jump destination
7780 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7782 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7785 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7787 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7789 (_dl_tlsdesc_undefweak): Likewise.
7790 (_dl_tlsdesc_dynamic): Likewise.
7791 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7792 (_dl_tlsdesc_resolve_rel): Likewise.
7793 (_dl_tlsdesc_resolve_rela): Likewise.
7794 (_dl_tlsdesc_resolve_hold): Likewise.
7795 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7796 (_dl_tlsdesc_undefweak): Likewise.
7797 (_dl_tlsdesc_dynamic): Likewise.
7798 (_dl_tlsdesc_resolve_rela): Likewise.
7799 (_dl_tlsdesc_resolve_hold): Likewise.
7801 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7803 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7805 * sysdeps/x86_64/crti.S (_init): Likewise.
7808 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7811 * localedata/locales/os_RU (mon): Rename to...
7813 (mon): Import from CLDR (genitive case).
7815 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7817 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7818 cet-tunables.h> when CET is enabled.
7820 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7823 * configure.ac: Add --enable-cet.
7824 * configure: Regenerated.
7825 * elf/Makefille (all-built-dso): Add a comment.
7826 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7827 Include <dl-prop.h>.
7828 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7830 * elf/dl-open.c: Include <dl-prop.h>.
7831 (dl_open_worker): Call _dl_open_check.
7832 * elf/rtld.c: Include <dl-prop.h>.
7833 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7835 * sysdeps/generic/dl-prop.h: New file.
7836 * sysdeps/i386/dl-cet.c: Likewise.
7837 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7838 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7839 * sysdeps/x86/cet-tunables.h: Likewise.
7840 * sysdeps/x86/check-cet.awk: Likewise.
7841 * sysdeps/x86/configure: Likewise.
7842 * sysdeps/x86/configure.ac: Likewise.
7843 * sysdeps/x86/dl-cet.c: Likewise.
7844 * sysdeps/x86/dl-procruntime.c: Likewise.
7845 * sysdeps/x86/dl-prop.h: Likewise.
7846 * sysdeps/x86/libc-start.h: Likewise.
7847 * sysdeps/x86/link_map.h: Likewise.
7848 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7850 (_dl_runtime_profile): Likewise.
7851 (_dl_runtime_resolve_shstk): New.
7852 (_dl_runtime_profile_shstk): Likewise.
7853 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7855 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7856 (CFLAGS-.os): Likewise.
7857 (CFLAGS-.op): Likewise.
7858 (CFLAGS-.oS): Likewise.
7859 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7861 (tests-special): Add $(objpfx)check-cet.out.
7862 (cet-built-dso): New.
7863 (+$(cet-built-dso:=.note)): Likewise.
7864 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7865 ($(objpfx)check-cet.out): New.
7866 (generated): Add check-cet.out.
7867 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7869 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7870 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7871 (init_cpu_features): Call get_cet_status to check CET status
7872 and update dl_x86_feature_1 with CET status. Call
7873 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7874 (set_x86_shstk). Disable and lock CET in libc.a.
7875 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7876 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7877 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7878 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7879 (_CET_ENDBR): Define if not defined.
7880 (ENTRY): Add _CET_ENDBR.
7881 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7883 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7885 (_dl_runtime_profile): Likewise.
7887 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7890 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7891 restore r2 on longjmp.
7892 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7894 Added rules to build test tst-setjmp-bug21895-static.
7895 Added module setjmp-bug21895 and rules to build a shared object from it.
7896 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7897 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7899 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7901 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7902 * benchtests/bench-strstr.c: Likewise.
7903 * string/memmem.c (FASTSEARCH): Define.
7904 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7905 Add support for FASTSEARCH.
7906 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7907 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7908 (FASTSEARCH): Define.
7909 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7910 * string/test-strstr.c: Likewise.
7912 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7915 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7917 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7918 H.J. Lu <hongjiu.lu@intel.com>
7920 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7921 (__longjmp): Restore shadow stack pointer if shadow stack is
7922 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7923 isn't defined for __longjmp_cancel.
7924 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7925 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7926 and SHADOW_STACK_POINTER_OFFSET is defined.
7927 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7928 (setjmp): Save shadow stack pointer if shadow stack is enabled
7929 and SHADOW_STACK_POINTER_OFFSET is defined.
7930 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7931 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7932 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7933 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7935 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7936 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7937 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7938 Remove jmp_buf-ssp.sym.
7939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7941 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7942 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7943 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7945 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7946 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7947 (__longjmp): Restore shadow stack pointer if shadow stack is
7948 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7949 isn't defined for __longjmp_cancel.
7950 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7951 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7952 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7954 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7957 * nptl/pthread_create.c: Include <tls-setup.h>.
7958 (__pthread_create_2_1): Call tls_setup_tcbhead.
7959 * sysdeps/generic/tls-setup.h: New file.
7960 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7961 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7962 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7964 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7966 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7967 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7968 (X86_FEATURE_1_SHSTK): Likewise.
7969 (CET_ENABLED): Likewise.
7970 (IBT_ENABLED): Likewise.
7971 (SHSTK_ENABLED): Likewise.
7973 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7976 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7977 (LOCALES): Likewise.
7978 * localedata/dsb_DE.UTF-8.in: New file.
7979 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7981 2018-07-12 Florian Weimer <fweimer@redhat.com>
7983 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
7984 __mprotect, not mprotect.
7986 2018-07-11 Florian Weimer <fweimer@redhat.com>
7988 * io/Makefile (headers): Add bits/statx.h.
7990 2018-07-10 Mike FABIAN <mfabian@redhat.com>
7992 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
7993 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
7995 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
7996 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
7999 2018-07-10 Florian Weimer <fweimer@redhat.com>
8001 * io/Makefile (routines): Add statx.
8002 (tests-internal): Add tst-statx.
8003 * io/Versions (GLIBC_2.28): Export statx.
8004 * io/bits/statx.h: New file.
8005 * io/sys/stat.h [__USE_GNU]: Include it.
8006 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8007 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8009 * io/statx.c: New file.
8010 * io/statx_generic.: Likewise.
8011 * io/tst-statx.: Likewise.
8012 * include/bits/statx.h: Likewise.
8013 * sysdeps/unix/sysv/linux/kernel-features.h
8014 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8015 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8016 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8017 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8019 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8020 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8021 * sysdeps/unix/sysv/linux/statx.c: New file.
8022 * manual/filesys.texi: Note that statx is undocumented.
8023 * sysdeps/**/libc*.abilist: Update.
8025 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8027 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8028 a kernel issue which lead to test failure in some cases.
8030 2018-07-10 Florian Weimer <fweimer@redhat.com>
8033 * posix/regexec.c (check_node_accept_bytes): When comparing
8034 weights, do not compare an extra byte after the end of the
8037 2018-07-10 Florian Weimer <fweimer@redhat.com>
8039 * libio/readline.c: Fix copyright year.
8040 * libio/tst-readline.c Likewise.
8041 * nss/tst-nss-files-hosts-getent.c: Likewise.
8043 2018-07-06 Florian Weimer <fweimer@redhat.com>
8046 * nss/nss_files/files-XXX.c (internal_getent): Use
8047 __libc_readline_unlocked. Seek back to the start of the line if
8048 parsing failes with ERANGE.
8049 (get_contents_ret, get_contents): Remove.
8050 * nss/tst-nss-files-hosts-getent.c: New file.
8051 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8052 (tst-nss-files-hosts-getent): Link with -ldl.
8054 2018-07-06 Florian Weimer <fweimer@redhat.com>
8056 * include/stdio.h (__libc_readline_unlocked): Declare.
8057 (__ftello64, __fseeko64): Declare aliases.
8058 * libio/readline.c: New file.
8059 * libio/tst-readline.c: Likewise.
8060 (routines): Add readline.
8061 (tests-internal): Add tst-readlime.
8062 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8063 __libc_readline_unlocked.
8064 * libio/fseeko.c (__fseeko): Rename from fseeko.
8065 (fseeko): Add alias.
8066 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8067 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8068 (fseeko64): Add alias.
8069 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8070 * libio/ftello64.c (__ftello64): Rename from ftello64.
8071 (ftello64): Add alias.
8073 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8078 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8080 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8081 Use dl_hwcap without masking.
8082 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8085 2018-07-06 Florian Weimer <fweimer@redhat.com>
8087 * conform/conformtest.pl (checknamespace): Escape literal braces
8088 in regular expressions.
8090 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8092 * sysdeps/x86/cpu-features.c (get_common_indeces):
8093 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8094 * sysdeps/x86/cpu-features.c (init_cpu_features):
8095 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8097 2018-07-05 Florian Weimer <fweimer@redhat.com>
8099 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8101 (CFLAGS-elf-init.oS): Likewise.
8103 2018-07-05 Florian Weimer <fweimer@redhat.com>
8104 Carlos O'Donell <carlos@redhat.com>
8106 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8107 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8108 with stack protector enabled because there is no risk of infinite
8111 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8115 * libc-abis (ABSOLUTE): New ABI.
8116 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8117 * NEWS: Mention the new ABI.
8119 2018-07-05 Florian Weimer <fweimer@redhat.com>
8122 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8123 (RENAME_WHITEOUT): Define.
8124 [__USE_GNU] (renameat2): Declare.
8125 * stdio-common/Makefile (routines): Add renameat2.
8126 (tests): Add tst-renameat2.
8127 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8128 * stdio-common/renameat2.c: New file.
8129 * stdio-common/tst-renameat2.c: Likewise.
8130 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8131 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8133 * sysdeps/unix/sysv/linux/kernel-features.h
8134 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8136 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8138 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8139 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8140 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8141 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8142 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8143 * include/stdio.h (__renameat): Add alias for renameat.
8144 * stdio-common/renameat.c (__renameat): Rename from renameat.
8145 Add hidden definition and alias.
8146 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8147 * sysdeps/mach/hurd/renameat.c: Likewise.
8148 * sysdeps/**/libc*.abilist: Add renameat2.
8150 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8152 * posix/bug-regex33.c: Fix build after regex sync.
8154 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8157 * localedata/tst-langinfo-setlocale.c: New file.
8158 * localedata/tst-langinfo-setlocale-static.c: New file.
8159 * localedata/tst-langinfo-newlocale.c: New file.
8160 * localedata/tst-langinfo-newlocale-static.c: New file.
8161 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8162 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8163 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8164 (tests-static): Remove tst-langinfo-static. Add
8165 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8166 (tests-special): Remove $(objpfx)tst-langinfo.out,
8167 $(objpfx)tst-langinfo-static.out. Add
8168 $(objpfx)tst-langinfo-setlocale.out,
8169 $(objpfx)tst-langinfo-newlocale.out,
8170 $(objpfx)tst-langinfo-setlocale-static.out,
8171 $(objpfx)tst-langinfo-newlocale-static.out.
8172 ($(objpfx)tst-langinfo.out): Remove.
8173 ($(objpfx)tst-langinfo-static.out): Remove.
8174 ($(objpfx)tst-langinfo-newlocale.out): New target.
8175 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8176 (test-xfail-tst-langinfo-newlocale-static): Add.
8177 ($(objpfx)tst-langinfo-setlocale.out): New target.
8178 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8179 * localedata/tst-langinfo.c: Call test_locale.
8180 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8183 2018-07-04 Florian Weimer <fweimer@redhat.com>
8185 testrun.sh: Implement --tool=strace, --tool=valgrind
8186 * Makefile (testrun-script): Define variable.
8187 (testrun.sh): Use variable.
8188 * manual/install.texi (Tools for Compilation): make 4.0 or later
8190 * configure.ac: Check for make 4.0 or later.
8191 * INSTALL: Regenerate.
8192 * configure: Likewise.
8194 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8200 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8201 * posix/PCRE.tests: Remove invalid test.
8202 * posix/bug-regex28.c: Fix expected values for used syntax.
8203 * posix/bug-regex37.c: New file.
8204 * posix/bug-regex38.c: Likewise.
8205 * posix/regcomp.c: Sync with gnulib.
8206 * posix/regex.c: Likewise.
8207 * posix/regex.h: Likewise.
8208 * posix/regex_internal.c: Likewise.
8209 * posix/regex_internal.h: Likewise.
8210 * posix/regexec.c: Likewise.
8212 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8215 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8216 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8217 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8218 * localedata/unicode-gen/PropList.txt: likewise.
8219 * localedata/unicode-gen/UnicodeData.txt: likewise.
8220 * localedata/charmaps/UTF-8: Regenerate.
8221 * localedata/locales/i18n_ctype: likewise.
8222 * localedata/locales/tr_TR: likewise.
8223 * localedata/locales/translit_circle: likewise.
8224 * localedata/locales/translit_cjk_compat: likewise.
8225 * localedata/locales/translit_combining: likewise.
8226 * localedata/locales/translit_compat: likewise.
8227 * localedata/locales/translit_font: likewise.
8228 * localedata/locales/translit_fraction: likewise.
8230 2018-07-03 Florian Weimer <fweimer@redhat.com>
8233 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8234 * stdio-common/tst-printf.sh: Adjust expected output.
8237 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8239 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8242 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8244 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8245 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8246 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8247 * stdio-common/tst-printfsz-islongdouble.c: New file.
8248 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8250 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8251 [subdir == stdio-common] (tests-internal): Add
8252 test-printf-size-ieee128, and test-printf-size-ibm128.
8253 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8254 (CFLAGS-test-printf-size-ibm128.c): New variables.
8255 [subdir == stdio-common] (tests-special): Add
8256 $(objpfx)test-printf-size-ieee128.out and
8257 $(objpfx)test-printf-size-ibm128.out.
8258 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8259 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8260 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8261 __printf_sizeieee128.
8262 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8264 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8266 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8269 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8271 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8272 (exp2f_inline): Likewise.
8273 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8274 (__math_uflowf): Likewise.
8275 (__math_may_uflowf): Likewise.
8276 (__math_divzerof): Likewise.
8277 (__math_invalidf): Likewise.
8278 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8279 (__math_oflowf): Likewise.
8280 (__math_uflowf): Likewise.
8281 (__math_may_uflowf): Likewise.
8282 (__math_divzerof): Likewise.
8283 (__math_invalidf): Likewise.
8285 2018-06-29 DJ Delorie <dj@redhat.com>
8286 Carlos O'Donell <carlos@redhat.com>
8289 * include/libc-symbols.h: Comment the freeres framework.
8290 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8291 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8292 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8293 * dlfcn/dlerror.c: Include libc-symbols.h
8294 (__dlerror_main_freeres): New function.
8295 * dlfcn/dlfreeres.c: New file.
8296 * dlfcn/sdlfreeres.c: New file.
8297 * include/dlfcn.h: Declare __dlerror_main_freeres.
8298 * malloc/set-freeres.c: Declare __libdl_freeres, and
8299 __libpthread_freeres.
8300 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8301 the releavant libraries are loaded.
8302 * malloc/thread-freeres.c: Add comments.
8303 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8304 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8305 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8306 (__free_stacks): Rename to...
8307 (free_stacks): ...this. Mark static.
8308 (queue_stack): Call free_stacks.
8309 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8310 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8311 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8312 ptr_freeres element from struct.
8313 (pthread_functions): Remove .ptr_freeres from struct initializer.
8314 [SHARED] (nptl_freeres): Remove.
8315 * nptl/nptlfreeres.c: New file.
8317 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8318 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8320 (__free_stacks): Rename to...
8321 (__nptl_stacks_freeres): ...this.
8322 (__shm_directory_freeres): Declare.
8323 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8324 (__nptl_unwind_freeres): ...this.
8325 * resolv/res-close.c: Add comment.
8326 * resolv/resolv_conf.c: Include libc-symbols.h.
8327 * string/strerror_l.c: Include libc-symbols.h.
8328 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8329 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8330 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8331 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8333 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8335 * stdlib/tst-strfmon_l.c: Add tests for long double.
8337 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8340 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8341 * localedata/locales/dsb_DE: New file.
8343 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8346 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8348 (alt_mon): New entry, import from CLDR (nominative case).
8350 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8353 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8355 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8357 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8358 Use vector registers.
8360 * sysdeps/aarch64/multiarch/memmove_falkor.S
8361 (__memcpy_falkor): Use vector registers.
8363 2018-06-29 Martin Sebor <msebor@redhat.com>
8365 * manual/stdio.texi (Customizing Printf): Mention interaction
8368 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8371 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8372 `st_value' is 0 if `st_shndx' is SHN_ABS.
8373 * elf/tst-absolute-zero.c: New file.
8374 * elf/tst-absolute-zero-lib.c: New file.
8375 * elf/tst-absolute-zero-lib.lds: New file.
8376 * elf/Makefile (tests): Add `tst-absolute-zero'.
8377 (modules-names): Add `tst-absolute-zero-lib'.
8378 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8379 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8380 ($(objpfx)tst-absolute-zero: New dependency.
8382 2018-06-29 Zack Weinberg <zackw@panix.com>
8384 * configure.ac: New command-line option --disable-crypt.
8385 Force --disable-nss-crypt when --disable-crypt is given, with a
8386 warning if it was explicitly enabled.
8387 * configure: Regenerate.
8388 * config.make.in: New boolean substitution variable $(build-crypt).
8389 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8390 when $(build-crypt).
8391 * manual/install.texi: Document --disable-crypt.
8392 * INSTALL: Regenerate.
8394 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8396 * conform/Makefile: Only include libcrypt.a in
8397 linknamespace-libs-xsi and linknamespace-libs-XPG4
8398 when $(build-crypt).
8399 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8400 USE_CRYPT to 1 when $(build-crypt).
8401 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8402 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8403 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8405 2018-06-29 Zack Weinberg <zackw@panix.com>
8407 * crypt/crypt.h, posix/unistd.h: Update comments and
8408 prototypes for crypt and crypt_r.
8410 * manual/crypt.texi (Cryptographic Functions): New initial
8412 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8413 (Unpredictable Bytes): Improve initial exposition. Clarify error
8414 behavior of getentropy and getrandom.
8415 * manual/examples/genpass.c: Generate a salt using getentropy
8416 instead of the current time. Use hash $5$ (SHA-2-256).
8417 * manual/examples/testpass.c: Demonstrate validation against
8418 hashes generated with three different one-way functions.
8420 * manual/intro.texi: crypt.texi does not need an overview
8423 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8424 * manual/terminal.texi: Consistently refer to "passphrases"
8425 * instead of "passwords", and to the "user database" instead
8426 * of the "password database".
8427 * manual/users.texi: Similarly. Add notes about how actual
8428 passphrase hashes are now stored in the shadow database.
8429 Remove 20-year-old junk todo note.
8431 2018-06-29 Zack Weinberg <zackw@panix.com>
8433 * manual/crypt.texi: Use a normal top-level @node declaration.
8434 Move most of the introductory text to the 'crypt' section.
8435 Move the example programs below the @deftypefun for 'crypt_r'.
8436 Move the 'getpass' section...
8437 * manual/terminal.texi: ...here.
8439 2018-06-29 Zack Weinberg <zackw@panix.com>
8440 Florian Weimer <fweimer@redhat.com>
8442 * posix/unistd.h: Do not declare encrypt.
8443 (_XOPEN_CRYPT): Remove macro definition.
8444 (crypt): Declare only for _USE_MISC.
8445 * stdlib/stdlib.h: Do not declare setkey.
8446 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8447 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8449 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8450 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8451 into compat symbols. Don't define initial_perm if it's not
8453 * crypt/cert.c: Link explicitly with the expected versions for
8454 setkey and encrypt. If they are not available at all, mark
8455 the test as unsupported.
8457 * sunrpc/des_crypt.c: Unconditionally block linkage with
8458 cbc_crypt and ecb_crypt for new binaries.
8459 * sunrpc/des_soft.c: Unconditionally block linkage with
8460 des_setparity for new binaries.
8462 * manual/crypt.texi: Remove the entire "DES Encryption"
8463 section. Also remove the paragraph talking about FIPS 140-2
8464 from the introduction.
8465 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8466 of libgcrypt for "real" encryption, not DES.
8467 * manual/conf.texi (Constants for Sysconf): Mention that
8468 _XOPEN_CRYPT is no longer impelemented.
8470 * conform/data/unistd.h-data: Remove crypt function declaration.
8472 2018-06-29 Florian Weimer <fweimer@redhat.com>
8475 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8476 (disallow_malloc_check): Remove variable.
8477 (__malloc_check_init): Adjust.
8478 (malloc_set_state): Update comment.
8479 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8482 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8485 * localedata/locales/ast_ES (mon): Rename to...
8487 (mon): Import from CLDR (genitive case).
8489 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8490 Jakub Sitnicki <jkbs@redhat.com>
8493 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8496 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8498 * manual/llio.texi: Remove spurious space.
8500 2018-06-28 Florian Weimer <fweimer@redhat.com>
8503 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8506 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8508 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8509 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8510 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8511 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8512 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8513 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8514 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8516 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8519 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8520 Copy and null-terminate entries that are not terminated, in
8521 addition to empty ones.
8523 2018-06-27 Florian Weimer <fweimer@redhat.com>
8526 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8527 (extend_alloca_account): Remove.
8528 * manual/stdio.texi (Variable Arguments Output): Update comment.
8530 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8532 * nptl/sockperf.c: Remove file.
8534 2018-06-27 Florian Weimer <fweimer@redhat.com>
8537 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8538 scratch_buffer instead of extend_alloca.
8540 2018-06-27 Florian Weimer <fweimer@redhat.com>
8543 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8544 scratch_buffer instead of extend_alloca. Update comments.
8546 2018-06-27 Florian Weimer <fweimer@redhat.com>
8549 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8550 instead of extend_alloca.
8552 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8555 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8556 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8558 * scripts/test-installation.pl: Put temporary files in build
8559 directory, not /tmp.
8560 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8561 (CFLAGS-bug4.c): Likewise.
8562 (CFLAGS-bug5.c): Likewise.
8563 (CFLAGS-test-fseek.c): Likewise.
8564 (CFLAGS-test-popen.c): Likewise.
8565 (CFLAGS-test_rdwr.c): Likewise.
8566 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8568 * stdio-common/bug4.c (main): Likewise.
8569 * stdio-common/bug5.c (main): Likewise.
8570 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8571 * stdio-common/test-popen.c (do_test): Likewise.
8572 * stdio-common/test_rdwr.c (main): Likewise.
8574 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8576 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8577 (sem_open): Set sem.newsem.pad to zero for valgrind.
8579 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8582 * NEWS: Mention fcntl64 addition.
8583 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8584 * login/utmp_file.c: Likewise.
8585 * sysdeps/posix/fdopendir.c: Likewise.
8586 * sysdeps/posix/opendir.c: Likewise.
8587 * sysdeps/unix/pt-fcntl.c: Likewise.
8588 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8589 __fcntl64_nocancel_adjusted): New prototype.
8590 (__fcntl_nocancel_adjusted): Remove prototype.
8591 * io/Makefile (routines): Add fcntl64.
8592 (CFLAGS-fcntl64.c): New rule.
8593 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8594 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8595 * io/fcntl.h (fcntl64): Add prototype and redirect if
8596 __USE_FILE_OFFSET64 is defined.
8597 * io/fcntl64.c: New file.
8598 * manual/llio.text: Add a note for which commands fcntl acts a
8600 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8601 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8602 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8604 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8605 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8607 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8608 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8609 to __fcntl64_nocancel.
8610 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8611 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8612 to __fcntl64_nocancel.
8613 * sysdeps/generic/not-cancel.h: Likewise.
8614 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8615 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8616 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8617 (fcntl64): New symbol.
8618 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8619 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8620 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8623 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8624 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8627 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8628 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8630 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8631 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8632 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8633 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8634 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8635 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8636 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8637 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8643 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8644 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8647 2018-06-26 Florian Weimer <fweimer@redhat.com>
8649 Run thread shutdown functions in an explicit order.
8650 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8652 (__libc_thread_freeres): Call thread shutdown functions
8654 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8655 * include/string.h (__strerror_thread_freeres): Declare.
8656 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8657 arena_thread_freeres. No longer static. Remove thread shutdown
8659 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8661 * resolv/res-close.c (__res_thread_freeres): Renamed from
8662 res_thread_freeres. No longer static. Remove thread shutdown
8664 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8665 * resolv/resolv_conf.c (freeres): Remove incorrect section
8666 attribute and use libc_freeres_fn.
8667 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8668 strerror_thread_freeres. No longer static. Remove thread
8669 shutdown hook registration.
8670 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8671 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8672 shutdown hook registration.
8673 * Makerules (shlib.lds): Do not provide section boundary symbols
8674 for __libc_thread_subfreeres.
8675 * manual/memory.texi (Basic Allocation): Update comment.
8677 2018-06-26 Florian Weimer <fweimer@redhat.com>
8679 Remove always-defined _RPC_THREAD_SAFE_ macro.
8680 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8681 Do not define _RPC_THREAD_SAFE_.
8682 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8684 * sunrpc/clnt_perr.c: Likewise.
8685 * sunrpc/clnt_raw.c: Likewise.
8686 * sunrpc/clnt_simp.c: Likewise.
8687 * sunrpc/key_call.c: Likewise.
8688 * sunrpc/rpc_common.c: Likewise.
8689 * sunrpc/rpc_main.c: Likewise.
8690 * sunrpc/rpc_thread.c: Likewise.
8691 * sunrpc/svc.c: Likewise.
8692 * sunrpc/svc_raw.c: Likewise.
8693 * sunrpc/svc_simple.c: Likewise.
8694 * sumrpc/svcauth_des.c: Likewise.
8696 2018-06-26 Florian Weimer <fweimer@redhat.com>
8698 * libio/Makefile (tests-internal): Add tst-vtables,
8699 tst-vtables-interposed.
8700 * libio/tst-vtables.c: New file.
8701 * libio/tst-vtables-common.c: Likewise.
8702 * libio/tst-vtables-interposed.c: Likewise.
8704 2018-06-26 Florian Weimer <fweimer@redhat.com>
8706 * support/support_test_main.c (support_test_main): Only call
8707 setvbuf if not disables.
8708 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8709 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8711 2018-06-26 Florian Weimer <fweimer@redhat.com>
8714 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8716 2018-06-25 Florian Weimer <fweimer@redhat.com>
8719 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8720 Use struct scratch_buffer instead of extend_alloca.
8722 2018-06-25 Florian Weimer <fweimer@redhat.com>
8725 * nss/getent.c (initgroups_keys): Use dynarray instead of
8728 2018-06-25 Florian Weimer <fweimer@redhat.com>
8731 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8732 Use struct scratch_buffer instead of extend_alloca.
8734 2018-06-25 Florian Weimer <fweimer@redhat.com>
8737 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8738 back to malloc directly, without stack allocations.
8740 2018-06-25 Florian Weimer <fweimer@redhat.com>
8743 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8746 2018-06-25 Florian Weimer <fweimer@redhat.com>
8749 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8751 * nscd/hstcache.c (addhstbyX): Likewise.
8752 * nscd/pwdcache.c (addpwbyX): Likewise.
8753 * nscd/servicescache.c (addservbyX): Likewise.
8755 2018-06-25 Florian Weimer <fweimer@redhat.com>
8758 * nscd/connections.c (read_cmdline): New function.
8759 (restart): Use it. Update comment.
8761 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8764 * localedata/locales/csb_PL (mon): Rename to...
8766 (abmon): Rename to...
8768 (mon): Add with proper genitive forms, copy from Wikipedia.
8771 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8774 * localedata/locales/csb_PL (mon): Fix typos:
8775 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8776 (yesstr): Add, value is "jo".
8777 (nostr): Add, value is "nié".
8779 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8781 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8782 all log1p and significand functions on m680x0.
8783 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8784 of s_significand.c..
8785 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8786 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8787 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8788 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8789 s_log1p.c and include it..
8791 2018-06-21 Vincent Chen <vincentc@andestech.com>
8793 * elf/elf.h (R_NDS32_NONE): New define.
8794 (R_NDS32_32_RELA): Likewise.
8795 (R_NDS32_COPY): Likewise.
8796 (R_NDS32_GLOB_DAT): Likewise.
8797 (R_NDS32_JUMP_SLOT): Likewise.
8798 (R_NDS32_RELATIVE): Likewise.
8799 (R_NDS32_TLS_TPOFF): Likewise.
8800 (R_NDS32_TLS_DESC): Likewise.
8802 2018-06-21 Mark Wielaard <mark@klomp.org>
8804 * elf/elf.h (R_BPF_MAP_FD): Removed.
8805 (R_BPF_64_64, R_BPF_64_32): New.
8807 2018-06-21 Florian Weimer <fweimer@redhat.com>
8810 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8811 Renamed from libc_feholdsetround_ctx.
8812 (default_libc_feresetround_ctx): Renamed from
8813 libc_feresetround_ctx.
8814 (default_libc_feholdsetround_noex_ctx): Renamed from
8815 libc_feholdsetround_noex_ctx.
8816 (default_libc_feresetround_noex_ctx): Renamed from
8817 libc_feresetround_noex_ctx.
8818 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8819 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8820 forwardning to the old implementations under the new names.
8821 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8822 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8823 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8824 (libc_feresetround_ctx): Forward to default implements for i386
8825 and MATH_SET_BOTH_ROUNDING_MODES.
8826 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8827 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8829 2018-06-20 Joseph Myers <joseph@codesourcery.com>
8831 * string/tst-cmp.c: Include <libc-diag.h>.
8832 (strncmp_max): Disable -Wstringop-overflow= around call to
8834 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8837 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8838 (main): Disable -Wunused-value around call to strpbrk.
8839 * string/bug-strspn1.c: Include <libc-diag.h>.
8840 (main): Disable -Wunused-value around call to strspn.
8842 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8843 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8845 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8846 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8848 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8850 * math/Makefile (libm-calls): Move s_significandF to...
8851 (gen-libm-calls): ... here.
8852 * math/s_significand_template.c: New file.
8853 * math/s_significand.c: Removed.
8854 * math/s_significandf.c: Removed.
8855 * math/s_significandl.c: Removed.
8856 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8857 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8859 * math/e_exp2_template.c (declare_mgen_finite_alias,
8860 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8861 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8862 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8864 2018-06-20 Florian Weimer <fweimer@redhat.com>
8866 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8868 2018-06-19 Joseph Myers <joseph@codesourcery.com>
8871 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8872 floating-point number to strtod functions rather than possibly
8873 negating result of those functions.
8874 * stdio-common/tst-scanf-round.c: New file.
8875 * stdio-common/Makefile (tests): Add tst-scanf-round.
8876 ($(objpfx)tst-scanf-round): Depend on $(libm).
8878 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8880 * sysdeps/mach/hurd/localplt.data: Move to...
8881 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8882 R_386_GLOB_DAT like on Linux i386.
8884 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8886 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8887 (SHM_STAT_ANY): New macro.
8888 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8889 (SHM_STAT_ANY): Likewise.
8890 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8891 (SHM_STAT_ANY): Likewise.
8892 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8893 (SHM_STAT_ANY): Likewise.
8894 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8895 (SHM_STAT_ANY): Likewise.
8896 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8897 (SHM_STAT_ANY): Likewise.
8898 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8899 (SHM_STAT_ANY): Likewise.
8900 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8901 (SHM_STAT_ANY): Likewise.
8902 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8903 (SHM_STAT_ANY): Likewise.
8904 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8905 (SHM_STAT_ANY): Likewise.
8906 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8907 (SHM_STAT_ANY): Likewise.
8908 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8909 (SHM_STAT_ANY): Likewise.
8911 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8912 (SEM_STAT_ANY): New macro.
8913 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8914 (SEM_STAT_ANY): Likewise.
8915 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8916 (SEM_STAT_ANY): Likewise.
8917 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8918 (SEM_STAT_ANY): Likewise.
8919 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8920 (SEM_STAT_ANY): Likewise.
8921 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8922 (SEM_STAT_ANY): Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8924 (SEM_STAT_ANY): Likewise.
8925 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8926 (SEM_STAT_ANY): Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8928 (SEM_STAT_ANY): Likewise.
8929 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8930 (SEM_STAT_ANY): Likewise.
8932 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8933 (MSG_STAT_ANY): New macro.
8934 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8935 (MSG_STAT_ANY): Likewise.
8936 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8937 (MSG_STAT_ANY): Likewise.
8938 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8939 (MSG_STAT_ANY): Likewise.
8940 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8941 (MSG_STAT_ANY): Likewise.
8942 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8943 (MSG_STAT_ANY): Likewise.
8944 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8945 (MSG_STAT_ANY): Likewise.
8946 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8947 (MSG_STAT_ANY): Likewise.
8948 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8949 (MSG_STAT_ANY): Likewise.
8950 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8951 (MSG_STAT_ANY): Likewise.
8953 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8954 (MAP_TYPE): Change value to 0x2b.
8956 2018-06-18 Florian Weimer <fweimer@redhat.com>
8959 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8960 socket with SOCK_CLOEXEC.
8962 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8965 * sysdeps/powerpc/powerpc64/le/Makefile
8966 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8967 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8968 (gnulib-tests): Also add $(f128-loader-link) for
8969 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8971 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8973 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8974 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8976 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8977 (sendfile64): New strong alias.
8978 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8979 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8980 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
8981 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
8983 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
8984 ___pthread_get_cleanup_stack.
8985 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
8986 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
8987 * mach/shortcut.awk: Make syscall stubs include
8988 <mach-shortcuts-hidden.h> and add hidden definition.
8989 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
8990 (__mach_msg): Add hidden prototype.
8991 * mach/msg.c: Include <mach.h>.
8992 (__mach_msg): Add hidden definition.
8993 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
8994 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
8995 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
8996 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8997 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
8998 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
8999 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9000 prototype and definition.
9001 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9002 hidden target for _hurd_self_sigstate.
9004 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9007 * stdlib/tst-strtod-nan-sign-main.c: New file.
9008 * stdlib/tst-strtod-nan-sign.c: Likewise.
9009 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9010 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9011 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9012 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9013 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9015 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9021 2018-06-14 Florian Weimer <fweimer@redhat.com>
9024 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9025 that the result stays within the ISO-8859-1 range.
9026 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9027 characters are defined in IBM273.
9029 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9031 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9032 __mach_task_self): Remove attribute_hidden.
9034 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9036 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9037 ignore -Wrestrict for one test.
9039 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9040 Szabolcs Nagy <szabolcs.nagy@arm.com>
9042 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9044 2018-06-14 Florian Weimer <fweimer@redhat.com>
9046 * scripts/update-abilist.sh: Accept empty list of files to patch.
9048 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9050 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9051 test-xfail-check-abi-libmachuser): Add.
9052 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9053 __libc_read and __libc_write to __read and __write.
9054 * sysdeps/hurd/include/hurd/port.h: New file.
9055 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9056 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9057 __thread_switch, __evc_wait): Move declarations to...
9058 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9060 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9061 use PLT to call _hurd_self_sigstate.
9063 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9066 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9067 MAX_EXP as overflowing.
9068 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9070 (round_str): Output also whether result overflows in each rounding
9072 * stdlib/tst-strtod-round-data: Add more tests.
9073 * stdlib/tst-strtod-round-data.h: Regenerated.
9074 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9075 (TEST): Handle extra arguments for overflow flags.
9076 (struct test_overflow): New type.
9077 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9078 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9079 (test_in_one_mode): Take argument with overflow information.
9080 (do_test): Update calls to test_in_one_mode.
9082 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9084 * elf/dl-load (_dl_dst_substitute): Correct comment.
9085 (_dl_dst_count): Likewise.
9087 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9088 lll_futex_timed_wait.
9090 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9093 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9095 * math/test-nan-const.c: New file.
9096 * math/Makefile (tests): Add test-nan-const.
9097 (CFLAGS-test-nan-const.c): New variable.
9099 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9101 * benchtests/scripts/compare_strings.py (process_results): Add
9102 funcs argument. Compare only functions which are selected.
9103 (main): Check if base function is among selected functions.
9104 Pass selected functions to process_results.
9105 (__main__): Add -f/--functions argument.
9107 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9108 Hongbo Zhang <hongbo.zhang@linaro.org>
9110 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9111 __memcpy_falkor for phecda core.
9112 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9113 __memmove_falkor for phecda core.
9114 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9115 __memset_falkor for phecda core.
9116 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9118 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9119 macro to identify phecda core.
9121 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9122 Andreas Schwab <schwab@suse.de>
9123 Dmitry V. Levin <ldv@altlinux.org>
9124 Florian Weimer <fweimer@redhat.com>
9131 * elf/dl-dst.h: Remove DL_DST_COUNT.
9132 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9133 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9134 (is_dst): Comment. Support ELF gABI.
9135 (_dl_dst_count): Comment. Simplify and count DSTs.
9136 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9137 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9140 2018-06-12 Zack Weinberg <zackw@panix.com>
9142 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9143 * sysdeps/unix/sysv/linux/dl-sysdep.c
9144 Include not-cancel.h. Use __close_nocancel instead of __close,
9145 __open64_nocancel instead of __open, __read_nocancel instead of
9146 __libc_read, and __write_nocancel instead of __libc_write.
9148 * csu/check_fds.c (check_one_fd)
9149 * sysdeps/posix/fdopendir.c (__fdopendir)
9150 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9151 instead of __fcntl and/or __libc_fcntl.
9153 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9154 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9155 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9156 Use __open64_nocancel instead of __open_nocancel.
9158 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9159 hidden_proto declarations to the end and issue them if either
9160 IS_IN(libc) or IS_IN(rtld).
9161 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9162 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9163 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9164 read_nocancel, waitpid_nocancel, write_nocancel.
9166 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9167 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9168 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9170 * nptl/pt-fcntl.c: New file.
9171 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9172 (libpthread-routines): Add pt-fcntl.
9173 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9174 (__libc_fcntl): Remove attribute_hidden.
9175 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9176 __fcntl_nocancel_adjusted, not fcntl_common.
9177 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9178 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9179 to fcntl_nocancel.c.
9180 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9183 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9185 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9186 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9187 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9188 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9189 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9190 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9191 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9192 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9193 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9194 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9195 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9196 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9197 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9198 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9199 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9200 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9201 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9202 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9203 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9204 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9206 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9207 libpthread-routines.
9208 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9211 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9212 __libc_read, and __write instead of __libc_write. Define
9213 __open64 in addition to __open.
9215 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9219 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9220 to _private_tm[3] and add __glibc_reserved2.
9221 Add _Static_assert of offset of __private_ss == 0x30.
9222 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9223 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9225 2018-06-12 Florian Weimer <fweimer@redhat.com>
9227 x86: Make strncmp usable from rtld.
9228 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9229 __strncmp_ia32 if in libc (and not in rtld).
9230 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9231 strncmp if not in libc (and not to __strncmp_sse2).
9233 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9236 * localedata/locales/gd_GB (mon): Rename to...
9238 (mon): Import from CLDR (genitive case).
9239 * localedata/locales/hsb_DE (mon): Rename to...
9241 (mon): Import from CLDR (genitive case).
9242 * localedata/locales/wa_BE (mon): Rename to...
9244 (mon): Add, fill with the proper genitive forms, but CLDR data
9245 is incomplete; completed according to the comments in this file.
9246 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9248 * localedata/locales/wa_BE (country_name): Reword
9249 "Beljike" -> "Beldjike".
9251 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9255 cases of non-finite arguments.
9256 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9258 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9261 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9263 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9266 * include/unistd.h (__execvpex): New prototype.
9267 * posix/Makefile (tests): Add tst-spawn4.
9268 (tests-internal): Add tst-spawn4-compat.
9269 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9270 * posix/tst-spawn4-compat.c: New file.
9271 * posix/tst-spawn4.c: Likewise.
9272 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9273 binaries as shell scripts.
9274 * sysdeps/posix/spawni.c (__spawni): Likewise.
9276 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9279 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9280 ($(all-built-dso:=.dynsym): New target.
9281 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9282 ($(objpfx)check-initfini.out): New target.
9283 (generated): Add check-initfini.out.
9284 * scripts/check-initfini.awk: New file.
9285 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9287 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9289 * sysdeps/arm/crti.S (_init): Mark as hidden.
9291 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9293 * sysdeps/i386/crti.S (_init): Mark as hidden.
9295 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9297 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9299 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9301 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9303 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9305 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9307 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9309 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9311 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9313 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9315 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9317 * sysdeps/sh/crti.S (_init): Mark as hidden.
9319 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9321 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9324 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9326 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9327 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9328 and TF redirection to KFtype and KF only when the default
9329 long double type is not the IEEE 128-bit floating point type.
9331 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9333 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9335 (HWCAP_USCAT): Likewise.
9336 (HWCAP_ILRCPC): Likewise.
9337 (HWCAP_FLAGM): Likewise.
9338 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9340 (_dl_aarch64_cap_flags): Add new flag names.
9342 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9343 (MAP_FIXED_NOREPLACE): New macro.
9344 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9345 (MAP_FIXED_NOREPLACE): Likewise.
9346 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9347 (MAP_FIXED_NOREPLACE): Likewise.
9348 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9349 (MAP_FIXED_NOREPLACE): Likewise.
9350 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9351 (MAP_FIXED_NOREPLACE): Likewise.
9352 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9353 (MAP_FIXED_NOREPLACE): Likewise.
9354 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9355 (MAP_FIXED_NOREPLACE): Likewise.
9356 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9357 (MAP_FIXED_NOREPLACE): Likewise.
9358 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9359 (MAP_FIXED_NOREPLACE): Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9361 (MAP_FIXED_NOREPLACE): Likewise.
9362 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9363 (MAP_FIXED_NOREPLACE): Likewise.
9364 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9365 (MAP_FIXED_NOREPLACE): Likewise.
9366 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9367 (MAP_FIXED_NOREPLACE): Likewise.
9368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9369 (MAP_FIXED_NOREPLACE): Likewise.
9370 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9371 (MAP_FIXED_NOREPLACE): Likewise.
9373 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9376 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9378 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9381 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9383 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9385 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9387 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9389 * benchtests/scripts/compare_string.py: (process_results) Catch
9390 exception in non-existent base_func and catch exception in
9391 non-existent attribute.
9392 (parse_file) Catch exception if input file does not exist.
9394 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9396 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9397 options to avoid diff calculation and omit header, respectively.
9398 (main): process --no-diff and --no-header
9400 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9401 H.J. Lu <hongjiu.lu@intel.com>
9403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9404 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9407 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9408 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9410 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9411 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9412 AVX unaligned load is fast and vzeroupper is preferred.
9413 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9414 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9415 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9416 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9417 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9418 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9419 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9420 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9421 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9422 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9425 2018-06-01 Florian Weimer <fweimer@redhat.com>
9427 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9428 configuring with --disable-multi-arch, building with
9429 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9432 2018-06-01 Florian Weimer <fweimer@redhat.com>
9434 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9435 results from building with “-march=x86-64 -mtune=generic
9436 -mfpmath=sse” and running on a Haswell-era CPU.
9438 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9441 * soft-fp/sqrttf2.c: Remove file.
9442 * soft-fp/sqrtdf2.c: Move to ....
9443 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9445 (__sqrtdf2): Make conditional on
9446 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9448 * soft-fp/sqrtsf2.c: Move to ....
9449 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9451 (__sqrtsf2): Make conditional on
9452 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9454 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9455 (gcc-double-routines): Remove sqrtdf2.
9456 (gcc-quad-routines): Remove sqrttf2.
9457 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9458 Do not filter out sqrtsf2 and sqrtdf2.
9459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9460 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9462 2018-06-01 Florian Weimer <fweimer@redhat.com>
9464 * sysdeps/generic/libcidn.abilist: Remove file.
9466 2018-06-01 Florian Weimer <fweimer@redhat.com>
9469 * libio/strfile.h (struct _IO_str_fields): Rename members to
9470 discourage their use and add comment.
9471 (_IO_STR_DYNAMIC): Remove unused macro.
9472 * libio/strops.c (_IO_str_init_static_internal): Do not use
9473 callback pointers. Call malloc and free.
9474 (_IO_str_overflow): Do not use callback pointers. Call malloc
9476 (enlarge_userbuf): Likewise.
9477 (_IO_str_finish): Call free.
9478 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9479 _allocate_buffer_unused.
9480 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9482 (enlarge_userbuf): Likewise.
9483 (_IO_wstr_finish): Call free.
9484 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9485 _allocate_buffer_unused, _free_buffer_unused.
9486 * libio/memstream.c (__open_memstream): Likewise.
9487 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9488 * libio/wmemstream.c (open_wmemstream): Likewise.
9490 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9492 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9495 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9497 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9498 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9499 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9501 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9503 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9505 2018-05-29 Florian Weimer <fweimer@redhat.com>
9507 * support/Makefile (libsupport-routines): Add
9508 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9509 xpthread_barrierattr_setpshared.
9510 * support/xpthread_barrierattr_destroy.c: New file.
9511 * support/xpthread_barrierattr_init.c: Likewise.
9512 * support/xpthread_barrierattr_setpshared.c: Likewise.
9514 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9517 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9518 _r_debug and update DT_DEBUG for debugger.
9520 2018-05-29 Florian Weimer <fweimer@redhat.com>
9522 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9523 (tst-strtod5i.out): Likewise.
9525 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9528 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9529 (sparc64-quad-routines): New variable. Moved from ....
9530 [$(subdir) = soft-fp] (sysdep_routines): Add
9531 $(sparc64-quad-routines). Moved from ....
9532 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9533 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9534 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9536 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9537 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9538 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9539 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9540 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9541 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9542 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9543 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9544 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9545 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9546 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9547 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9548 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9549 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9550 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9551 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9552 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9553 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9554 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9555 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9556 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9557 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9558 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9559 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9560 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9561 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9562 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9563 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9564 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9565 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9566 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9567 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9568 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9569 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9570 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9571 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9572 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9573 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9574 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9575 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9576 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9577 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9578 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9579 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9580 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9581 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9582 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9583 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9584 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9585 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9586 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9587 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9588 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9589 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9590 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9591 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9593 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9595 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9596 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9597 (sparc32-quad-routines): New variable. Moved from ....
9598 [$(subdir) = soft-fp] (sysdep_routines): Add
9599 $(sparc32-quad-routines). Moved from ....
9600 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9601 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9603 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9604 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9605 * sysdeps/sparc/sparc32/q_add.c: ... here.
9606 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9607 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9608 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9609 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9610 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9611 * sysdeps/sparc/sparc32/q_div.c: ... here.
9612 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9613 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9614 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9615 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9616 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9617 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9618 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9619 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9620 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9621 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9622 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9623 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9624 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9625 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9626 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9627 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9628 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9629 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9630 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9631 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9632 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9633 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9634 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9635 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9636 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9637 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9638 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9639 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9640 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9641 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9642 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9643 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9644 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9645 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9646 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9647 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9648 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9649 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9650 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9651 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9652 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9653 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9654 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9655 * sysdeps/sparc/sparc32/q_util.c: ... here.
9656 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9657 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9659 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9661 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9662 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9664 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9665 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9666 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9667 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9669 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9675 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9676 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9678 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9681 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9684 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9686 * sysdeps/sh/Implies: Remove sh/soft-fp.
9687 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9688 * sysdeps/sh/sfp-machine.h: ... here.
9690 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9692 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9693 (__mempcpy_erms): Skip zero length.
9694 (__memmove_erms): Likewise.
9695 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9696 (__memset_erms): Likewise.
9698 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9700 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9701 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9702 Add functions moved from ....
9703 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9704 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9705 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9707 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9708 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9709 * sysdeps/alpha/e_sqrtl.c: ... here.
9710 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9711 * sysdeps/alpha/local-soft-fp.h: ... here.
9712 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9713 * sysdeps/alpha/ots_add.c: ... here.
9714 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9715 * sysdeps/alpha/ots_cmp.c: ... here.
9716 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9717 * sysdeps/alpha/ots_cmpe.c: ... here.
9718 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9719 * sysdeps/alpha/ots_cvtqux.c: ... here.
9720 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9721 * sysdeps/alpha/ots_cvtqx.c: ... here.
9722 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9723 * sysdeps/alpha/ots_cvttx.c: ... here.
9724 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9725 * sysdeps/alpha/ots_cvtxq.c: ... here.
9726 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9727 * sysdeps/alpha/ots_cvtxt.c: ... here.
9728 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9729 * sysdeps/alpha/ots_div.c: ... here.
9730 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9731 * sysdeps/alpha/ots_mul.c: ... here.
9732 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9733 * sysdeps/alpha/ots_nintxq.c: ... here.
9734 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9735 * sysdeps/alpha/ots_sub.c: ... here.
9736 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9737 * sysdeps/alpha/sfp-machine.h: ... here.
9739 2018-05-23 Florian Weimer <fweimer@redhat.com>
9747 Switch to extern IDNA implementation (libidn2).
9748 * libidn: Remove subdirectory.
9749 * LICENSES: Do not mention licensing conditions for the removed
9751 * config.h.in (HAVE_LIBIDN): Remove.
9752 * include/dlfcn.h (__libc_dlopen): Update comment.
9753 * include/idna.h: Remove file.
9754 * inet/Makefile (routines): Add idna.
9755 (tests-static, tests-internal): Add tst-idna_name_classify.
9756 (LOCALES): Generate locales for tests.
9757 (tst-idna_name_classify.out): Depend on generated locales.
9758 * inet/idna_name_classify.c: New file.
9759 * inet/tst-idna_name_classify.c: Likewise.
9760 * inet/net-internal.h (__idna_to_dns_encoding)
9761 (__idna_from_dns_encoding): Declare.
9762 * inet/net-internal.h (enum idna_name_classification): Define.
9763 (__idna_name_classify): Declare.
9764 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9765 __idna_from_dns_encoding.
9766 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9767 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9768 name as a fallback in case of encoding errors.
9769 (getnameinfo): Use DEPRECATED_NI_IDN.
9770 * inet/idna.c: New file.
9771 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9772 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9773 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9774 (modules-names): Add tst-no-libidn2.
9775 (extra-test-objs): Add tst-no-libidn2.os.
9776 (LDFLAGS-tst-no-libidn2.so): Set soname.
9777 (LOCALES): Set, and generate locales.
9778 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9779 (tst-resolv-ai_idn-latin1): Likewise.
9780 (tst-resolv-ai_idn-nolibidn2): Likewise.
9781 (tst-resolv-ai_idn.out): Depend on locales.
9782 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9783 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9785 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9786 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9787 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9788 * resolv/tst-resolv-ai_idn.c: New file.
9789 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9790 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9791 * resolv/tst-no-libidn2.c: Likewise.
9792 * support/support_format_addrinfo.c (format_ai_flags): Do not
9793 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9794 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9795 (gaih_inet): Call __idna_to_dns_encoding and
9796 __idna_from_dns_encoding, and use the original (punycode) name if
9797 __idna_from_dns_encoding fails due to an encoding error.
9798 (getaddrinfo): Use DEPRECATED_AI_IDN.
9799 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9800 * sysdeps/unix/inet/configure: Remove file.
9801 * sysdeps/unix/inet/configure.ac: Likewise.
9803 2018-05-23 Florian Weimer <fweimer@redhat.com>
9805 Implement allocate_once.
9806 * include/allocate_once.h: New file.
9807 * misc/allocate_once.c: Likewise.
9808 * misc/tst-allocate_once.c: Likewise.
9809 * misc/Makefile (routines): Add allocate_once.
9810 (tests-internal): Add tst-allocate_once.
9811 (generated): Add tst-allocate_once.mtrace,
9812 tst-allocate_once-mem.out.
9813 (tests-special): Add tst-allocate_once-mem.out.
9814 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9815 (tst-allocate_once-mem.out): Call mtrace.
9816 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9818 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9821 * string/test-memcpy.c (do_test1): New function.
9822 (test_main): Call it.
9824 2018-05-23 Andreas Schwab <schwab@suse.de>
9828 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9829 (L(preloop_large)): Save initial destination pointer in %r11 and
9830 use it instead of %rax after the loop.
9831 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9833 2018-05-22 Joseph Myers <joseph@codesourcery.com>
9835 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9836 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9837 -I../soft-fp. Moved from ....
9838 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9839 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9840 * sysdeps/aarch64/e_sqrtl.c: ... here.
9841 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9842 * sysdeps/aarch64/sfp-machine.h: ... here.
9844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9845 -Wmaybe-uninitialized around access to fq[0].
9846 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9850 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9851 aliases for non-libc case of versioned symbols.
9852 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9853 (llseek): Define as compat symbol if
9854 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9856 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9857 Make into a compat symbol, disabled for minimum symbol version
9858 GLIBC_2.28 and later.
9859 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9861 2018-05-22 Florian Weimer <fweimer@redhat.com>
9863 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9864 not add -mpreferred-stack-boundary=4.
9865 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9866 (stack-align-test-flags): Likewise.
9867 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9869 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9870 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9871 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9872 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9873 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9874 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9875 (CFLAGS-tst-align2.c): Likewise.
9877 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9879 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9880 (index_arch_Prefer_FSRM): Likewise.
9881 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9882 Also check Prefer_FSRM.
9883 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9884 Also return OPTIMIZE (erms) for Prefer_FSRM.
9886 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9888 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9889 (index_cpu_FSRM): Likewise.
9890 (reg_FSRM): Likewise.
9892 2018-05-18 Joseph Myers <joseph@codesourcery.com>
9894 * math/gen-tgmath-tests.py: Import sys.
9895 (Tests.__init__): Initialize macros_seen.
9896 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9897 if requested to do so for this macro.
9898 (Tests.add_all_tests): Take argument for macro for which to
9900 (Tests.check_macro_list): New function.
9901 (main): Handle check-list argument and argument specifying macro
9902 for which to generate tests.
9903 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9904 [PYTHON] (tgmath3-macro-tests): Likewise.
9905 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9906 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9908 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9909 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9911 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9913 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9915 [PYTHON] (tests-special): Add
9916 $(objpfx)test-tgmath3-macro-list.out.
9917 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9919 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9920 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9924 * time/tzset.c (SECSPERDAY): Cast to time_t.
9925 * time/tst-y2039.c: New file.
9926 * time/Makefile (tests): Add tst-y2039.
9928 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9930 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9931 (PREFETCH_ONE_SET): Remove duplicate line.
9933 2018-05-17 Florian Weimer <fweimer@redhat.com>
9935 * sysdeps/generic/math-type-macros-double.h: Include
9936 <math-nan-payload-double.h> after <libm-alias-double.h>.
9937 * sysdeps/generic/math-type-macros-float.h: Include
9938 <math-nan-payload-float.h> after <libm-alias-float.h>.
9939 * sysdeps/generic/math-type-macros-float128.h: Include
9940 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9941 * sysdeps/generic/math-type-macros-ldouble.h: Include
9942 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9944 2018-05-17 Andreas Schwab <schwab@suse.de>
9946 * resolv/res_send.c (__res_context_send): Don't set errno when
9947 returing error after malloc failure.
9949 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9951 * nptl/allocatestack.c (allocate_stack): Remove the
9952 !__ASSUME_PRIVATE_FUTEX paths.
9953 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9954 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9956 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9957 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9958 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9959 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9960 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9961 !__ASSUME_PRIVATE_FUTEX path.
9962 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9963 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9964 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9965 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9966 !__ASSUME_PRIVATE_FUTEX macros.
9967 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9968 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9970 * sysdeps/unix/sysv/linux/kernel-features.h
9971 (__ASSUME_PRIVATE_FUTEX): Removed.
9973 2018-05-17 Joseph Myers <joseph@codesourcery.com>
9975 * math/Makefile (libm-narrow-fns): Add div.
9976 (libm-test-funcs-narrow): Likewise.
9977 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9978 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9979 * math/gen-auto-libm-tests.c (test_functions): Add div.
9980 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9981 (NARROW_DIV_ROUND_TO_ODD): Likewise.
9982 (NARROW_DIV_TRIVIAL): Likewise.
9983 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
9985 (__ddivl): Likewise.
9986 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
9988 (CFLAGS-nldbl-ddiv.c): New variable.
9989 (CFLAGS-nldbl-fdiv.c): Likewise.
9990 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9992 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
9994 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
9995 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
9996 * math/auto-libm-test-in: Add tests of div.
9997 * math/auto-libm-test-out-narrow-div: New generated file.
9998 * math/libm-test-narrow-div.inc: New file.
9999 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10002 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10003 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10004 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10005 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10007 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10013 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10014 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10015 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10016 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10018 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10019 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10021 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10024 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10025 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10026 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10030 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10035 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10036 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10038 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10040 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10041 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10042 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10044 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10047 * nscd/nscd-client.h (sendfileall): Remove prototype.
10048 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10049 (handle_request): Use writeall instead of sendfileall.
10050 * nscd/aicache.c (addhstaiX): Likewise.
10051 * nscd/grpcache.c (cache_addgr): Likewise.
10052 * nscd/hstcache.c (cache_addhst): Likewise.
10053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10054 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10055 * nscd/pwdcache.c (cache_addpw): Likewise.
10056 * nscd/servicescache.c (cache_addserv): Likewise.
10057 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10058 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10059 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10062 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10064 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10065 Include <string/strncat.c>.
10066 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10068 (__GI___strncat): New hidden alias.
10070 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10072 * sysdeps/mips/mips32/libm-test-ulps: Update.
10073 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10075 2018-05-16 Florian Weimer <fweimer@redhat.com>
10077 * support/Makefile (libsupport-routines): Add support_quote_blob,
10078 support_test_compare_blob.
10079 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10080 * support/check.h (TEST_COMPARE_BLOB): Define.
10081 (support_test_compare_blob): Declare.
10082 * support/support.h (support_quote_blob): Declare.
10083 * support/support_quote_blob.c: New file.
10084 * support/support_test_compare_blob.c: Likewise.
10085 * support/tst-support_quote_blob.c: Likewise.
10086 * support/tst-test_compare_blob.c: Likewise.
10088 2018-05-16 Florian Weimer <fweimer@redhat.com>
10090 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10091 of <strtod_nan_double.h>.
10092 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10093 instead of SET_MANTISSA.
10094 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10095 of include <strtod_nan_float.h>.
10096 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10097 instead of <strtod_nan_ldouble.h>.
10098 * stdlib/strtod_nan_double.h: Move to ...
10099 * sysdeps/generic/math-nan-payload-double.h: ... here.
10100 (FLOAT): Remove definition.
10101 (SET_MANTISSA): Rename to ...
10102 (SET_NAN_PAYLOAD): ... this.
10103 * stdlib/strtod_nan_float.h: Move to ...
10104 * sysdeps/generic/math-nan-payload-float.h: ... here.
10105 (FLOAT): Remove definition.
10106 (SET_MANTISSA): Rename to ...
10107 (SET_NAN_PAYLOAD): ... this.
10108 * sysdeps/generic/math-type-macros-double.h: Include
10109 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10110 instead of <math-svid-compat.h>.
10111 * sysdeps/generic/math-type-macros-float.h: Include
10112 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10113 instead of <math-svid-compat.h>.
10114 * sysdeps/generic/math-type-macros-float128.h: Include
10115 <math-nan-payload-float128.h>.
10116 * sysdeps/generic/math-type-macros-ldouble.h: Include
10117 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10118 instead of <math-svid-compat.h>.
10119 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10120 check for definition.
10121 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10122 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10123 Include <ieee754_float128.h>.
10124 (FLOAT): Remove definition.
10125 (SET_MANTISSA): Rename to ...
10126 (SET_NAN_PAYLOAD): ... this.
10127 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10128 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10129 Do not include <float128_private.h>.
10130 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10132 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10133 (FLOAT): Remove definition.
10134 (SET_MANTISSA): Rename to ...
10135 (SET_NAN_PAYLOAD): ... this.
10136 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10137 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10138 (FLOAT): Remove definition.
10139 (SET_MANTISSA): Rename to ...
10140 (SET_NAN_PAYLOAD): ... this.
10141 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10142 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10143 (FLOAT): Remove definition.
10144 (SET_MANTISSA): Rename to ...
10145 (SET_NAN_PAYLOAD): ... this.
10146 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10147 of "../stdlib/strtod_nan_double.h".
10148 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10149 of "../stdlib/strtod_nan_float.h".
10150 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10151 instead of "../stdlib/strtod_nan_ldouble.h".
10152 * manual/arith.texi (Parsing of Floats): Adjust comment.
10154 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10156 * math/Makefile (libm-narrow-fns): Add mul.
10157 (libm-test-funcs-narrow): Likewise.
10158 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10159 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10160 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10161 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10162 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10163 (NARROW_MUL_TRIVIAL): Likewise.
10164 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10165 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10167 (__dmull): Likewise.
10168 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10170 (CFLAGS-nldbl-dmul.c): New variable.
10171 (CFLAGS-nldbl-fmul.c): Likewise.
10172 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10176 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10177 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10178 * math/auto-libm-test-in: Add tests of mul.
10179 * math/auto-libm-test-out-narrow-mul: New generated file.
10180 * math/libm-test-narrow-mul.inc: New file.
10181 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10184 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10185 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10186 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10192 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10193 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10194 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10195 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10196 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10197 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10198 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10200 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10201 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10202 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10203 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10204 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10205 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10206 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10207 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10208 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10209 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10210 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10211 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10212 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10219 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10223 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10226 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10228 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10229 with *%eax in call.
10231 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10233 * sysdeps/i386/ldsodefs.h: Removed.
10234 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10235 * sysdeps/x86/ldsodefs.h: This.
10236 (La_i86_regs): New.
10237 (La_i86_retval): Likewise.
10238 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10239 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10241 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10243 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10246 2018-05-13 Alan Modra <amodra@gmail.com>
10248 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10249 R_PARISC_TLS_DTPOFF32 reloc addend.
10251 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10253 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10254 * math/math.h: Restrict the prototype definition for the functions
10255 issignaling(_Float128) and iszero(_Float128); and template
10256 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10257 __HAVE_FLOAT128_UNLIKE_LDBL.
10258 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10259 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10260 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10261 __f128() constants; define the type _Float128 as long double;
10262 and reuse long double in __CFLOAT128.
10264 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10266 * sysdeps/generic/math_private.h: Do not include
10268 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10270 * math/fromfp.h: Include <math-barriers.h>.
10271 * math/math-narrow.h: Likewise.
10272 * math/s_nextafter.c: Likewise.
10273 * math/s_nexttowardf.c: Likewise.
10274 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10275 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10276 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10277 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10278 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10279 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10280 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10293 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10295 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10296 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10297 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10299 * sysdeps/ieee754/k_standardl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10320 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10321 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10323 2018-05-11 Florian Weimer <fweimer@redhat.com>
10325 Use 64-bit epoch values in the time zone file parser.
10326 * include/time.h (internal_time_t): Define.
10327 (__tzfile_compute): Use it.
10328 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10330 (transitions): Switch to internal_time_t.
10331 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10333 (__tzfile_compute): Use internal_time_t for timer argument. Check
10334 for truncation before calling __offtime.
10336 2018-05-11 Florian Weimer <fweimer@redhat.com>
10339 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10340 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10342 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10343 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10344 export without --enable-obsolete-rpc.
10345 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10346 symbol. This should not have been exported, ever.
10348 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10351 * localedata/locales/gd_GB (abmon): Fix typo in May:
10352 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10354 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10356 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10357 Use multiple registers to copy data in loop tail.
10359 * sysdeps/aarch64/multiarch/memmove_falkor.S
10360 (__memmove_falkor): Use multiple registers to move data in
10363 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10365 * math/math-underflow.h: New file.
10366 * sysdeps/generic/math_private.h: Do not include <float.h>.
10367 (fabs_tg): Remove macro. Moved to math-underflow.h.
10368 (min_of_type_f): Likewise.
10369 (min_of_type_): Likewise.
10370 (min_of_type_l): Likewise.
10371 (min_of_type_f128): Likewise.
10372 (min_of_type): Likewise.
10373 (math_check_force_underflow): Likewise.
10374 (math_check_force_underflow_nonneg): Likewise.
10375 (math_check_force_underflow_complex): Likewise.
10376 * math/e_exp2_template.c: Include <math-underflow.h>.
10377 * math/k_casinh_template.c: Likewise.
10378 * math/s_catan_template.c: Likewise.
10379 * math/s_catanh_template.c: Likewise.
10380 * math/s_ccosh_template.c: Likewise.
10381 * math/s_cexp_template.c: Likewise.
10382 * math/s_clog10_template.c: Likewise.
10383 * math/s_clog_template.c: Likewise.
10384 * math/s_csin_template.c: Likewise.
10385 * math/s_csinh_template.c: Likewise.
10386 * math/s_csqrt_template.c: Likewise.
10387 * math/s_ctan_template.c: Likewise.
10388 * math/s_ctanh_template.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10407 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10409 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10410 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10412 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10413 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10414 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10415 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10416 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10417 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10418 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10419 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10457 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10459 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10466 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10467 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10469 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10474 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10476 * sysdeps/generic/math-barriers.h: New file.
10477 * sysdeps/generic/math_private.h [!math_opt_barrier]
10478 (math_opt_barrier): Move to math-barriers.h.
10479 [!math_opt_barrier] (math_force_eval): Likewise.
10480 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10481 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10483 (math_force_eval): Likewise.
10484 * sysdeps/alpha/fpu/math-barriers.h: New file.
10485 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10487 (math_force_eval): Likewise.
10488 * sysdeps/x86/fpu/math-barriers.h: New file.
10489 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10491 (math_force_eval): Likewise.
10492 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10493 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10494 multiple-include guard for rename.
10495 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10496 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10498 (math_force_eval): Likewise.
10500 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10504 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10506 * stdlib/Makefile (test-bz22786): New test.
10507 * stdlib/test-bz22786.c: New test.
10509 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10511 * include/math-narrow-eval.h: New file. Contents moved from ....
10512 * sysdeps/generic/math_private.h: ... here.
10513 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10514 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10515 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10516 * stdlib/strtod_l.c: Likewise.
10517 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10518 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10519 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10528 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10530 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10531 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10532 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10533 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10534 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10535 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10536 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10539 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10541 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10542 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10543 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10544 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10545 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10547 2018-05-08 Andreas Schwab <schwab@suse.de>
10549 * sysdeps/nptl/internaltypes.h: Fix comment.
10551 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10553 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10554 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10557 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10559 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10560 of I into loop header.
10561 * benchtests/bench-memmove-walk.c
10562 (test_main): Likewise.
10564 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10567 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10568 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10570 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10573 * elf/dl-load.c (open_verify): Fix stack overflow.
10574 * elf/Makefile (tst-big-note): New test.
10575 * elf/tst-big-note-lib.S: New.
10576 * elf/tst-big-note.c: New.
10578 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10580 * scripts/abilist.awk: Ignore absolute symbols.
10581 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10582 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10583 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10584 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10585 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10586 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10587 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10588 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10589 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10590 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10591 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10592 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10594 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10602 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10605 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10606 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10607 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10608 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10609 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10610 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10611 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10622 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10623 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10624 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10625 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10626 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10627 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10629 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10640 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10642 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10668 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10671 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10672 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10674 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10675 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10688 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10716 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10722 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10723 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10725 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10737 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10739 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10743 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10744 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10752 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10824 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10825 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10827 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10828 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10829 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10830 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10831 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10832 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10833 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10836 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10837 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10838 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10839 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10840 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10842 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10843 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10844 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10846 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10847 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10848 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10849 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10850 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10851 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10852 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10853 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10855 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10859 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10863 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10864 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10865 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10866 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10867 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10868 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10869 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10870 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10871 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10872 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10873 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10874 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10876 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10877 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10881 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10895 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10930 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10934 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10937 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10938 Use atomic_load_acquire to load __tid.
10940 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10942 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10943 Restore the pointer into %rdx, after syscall and use %rdx,
10944 instead of %rsi, to restore context.
10946 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10948 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10949 Pop the pointer into %rdx after syscall and use %rdx, instead
10950 of %rsi, to restore context.
10952 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10954 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10955 handlers after setjmp.
10956 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10958 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10959 <libc-pointer-arith.h>.
10960 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10961 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10962 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10963 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10964 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10965 * sysdeps/x86/__longjmp_cancel.S: New file.
10966 * sysdeps/x86/longjmp.c: Likewise.
10967 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10969 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10971 * NEWS: Add ustat.h deprecation entry.
10972 * bits/ustat.h: Remove file.
10973 * misc/sys/ustat.h: Likewise.
10974 * misc/ustat.h: Likewise.
10975 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10976 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10977 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10978 compatibility mode.
10979 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10980 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10981 generic Linux implementation.
10983 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10985 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
10986 * math/w_expl_compat.c: Likewise.
10987 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
10989 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10991 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10993 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10995 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
10996 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
10997 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
10999 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11001 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11002 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11003 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11006 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11008 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11010 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11011 * math/w_asin_template.c: Likewise.
11012 * math/w_atanh_template.c: Likewise.
11014 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11016 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11017 to powerpc/powerpc64/be for big-endian.
11018 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11021 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11022 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11023 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11024 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11025 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11027 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11028 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11029 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11030 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11031 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11032 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11033 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11034 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11035 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11036 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11037 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11038 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11039 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11040 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11041 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11042 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11043 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11044 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11045 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11046 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11047 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11048 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11049 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11050 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11051 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11052 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11054 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11055 adjusted to imply powerpc64 and older processors on powerpc64/be.
11056 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11057 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11058 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11059 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11060 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11061 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11062 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11063 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11064 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11065 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11066 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11067 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11068 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11069 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11070 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11071 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11072 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11073 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11074 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11075 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11076 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11077 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11078 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11079 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11080 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11081 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11082 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11083 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11084 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11085 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11086 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11088 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11089 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11090 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11091 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11093 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11094 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11095 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11096 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11098 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11099 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11100 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11101 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11102 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11103 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11104 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11105 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11106 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11107 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11108 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11110 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11111 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11112 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11113 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11114 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11115 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11116 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11117 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11118 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11119 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11120 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11122 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11123 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11124 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11125 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11126 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11127 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11128 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11129 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11130 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11131 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11132 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11133 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11135 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11136 and adjusted to imply olders processors.
11137 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11138 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11139 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11140 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11141 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11142 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11143 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11144 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11145 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11146 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11147 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11166 powerpc64 and adjusted.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11172 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11174 * sysdeps/tile: Remove.
11175 * sysdeps/unix/sysv/linux/tile: Likewise.
11176 * README (tilegx-*-linux-gnu): Remove from list of supported
11178 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11179 contribution of support for generic Linux kernel syscall
11181 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11182 tilegx configurations.
11183 (Config.install_linux_headers): Do not handle tile.
11184 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11186 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11187 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11188 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11189 conditional undefine and redefine.
11190 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11192 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11193 conditional undefine and redefine.
11195 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11197 * signal/tst-sigaction.c: New file to test BZ #23069.
11198 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11200 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11203 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11204 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11205 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11206 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11208 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11210 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11211 _DIRENT_MATCHES_DIRENT64 is not defined.
11212 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11213 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11215 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11216 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11218 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11220 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11221 version to GCC 8 branch.
11223 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11225 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11226 (check_no_hidden): Use type of original function when declaring
11229 * sysdeps/unix/sysv/linux/sys/ptrace.h
11230 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11231 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11232 (struct __ptrace_seccomp_metadata): New type.
11233 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11234 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11235 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11236 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11237 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11238 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11240 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11242 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11244 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11245 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11246 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11247 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11248 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11250 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11252 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11254 * dirent/versionsort.c (versionsort): Likewise.
11255 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11256 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11257 * dirent/versionsort64.c (versionsort64): Likewise.
11258 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11259 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11260 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11261 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11262 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11263 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11264 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11265 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11266 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11267 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11270 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11271 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11273 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11275 * elf/elf.h (NT_PPC_PKEY): New macro.
11277 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11280 * localedata/locales/hr_HR: fix thousands_sep and
11283 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11285 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11286 (XTABS): Define to TAB3.
11288 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11290 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11292 * dirent/scandir-tail-common.c: New file.
11293 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11294 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11295 * dirent/scandir.c: Use scandir-tail-common.c.
11296 * dirent/scandirat.c: Likewise.
11297 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11298 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11299 if _DIRENT_MATCHES_DIRENT64 is defined.
11300 * dirent/scandirat64.c (scandirat64): Likewise.
11301 * include/dirent.h (__scandir_tail): Only define iff
11302 _DIRENT_MATCHES_DIRENT64 is not defined.
11303 (__scandir64_tail): Define regardless.
11304 (__scandirat, scandirat64): Remove libc_hidden_proto.
11305 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11306 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11308 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11310 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11311 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11313 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11317 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11319 (_dl_aarch64_cap_flags): Add asimdfhm.
11321 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11323 * sysdeps/nios2/libm-test-ulps: Update.
11325 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11327 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11328 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11330 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11332 (_DIRENT_MATCHES_DIRENT64): Undef
11333 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11334 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11335 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11336 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11337 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11338 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11339 use getdents64 syscalls as base.
11340 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11341 symbol if required.
11342 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11343 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11344 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11345 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11346 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11347 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11348 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11349 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11351 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11352 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11354 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11356 * scripts/test_printers_common.py (init_test): Disable lock elision.
11358 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11360 * math/test-tgmath.c (count_double, count_float,
11361 count_ldouble, count_cdouble, count_cfloat,
11362 count_cldouble): Use volatile int.
11364 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11366 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11367 (conformtest-xfail-conds): Add i386-gnu.
11368 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11370 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11371 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11372 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11373 msqid_ds.msg_lrpid): Likewise.
11374 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11376 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11377 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11378 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11379 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11381 (struct statvfs64): Likewise.
11382 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11384 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11385 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11386 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11387 instead of wait_queue.
11388 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11389 instead of vm_area_struct.
11390 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11391 struct sched_param definition to it.
11392 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11393 * bits/types/struct_sched_param.h: New file.
11394 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11395 <bits/types/struct_sched_param.h> instead of <sched.h>.
11396 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11397 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11398 generic version but include <bits/pthreadtypes.h> to make struct
11399 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11400 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11402 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11403 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11404 [__USE_XOPEN] (OFDEL): New macro.
11405 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11406 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11407 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11409 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11410 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11411 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11413 * sysdeps/i386/sys/ucontext.h: Likewise.
11414 * sysdeps/m68k/sys/ucontext.h: Likewise.
11415 * sysdeps/mips/sys/ucontext.h: Likewise.
11416 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11417 * sysdeps/mach/hurd/i386/Makefile
11418 (test-xfail-POSIX/fcntl.h/conform): Add.
11419 (test-xfail-POSIX/signal.h/conform): Add.
11420 (test-xfail-POSIX/semaphore.h/conform): Add.
11421 (test-xfail-POSIX/regex.h/conform): Add.
11422 (test-xfail-POSIX/aio.h/conform): Add.
11423 (test-xfail-POSIX/mqueue.h/conform): Add.
11424 (test-xfail-POSIX/sys/types.h/conform): Add.
11425 (test-xfail-UNIX98/fcntl.h/conform): Add.
11426 (test-xfail-UNIX98/netdb.h/conform): Add.
11427 (test-xfail-UNIX98/signal.h/conform): Add.
11428 (test-xfail-UNIX98/semaphore.h/conform): Add.
11429 (test-xfail-UNIX98/regex.h/conform): Add.
11430 (test-xfail-UNIX98/aio.h/conform): Add.
11431 (test-xfail-UNIX98/ftw.h/conform): Add.
11432 (test-xfail-UNIX98/mqueue.h/conform): Add.
11433 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11434 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11435 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11436 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11437 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11438 (test-xfail-UNIX98/sys/types.h/conform): Add.
11439 (test-xfail-UNIX98/stdlib.h/conform): Add.
11440 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11441 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11442 (test-xfail-POSIX2008/netdb.h/conform): Add.
11443 (test-xfail-POSIX2008/signal.h/conform): Add.
11444 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11445 (test-xfail-POSIX2008/regex.h/conform): Add.
11446 (test-xfail-POSIX2008/aio.h/conform): Add.
11447 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11448 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11449 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11450 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11451 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11452 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11453 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11454 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11455 (test-xfail-XOPEN2K/signal.h/conform): Add.
11456 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11457 (test-xfail-XOPEN2K/regex.h/conform): Add.
11458 (test-xfail-XOPEN2K/aio.h/conform): Add.
11459 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11460 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11461 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11462 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11463 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11464 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11465 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11466 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11467 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11468 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11469 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11470 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11471 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11472 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11473 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11474 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11475 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11476 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11477 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11478 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11479 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11480 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11481 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11482 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11483 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11484 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11485 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11487 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11488 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11490 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11492 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11493 --enable-obsolete for powerpc-linux-gnuspe.
11495 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11497 * conform/data/sys/un.h-data: Allow sun_ prefix.
11498 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11500 * sysdeps/mach/include/mach.h: Likewise.
11501 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11502 * sysdeps/mach/include/mach_error.h: Likewise.
11504 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11506 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11507 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11508 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11509 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11511 2018-04-16 Andreas Schwab <schwab@suse.de>
11514 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11516 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11518 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11519 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11521 2018-04-12 DJ Delorie <dj@redhat.com>
11523 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11526 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11528 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11529 (struct kernel_sigaction): Use the same definition on 31bit as is used
11532 2018-04-09 Florian Weimer <fweimer@redhat.com>
11535 * resolv/res_send.c (send_dg): Use designated initializers instead
11536 of assignment to zero-initialize other fields of struct mmsghdr.
11538 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11540 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11541 __READDIR_ALIAS): Undefine after usage.
11542 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11543 __READDIR_R_ALIAS): Likewise.
11544 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11545 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11546 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11547 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11550 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11551 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11553 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11554 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11555 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11556 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11557 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11558 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11559 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11560 * sysdeps/unix/sysv/linux/readdir.c: New file.
11561 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11562 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11563 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11565 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11567 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11569 * manual/charset.texi (Converting a Character): Fix typo.
11571 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11575 * sysdeps/arm/libm-test-ulps: Update.
11577 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11578 as base implementation.
11579 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11580 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11584 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11585 remove unrequired definitions and update comments.
11586 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11587 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11588 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11589 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11590 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11592 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11593 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11594 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11595 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11596 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11597 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11598 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11599 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11600 and RESET_SA_RESTORER hooks.
11602 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11604 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11606 2018-04-05 Florian Weimer <fweimer@redhat.com>
11608 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11609 integer overflow, memory leak on error, and indeterminate errno
11610 value. Add a null wide character to terminate the result string.
11611 * manual/charset.texi (Converting a Character): Mention embedded
11612 null bytes in the mbrtowc input string. Explain what happens in
11613 the -2 result case. Do not claim that mbrtowc is simple or
11614 obvious to use. Adjust the description of the code example. Use
11615 @code, not @var, for concrete variables.
11617 2018-04-05 Florian Weimer <fweimer@redhat.com>
11619 * manual/examples/mbstouwcs.c: New file.
11620 * manual/charset.texi (Converting a Character): Include it.
11622 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11624 * include/dirent.h (dirfd): Add hidden proto.
11625 * dirent/dirfd.c (dirfd): Add hidden def.
11626 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11627 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11629 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11631 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11632 sin, cos and sincos to 1 ULP.
11634 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11637 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11639 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11640 * elf/tst-absolute-sym.c: New file.
11641 * elf/tst-absolute-sym-lib.c: New file.
11642 * elf/tst-absolute-sym-lib.lds: New file.
11643 * elf/Makefile (tests): Add `tst-absolute-sym'.
11644 (modules-names): Add `tst-absolute-sym-lib'.
11645 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11646 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11647 ($(objpfx)tst-absolute-sym): New dependency.
11650 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11652 (SYMBOL_ADDRESS): New macro.
11653 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11654 SYMBOL_ADDRESS for symbol address calculation.
11655 * elf/dl-runtime.c (_dl_fixup): Likewise.
11656 (_dl_profile_fixup): Likewise.
11657 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11658 * elf/rtld.c (dl_main): Likewise.
11659 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11660 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11661 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11662 (elf_machine_rela): Likewise.
11663 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11664 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11666 (elf_machine_rela): Likewise.
11667 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11668 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11669 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11670 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11672 (elf_machine_reloc): Likewise.
11673 (elf_machine_got_rel): Likewise.
11674 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11675 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11676 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11680 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11683 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11685 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11690 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11693 2018-04-04 Zack Weinberg <zackw@panix.com>
11695 * sysdeps/generic/internal-signals.h: Include signal.h,
11696 sigsetops.h, and stdbool.h.
11697 (__libc_signal_block_all): Actually block all signals.
11698 (__libc_signal_block_app): Likewise.
11699 (__libc_signal_restore_set): Actually restore the signal mask.
11701 2018-04-04 Florian Weimer <fweimer@redhat.com>
11703 inet: Actually build and run tst-deadline.
11704 * inet/Makefile (tests-internal): Add tst-deadline and do not
11705 overwrite the variable.
11706 (tests-static-internal): Remove variable.
11708 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11711 * bits/uio-ext.h (RWF_APPEND): New.
11712 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11713 * manual/llio.texi: Document RWF_APPEND.
11714 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11715 (RWF_SUPPORTED): Add RWF_APPEND.
11717 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11720 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11721 check for internal nptl signals.
11722 * nptl/sigaction.c (__sigaction): Likewise.
11723 * signal/sigaddset.c (sigaddset): Likewise.
11724 * signal/sigdelset.c (sigdelset): Likewise.
11725 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11726 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11728 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11729 to filter out internal nptl signals.
11730 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11731 also check realtime signals using standard macros.
11732 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11733 __is_internal_signal, __libc_signal_block_all,
11734 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11735 * sysdeps/nptl/sigfillset.c: Remove file.
11736 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11737 Change return to bool.
11738 (__clear_internal_signals): Remove SIGTIMER clean since it is
11739 equal to SIGCANEL on Linux.
11740 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11741 signal set was constructed using standard functions.
11743 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11745 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11746 ifname is too long.
11747 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11748 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
11749 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11751 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
11752 * signal/sigaddset.c: Include <sigsetopts.h>.
11753 * signal/sigdelset.c: Likewise.
11755 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11759 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11760 logic as sin and cos.
11762 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11764 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11765 inputs. Return correct sign.
11766 (do_sincos): Remove small input check before do_sin, let do_sin set
11771 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11773 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11774 (do_cos_slow): Likewise.
11775 (do_sin_slow): Likewise.
11776 (reduce_and_compute): Likewise.
11781 (sloww1): Likewise.
11782 (sloww2): Likewise.
11784 (bslow1): Likewise.
11785 (bslow2): Likewise.
11786 (cslow2): Likewise.
11788 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11790 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11791 (do_cos): Remove corp parameter and calculations.
11792 (do_sin): Likewise.
11793 (do_sincos): Remove cor variable.
11794 (__sin): Use do_sincos for huge inputs.
11796 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11797 (reduce_and_compute_sincos): Remove unused function.
11799 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11801 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11802 reduce_sincos, improve accuracy to 136 bits.
11803 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11804 (__sin): Use improved reduction and simplified do_sincos calculation.
11806 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11808 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11810 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11811 (do_sincos_2): Likewise.
11812 (__sin): Remove middle range reduction case.
11814 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11817 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11819 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11823 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11825 2018-04-03 Joseph Myers <joseph@codesourcery.com>
11827 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11830 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11832 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11833 Remove definitions.
11834 (opendir_oflags): Use O_DIRECTORY regardless.
11835 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11836 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11838 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11840 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11841 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11843 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11844 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11845 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11846 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
11847 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11848 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
11850 * htl/Makefile: Bump licence to LGPL 2.1+.
11851 * htl/alloca_cutoff.c: Likewise.
11852 * htl/cthreads-compat.c: Likewise.
11853 * htl/lockfile.c: Likewise.
11854 * htl/pt-alloc.c: Likewise.
11855 * htl/pt-cancel.c: Likewise.
11856 * htl/pt-cleanup.c: Likewise.
11857 * htl/pt-create.c: Likewise.
11858 * htl/pt-dealloc.c: Likewise.
11859 * htl/pt-detach.c: Likewise.
11860 * htl/pt-exit.c: Likewise.
11861 * htl/pt-getattr.c: Likewise.
11862 * htl/pt-initialize.c: Likewise.
11863 * htl/pt-internal.h: Likewise.
11864 * htl/pt-join.c: Likewise.
11865 * htl/pt-self.c: Likewise.
11866 * htl/pt-setcancelstate.c: Likewise.
11867 * htl/pt-setcanceltype.c: Likewise.
11868 * htl/pt-sigmask.c: Likewise.
11869 * htl/pt-spin-inlines.c: Likewise.
11870 * htl/pt-testcancel.c: Likewise.
11871 * htl/pt-yield.c: Likewise.
11872 * htl/tests/test-1.c: Likewise.
11873 * htl/tests/test-10.c: Likewise.
11874 * htl/tests/test-11.c: Likewise.
11875 * htl/tests/test-12.c: Likewise.
11876 * htl/tests/test-13.c: Likewise.
11877 * htl/tests/test-14.c: Likewise.
11878 * htl/tests/test-15.c: Likewise.
11879 * htl/tests/test-16.c: Likewise.
11880 * htl/tests/test-17.c: Likewise.
11881 * htl/tests/test-2.c: Likewise.
11882 * htl/tests/test-3.c: Likewise.
11883 * htl/tests/test-4.c: Likewise.
11884 * htl/tests/test-5.c: Likewise.
11885 * htl/tests/test-6.c: Likewise.
11886 * htl/tests/test-7.c: Likewise.
11887 * htl/tests/test-8.c: Likewise.
11888 * htl/tests/test-9.c: Likewise.
11889 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11890 * sysdeps/htl/bits/cancelation.h: Likewise.
11891 * sysdeps/htl/bits/pthread-np.h: Likewise.
11892 * sysdeps/htl/bits/pthread.h: Likewise.
11893 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11894 * sysdeps/htl/bits/semaphore.h: Likewise.
11895 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11896 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11897 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11898 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11899 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11900 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11901 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11902 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11903 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11904 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11905 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11906 * sysdeps/htl/old_pt-atfork.c: Likewise.
11907 * sysdeps/htl/pt-atfork.c: Likewise.
11908 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11909 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11910 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11911 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11912 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11913 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11914 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11915 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11916 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11917 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11918 * sysdeps/htl/pt-attr-init.c: Likewise.
11919 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11920 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11921 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11922 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11923 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11924 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11925 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11926 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11927 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11928 * sysdeps/htl/pt-attr.c: Likewise.
11929 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11930 * sysdeps/htl/pt-barrier-init.c: Likewise.
11931 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11932 * sysdeps/htl/pt-barrier.c: Likewise.
11933 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11934 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11935 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11936 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11937 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11938 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11939 * sysdeps/htl/pt-cond-init.c: Likewise.
11940 * sysdeps/htl/pt-cond-signal.c: Likewise.
11941 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11942 * sysdeps/htl/pt-cond-wait.c: Likewise.
11943 * sysdeps/htl/pt-cond.c: Likewise.
11944 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11945 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11946 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11947 * sysdeps/htl/pt-condattr-init.c: Likewise.
11948 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11949 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11950 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11951 * sysdeps/htl/pt-equal.c: Likewise.
11952 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11953 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11954 * sysdeps/htl/pt-getschedparam.c: Likewise.
11955 * sysdeps/htl/pt-getspecific.c: Likewise.
11956 * sysdeps/htl/pt-init-specific.c: Likewise.
11957 * sysdeps/htl/pt-key-create.c: Likewise.
11958 * sysdeps/htl/pt-key-delete.c: Likewise.
11959 * sysdeps/htl/pt-key.h: Likewise.
11960 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11961 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11962 * sysdeps/htl/pt-mutex-init.c: Likewise.
11963 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11964 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11965 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11966 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11967 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11968 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11969 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11970 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11971 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11972 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11973 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11974 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11975 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11976 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11977 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11978 * sysdeps/htl/pt-mutexattr.c: Likewise.
11979 * sysdeps/htl/pt-once.c: Likewise.
11980 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11981 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
11982 * sysdeps/htl/pt-rwlock-init.c: Likewise.
11983 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
11984 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
11985 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
11986 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
11987 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
11988 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
11989 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
11990 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
11991 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
11992 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
11993 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
11994 * sysdeps/htl/pt-setconcurrency.c: Likewise.
11995 * sysdeps/htl/pt-setschedparam.c: Likewise.
11996 * sysdeps/htl/pt-setschedprio.c: Likewise.
11997 * sysdeps/htl/pt-setspecific.c: Likewise.
11998 * sysdeps/htl/pt-spin.c: Likewise.
11999 * sysdeps/htl/pt-startup.c: Likewise.
12000 * sysdeps/htl/pthread.h: Likewise.
12001 * sysdeps/htl/sem-close.c: Likewise.
12002 * sysdeps/htl/sem-destroy.c: Likewise.
12003 * sysdeps/htl/sem-getvalue.c: Likewise.
12004 * sysdeps/htl/sem-init.c: Likewise.
12005 * sysdeps/htl/sem-open.c: Likewise.
12006 * sysdeps/htl/sem-post.c: Likewise.
12007 * sysdeps/htl/sem-timedwait.c: Likewise.
12008 * sysdeps/htl/sem-trywait.c: Likewise.
12009 * sysdeps/htl/sem-unlink.c: Likewise.
12010 * sysdeps/htl/sem-wait.c: Likewise.
12011 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12012 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12013 * sysdeps/mach/htl/pt-block.c: Likewise.
12014 * sysdeps/mach/htl/pt-spin.c: Likewise.
12015 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12016 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12017 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12018 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12019 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12020 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12021 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12022 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12023 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12024 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12025 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12026 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12027 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12028 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12029 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12030 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12031 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12032 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12033 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12034 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12035 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12036 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12037 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12038 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12039 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12040 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12041 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12042 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12043 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12044 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12045 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12046 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12047 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12048 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12049 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12050 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12051 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12052 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12053 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12054 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12055 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12056 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12057 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12059 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12060 * README: Remove the mention of out-of-tree patches needed for
12063 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12064 (UTIME_NOW, UTIME_OMIT): Define macros.
12066 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12067 instead of pthread_detach.
12068 (__cthread_fork): Call __pthread_create instead of pthread_create.
12069 (__cthread_keycreate): Call __pthread_key_create instead of
12070 pthread_key_create.
12071 (__cthread_getspecific): Call __pthread_getspecific instead of
12072 pthread_getspecific.
12073 (__cthread_setspecific): Call __pthread_setspecific instead of
12074 pthread_setspecific.
12075 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12076 __pthread_mutex_unlock instead of pthread_mutex_lock and
12077 pthread_mutex_unlock.
12078 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12079 ___pthread_get_cleanup_stack.
12080 (__pthread_get_cleanup_stack): New strong alias.
12081 * htl/pt-create.c: Include <pthreadP.h>.
12082 (entry_point): Call __pthread_exit instead of pthread_exit.
12083 (pthread_create): Rename to __pthread_create.
12084 (pthread_create): New strong alias.
12085 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12086 (pthread_detach): New strong alias.
12087 (__pthread_detach): Call __pthread_cond_broadcast instead of
12088 pthread_cond_broadcast.
12089 * htl/pt-exit.c: Include <pthreadP.h>.
12090 (__pthread_exit): Call __pthread_setcancelstate and
12091 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12092 __pthread_get_cleanup_stack.
12093 * htl/pt-testcancel.c: Include <pthreadP.h>.
12094 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12095 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12096 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12097 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12098 pthread_attr_getstacksize.
12099 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12100 Rename to __pthread_attr_getstackaddr.
12101 (pthread_attr_getstackaddr): New strong alias.
12102 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12103 Rename to __pthread_attr_getstacksize.
12104 (pthread_attr_getstacksize): New strong alias.
12105 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12106 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12107 (pthread_attr_setstack): New strong alias.
12108 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12109 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12110 pthread_attr_getstacksize, pthread_attr_setstacksize and
12111 pthread_attr_setstackaddr.
12112 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12113 Rename to __pthread_attr_setstackaddr.
12114 (pthread_attr_setstackaddr): New strong alias.
12115 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12116 Rename to __pthread_attr_setstacksize.
12117 (pthread_attr_setstacksize): New strong alias.
12118 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12119 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12121 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12122 (__pthread_key_create): New hidden def.
12123 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12124 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12125 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12126 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12127 __pthread_setspecific, __pthread_setcancelstate,
12128 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12129 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12130 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12132 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12133 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12134 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12135 (pthread_attr_setstackaddr): New strong alias.
12136 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12137 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12138 (pthread_attr_setstacksize): New strong alias.
12139 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12140 (call_exit): Call __pthread_exit instead of pthread_exit.
12141 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12142 (_pthread_mutex_init): New hidden definition.
12143 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12144 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12145 instead of pthread_attr_init and pthread_attr_setstack.
12147 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12148 __vm_deallocate instead of vm_allocate and vm_deallocate.
12149 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12151 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12153 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12155 * hurd/siginfo.c: Include <libioP.h>.
12156 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12157 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12159 * mach/devstream.c: Include <libioP.h>.
12160 (dealloc_ref): Call __mach_port_deallocate instead of
12161 mach_port_deallocate.
12162 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12163 Call __mach_port_deallocate instead of mach_port_deallocate.
12164 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12166 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12168 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12169 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12170 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12172 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12174 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12175 instead of sysconf.
12176 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12177 __clock_gettime instead of clock_gettime.
12178 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12179 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12180 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12181 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12182 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12184 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12185 __clock_gettime and __nanosleep instead of clock_gettime and
12187 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12188 __hurd_catch_signal.
12189 (hurd_catch_signal): New strong alias.
12190 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12191 __hurd_catch_signal instead of hurd_catch_signal.
12192 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12193 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12194 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12195 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12196 (_hurd_thread_sigstate): Add hidden def.
12197 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12199 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12200 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12201 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12202 __hurd_file_name_path_lookup.
12203 (hurd_file_name_path_lookup): New strong alias.
12204 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12205 hurd_file_name_path_lookup.
12206 * mach/errstring.c (mach_error_type): Add hidden def.
12207 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12208 * mach/mutex-init.c (__mutex_init): Add hidden def.
12209 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12210 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12211 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12212 * sysdeps/mach/hurd/getcwd.c
12213 (_hurd_canonicalize_directory_name_internal): Rename to
12214 __hurd_canonicalize_directory_name_internal.
12215 (_hurd_canonicalize_directory_name_internal): New strong alias.
12216 (__canonicalize_directory_name_internal, __getcwd): Call
12217 __hurd_canonicalize_directory_name_internal instead of
12218 _hurd_canonicalize_directory_name_internal.
12219 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12220 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12222 * sysdeps/hurd/include/hurd.h: New file.
12223 * sysdeps/hurd/include/hurd/fd.h: New file.
12224 * sysdeps/hurd/include/hurd/signal.h: New file.
12225 * sysdeps/mach/include/lock-intern.h: New file.
12226 * sysdeps/mach/include/mach.h: New file.
12227 * sysdeps/mach/include/mach/mig_support.h: New file.
12228 * sysdeps/mach/include/mach_error.h: New file.
12229 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12231 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12232 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12233 _HEADER_H_HIDDEN_DEF macro.
12234 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12235 _hurd_fd_error_signal): Add hidden prototype.
12236 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12238 * libio/iolibio.h (_IO_puts): New hidden prototype.
12239 * libio/ioputs.c (_IO_puts): New hidden def.
12240 * sysdeps/mach/hurd/localplt.data: New file.
12242 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12243 Amos Jeffries <squid3@treenet.co.nz>
12244 David Michael <fedora.dm0@gmail.com>
12245 Marco Gerards <marco@gnu.org>
12246 Marcus Brinkmann <marcus@gnu.org>
12247 Neal H. Walfield <neal@gnu.org>
12248 Pino Toscano <toscano.pino@tiscali.it>
12249 Richard Braun <rbraun@sceen.net>
12250 Roland McGrath <roland@gnu.org>
12251 Samuel Thibault <samuel.thibault@ens-lyon.org>
12252 Thomas DiModica <ricinwich@yahoo.com>
12253 Thomas Schwinge <tschwinge@gnu.org>
12255 * htl: New directory.
12256 * sysdeps/htl: New directory.
12257 * sysdeps/hurd/htl: New directory.
12258 * sysdeps/i386/htl: New directory.
12259 * sysdeps/mach/htl: New directory.
12260 * sysdeps/mach/hurd/htl: New directory.
12261 * sysdeps/mach/hurd/i386/htl: New directory.
12262 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12263 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12264 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12266 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12268 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12269 signals in thread created for runing timers.
12271 2018-04-01 Florian Weimer <fweimer@redhat.com>
12273 * support/support_format_addrinfo.c (support_format_addrinfo):
12274 Include unknown error number in formatted result.
12276 2018-03-29 Florian Weimer <fweimer@redhat.com>
12278 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12281 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12283 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12284 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12285 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12286 (__ASSUME_CLONE_BACKWARDS): Define.
12288 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12292 early when linux sentinel value is set.
12294 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12296 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12298 2018-03-27 Andreas Schwab <schwab@suse.de>
12301 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12302 allocation of private copy of nsaddr_list fails.
12304 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12307 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12308 * sysdeps/unix/sysv/linux/umount.c: ... here.
12309 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12310 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12311 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12312 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12314 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12317 2018-03-26 Andreas Schwab <schwab@suse.de>
12319 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12320 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12321 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12322 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12323 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12324 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12325 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12326 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12327 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12328 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12329 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12330 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12331 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12332 (R_RISCV_NUM): Define.
12334 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12336 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12337 TLS declaration of errno.
12338 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12340 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12341 (ARCH_SETUP_TLS): Likewise.
12342 * sysdeps/mach/hurd/libc-start.h: New file copied from
12343 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12344 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12345 instead of __libc_setup_tls.
12346 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12347 __libc_setup_tls before initializing libpthread and running _hurd_init
12348 which starts the signal thread.
12349 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12351 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12353 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12356 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12357 after it is defined.
12359 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12360 Max Horn <max@quendi.de>
12364 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12366 * string/test-memmove.c (do_test2): New testcase.
12368 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12370 * sysdeps/generic/frame.h: Remove file.
12371 * sysdeps/arm/frame.h: Likewise.
12372 * sysdeps/hppa/frame.h: Likewise.
12373 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12375 (GET_FRAME): Likewise.
12376 (GET_STACK): Likewise.
12377 (CALL_SIGHANDLER): Likewise.
12378 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12380 (GET_FRAME): Likewise.
12381 (GET_STACK): Likewise.
12382 (CALL_SIGHANDLER): Likewise.
12383 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12384 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12385 (GET_FRAME): Likewise.
12386 (GET_STACK): Likewise.
12387 (CALL_SIGHANDLER): Likewise.
12388 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12389 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12390 (GET_FRAME): Likewise.
12391 (GET_STACK): Likewise.
12392 (ADVANCE_STACK_FRAME): Likewise.
12393 (CALL_SIGHANDLER): Likewise.
12394 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12395 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12396 (GET_FRAME): Likewise.
12397 (GET_STACK): Likewise.
12398 (CALL_SIGHANDLER): Likewise.
12399 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12400 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12401 (GET_FRAME): Likewise.
12402 (GET_STACK): Likewise.
12403 (CALL_SIGHANDLER): Likewise.
12404 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12405 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12406 (GET_FRAME): Likewise.
12407 (GET_STACK): Likewise.
12408 (CALL_SIGHANDLER): Likewise.
12409 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12410 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12411 (GET_FRAME): Likewise.
12412 (GET_STACK): Likewise.
12413 (CALL_SIGHANDLER): Likewise.
12414 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12415 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12416 (GET_FRAME): Likewise.
12417 (GET_STACK): Likewise.
12418 (CALL_SIGHANDLER): Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12420 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12421 (GET_FRAME): Likewise.
12422 (GET_STACK): Likewise.
12423 (CALL_SIGHANDLER): Likewise.
12424 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12425 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12426 (GET_FRAME): Likewise.
12427 (GET_STACK): Likewise.
12428 (CALL_SIGHANDLER): Likewise.
12429 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12430 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12431 (GET_FRAME): Likewise.
12432 (GET_STACK): Likewise.
12433 (CALL_SIGHANDLER): Likewise.
12434 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12435 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12436 (GET_FRAME): Likewise.
12437 (GET_STACK): Likewise.
12438 (CALL_SIGHANDLER): Likewise.
12439 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12440 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12441 (FIRST_FRAME_POINTER): Likewise.
12442 (ADVANCE_STACK_FRAME): Likewise.
12443 (GET_STACK): Likewise.
12444 (GET_FRAME): Likewise.
12445 (CALL_SIGHANDLER): Likewise.
12446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12447 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12448 (ADVANCE_STACK_FRAME): Likewise.
12449 (GET_STACK): Likewise.
12450 (GET_FRAME): Likewise.
12451 (CALL_SIGHANDLER): Likewise.
12452 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12453 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12454 (GET_FRAME): Likewise.
12455 (GET_STACK): Likewise.
12456 (CALL_SIGHANDLER): Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12458 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12459 (GET_FRAME): Likewise.
12460 (GET_STACK): Likewise.
12461 (CALL_SIGHANDLER): Likewise.
12463 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12465 * sysdeps/x86_64/backtrace.c: Move to ....
12466 * debug/backtrace.c: ... here.
12467 * sysdeps/aarch64/backtrace.c: Remove file.
12468 * sysdeps/alpha/backtrace.c: Likewise.
12469 * sysdeps/hppa/backtrace.c: Likewise.
12470 * sysdeps/ia64/backtrace.c: Likewise.
12471 * sysdeps/mips/backtrace.c: Likewise.
12472 * sysdeps/nios2/backtrace.c: Likewise.
12473 * sysdeps/riscv/backtrace.c: Likewise.
12474 * sysdeps/sh/backtrace.c: Likewise.
12475 * sysdeps/tile/backtrace.c: Likewise.
12477 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12480 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12483 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12486 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12487 possibly overflowing computations.
12489 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12491 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12492 values from Linux-specific section now that it is in the GNU section.
12493 * sysdeps/gnu/errlist.c: Regenerate.
12495 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12497 * math/Makefile (libm-narrow-fns): Add sub.
12498 (libm-test-funcs-narrow): Likewise.
12499 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12500 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12501 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12502 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12503 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12504 (NARROW_SUB_TRIVIAL): Likewise.
12505 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12507 (__dsubl): Likewise.
12508 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12510 (CFLAGS-nldbl-dsub.c): New variable.
12511 (CFLAGS-nldbl-fsub.c): Likewise.
12512 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12516 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12517 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12518 * math/auto-libm-test-in: Add tests of sub.
12519 * math/auto-libm-test-out-narrow-sub: New generated file.
12520 * math/libm-test-narrow-sub.inc: New file.
12521 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12522 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12523 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12524 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12525 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12526 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12530 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12531 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12532 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12534 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12535 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12536 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12537 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12538 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12540 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12542 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12543 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12568 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12571 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12573 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12575 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12577 2018-03-18 Richard Braun <rbraun@sceen.net>
12579 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12582 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12584 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12585 (__libc_cleanup_fct): Define function.
12586 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12587 __libc_cleanup_end): Rewrite implementation using
12588 __attribute__ ((__cleanup__)).
12589 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12590 * hurd/Makefile (routines): Add hurdlock.
12591 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12593 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12594 * hurd/hurdpid.c: Include <lowlevellock.h>
12595 (_S_msg_proc_newids): Use lll_wait to synchronize.
12596 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12597 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12598 * mach/Makefile (lock-headers): Remove machine-lock.h.
12599 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12601 (__spin_lock_t): New type.
12602 (__SPIN_LOCK_INITIALIZER): New macro.
12603 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12604 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12605 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12606 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12607 (__mutex_init): Initialize with lll.
12608 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12609 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12611 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12612 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12613 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12614 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12615 (__setpgid): Use lll for synchronization.
12616 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12617 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12618 instead of <cthreads.h>.
12619 (_IO_lock_inexpensive): New macro
12620 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12621 (__libc_lock_self0): New declaration.
12622 (__libc_lock_owner_self): New macro.
12623 (__libc_key_t): Remove type.
12624 (_LIBC_LOCK_INITIALIZER): New macro.
12625 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12626 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12627 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12628 __libc_lock_define_initialized_recursive,
12629 __rtld_lock_define_initialized_recursive,
12630 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12631 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12632 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12633 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12634 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12635 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12636 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12638 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12639 * hurd/hurdlock.c: New file.
12640 * hurd/hurdlock.h: New file.
12641 * mach/lowlevellock.h: New file
12643 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12645 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12646 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12647 when opening a symlink with O_NOFOLLOW.
12648 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12649 path when flags contains O_NOFOLLOW.
12650 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12651 if flags contains O_DIRECTORY and the result is a directory.
12652 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12653 oneself when the pointer given in D is nul (as set by ext2fs).
12654 * sysdeps/mach/hurd/mlockall.c: New file.
12655 * sysdeps/mach/hurd/munlockall.c: New file.
12657 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12659 * hurd/hurdsig.c: Include <pthread.h>.
12660 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12661 get the signal thread stack layout.
12662 * hurd/Makefile (headers): Remove threadvar.h.
12663 (inline-headers): Remove threadvar.h.
12664 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12665 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12666 __hurd_threadvar_max, __hurd_errno_location.
12667 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12668 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12669 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12670 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12671 unless TLS is not initialized yet, in which case we do not need a
12672 critical section yet anyway.
12673 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12675 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12677 (__hurd_threadvar_index): Remove enum.
12678 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12679 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12681 (__hurd_reply_port0): New variable declaration.
12682 (__hurd_local_reply_port): New macro.
12683 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12684 (interrupted_reply_port_location): Add thread_t parameter. Use it
12685 with THREAD_TCB to access thread-local variables.
12686 (_hurdsig_abort_rpcs): Pass ss->thread to
12687 interrupted_reply_port_location.
12688 (_hurd_internal_post_signal): Likewise.
12689 (_hurdsig_init): Use presence of cthread_fork instead of
12690 __hurd_threadvar_stack_mask to start signal thread by hand.
12691 Remove signal thread threadvar initialization.
12692 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12693 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12694 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12696 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12698 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12699 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12700 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12701 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12702 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12703 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12704 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12706 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12707 <hurd/threadvar.h>.
12708 [IS_IN(rtld)] (rtld_errno): New variable.
12709 [IS_IN(rtld)] (__errno_location): New weak function.
12710 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12711 * sysdeps/mach/hurd/errno.c: Remove file.
12712 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12713 (__fork): Remove THREADVAR_SPACE macro and its use.
12714 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12716 (init): Do not initialize threadvar.
12717 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12719 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12720 __hurd_local_reply_port instead of threadvar.
12721 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12722 _hurd_sigstate fields.
12723 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12724 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12725 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12726 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12727 instead of threadvar.
12728 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12729 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12730 (use_threadvar, global_reply_port): Remove variables.
12731 (__hurd_reply_port0): New variable.
12732 (__mig_get_reply_port): Use __hurd_local_reply_port and
12733 __hurd_reply_port0 instead of threadvar.
12734 (__mig_dealloc_reply_port): Likewise.
12735 (__mig_init): Do not initialize threadvar.
12736 * sysdeps/mach/hurd/profil.c: Fix comment.
12737 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12738 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12739 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12740 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12741 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12742 __cthread_setspecific.
12743 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12744 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12745 __cthread_t instead of cthread_fork, cthread_detach,
12746 pthread_getattr_np, pthread_attr_getstack.
12747 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12748 __cthread_keycreate.
12749 (cthread_getspecific): Rename to __cthread_getspecific.
12750 (cthread_setspecific): Rename to __cthread_setspecific.
12751 (__libc_getspecific): Use __cthread_getspecific instead of
12752 cthread_getspecific.
12753 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12754 __cthread_keycreate instead of cthread_keycreate.
12755 (__libc_setspecific): Use __cthread_setspecific instead of
12756 cthread_setspecific.
12757 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12760 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12761 testing whether it is defined.
12763 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12765 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12767 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12768 * sysdeps/mach/i386/thread_state.h
12769 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12771 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12773 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12775 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12776 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12778 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12780 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12781 descriptor instead of creating a new one.
12782 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12784 * mach/setup-thread.c: Include <ldsodefs.h>.
12785 (__mach_setup_thread): Call _dl_allocate_tls, pass
12786 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12787 MACHINE_THREAD_STATE_FLAVOR, before getting
12788 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12789 MACHINE_THREAD_STATE_FLAVOR with the result.
12790 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12791 MACHINE_THREAD_STATE_FIX_NEW.
12792 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12793 too. Add original thread parameter.
12795 2018-03-16 Joseph Myers <joseph@codesourcery.com>
12797 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12798 Remove inline function.
12800 * sysdeps/i386/fpu/libm-test-ulps: Update.
12801 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12803 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12805 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12808 2018-03-15 Joseph Myers <joseph@codesourcery.com>
12810 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12811 (__sincos_code): Remove define and undefine.
12812 [__FAST_MATH__] (__sincos): Remove inline function.
12813 [__FAST_MATH__] (__sincosf): Remove inline function.
12814 [__FAST_MATH__] (__sincosl): Remove inline function.
12815 (__atan2l): Remove inline functions.
12816 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12817 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12819 (floor): Remove inline function.
12821 [__FAST_MATH__] (__ldexp_code): Remove macro.
12822 [__FAST_MATH__] (ldexp): Remove inline function.
12823 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12824 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12825 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12826 [__USE_ISOC99] (__lrint_code): Remove macro.
12827 [__USE_ISOC99] (__llrint_code): Likewise.
12828 [__USE_ISOC99] (lrintf): Remove inline function.
12829 [__USE_ISOC99] (lrint): Likewise.
12830 [__USE_ISOC99] (lrintl): Likewise.
12831 [__USE_ISOC99] (llrint): Likewise.
12832 [__USE_ISOC99] (llrintf): Likewise.
12833 [__USE_ISOC99] (llrintl): Likewise.
12835 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12837 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12838 (__ieee754_sqrtf): Remove.
12839 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12840 (__ieee754_sqrtf): Remove.
12841 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12842 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12843 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12844 (__ieee754_sqrtf): Remove.
12845 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12846 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12849 (__ieee754_sqrt): Remove.
12850 (__ieee754_sqrtf): Remove.
12851 (__ieee754_sqrtl): Remove.
12852 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12853 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12854 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12855 (__ieee754_sqrtf): Remove.
12856 (__ieee754_sqrtl): Remove.
12858 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12860 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12861 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12862 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12863 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12864 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12865 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12866 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12869 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12870 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12871 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12872 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12873 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12874 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12875 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12876 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12877 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12878 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12879 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12882 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12883 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12884 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12885 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12887 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12888 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12889 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12892 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12893 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12894 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12897 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12898 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12899 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12900 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12902 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12903 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12904 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12905 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12906 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12907 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12908 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12910 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12912 * include/math.h (sqrt): Declare with asm redirect.
12915 (sqrtf128): Likewise.
12916 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12917 nonlib and libnldbl with -fmath-errno.
12918 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12919 * math/w_sqrt_template.c: Likewise.
12920 * math/w_sqrtf_compat.c: Likewise.
12921 * math/w_sqrtl_compat.c: Likewise.
12922 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12923 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12924 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12927 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12929 * benchtests/Makefile: Define _ISOMAC.
12930 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12931 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12932 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12933 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12934 * benchtests/bench-timing.h: Define attribute_hidden.
12936 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12938 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12941 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12944 * localedata/locales/cs_CZ (mon): Rename to...
12946 (mon): Import from CLDR (genitive case).
12948 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12951 * localedata/locales/el_CY (abmon): Rename to...
12952 (ab_alt_mon): This.
12953 (abmon): Import from CLDR (abbreviated genitive case).
12954 * localedata/locales/el_GR (abmon): Rename to...
12955 (ab_alt_mon): This.
12956 (abmon): Import from CLDR (abbreviated genitive case).
12958 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12961 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12963 2018-03-15 Robert Buj <robert.buj@gmail.com>
12966 * localedata/locales/ca_ES (abmon): Rename to...
12967 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12968 (mon): Rename to...
12970 (abmon): Import from CLDR (genitive case, month names preceded by
12973 (abday): Synchronize with CLDR.
12974 (d_t_fmt): Likewise.
12978 (LC_TIME): Improve indentation.
12979 (LC_TELEPHONE): Likewise.
12980 (LC_NAME): Likewise.
12981 (LC_ADDRESS): Likewise.
12983 2018-03-14 Joseph Myers <joseph@codesourcery.com>
12985 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
12986 (lrintf): Remove definitions used only with old GCC.
12987 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
12988 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
12989 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
12990 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
12991 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
12992 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
12993 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
12994 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
12995 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
12996 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
12997 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
12998 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
12999 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13000 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13001 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13002 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13003 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13004 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13005 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13006 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13007 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13008 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13009 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13010 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13011 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13012 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13013 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13014 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13016 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13018 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13019 instruction to unbreak builds with binutils 2.26 and older.
13021 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13023 * sysdeps/aarch64/strncmp.S (count): New macro.
13024 (strncmp): Store misaligned length in SRC1 in COUNT.
13025 (mutual_align): Adjust.
13026 (misaligned8): Load dword at a time when it is safe.
13028 2018-03-12 Zack Weinberg <zackw@panix.com>
13032 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13033 if the _IO_EOF_SEEN bit is already set; update commentary.
13034 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13035 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13037 * support/support_openpty.c, support/tty.h: New files.
13038 * support/Makefile (libsupport-routines): Add support_openpty.
13040 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13042 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13043 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13045 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13047 * po/pt_BR.po: Update translations.
13049 2018-03-12 David Michael <fedora.dm0@gmail.com>
13051 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13052 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13053 get a port to the startup server.
13055 2018-03-11 Zack Weinberg <zackw@panix.com>
13057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13058 before nldbl-compat.h.
13060 2018-03-10 Zack Weinberg <zackw@panix.com>
13062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13063 math.h or math_private.h.
13065 * sysdeps/alpha/fpu/s_isnan.c
13066 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13067 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13068 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13069 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13070 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13071 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13072 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13073 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13074 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13079 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13080 Include math_private.h.
13082 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13083 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13084 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13085 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13086 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13087 * sysdeps/powerpc/power7/fpu/s_logb.c:
13088 Include math.h and math_private.h.
13090 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13091 uses of $at in .set noat / .set at.
13093 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13095 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13096 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13097 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13098 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13101 2018-03-09 Florian Weimer <fweimer@redhat.com>
13103 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13106 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13109 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13110 Add nop before __startcontext, add explaining comments.
13112 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13115 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13117 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13118 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13119 Do not build hardware transactional code for __SPE__.
13120 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13121 (__lll_trylock_elision): Likewise.
13122 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13123 (__lll_unlock_elision): Likewise.
13125 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13126 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13127 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13128 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13129 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13130 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13131 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13132 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13133 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13134 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13135 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13136 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13138 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13140 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13141 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13142 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13143 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13144 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13145 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13146 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13147 (__ASSUME_CLONE_BACKWARDS): Define.
13148 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13149 __clone2 if __NR_clone2 is defined.
13150 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13151 (__ASSUME_CLONE_BACKWARDS): Likewise.
13152 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13153 (__ASSUME_CLONE_BACKWARDS): Likewise.
13154 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13155 (__ASSUME_CLONE2): Likewise.
13156 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13157 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13158 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13159 variants and the define architecture can use.
13160 (__ASSUME_CLONE_DEFAULT): Define as default.
13161 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13162 (__ASSUME_CLONE_BACKWARDS): Likewise.
13163 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13164 (__ASSUME_CLONE_BACKWARDS): Likewise.
13165 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13166 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13168 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13170 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13172 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13175 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13176 (do_test_limit): Likewise.
13178 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13179 for every implementation.
13180 (do_test): Likewise.
13182 * benchtests/bench-strncmp.c: Convert output to json.
13184 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13186 * io/futimens.c: Add missing start-of-file descriptive comment.
13187 * io/utime.c: Likewise.
13188 * misc/futimesat.c: Likewise.
13189 * misc/utimes.c: Likewise.
13190 * sysdeps/mach/hurd/futimesat.c: Likewise.
13191 * sysdeps/mach/hurd/utimes.c: Likewise.
13192 * sysdeps/posix/utime.c: Likewise.
13193 * sysdeps/posix/utimes.c: Likewise.
13194 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13195 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13196 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13197 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13199 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13201 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13203 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13204 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13205 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13206 (__futimens): Move implementation to...
13207 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13208 utime_tvalue_from_tspec): ... new helper functions.
13209 (hurd_futimens): New function.
13210 * sysdeps/mach/hurd/futimesat.c: New file.
13211 * sysdeps/mach/hurd/utimensat.c: New file.
13213 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13215 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13216 UTIME_OMIT): New macros.
13217 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13218 before reverting to converting time spec to time value and calling
13220 * sysdeps/mach/hurd/utime-helper.c: New file.
13221 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13222 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13223 reverting to utime_tvalue_from_tval and __file_utimes.
13224 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13225 (__lutimes): Just call hurd_futimens after lookup.
13226 * sysdeps/mach/hurd/utimes.c: Likewise.
13228 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13230 * bits/sigaction.h: Add include guard.
13231 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13232 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13233 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13234 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13235 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13236 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13237 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13238 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13239 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13241 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13243 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13244 -Wmaybe-uninitialized for -Os.
13245 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13248 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13250 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13251 __INO_T_MATCHES_INO64_T is defined.
13252 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13253 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13255 * dirent/alphasort64.c: Likewise.
13256 * dirent/scandir.c: Likewise.
13257 * dirent/scandir64-tail.c: Likewise.
13258 * dirent/scandir64.c: Likewise.
13259 * dirent/scandirat.c: Likewise.
13260 * dirent/scandirat64.c: Likewise.
13261 * dirent/versionsort.c: Likewise.
13262 * dirent/versionsort64.c: Likewise.
13263 * include/dirent.h: Likewise.
13265 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13266 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13267 for socketpair endpoint.
13268 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13269 WRITE_BUFFER_SIZE as buffer size for sending socket.
13270 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13271 issue on system where send is implemented with sendto syscall.
13272 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13273 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13274 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13275 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13278 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13279 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13280 sa_restorer for vDSO case.
13281 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13283 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13285 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13286 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13287 * hurd/hurd/ioctl.h: Include <mach/port.h>
13288 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13289 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13290 <mach/mach_types.h> and <mach/message.h>.
13291 (headers): Move mach/param.h to bits/mach/param.h.
13292 * sysdeps/mach/i386/mach/param.h: Move file to ...
13293 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13294 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13296 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13297 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13298 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13299 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13300 trivial, for C++ conformity.
13301 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13302 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13303 Process mig output through $(migheadersed).
13304 * hurd/Makefile (migheadersed): Define variable.
13305 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13306 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13308 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13309 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13310 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13311 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13312 <bits/types/sigset_t.h>.
13313 [!defined __USE_GNU]: Do not #error out.
13314 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13315 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13316 Include <stddef.h> and <bits/types/sigset_t.h>
13317 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13318 instead of sighandler_t.
13319 * stdlib/errno.h (error_t): Move definition to...
13320 * bits/types/error_t.h: ... new header.
13321 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13322 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13323 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13324 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13325 * hurd/hurd.h: Include <bits/types/error_t.h>
13326 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13327 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13328 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13329 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13330 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13331 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13332 * sysdeps/mach/hurd/futimens.c: New file.
13334 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13337 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13338 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13339 * nscd/gai.c (__nss_hosts_database): Readd definition.
13340 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13341 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13342 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13344 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13346 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13347 (ifunc_one): Likewise.
13349 2018-03-01 DJ Delorie <dj@delorie.com>
13352 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13355 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13357 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13358 `match_pid' parameter.
13359 (td_ta_thr_iter): Update accordingly.
13361 2018-03-01 Florian Weimer <fweimer@redhat.com>
13363 * nptl/Makefile (install-lib-ldscripts): Remove.
13364 (install): Remove rule.
13365 ($(inst_libdir)/libpthread.so): Likewise.
13367 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13370 * localedata/locales/an_ES: update month and day names,
13371 improve d_fmt, improve postal_fmt, add country_post,
13374 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13376 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13377 Ukrainian instead of Bulgarian.
13379 2018-03-01 Florian Weimer <fweimer@redhat.com>
13381 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13384 2018-03-01 Florian Weimer <fweimer@redhat.com>
13386 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13387 * nptl/Makefile (routines): Add pthread_atfork.
13388 (static-only-routines): Set to pthread_atfork.
13389 (libpthread-routines): Remove pthread_atfork.
13390 (libpthread-static-only-routines): Remove.
13391 (install): Update comment.
13392 (libpthread.so): Do not install libpthread_nonshared.a.
13393 (tests): Do not link with libpthread_nonshared.a.
13394 (generated): Remove libpthread_nonshared.a.
13395 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13396 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13397 with libpthread_nonshared.a.
13399 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13402 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13403 (libc_feholdexcept_setroundf128): New macro.
13404 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13407 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13409 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13410 * include/inttypes.h: New file.
13412 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13414 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13415 -Os in two more places.
13417 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13419 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13420 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13421 be sorted correctly at the moment because of a bug.
13423 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13425 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13426 treat ñ as a primary different character, sync the collation
13427 for Spanish with CLDR.
13428 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13429 * localedata/Makefile: Add new test files.
13430 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13431 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13433 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13434 * localedata/am_ET.UTF-8.in: New test file.
13435 * localedata/az_AZ.UTF-8.in: Likewise.
13436 * localedata/be_BY.UTF-8.in: Likewise.
13437 * localedata/ber_DZ.UTF-8.in: Likewise.
13438 * localedata/ber_MA.UTF-8.in: Likewise.
13439 * localedata/bg_BG.UTF-8.in: Likewise.
13440 * localedata/br_FR.UTF-8.in: Likewise.
13441 * localedata/cmn_TW.UTF-8.in: Likewise.
13442 * localedata/crh_UA.UTF-8.in: Likewise.
13443 * localedata/csb_PL.UTF-8.in: Likewise.
13444 * localedata/cv_RU.UTF-8.in: Likewise.
13445 * localedata/cy_GB.UTF-8.in: Likewise.
13446 * localedata/dz_BT.UTF-8.in: Likewise.
13447 * localedata/eo.UTF-8.in: Likewise.
13448 * localedata/es_ES.UTF-8.in: Likewise.
13449 * localedata/fa_IR.UTF-8.in: Likewise.
13450 * localedata/fi_FI.UTF-8.in: Likewise.
13451 * localedata/fil_PH.UTF-8.in: Likewise.
13452 * localedata/fur_IT.UTF-8.in: Likewise.
13453 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13454 * localedata/ha_NG.UTF-8.in: Likewise.
13455 * localedata/ig_NG.UTF-8.in: Likewise.
13456 * localedata/ik_CA.UTF-8.in: Likewise.
13457 * localedata/kk_KZ.UTF-8.in: Likewise.
13458 * localedata/ku_TR.UTF-8.in: Likewise.
13459 * localedata/ky_KG.UTF-8.in: Likewise.
13460 * localedata/ln_CD.UTF-8.in: Likewise.
13461 * localedata/mi_NZ.UTF-8.in: Likewise.
13462 * localedata/ml_IN.UTF-8.in: Likewise.
13463 * localedata/mn_MN.UTF-8.in: Likewise.
13464 * localedata/mr_IN.UTF-8.in: Likewise.
13465 * localedata/mt_MT.UTF-8.in: Likewise.
13466 * localedata/nb_NO.UTF-8.in: Likewise.
13467 * localedata/om_KE.UTF-8.in: Likewise.
13468 * localedata/os_RU.UTF-8.in: Likewise.
13469 * localedata/ps_AF.UTF-8.in: Likewise.
13470 * localedata/ro_RO.UTF-8.in: Likewise.
13471 * localedata/ru_RU.UTF-8.in: Likewise.
13472 * localedata/sc_IT.UTF-8.in: Likewise.
13473 * localedata/se_NO.UTF-8.in: Likewise.
13474 * localedata/sq_AL.UTF-8.in: Likewise.
13475 * localedata/sv_SE.UTF-8.in: Likewise.
13476 * localedata/szl_PL.UTF-8.in: Likewise.
13477 * localedata/tg_TJ.UTF-8.in: Likewise.
13478 * localedata/tk_TM.UTF-8.in: Likewise.
13479 * localedata/tt_RU.UTF-8.in: Likewise.
13480 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13481 * localedata/ug_CN.UTF-8.in: Likewise.
13482 * localedata/uz_UZ.UTF-8.in: Likewise.
13483 * localedata/vi_VN.UTF-8.in: Likewise.
13484 * localedata/yi_US.UTF-8.in: Likewise.
13485 * localedata/yo_NG.UTF-8.in: Likewise.
13486 * localedata/zh_CN.UTF-8.in: Likewise.
13487 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13488 file and fix bugs in the collation.
13489 * localedata/locales/az_AZ: Likewise.
13490 * localedata/locales/be_BY: Likewise.
13491 * localedata/locales/ber_DZ: Likewise.
13492 * localedata/locales/ber_MA: Likewise.
13493 * localedata/locales/bg_BG: Likewise.
13494 * localedata/locales/br_FR: Likewise.
13495 * localedata/locales/br_FR@euro: Likewise.
13496 * localedata/locales/ca_ES: Likewise.
13497 * localedata/locales/cns11643_stroke: Likewise.
13498 * localedata/locales/crh_UA: Likewise.
13499 * localedata/locales/cs_CZ: Likewise.
13500 * localedata/locales/csb_PL: Likewise.
13501 * localedata/locales/cv_RU: Likewise.
13502 * localedata/locales/cy_GB: Likewise.
13503 * localedata/locales/da_DK: Likewise.
13504 * localedata/locales/dz_BT: Likewise.
13505 * localedata/locales/en_CA: Likewise.
13506 * localedata/locales/eo: Likewise.
13507 * localedata/locales/es_CU: Likewise.
13508 * localedata/locales/es_EC: Likewise.
13509 * localedata/locales/es_ES: Likewise.
13510 * localedata/locales/es_US: Likewise.
13511 * localedata/locales/et_EE: Likewise.
13512 * localedata/locales/fa_IR: Likewise.
13513 * localedata/locales/fi_FI: Likewise.
13514 * localedata/locales/fil_PH: Likewise.
13515 * localedata/locales/fur_IT: Likewise.
13516 * localedata/locales/gez_ER@abegede: Likewise.
13517 * localedata/locales/ha_NG: Likewise.
13518 * localedata/locales/hr_HR: Likewise.
13519 * localedata/locales/hsb_DE: Likewise.
13520 * localedata/locales/hu_HU: Likewise.
13521 * localedata/locales/ig_NG: Likewise.
13522 * localedata/locales/ik_CA: Likewise.
13523 * localedata/locales/is_IS: Likewise.
13524 * localedata/locales/iso14651_t1_pinyin: Likewise.
13525 * localedata/locales/kk_KZ: Likewise.
13526 * localedata/locales/ku_TR: Likewise.
13527 * localedata/locales/ky_KG: Likewise.
13528 * localedata/locales/ln_CD: Likewise.
13529 * localedata/locales/lt_LT: Likewise.
13530 * localedata/locales/lv_LV: Likewise.
13531 * localedata/locales/mi_NZ: Likewise.
13532 * localedata/locales/ml_IN: Likewise.
13533 * localedata/locales/mn_MN: Likewise.
13534 * localedata/locales/mr_IN: Likewise.
13535 * localedata/locales/mt_MT: Likewise.
13536 * localedata/locales/nb_NO: Likewise.
13537 * localedata/locales/om_KE: Likewise.
13538 * localedata/locales/os_RU: Likewise.
13539 * localedata/locales/pl_PL: Likewise.
13540 * localedata/locales/ps_AF: Likewise.
13541 * localedata/locales/ro_RO: Likewise.
13542 * localedata/locales/ru_RU: Likewise.
13543 * localedata/locales/ru_UA: Likewise.
13544 * localedata/locales/sc_IT: Likewise.
13545 * localedata/locales/se_NO: Likewise.
13546 * localedata/locales/si_LK: Likewise.
13547 * localedata/locales/sq_AL: Likewise.
13548 * localedata/locales/sv_FI: Likewise.
13549 * localedata/locales/sv_FI@euro: Likewise.
13550 * localedata/locales/sv_SE: Likewise.
13551 * localedata/locales/szl_PL: Likewise.
13552 * localedata/locales/tg_TJ: Likewise.
13553 * localedata/locales/ti_ER: Likewise.
13554 * localedata/locales/tk_TM: Likewise.
13555 * localedata/locales/tl_PH: Likewise.
13556 * localedata/locales/tr_TR: Likewise.
13557 * localedata/locales/tt_RU: Likewise.
13558 * localedata/locales/tt_RU@iqtelif: Likewise.
13559 * localedata/locales/ug_CN: Likewise.
13560 * localedata/locales/uk_UA: Likewise.
13561 * localedata/locales/uz_UZ: Likewise.
13562 * localedata/locales/uz_UZ@cyrillic: Likewise.
13563 * localedata/locales/vi_VN: Likewise.
13564 * localedata/locales/yi_US: Likewise.
13565 * localedata/locales/yo_NG: Likewise.
13567 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13569 * gen-locales.mk: Make test files which contain @ modifiers in their
13571 * localedata/gen-locale.sh: Likewise.
13573 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13575 * posix/tst-fnmatch.input: Fix results for range expressions
13577 * posix/tst-regexloc.c: Do not use a range expression for
13578 de_DE.ISO-8859-1 locale.
13580 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13582 * posix/bug-regex5.c: Fix test case because with the new
13583 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13584 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13587 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13589 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13590 downloaded from ISO, the collation order of @-. and space has changed.
13591 Therefore, this test file needed to be adapted.
13592 * localedata/fr_CA.UTF-8.in: Likewise.
13593 * localedata/fr_FR.UTF-8.in: Likewise.
13594 * localedata/uk_UA.UTF-8.in: Likewise.
13596 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13598 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13599 order of ȥ in the new iso14651_t1_common file.
13600 * localedata/pl_PL.UTF-8.in: Likewise.
13602 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13604 * localedata/locales/iso14651_t1_common: Add sections for various
13605 scripts to the iso14651_t1_common file.
13607 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13609 * localedata/locales/iso14651_t1_common: Use the code point of a
13610 character in the fourth collation level instead of IGNORE for all
13611 entries which have IGNORE on all 4 levels.
13613 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13615 * localedata/locales/iso14651_t1_common: Add some convenient collation
13616 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13617 rules similar to those in CLDR.
13619 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13621 * localedata/locales/iso14651_t1_common: The new version of this
13622 file downloaded from ISO contained several syntax errors which
13623 are fixed by this patch.
13625 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13627 * localedata/locales/iso14651_t1_common: replace all <U.....>
13628 with <U000.....> because glibc understands only 4 digit or 8 digit
13630 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13632 * localedata/locales/iso14651_t1_common: Necessary changes
13633 to make the file downloaded from ISO usable by glibc.
13635 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13638 * localedata/locales/iso14651_t1_common: Update file to
13639 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13641 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13643 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13644 of <nptl/pthreadP.h>
13645 (thread_attr_compare): Move function to...
13646 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13647 * sysdeps/nptl/timer_routines.h: ... new header.
13648 * sysdeps/mach/hurd/gai_misc.h: New file.
13650 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13652 * string/strcoll_l.c: Include <libc-diag.h>.
13653 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13654 declarations of seq1 and seq2.
13657 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13658 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13660 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13665 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13666 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13667 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13668 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13669 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13671 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13674 macros used in __ptrace_request.
13676 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13679 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13681 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13682 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13683 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13686 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13689 * ctype/ctype.c (tolower): Use libc_hidden_def.
13690 (toupper): Likewise.
13691 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13692 [!_ISOMAC] (toupper): Likewise.
13694 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13696 * localedata/Makefile: Remove --quiet argument when
13699 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13702 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13704 * localedata/locales/pt_PT (LC_TIME): likewise
13706 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13709 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13710 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13711 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13713 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13717 * nptl/Makefile (routines): Remove unregister-atfork.
13718 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13719 (fork_handler_alloc): Remove function.
13720 (fork_handlers, fork_handler_init): New variables.
13721 (__fork_lock): Rename to atfork_lock.
13722 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13723 to use a dynamic array to add/remove atfork handlers.
13724 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13725 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13726 Remove declaration.
13727 (fork_handler): Remove next, refcntr, and need_signal member.
13728 (__run_fork_handler_type): New enum.
13729 (__run_fork_handlers): New prototype.
13730 * nptl/register-atfork.c: Remove file.
13731 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13733 * sysdeps/nptl/nptl-signals.h: Move to ...
13734 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13736 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13737 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13738 unnecessary check for SIGTIMER.
13739 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13740 remove unnecessary removal of SIGTIMER.
13741 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13742 include-signals.h rename.
13743 * nptl/pthreadP.h: Likewise.
13744 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13745 __is_internal_signal instead of __nptl_is_internal_signal.
13747 2018-02-22 Andrew Waterman <andrew@sifive.com>
13750 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13751 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13752 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13753 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13755 2018-02-22 DJ Delorie <dj@delorie.com>
13757 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13759 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13761 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13762 do_misaligned, not misaligned8.
13764 2018-02-22 Steve Ellcey <sellcey@cavium.com>
13766 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13767 Add memcpy_thunderx2.
13768 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13770 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13771 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13772 and IS_THUNDERX2PA checks.
13773 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13774 Use macro to set name appropriately.
13775 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13776 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13777 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13779 (IS_THUNDERX2): New macro.
13781 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13783 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13785 2018-02-21 Zack Weinberg <zackw@panix.com>
13787 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13788 Define here, unconditionally.
13789 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13790 * libio/libioP.h: Remove #if 0 blocks.
13791 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13792 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13793 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13795 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13796 Assume weak_alias is always defined.
13798 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13799 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13800 Remove #if 0 and #ifdef TODO blocks.
13801 Assume text_set_element is always defined.
13803 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13804 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13805 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13807 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13808 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13809 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13810 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13811 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13812 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13813 Reformat bit flags for _flags field to make occupancy clearer.
13815 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13816 Keep definitions consistent with those in libio/libio.h.
13818 * libio/libio.h (_IO_file_flags): Remove macro.
13819 All uses changed to _flags.
13821 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13822 (__HAVE_COLUMN, _IO_BE): Don't define.
13823 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13824 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13825 * libio/libioP.h (EOF): Don't define.
13826 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13827 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13828 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13829 testing _IO_UNIFIED_JUMPTABLES.
13831 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13832 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13833 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13834 (_IO_size_t): Delete; all uses changed to size_t.
13835 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13836 (_IO_off_t): Delete; all uses changed to off_t.
13837 (_IO_off64_t): Delete; all uses changed to off64_t.
13838 (_IO_pid_t): Delete; all uses changed to pid_t.
13839 (_IO_uid_t): Delete; all uses changed to uid_t.
13840 (_IO_wint_t): Delete; all uses changed to wint_t.
13841 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13842 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13843 (_IO_cookie_io_functions_t): Delete; all uses changed to
13844 cookie_io_functions_t.
13845 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13846 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13847 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13848 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13850 * libio/iofopncook.c: Remove unnecessary forward declarations.
13851 * libio/iolibio.h: Correct outdated commentary.
13852 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13853 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13854 Remove unnecessary casts.
13855 * stdio-common/getline.c: Use _IO_getdelim directly.
13856 Don't redefine ssize_t.
13857 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13858 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13859 Remove outdated comments.
13860 * stdio-common/vfscanf.c: Don't redefine va_list.
13862 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13863 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13864 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13865 which are always true, and __cplusplus, which is always false.
13867 2018-02-21 Joseph Myers <joseph@codesourcery.com>
13871 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13872 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13873 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13874 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13876 [!_ISOMAC] (putc_unlocked): Likewise.
13877 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13878 define inline if [__USE_EXTERN_INLINES].
13879 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13884 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13885 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13886 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13887 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13888 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13890 * time/tzfile.c (__tzfile_read): Likewise.
13892 2018-02-21 Mike FABIAN <mfabian@redhat.com>
13895 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13897 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13899 * io/fcntl.h: Fix a typo in a comment.
13901 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13904 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13905 define _DEFAULT_SOURCE.
13906 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13908 2018-02-21 Florian Weimer <fweimer@redhat.com>
13911 * elf/cache.c (save_cache): Call fsync on temporary file before
13913 (save_aux_cache): Call fdatasync on temporary file before renaming
13916 2018-02-21 Florian Weimer <fweimer@redhat.com>
13919 * include/caller.h: Remove file.
13920 * elf/dl-caller.c: Likewise.
13921 * elf/Makefile (dl-routines): Remove dl-caller.
13922 (shared-only-routines): Do not add dl-caller.
13923 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13925 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13927 (dl_open_worker): Do not call __check_caller.
13928 (_dl_open): Do not set caller_dl_open member.
13929 * elf/rtld.c (_rtld_global_ro): Do not initialize
13930 _dl_check_caller member.
13931 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13932 _dl_check_caller member.
13933 (_dl_check_caller): Remove declaration.
13934 * sysdeps/unix/sysv/linux/dl-execstack.c
13935 (_dl_make_stack_executable): Do not call __check_caller.
13937 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13939 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
13940 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
13942 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13944 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13947 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13950 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13951 of 199606L, 200112L, and 200809L.
13952 (_XOPEN_SOURCE): Document special values of 600 and 700.
13953 (_ISOC11_SOURCE): Document macro.
13954 (_ATFILE_SOURCE): Likewise.
13955 (_FORTIFY_SOURCE): Likewise.
13957 2018-02-19 Joseph Myers <joseph@codesourcery.com>
13961 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13962 and define as weak alias of __ferror_unlocked. Use
13964 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13966 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13967 function if [__USE_EXTERN_INLINES].
13968 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13971 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
13974 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13976 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13979 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13980 the GLIBC_2.1 version.
13982 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13985 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
13986 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
13987 intl/tst-gettext-de.po from po/de.po by removing the
13988 POT-Creation-Date line.
13989 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
13991 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
13994 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13996 * mach/Makefile (headers): Add mach/param.h.
13997 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
13998 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
13999 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14000 (__ptsname_r): Move implementation to...
14001 (__ptsname_internal): ... new function. Add filling the STP
14004 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14006 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14009 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14011 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14014 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14016 * nptl/Makefile (tst-mutex8-ENV): Delete.
14017 * nptl/tst-mutex8.c (check_type):
14018 Add runtime check if mutex will be elided.
14020 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14024 * manual/install.texi (Configuring and compiling): Describe
14025 passing CC and CFLAGS on configure command line, not as
14026 environment variables. Use @code markup on those variables.
14027 Specify what options go in CC and what go in CFLAGS. Note the
14028 requirement to compile with optimization.
14029 * INSTALL: Regenerated.
14032 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14033 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14034 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14035 __sigprocmask instead of sigprocmask.
14036 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14038 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14039 __sigsetjmp and sigprocmask.
14042 * include/argz.h (argz_next): Use libc_hidden_proto.
14043 (__argz_next): Likewise.
14044 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14045 (argz_next): Use libc_hidden_weak.
14048 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14050 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14054 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14056 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14060 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14061 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14062 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14063 (__feof_unlocked): New declaration, and inline function if
14064 [__USE_EXTERN_INLINES].
14065 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14066 instead of feof_unlocked.
14067 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14068 * nss/nsswitch.c (nss_parse_file): Likewise.
14069 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14071 * time/getdate.c (__getdate_r): Likewise.
14072 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14073 Define as macro to call __feof_unlocked.
14075 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14077 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14079 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14081 * math/Makefile: Remove mpexp.c and mplog.c
14082 * sysdeps/i386/fpu/mpexp.c: Delete file.
14083 * sysdeps/i386/fpu/mplog.c: Likewise.
14084 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14085 * sysdeps/ia64/fpu/mplog.c: Likewise.
14086 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14087 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14088 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14089 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14090 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14091 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14092 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14093 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14094 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14095 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14096 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14097 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14098 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14099 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14100 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14101 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14103 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14105 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14107 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14109 * sysdeps/sh/libm-test-ulps: Update.
14111 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14113 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14116 2018-02-12 Zack Weinberg <zackw@panix.com>
14119 * posix/sys/types.h: Don't include sys/sysmacros.h.
14120 * misc/sys/sysmacros.h: Remove the conditional deprecation
14121 warnings for the macros defined by this header.
14123 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14125 * manual/probes.texi: Remove slowexp probes.
14126 * math/Makefile: Remove slowexp.
14127 * sysdeps/generic/math_private.h (__slowexp): Remove.
14128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14129 document error bounds.
14130 * sysdeps/i386/fpu/slowexp.c: Remove.
14131 * sysdeps/ia64/fpu/slowexp.c: Remove.
14132 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14133 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14134 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14135 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14136 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14137 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14138 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14140 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14141 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14142 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14144 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14147 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14148 * benchtests/pow-inputs: Update comment for slow path cases.
14149 * manual/probes.texi (slowpow_p10): Delete removed probe.
14150 (slowpow_p10): Likewise.
14151 * math/Makefile: Remove halfulp.c and slowpow.c.
14152 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14153 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14154 (__halfulp): Remove.
14155 (__slowpow): Remove.
14156 * sysdeps/i386/fpu/halfulp.c: Delete file.
14157 * sysdeps/i386/fpu/slowpow.c: Likewise.
14158 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14159 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14161 improve comments and add error analysis.
14162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14163 (power1): Remove function:
14164 (log1): Remove error argument, add error analysis.
14165 (my_log2): Remove function.
14166 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14168 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14169 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14170 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14171 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14172 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14173 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14174 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14175 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14176 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14177 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14178 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14179 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14181 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14183 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14184 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14186 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14189 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14190 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14191 and PTRACE_SETHBPREGS.
14193 2018-02-10 Zack Weinberg <zackw@panix.com>
14196 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14198 * malloc/tst-malloc-stats-cancellation.c: New test case.
14199 * malloc/Makefile: Add new test case.
14201 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14203 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14205 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14207 * math/Makefile (libm-narrow-fns): Add add.
14208 (libm-test-funcs-narrow): Likewise.
14209 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14210 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14211 * math/gen-auto-libm-tests.c (test_functions): Add add.
14212 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14213 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14214 (NARROW_ADD_TRIVIAL): Likewise.
14215 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14217 (__daddl): Likewise.
14218 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14220 (CFLAGS-nldbl-dadd.c): New variable.
14221 (CFLAGS-nldbl-fadd.c): Likewise.
14222 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14226 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14227 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14228 * math/auto-libm-test-in: Add tests of add.
14229 * math/auto-libm-test-out-narrow-add: New generated file.
14230 * math/libm-test-narrow-add.inc: New file.
14231 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14234 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14235 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14236 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14244 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14245 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14246 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14247 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14248 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14250 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14278 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14279 (f128-pairs): New variable.
14280 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14281 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14283 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14284 Also make tests add $(f128-loader-link) to gnulib-tests.
14286 2018-02-09 DJ Delorie <dj@redhat.com>
14289 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14290 64-bit ELF type for 64-bit ELF objects.
14292 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14294 * math/libm-test-driver.c (snan_tests_arg): New variable.
14295 * math/libm-test-support.h (snan_tests_arg): New declaration.
14296 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14298 * math/Makefile (test-type-pairs): New variable.
14299 (test-type-pairs-f64xf128-yes): Likewise.
14300 (tests): Add test-narrow-macros.
14301 (libm-test-funcs-narrow): New variable.
14302 (libm-test-c-narrow): Likewise.
14303 (generated): Add $(libm-test-c-narrow).
14304 (libm-tests-base-narrow): New variable.
14305 (libm-tests-narrow): Likewise.
14306 (libm-tests): Add $(libm-tests-narrow).
14307 (libm-tests-for-type): Handle $(libm-tests-narrow).
14308 (libm-test-c-narrow-obj): New variable.
14309 ($(libm-test-c-narrow-obj)): New rule.
14310 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14311 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14312 $(o-iterator) to set dependencies and CFLAGS.
14313 * math/gen-auto-libm-tests.c: Document use for narrowing
14315 (output_for_one_input_case): Take argument NARROW.
14316 (generate_output): Likewise. Update call to
14317 output_for_one_input_case.
14318 (main): Take --narrow option. Update call to generate_output.
14319 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14320 (apply_lit): Update call to _apply_lit.
14321 (apply_arglit): New function.
14322 (parse_args): Handle "a" arguments.
14323 (parse_auto_input): Handle format names using ":".
14324 * math/README.libm-test: Document "a" parameter type.
14325 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14326 (ARG_TYPE_TRUE_MIN): Likewise.
14327 (ARG_TYPE_MAX): Likwise.
14328 (ARG_MIN_EXP): Likewise.
14329 (ARG_MAX_EXP): Likewise.
14330 (ARG_MANT_DIG): Likewise.
14331 (TEST_COND_arg_ibm128): Likewise.
14332 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14333 (TEST_COND_arg_fmt): New macro.
14334 (init_max_error): Update prototype.
14335 * math/libm-test-support.c (test_ibm128): New variable.
14336 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14337 instead of using [TEST_COND_ibm128] conditional.
14338 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14339 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14340 [TEST_NARROW] (TEST_MSG): New definition.
14341 (arg_plus_zero): New macro.
14342 (arg_minus_zero): Likewise.
14343 (arg_plus_infty): Likewise.
14344 (arg_minus_infty): Likewise.
14345 (arg_qnan_value_pl): Likewise.
14346 (arg_qnan_value): Likewise.
14347 (arg_snan_value_pl): Likewise.
14348 (arg_snan_value): Likewise.
14349 (arg_max_value): Likewise.
14350 (arg_min_value): Likewise.
14351 (arg_min_subnorm_value): Likewise.
14352 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14353 (RUN_TEST_LOOP_aa_f): New macro.
14354 (TEST_SUFF): New macro.
14355 (TEST_SUFF_STR): Likewise.
14356 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14357 (TEST_COND_any_ibm128): New macro.
14358 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14359 this_func. Update call to init_max_error.
14360 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14361 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14362 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14363 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14364 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14365 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14366 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14367 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14368 * math/test-math-vector.h (TEST_NARROW): Likewise.
14369 * math/test-arg-double.h: New file.
14370 * math/test-arg-float128.h: Likewise.
14371 * math/test-arg-float32x.h: Likewise.
14372 * math/test-arg-float64.h: Likewise.
14373 * math/test-arg-float64x.h: Likewise.
14374 * math/test-arg-ldouble.h: Likewise.
14375 * math/test-math-narrow.h: Likewise.
14376 * math/test-narrow-macros.c: Likewise.
14377 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14378 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14379 test-narrow-macros-ldbl-64.
14380 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14382 * math/bits/mathcalls-narrow.h: New file.
14383 * include/bits/mathcalls-narrow.h: Likewise.
14384 * math/math-narrow.h: Likewise.
14385 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14386 (__MATHCALL_NARROW_ARGS_2): Likewise.
14387 (__MATHCALL_NARROW_ARGS_3): Likewise.
14388 (__MATHCALL_NARROW_NORMAL): Likewise.
14389 (__MATHCALL_NARROW_REDIR): Likewise.
14390 (__MATHCALL_NARROW): Likewise.
14391 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14392 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14394 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14395 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14396 (libm-narrow-fns): New variable.
14397 (libm-narrow-types-basic): Likewise.
14398 (libm-narrow-types-ldouble-yes): Likewise.
14399 (libm-narrow-types-float128-yes): Likewise.
14400 (libm-narrow-types-float128-alias-yes): Likewise.
14401 (libm-narrow-types): Likewise.
14402 (libm-routines): Add narrowing functions.
14403 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14404 (libc_feholdexcept_setroundf128): New macro.
14405 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14406 * sysdeps/ieee754/float128/float128_private.h: Include
14407 <math/math-narrow.h>.
14408 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14409 Undefine and redefine.
14410 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14411 (libm_alias_float_ldouble): Undefine and redefine.
14412 (libm_alias_double_ldouble): Likewise.
14414 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14416 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14418 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14421 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14423 * manual/creature.texi: Convert references to gcc.info to gcc.
14424 * manual/stdio.texi: Likewise.
14425 * manual/string.texi: Likewise.
14427 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14430 * posix/bits/types.h (__int_least8_t): New typedef.
14431 (__uint_least8_t): Likewise.
14432 (__int_least16_t): Likewise.
14433 (__uint_least16_t): Likewise.
14434 (__int_least32_t): Likewise.
14435 (__uint_least32_t): Likewise.
14436 (__int_least64_t): Likewise.
14437 (__uint_least64_t): Likewise.
14438 * sysdeps/generic/stdint.h (int_least8_t): Define using
14440 (int_least16_t): Define using __int_least16_t.
14441 (int_least32_t): Define using __int_least32_t.
14442 (int_least64_t): Define using __int_least64_t.
14443 (uint_least8_t): Define using __uint_least8_t.
14444 (uint_least16_t): Define using __uint_least16_t.
14445 (uint_least32_t): Define using __uint_least32_t.
14446 (uint_least64_t): Define using __uint_least64_t.
14447 * wcsmbs/uchar.h: Include <bits/types.h>.
14448 (char16_t): Define using __uint_least16_t conditional only on
14450 (char32_t): Define using __uint_least32_t conditional only on
14452 * wcsmbs/test-char-types.c: New file.
14453 * wcsmbs/Makefile (tests): Add test-char-types.
14455 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14458 2018-02-07 Zack Weinberg <zackw@panix.com>
14460 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14461 Delete all contents except for definitions of _G_HAVE_MMAP and
14462 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14463 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14464 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14467 * libio/libio.h: Don't include bits/_G_config.h here.
14468 Include stddef.h with __need_wchar_t defined. Include
14469 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14470 Define _IO_iconv_t here, directly.
14471 Don't define _IO_HAVE_ST_BLKSIZE.
14472 * libio/libioP.h: Include _G_config.h here. Move include of
14473 shlib-compat.h up with rest of includes. Simplify conditionals
14474 controlling definition of _IO_JUMPS_OFFSET.
14476 * csu/init.c: Remove always-true #if around entire file.
14477 Don't include stdio.h. Set _IO_stdin_used to hardwired
14478 constant 0x20001, and update commentary.
14479 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14480 Replace all uses of _G_va_list with __gnuc_va_list.
14481 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14482 instead of #if _IO_HAVE_ST_BLKSIZE.
14483 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14484 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14487 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14488 multiple-include guard to match.
14489 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14491 Remove preprocessor conditionals that are always true and/or
14492 redundant to other preprocessor conditionals in the same nest.
14493 Include shlib-compat.h unconditionally.
14494 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14495 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14496 defined after including stdio.h.
14497 Use __BEGIN_DECLS/__END_DECLS.
14499 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14500 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14501 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14503 2018-02-07 Zack Weinberg <zackw@panix.com>
14505 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14506 New single-type headers split from _G_config.h.
14507 * libio/bits/types/cookie_io_functions_t.h
14508 * libio/bits/types/struct_FILE.h
14509 New single-type headers split from libio.h.
14511 * libio/Makefile: Install the above new headers. Don't install
14512 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14514 * libio/_G_config.h, libio/libio.h: Delete file.
14516 * libio/bits/libio.h: Remove improper-inclusion guard.
14517 Include stdio.h and don't repeat anything that it does.
14518 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14519 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14520 __io_read_fn as cookie_read_function_t,
14521 __io_write_fn as cookie_write_function_t,
14522 __io_seek_fn as cookie_seek_function_t,
14523 __io_close_fn as cookie_close_function_t,
14524 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14525 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14526 here, in the "compatibility defines" section. Remove an #if 0
14527 block. Use the "body" macros from bits/types/struct_FILE.h to
14528 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14529 and _IO_ferror_unlocked.
14530 Move prototypes of __uflow and __overflow...
14532 * libio/stdio.h: ...here. Don't include bits/libio.h.
14533 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14534 directly from stdarg.h. Include bits/types/__fpos_t.h,
14535 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14536 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14537 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14538 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14539 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14540 __ssize_t, not _IO_ssize_t. Unconditionally define
14541 BUFSIZ as 8192 and EOF as (-1).
14543 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14544 macros from bits/types/struct_FILE.h instead of _IO_* macros
14545 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14546 instead of _IO_ssize_t.
14547 * libio/bits/stdio2.h: Similarly.
14549 * libio/iolibio.h: Add multiple-include guard.
14550 Include bits/libio.h after stdio.h.
14551 * libio/libioP.h: Add multiple-include guard.
14552 Include stdio.h and bits/libio.h before iolibio.h.
14554 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14555 * include/bits/types/cookie_io_functions_t.h
14556 * include/bits/types/struct_FILE.h: New wrappers.
14558 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14559 Get definitions of _G_fpos_t and _G_fpos64_t from
14560 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14561 respectively. Remove improper-inclusion guards.
14563 * conform/data/stdio.h-data: Update expectations of va_list.
14564 * scripts/check-installed-headers.sh: Remove special case for
14565 libio.h and _G_config.h.
14567 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14571 * include/sys/sysmacros.h [!_ISOMAC]
14572 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14573 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14574 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14575 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14577 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14578 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14580 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14581 Undefine and redefine to add use __gnu_dev_ prefix.
14582 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14584 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14585 and define as hidden inline function.
14586 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14588 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14590 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14591 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14592 (gnu_dev_minor): Likewise.
14593 (gnu_dev_makedev): Likewise.
14594 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14596 * posix/wordexp.c (exec_comm_child): Likewise.
14597 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14598 instead of minor and __gnu_dev_major instead of major.
14599 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14600 __gnu_dev_major instead of major.
14601 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14602 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14603 instead of gnu_dev_minor.
14604 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14605 (SLAVE_P): Likewise.
14606 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14607 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14611 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14613 * locale/weightwc.h (findidx): Likewise.
14615 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14617 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14618 (slowlog_inexact): Likewise
14619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14620 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14622 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14625 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14626 missing second underscore to parameter name.
14628 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14634 * bits/byteswap.h: Update file comment. Do not include
14635 <bits/byteswap-16.h>.
14636 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14638 (__bswap_16): Define as inline function.
14639 (__bswap_constant_32): Reformat definition.
14640 (__bswap_32): Always define as inline function, not macro, using
14641 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14642 otherwise __bswap_constant_32.
14643 (__bswap_constant_64): Reformat definition. Do not use
14644 __extension__ here.
14645 (__bswap_64): Always define as inline function, not macro. Use
14646 __extension__ on function definition. Use __builtin_bswap64 if
14647 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14648 * string/test-endian-file-scope.c: New file.
14649 * string/test-endian-sign-conversion.c: Likewise.
14650 * string/Makefile (headers): Remove bits/byteswap-16.h.
14651 (tests): Add test-endian-file-scope and
14652 test-endian-sign-conversion.
14653 (CFLAGS-test-endian-sign-conversion.c): New variable.
14654 * bits/byteswap-16.h: Remove file.
14655 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14656 * sysdeps/ia64/bits/byteswap.h: Likewise.
14657 * sysdeps/m68k/bits/byteswap.h: Likewise.
14658 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14659 * sysdeps/s390/bits/byteswap.h: Likewise.
14660 * sysdeps/tile/bits/byteswap.h: Likewise.
14661 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14662 * sysdeps/x86/bits/byteswap.h: Likewise.
14665 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14666 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14667 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14668 199901L] (__restrict): Define to restrict.
14671 * string/testcopy.c: Include <support/support.h>. Do not include
14672 <malloc.h>. Use <support/test-driver.c>.
14673 (main): Rename to do_test. Make static. Use xmalloc instead of
14677 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14678 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14679 (SSIZE_MAX): Define to INT_MAX.
14680 * posix/test-ssize-max.c: New file.
14681 * posix/Makefile (tests): Add test-ssize-max.
14684 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14685 <support/support.h>. Do not include <malloc.h>.
14686 (query_auxv): Use xmalloc instead of malloc.
14689 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14690 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14693 2018-02-06 Florian Weimer <fweimer@redhat.com>
14696 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14697 Use scratch_buffer instead of extend_alloca.
14699 2018-02-06 Zack Weinberg <zackw@panix.com>
14701 * libio/stdio.h: Don't define getc or putc as macros.
14702 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14703 not _IO_getc and _IO_putc.
14705 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14706 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14708 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14710 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14711 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14713 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14716 * elf/elf.h (NT_PRFPREG): New macro.
14717 (NT_S390_VXRS_LOW): Likewise.
14718 (NT_S390_VXRS_HIGH): Likewise.
14719 (NT_S390_GS_CB): Likewise.
14720 (NT_S390_GS_BC): Likewise.
14721 (NT_S390_RI_CB): Likewise.
14723 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14724 (MAP_SYNC): New macro.
14725 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14727 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14728 (MAP_SYNC): Likewise.
14729 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14730 (MAP_SYNC): Likewise.
14731 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14732 (MAP_SYNC): Likewise.
14733 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14734 (MAP_SYNC): Likewise.
14735 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14736 (MAP_SYNC): Likewise.
14737 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14738 (MAP_SYNC): Likewise.
14739 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14741 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14744 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14745 (MAP_SHARED_VALIDATE): New macro.
14746 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14747 (MAP_SHARED_VALIDATE): Likewise.
14749 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14751 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14752 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14753 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14755 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14757 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14758 (DT_NUM): Updated to 35.
14760 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14762 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14763 __builtin_expect with __glibc_likely and __glibc_unlikely.
14764 (elf_machine_rela): Likewise.
14765 (elf_machine_lazy_rel): Likewise.
14767 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
14770 __builtin_expect with __glibc_likely and __glibc_unlikely.
14771 (elf_machine_lazy_rel): Likewise.
14773 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14776 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14778 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
14780 2018-02-05 Andreas Schwab <schwab@suse.de>
14783 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14786 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14788 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14789 not check against PTHREAD_STACK_MIN.
14791 2018-02-02 Sean McKean <smckean83@gmail.com>
14794 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14796 2018-02-02 Florian Weimer <fweimer@redhat.com>
14799 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14800 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14801 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14802 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14803 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14804 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14805 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14806 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14807 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14808 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14809 * misc/tst-preadvwritev2.c (do_test): Call it.
14810 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14812 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14814 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14816 * benchtests/bench-memcmp.c: Print json instead of plain text.
14818 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14821 2018-02-01 Joseph Myers <joseph@codesourcery.com>
14823 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14825 (s390_sthyi): New syscall.
14827 * sysdeps/generic/ldbl-classify-compat.h: New file.
14828 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14829 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14830 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14831 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14832 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14833 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14835 <ldbl-classify-compat.h>.
14836 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14837 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14838 <ldbl-classify-compat.h>.
14839 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14840 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14841 <ldbl-classify-compat.h>.
14842 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14844 <ldbl-classify-compat.h>.
14845 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14847 <ldbl-classify-compat.h>.
14848 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14850 <ldbl-classify-compat.h>.
14851 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14852 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14853 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14854 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14855 * sysdeps/microblaze/math_private.h: Likewise.
14856 * sysdeps/nios2/math_private.h: Likewise.
14857 * sysdeps/sh/math_private.h: Likewise.
14859 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14860 * sysdeps/m68k/coldfire/math_private.h: ... here.
14861 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14862 * sysdeps/tile/math_private.h: Likewise.
14863 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14865 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14868 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14870 (libc_fetestexcept): Likewise.
14871 (libc_feupdateenv_test): Likewise.
14872 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14873 (libc_fetestexcept): Likewise.
14874 (libc_feupdateenv_test): Likewise.
14875 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14876 (libc_fetestexcept): Likewise.
14877 (libc_feupdateenv_test): Likewise.
14878 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14879 (libc_fetestexcept): Likewise.
14880 (libc_feupdateenv_test): Likewise.
14882 * sysdeps/generic/math_private.h
14883 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14884 New inline function.
14885 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14888 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14889 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14890 * sysdeps/generic/math_private.h
14891 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14893 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14895 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14897 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14899 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14901 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14903 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14904 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14905 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14906 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14907 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14908 (__fegetenv): Likewise.
14909 (fesetenv): Likewise.
14910 (__fesetenv): Likewise.
14911 (feupdateenv): Likewise.
14912 (__feupdateenv): Likewise.
14913 (fegetround): Likewise.
14914 (__fegetround): Likewise.
14915 (fesetround): Likewise.
14916 (__fesetround): Likewise.
14918 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14919 (feraiseexcept): New macro.
14920 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14921 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14923 (__feraiseexcept): Likewise.
14924 (feclearexcept): Likewise.
14925 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14926 (__feraiseexcept): Likewise.
14927 (feclearexcept): Likewise.
14928 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14929 (__feraiseexcept): Likewise.
14930 (feclearexcept): Likewise.
14931 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14932 (__feraiseexcept): Likewise.
14933 (feclearexcept): Likewise.
14934 (fetestexcept): Likewise.
14936 * sysdeps/m68k/coldfire/math-tests.h: New file.
14938 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14939 * sysdeps/m68k/bits/fenv.h: ... here.
14940 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14942 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14944 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14946 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14948 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14950 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14952 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14953 (__FE_UNDEFINED): New enum constant.
14954 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14956 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14958 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14960 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14961 to match generic bits/fenv.h.
14962 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14965 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14967 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14968 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14969 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14970 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14972 2018-02-01 Carlos O'Donell <carlos@redhat.com>
14973 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14974 Joseph Myers <joseph@codesourcery.com>
14977 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14978 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14979 computation using c.
14980 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14981 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
14982 computation using c.
14984 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14986 * version.h (RELEASE): Set to "development".
14987 (VERSION): Set to "2.27.9000".
14988 * NEWS (2.28): New section.
14990 * version.h (RELEASE): Set to "stable".
14991 (VERSION): Set to "2.27".
14992 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
14994 * NEWS: Add the list of bugs fixed in 2.27.
14996 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14998 * stdlib/test-atexit-race-common.c (do_test): Check stack size
14999 against PTHREAD_STACK_MIN.
15001 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15003 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15005 (Rafal Luzynski, Andreas Schwab): Update.
15007 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15010 * NEWS: List the languages which actually use the alternative
15011 months feature in this release. Also explain that "alt_mon" and
15012 "ab_alt_mon" are optional.
15014 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15017 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15019 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15021 * manual/install.texi (Tools for Compilation): Update the newest
15022 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15023 * INSTALL: Regenerated.
15025 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15027 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15028 instead of __builtin_expect.
15030 2018-01-30 Florian Weimer <fweimer@redhat.com>
15032 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15034 * nss/tst-nss-getpwent.c (do_test): Likewise.
15036 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15039 * localedata/locales/hr_HR (mon): Rename to...
15041 (mon): Import from CLDR (genitive case).
15042 (d_t_fmt): Update the comment.
15044 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15046 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15047 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15048 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15050 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15052 * mach/Versions: Fix version when __mach_host_self_ was added.
15053 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15054 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15055 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15056 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15057 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15058 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15059 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15060 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15061 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15062 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15063 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15064 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15065 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15066 || to respect codestyle.
15067 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15068 (do_test_bz20181): Rename accordingly.
15069 * malloc/malloc.c: Include <assert.h>.
15070 (assert): Do not define.
15071 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15072 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15073 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15074 * sysdeps/mach/hurd/hp-timing.h: New file.
15075 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15077 2018-01-29 Darius Rad <darius@bluespec.com>
15079 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15081 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15083 * sysdeps/init_array/crti.S (.section .init_array): Add
15084 PREINIT_FUNCTION when defined.
15085 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15086 * config.h.in: Regenerate.
15087 * manual/platform.texi: Add RISC-V documenation for
15088 __riscv_flush_icache.
15089 * sysdeps/riscv/__longjmp.S: New file.
15090 * sysdeps/riscv/backtrace.c: Likewise.
15091 * sysdeps/riscv/bits/endian.h: Likewise.
15092 * sysdeps/riscv/bits/setjmp.h: Likewise.
15093 * sysdeps/riscv/bits/wordsize.h: Likewise.
15094 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15095 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15096 * sysdeps/riscv/dl-trampoline.S: Likewise.
15097 * sysdeps/riscv/gccframe.h: Likewise.
15098 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15099 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15100 * sysdeps/riscv/machine-gmon.h: Likewise.
15101 * sysdeps/riscv/memusage.h: Likewise.
15102 * sysdeps/riscv/setjmp.S: Likewise.
15103 * sysdeps/riscv/sys/asm.h: Likewise.
15104 * sysdeps/riscv/tls-macros.h: Likewise.
15105 * sysdeps/riscv/dl-tls.h: New file.
15106 * sysdeps/riscv/libc-tls.c: Likewise.
15107 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15108 * sysdeps/riscv/nptl/tls.h: Likewise.
15109 * sysdeps/riscv/stackinfo.h: Likewise.
15110 * sysdeps/riscv/bits/fenv.h: New file.
15111 * sysdeps/riscv/e_sqrtl.c: Likewise.
15112 * sysdeps/riscv/fpu_control.h: Likewise.
15113 * sysdeps/riscv/math-tests.h: Likewise.
15114 * sysdeps/riscv/nofpu/Implies: Likewise.
15115 * sysdeps/riscv/sfp-machine.h: Likewise.
15116 * sysdeps/riscv/tininess.h: Likewise.
15117 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15118 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15119 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15120 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15121 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15122 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15123 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15124 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15125 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15126 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15127 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15128 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15129 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15130 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15131 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15132 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15133 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15134 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15135 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15136 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15137 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15138 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15139 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15140 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15141 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15142 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15143 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15144 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15145 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15146 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15147 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15148 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15149 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15150 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15151 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15152 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15153 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15154 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15155 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15156 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15157 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15158 * sysdeps/riscv/rvf/math_private.h: Likewise.
15159 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15160 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15161 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15162 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15163 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15164 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15165 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15166 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15167 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15168 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15169 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15170 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15171 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15172 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15173 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15174 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15175 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15176 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15177 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15178 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15179 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15180 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15181 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15182 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15183 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15184 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15185 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15186 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15187 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15188 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15189 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15190 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15191 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15192 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15193 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15194 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15195 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15196 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15197 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15198 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15199 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15200 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15201 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15202 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15203 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15204 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15205 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15206 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15207 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15208 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15209 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15210 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15211 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15212 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15213 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15214 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15215 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15216 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15217 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15218 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15219 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15227 * sysdeps/riscv/Implies: New file.
15228 * sysdeps/riscv/Makefile: Likewise.
15229 * sysdeps/riscv/configure: Likewise.
15230 * sysdeps/riscv/configure.ac: Likewise.
15231 * sysdeps/riscv/nptl/Makefile: Likewise.
15232 * sysdeps/riscv/preconfigure: Likewise.
15233 * sysdeps/riscv/rv64/Implies-after: Likewise.
15234 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15235 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15236 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15237 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15238 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15239 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15240 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15241 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15242 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15243 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15244 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15245 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15246 (Config): Likewise.
15248 2018-01-29 Florian Weimer <fweimer@redhat.com>
15251 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15252 libnsl_hidden_proto.
15253 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15254 libnsl_hidden_proto.
15255 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15256 * nis/Makefile (libnsl-routines): Add nss-default only for
15257 build-obsolete-nsl.
15258 * nis/nis_defaults.c (__nis_default_ttl): Add
15259 libnsl_hidden_nolink_def.
15260 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15262 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15263 * nis/ypclnt.c (yp_maplist): Likewise.
15265 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15268 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15270 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15272 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15273 clean -dxfq for git updates when replacing sources.
15275 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15276 --disable-libcilkrts unconditionally, not just for the final GCC
15279 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15282 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15285 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15288 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15291 * localedata/locales/be_BY (mon): Rename to...
15292 (alt_mon): This, then synchronize with CLDR (nominative case).
15293 (abmon): Rename to...
15294 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15295 (mon): Import from CLDR (genitive case).
15297 * localedata/locales/be_BY@latin (mon): Rename to...
15299 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15301 * localedata/locales/be_BY@latin (lang_name): Reworded to
15302 "biełaruskaja mova".
15304 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15307 * localedata/locales/el_CY (mon): Renamed to...
15309 (mon): Import from CLDR (genitive case).
15310 * localedata/locales/el_GR: Likewise.
15312 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15315 * localedata/locales/ru_RU (mon): Rename to...
15317 (abmon): Rename to...
15318 (ab_alt_mon): This.
15319 (mon): Import from CLDR (genitive case).
15320 (abmon): Copy from the old content except the 5th month which is
15321 now in the genitive case, even when abbreviated.
15322 * localedata/locales/ru_UA: Likewise.
15323 * time/tst-strptime.c (day_tests): Add an actual example of
15324 a difference between %b and %Ob in Russian.
15326 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15328 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15329 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15331 * resolv/res-close.c: Include <stdlib.h>.
15332 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15333 <sys/wait.h>, <time.h>, <sys/uio.h>.
15334 (NOT_CANCEL_H): Add inclusion guard.
15335 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15336 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15337 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15339 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15340 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15341 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15343 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15344 timer_ptr2id to cast struct timer_node * to void *.
15345 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15346 --disable-libcilkrts to gcc configure.
15347 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15348 and make them the default for now.
15349 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15350 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15351 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15352 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15353 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15355 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15356 __task_terminate would ever return successfully.
15357 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15359 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15360 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15361 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15362 critical section to make code simpler and avoid warning.
15363 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15364 critical section to make code simpler and avoid warning.
15365 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15366 const char * instead of char *.
15367 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15368 __hurd_file_name_split, hurd_file_name_split,
15369 __hurd_directory_name_split, hurd_directory_name_split,
15370 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15371 hurd_file_name_path_lookup): Make lookup function parameter take a
15372 const char *name instead of char *name.
15373 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15374 __hurd_directory_name_split): Likewise.
15375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15376 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15377 * sysdeps/mach/hurd/check_native.c: New file.
15378 * sysdeps/mach/hurd/check_pf.c: New file.
15379 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15380 (__freeifaddrs): Define macro to freeifaddrs.
15381 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15382 * sysdeps/mach/libmachuser.abilist: New file.
15383 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15384 (do_test_bz20181): Rename accordingly.
15385 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15386 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15388 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15389 version only if __USE_EXTERN_INLINES is defined.
15390 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15391 __hurd_sockfail): Likewise.
15392 (_hurd_fd_get): Always declare functions, and provide inline versions
15393 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15394 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15395 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15396 _hurd_port_set): Always declare functions, and provide inline versions
15397 only if __USE_EXTERN_INLINES and _LIBC are defined and
15399 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15400 _hurd_critical_section_unlock): Likewise.
15401 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15402 * __hurd_threadvar_location): Likewise.
15403 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15404 _hurd_userlink_clear): Likewise.
15405 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15406 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15407 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15408 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15409 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15410 __spin_lock_locked): Likewise.
15411 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15412 __spin_lock_locked): Likewise.
15413 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15414 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15415 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15416 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15417 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15418 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15419 _POSIX_NO_TRUNC): Define to 0.
15420 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15421 check size against PTHREAD_STACK_MIN.
15422 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15423 IS_IN(libpthread)]: Include <sigsetops.h>.
15424 * mach/Makefile (user-interfaces): Add mach/gnumach.
15425 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15426 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15427 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15428 instead of invalid -1.
15429 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15430 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15431 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15434 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15436 * hurd/fcntl-internal.h: New file.
15438 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15440 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15442 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15444 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15447 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15448 Build only shared objects.
15450 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15452 * README: Update for hppa.
15454 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15456 * sysdeps/sparc/fpu/libm-test-ulps: Update
15457 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15459 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15463 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15466 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15467 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15468 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15469 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15472 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15475 * bits/types/__cancel_jmp_buf_tag.h: New file.
15476 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15477 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15478 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15479 * nptl/Makefile (headers): Add
15480 bits/types/__cancel_jmp_buf_tag.h.
15481 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15482 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15483 * sysdeps/nptl/pthread.h: Include
15484 <bits/types/__cancel_jmp_buf_tag.h>.
15485 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15487 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15489 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15492 * localedata/locales/uk_UA (mon): Renamed to...
15494 (alt_digits): "0" removed and then renamed to...
15496 (date_fmt): Definition changed not to use the alternative
15499 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15501 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15502 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15503 * elf/elf.h (EF_RISCV_RVC): New define.
15504 (EF_RISCV_FLOAT_ABI): Likewise.
15505 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15506 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15507 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15508 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15509 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15511 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15513 2018-01-25 Andreas Schwab <schwab@suse.de>
15515 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15517 * sysdeps/gnu/configure: Regenerate.
15518 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15519 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15521 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15522 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15523 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15524 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15525 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15527 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15529 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15530 URL, and run autoconf, make it the default for now.
15532 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15534 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15535 soft-float ColdFire configuration.
15537 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15538 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15539 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15541 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15544 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15546 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15548 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15551 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15552 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15553 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15556 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15559 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15560 Rename to __reserved and add comment.
15561 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15562 Rename to __reserved.
15564 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15566 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15567 i686-gnu configurations.
15568 (Context.run_builds): Include mig, gnumach and hurd in components
15570 (Context.checkout): Add mig, gnumach and hurd to components.
15571 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15573 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15574 (Config.build): Install gnumach headers, build mig and install
15575 hurd headers for 'gnu' OS.
15576 (Config.install_gnumach_headers): New function.
15577 (Config.install_hurd_headers): Likewise.
15578 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15579 when building for 'gnu' OS.
15581 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15583 * manual/tunables.texi (Hardware Capability Tunables): Fix
15586 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15588 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15589 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15590 (ALTMON_11, ALTMON_12): Improve documentation.
15591 * manual/time.texi (strftime): Likewise.
15593 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15596 * localedata/locales/pl_PL: Alternative month names added,
15597 primary month names are genitive now.
15598 * time/tst-strptime.c (day_tests): Actually use a genitive case
15599 of a month name in Polish language.
15601 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15604 * manual/locale.texi: Document ALTMON_1..12 constants for
15605 nl_langinfo. Specify when to use ALTMON instead of MON.
15606 * manual/time.texi (strftime, strptime): Document GNU extension
15607 permitting O modifier with %B and %b. Specify when to use
15610 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15613 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15614 names, define them as the same as abbreviated month names explicitly.
15615 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15616 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15617 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15618 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15619 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15620 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15621 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15622 _NL_WABALTMON_12): New enum constants.
15623 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15624 wab_alt_mon, and ab_alt_mon_defined members.
15625 (time_output): Output ab_alt_mon and wab_alt_mon members.
15626 (time_read): Read them, initialize them as copies of abmon and wabmon
15627 respectively if they are missing, initialize ab_alt_mon_defined.
15628 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15629 * locale/programs/locfile-kw.h: Regenerate.
15630 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15631 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15633 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15634 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15635 (__strftime_internal): Handle %Ob and %Oh formats.
15636 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15637 (__strptime_internal): Handle %Ob and %Oh formats.
15638 * time/tst-strptime.c (day_tests): Add more tests to parse different
15639 forms of month names including the new %Ob format specifier.
15641 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15644 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15645 define them as the same as primary full month names explicitly.
15646 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15647 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15648 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15649 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15650 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15651 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15652 _NL_WALTMON_12): New enum constants.
15653 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15654 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15656 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15657 walt_mon, and alt_mon_defined members.
15658 (time_output): Output alt_mon and walt_mon members.
15659 (time_read): Read them, initialize them as copies of mon and wmon
15660 respectively if they are missing, initialize alt_mon_defined.
15661 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15662 * locale/programs/locfile-kw.h: Regenerate.
15663 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15664 * localedata/tst-langinfo.c (map): Add tests for the new constants
15665 ALTMON_1 .. ALTMON_12.
15666 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15668 * time/strftime_l.c (f_altmonth): New macro.
15669 (__strftime_internal): Handle %OB format.
15670 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15671 (__strptime_internal): Handle %OB format.
15672 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15673 of month names including the new %OB format specifier.
15675 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15678 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15679 from ABORT_TRANSACTION.
15680 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15681 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15682 ABORT_TRANSACTION_IMPL): Likewise.
15683 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15684 Linux code, but remove the code that aborts transactions.
15686 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15688 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15690 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15692 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15693 in date: "2004-14-09" should be "2004-09-14".
15694 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15695 "2003-15-09" should be "2003-09-15".
15697 2018-01-18 Arjun Shankar <arjun@redhat.com>
15703 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15705 (_int_memalign): check for integer overflow before calling
15707 * malloc/tst-malloc-too-large.c: New test.
15708 * malloc/Makefile: Add tst-malloc-too-large.
15710 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15712 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15713 in date: "2017-24-07" should be "2017-07-24".
15714 * localedata/locales/mai_IN: Likewise.
15715 * localedata/locales/mai_NP: Likewise.
15717 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15719 * po/ru.po: Update translations.
15721 2018-01-17 Joseph Myers <joseph@codesourcery.com>
15724 * sysdeps/hppa/backtrace.c: New file.
15726 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15729 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15730 align La_x86_64_retval to VEC_SIZE.
15732 2018-01-16 Joseph Myers <joseph@codesourcery.com>
15734 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15735 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15737 2018-01-16 Florian Weimer <fweimer@redhat.com>
15739 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15740 Move tst-thread-exit-clobber ...
15741 [$(CXX)] (tests-unsupported): ... to here.
15743 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15745 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15746 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15747 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15748 (_dl_aarch64_cap_flags): Update.
15749 (_DL_HWCAP_COUNT): Update.
15751 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15753 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15754 (_DL_HWCAP_LAST): Remove.
15755 (_DL_HWCAP_COUNT): Move to ...
15756 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15757 (_DL_HWCAP_COUNT): ... here.
15759 2018-01-16 Florian Weimer <fweimer@redhat.com>
15761 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15762 mode with GNU extensions.
15764 2018-01-15 Alan Hayward <alan.hayward@arm.com>
15766 * elf/elf.h (NT_ARM_SVE): Define.
15768 2018-01-15 Florian Weimer <fweimer@redhat.com>
15771 * nptl/tst-minstack-throw.cc: New file.
15772 * nptl/Makefile (tests): Add tst-minstack-throw.
15773 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15774 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15776 2018-01-15 Joseph Myers <joseph@codesourcery.com>
15778 * scripts/build-many-glibcs.py (Context.checkout): Default
15779 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15782 2018-01-13 Carlos O'Donell <carlos@redhat.com>
15785 * elf/elf.h (DF_1_STUB): Define.
15786 (DF_1_PIE): Define.
15788 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15791 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15792 Do not add 0.5 to integer or out-of-range arguments.
15794 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15796 * po/bg.po: Update translations.
15797 * po/cs.po: Likewise.
15798 * po/de.po: Likewise.
15799 * po/ko.po: Likewise.
15800 * po/pl.po: Likewise.
15801 * po/sv.po: Likewise.
15802 * po/uk.po: Likewise.
15803 * po/vi.po: Likewise.
15805 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15807 * aarch64/start.S (_start): Use __wrap_main.
15808 (__wrap_main): New local symbol.
15810 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15814 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15815 generic_getcwd if the path returned by getcwd syscall is not absolute.
15816 * io/tst-getcwd-abspath.c: New test.
15817 * io/Makefile (tests): Add tst-getcwd-abspath.
15819 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15821 * malloc/malloc.c (malloc_consolidate): Add size check.
15823 2018-01-12 Florian Weimer <fweimer@redhat.com>
15825 * support/write_message.c (write_message): Preserve errno.
15826 * support/check.c (print_failure): Likewise.
15827 * support/support_test_verify_impl.c (support_test_verify_impl):
15829 * support/support_test_compare_failure.c
15830 (support_test_compare_failure): Likewise.
15832 2018-01-12 Florian Weimer <fweimer@redhat.com>
15835 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15836 Prevent installation of libnsl.so.
15837 (libnsl-inhibit-o): Do not build (or install) static libraries.
15839 2018-01-12 Egmont Koblinger <egmont@gmail.com>
15842 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15843 before the day number which may produce a double space.
15844 (date_fmt): Likewise.
15846 2018-01-12 Joseph Myers <joseph@codesourcery.com>
15848 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15849 instead of fegetenv.
15851 2018-01-11 Joseph Myers <joseph@codesourcery.com>
15854 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15855 comment to say exceptions are discarded.
15856 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15858 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15861 2018-01-11 Florian Weimer <fweimer@redhat.com>
15863 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15866 2018-01-11 Florian Weimer <fweimer@redhat.com>
15869 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15870 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15872 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15875 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15876 negative arguments in test for NaN or infinity argument.
15878 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15880 * po/libc.pot: Regenerate.
15882 2018-01-10 Florian Weimer <fweimer@redhat.com>
15885 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15886 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15888 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15890 * hurd/hurd/fd.h: Include <fcntl.h>
15891 (__hurd_at_flags): New function.
15892 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15893 with call to __hurd_at_flags.
15894 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15895 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15897 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15898 (__access_noerrno): Use __faccessat_common instead of access_common.
15899 (__access): Likewise.
15900 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15901 with a call to __faccessat.
15902 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15903 (__faccessat_common): ... this. Move implementation of __access into it when
15904 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15905 reauthenticate_cwdir_at helper to implement AT mechanism.
15906 (__faccessat_noerrno): New function, just calls __faccessat_common.
15907 (__faccessat): New function, just calls __faccessat_common.
15908 (faccessat): Define weak alias.
15910 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15913 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15914 (CFLAGS-s_fmaxmagl.c): New variable.
15915 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15919 long int for arguments of possibly overflowing addition or
15921 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15923 2018-01-09 Joseph Myers <joseph@codesourcery.com>
15926 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15927 (CFLAGS-e_remainderl.c): New variable.
15930 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15932 (CFLAGS-s_cacoshl.c): Likewise.
15933 (CFLAGS-s_casinhl.c): Likewise.
15934 (CFLAGS-s_catanl.c): Likewise.
15935 (CFLAGS-s_catanhl.c): Likewise.
15936 (CFLAGS-s_cexpl.c): Likewise.
15937 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15938 (CFLAGS-s_csinhl.c): Likewise.
15939 (CFLAGS-s_clogl.c): Likewise.
15940 (CFLAGS-s_clog10l.c): Likewise.
15941 (CFLAGS-s_csinl.c): Likewise.
15942 (CFLAGS-s_csqrtl.c): Likewise.
15944 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
15945 2017-01-09 Svante Signell <svante.signell@gmail.com>
15947 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15948 (_hurd_exec_paths): New function.
15949 * hurd/hurd.h (_hurd_exec): Deprecate function.
15950 (_hurd_exec_paths): Declare function.
15951 * hurd/Versions: Export _hurd_exec_paths.
15952 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15953 (__execve): Use __getcwd to build absolute path, and use
15954 _hurd_exec_paths instead of _hurd_exec.
15955 * sysdeps/mach/hurd/spawni.c: Likewise.
15956 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15959 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15961 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15962 test instead of failing in case of ENOENT returned by posix_openpt.
15964 2018-01-08 Florian Weimer <fweimer@redhat.com>
15966 resolv: Support binary labels in test framework.
15967 * support/resolv_test.c (struct to_be_freed): Remove.
15968 (struct compressed_name): New.
15969 (allocate_compressed_name, ascii_tolower)
15970 (compare_compressed_name): New functions.
15971 (struct resolv_response_builder): Update type of
15972 compression_offsets for use with tsearch. Rempve to_be_freed.
15973 (response_push_pointer_to_free): Remove function.
15974 (resolv_response_add_name): Rewrite using struct compressed_name
15975 and tsearch instead of hsearch_r.
15976 (response_builder_allocate): Remove initialization of
15977 compression_offsets.
15978 (response_builder_free): Update for removal of to_be_freed. Use
15979 tdestroy instead of hdestroy_r.
15980 * resolv/Makefile (tests): Add tst-resolv-binary.
15981 (tst-resolv-binary): Link with -lresolv -lpthread.
15983 2018-01-08 Florian Weimer <fweimer@redhat.com>
15985 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
15986 time. Pass positive flag instead of negative flag to
15987 support_test_compare_failure.
15988 (support_test_compare_failure): Change negative parameter to
15990 * support/support_test_compare_failure.c (report)
15991 (support_test_compare_failure): Likewise.
15992 * support/tst-test_compare.c (return_ssize_t, return_int): New.
15993 (do_test): Check int/size_t, ssize_t/size_t comparisons.
15995 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15998 * nptl/descr.h (stackblock, stackblock_size): Update comments.
15999 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16000 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16002 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16004 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16006 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16007 Add s_sincosf-sse2 and s_sincosf-fma.
16008 (CFLAGS-s_sincosf-fma.c): New.
16009 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16010 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16011 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16012 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16013 __sincosf is defined.
16015 2018-01-08 Florian Weimer <fweimer@redhat.com>
16017 * nptl/tst-thread-exit-clobber.cc: New file.
16018 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16020 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16021 (tests): Add tst-thread-exit-clobber.
16022 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16024 2018-01-08 Florian Weimer <fweimer@redhat.com>
16026 * support/check.h (support_static_assert): Define.
16027 (TEST_COMPARE): Use it.
16029 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16031 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16032 [!__RLIM_T_MATCHES_RLIM64_T]
16033 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16034 __getrlimit64. Add libc_hidden_weak.
16036 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16038 * elf/elf.h (R_RISCV_NONE): New define.
16039 (R_RISCV_32): Likewise.
16040 (R_RISCV_64): Likewise.
16041 (R_RISCV_RELATIVE): Likewise.
16042 (R_RISCV_COPY): Likewise.
16043 (R_RISCV_JUMP_SLOT): Likewise.
16044 (R_RISCV_TLS_DTPMOD32): Likewise.
16045 (R_RISCV_TLS_DTPMOD64): Likewise.
16046 (R_RISCV_TLS_DTPREL32): Likewise.
16047 (R_RISCV_TLS_DTPREL64): Likewise.
16048 (R_RISCV_TLS_TPREL32): Likewise.
16049 (R_RISCV_TLS_TPREL64): Likewise.
16050 * Makerules (make-link-multidir): Make directories before linking into
16052 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16054 (VDSO_HASH_LINUX_4_15): Likewise.
16055 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16056 in subdirectories of lib.
16057 * nptl/Makefile (/librt.so): Always depend on
16058 "$(shared-thread-library)".
16060 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16062 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16063 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16064 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16066 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16067 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16069 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16070 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16071 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16072 * sysdeps/gnu/glob-lstat-compat.c: New file.
16073 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16074 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16076 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16078 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16079 Reserve 16 chars to reloc_addr before calling _itoa_word.
16081 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16084 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16085 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16087 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16088 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16090 * resource/tst-getrlimit.c: Add copyright header.
16092 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16093 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16095 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16096 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16097 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16098 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16100 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16101 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16102 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16103 RLIM64_INFINITY): Fix values to match the kernel ones.
16104 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16105 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16106 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16107 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16108 getrlimit64@@GLIBC_2_27.
16109 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16111 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16112 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16113 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16114 setrlimit, getrlimit64 and setrlimit64.
16116 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16119 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16120 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16122 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16124 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16125 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16126 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16128 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16132 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16133 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16137 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16138 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16139 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16140 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16142 2018-01-04 Florian Weimer <fweimer@redhat.com>
16145 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16146 Align the stack before calling exit.
16147 * stdlib/tst-makecontext-align.c: New file.
16148 * stdlib/Makefile (tests): Add tst-makecontext-align.
16150 2018-01-04 Florian Weimer <fweimer@redhat.com>
16152 Add support for calling dlvsym from libc.so.
16153 * include/dlfcn.h (__libc_dlvsym): Declare.
16154 * elf/Makefile (tests-static-internal): Add
16155 tst-libc_dlvsym-static.
16156 (tests-internal): Add tst-libc_dlvsym.
16157 (modules-names): Add tst-libc_dlvsym-dso.
16158 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16159 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16160 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16161 object tst-libc_dlvsym-dso.so needs to be built before running
16163 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16164 * elf/Versions: Export __libc_dlvsym.
16165 * elf/dl-libc.c (struct do_dlvsym_args): New.
16166 (do_dlvsym, __libc_dlvsym): New functions.
16167 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16168 (_dl_open_hook2): New variable.
16169 (__libc_register_dl_open_hook): Set it.
16170 * elf/tst-libc_dlvsym-dso.c: New file.
16171 * elf/tst-libc_dlvsym-static.c: Likewise.
16172 * elf/tst-libc_dlvsym.c: Likewise.
16173 * elf/tst-libc_dlvsym.h: Likewise.
16175 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16177 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16178 include <sys/mount.h>.
16180 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16182 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16183 Add __NO_MATH_ERRNO__ check.
16185 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16187 * sysdeps/mips/mips32/libm-test-ulps: Update.
16188 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16190 2018-01-02 Florian Weimer <fweimer@redhat.com>
16192 * misc/tst-pselect.c: Add copyright header.
16194 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16196 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16198 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16200 (settrlimit): Rename into setrlimit.
16201 (__sttrlimit): Rename into __setrlimit.
16203 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16204 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16205 never defined in that case.
16207 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16209 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16211 * sysdeps/arm/libm-test-ulps: Update.
16213 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16214 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16216 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16218 * NEWS: Add cosf and sincosf to list of optimized functions.
16220 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16223 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16224 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16225 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16226 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16228 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16231 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16233 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16234 making a copy of it.
16236 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16238 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16239 trailing whitespace removed.
16240 * scripts/config.guess: Update to version 2018-01-01.
16241 * scripts/config.sub: Update to version 2018-01-01.
16242 * scripts/move-if-change: Update from gnulib.
16244 * NEWS: Update copyright dates.
16245 * catgets/gencat.c (print_version): Likewise.
16246 * csu/version.c (banner): Likewise.
16247 * debug/catchsegv.sh: Likewise.
16248 * debug/pcprofiledump.c (print_version): Likewise.
16249 * debug/xtrace.sh (do_version): Likewise.
16250 * elf/ldconfig.c (print_version): Likewise.
16251 * elf/ldd.bash.in: Likewise.
16252 * elf/pldd.c (print_version): Likewise.
16253 * elf/sotruss.sh: Likewise.
16254 * elf/sprof.c (print_version): Likewise.
16255 * iconv/iconv_prog.c (print_version): Likewise.
16256 * iconv/iconvconfig.c (print_version): Likewise.
16257 * locale/programs/locale.c (print_version): Likewise.
16258 * locale/programs/localedef.c (print_version): Likewise.
16259 * login/programs/pt_chown.c (print_version): Likewise.
16260 * malloc/memusage.sh (do_version): Likewise.
16261 * malloc/memusagestat.c (print_version): Likewise.
16262 * malloc/mtrace.pl: Likewise.
16263 * manual/libc.texinfo: Likewise.
16264 * nptl/version.c (banner): Likewise.
16265 * nscd/nscd.c (print_version): Likewise.
16266 * nss/getent.c (print_version): Likewise.
16267 * nss/makedb.c (print_version): Likewise.
16268 * posix/getconf.c (main): Likewise.
16269 * scripts/test-installation.pl: Likewise.
16270 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16272 * All files with FSF copyright notices: Update copyright dates
16273 using scripts/update-copyrights.
16274 * locale/programs/charmap-kw.h: Regenerated.
16275 * locale/programs/locfile-kw.h: Likewise.
16277 2017-12-31 Zack Weinberg <zackw@panix.com>
16279 * libio/bits/libio-ldbl.h: Correct check for improper
16280 inclusion. Add own multiple include guard.
16282 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16283 Dmitry V. Levin <ldv@altlinux.org>
16287 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16288 string token expansion. Check for NULL pointer or empty string possibly
16289 returned by expand_dynamic_string_token.
16290 (decompose_rpath): Check for empty path after dynamic string
16293 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16296 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16298 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16299 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16300 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16301 and PTRACE_SYSCALL.
16302 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16303 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16307 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16309 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16310 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16311 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16312 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16314 bits/ptrace-shared.h.
16315 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16316 <bits/ptrace-shared.h>.
16317 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16318 __ptrace_peeksiginfo_flags, ptrace): Remove.
16319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16323 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16325 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16328 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16329 end of the loop. Improve comments.
16331 2017-12-29 Zack Weinberg <zackw@panix.com>
16334 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16335 might be set on success.
16337 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16340 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16341 is unchanged on success.
16343 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16345 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16347 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16348 expand_dynamic_string_token): Likewise.
16349 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16352 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16355 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16356 is set and name contains ':', and all code depending on these checks.
16358 2017-12-24 Zack Weinberg <zackw@panix.com>
16360 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16361 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16363 * libio/libio.h: Rename the original version of this file to
16364 libio/bits/libio.h. Error out if not included by stdio.h or the
16366 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16367 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16368 if not included by bits/libio.h or the stub _G_config.h.
16369 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16370 sysdeps/unix/sysv/linux/bits. Error out if not included by
16371 bits/libio.h or the stub _G_config.h.
16372 * libio/stdio.h: Include bits/libio.h, not libio.h.
16373 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16374 well as libio.h and _G_config.h.
16376 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16377 * libio/strfile.h, stdio-common/vfscanf.c
16378 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16379 Include stdio.h, not _G_config.h nor libio.h.
16380 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16381 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16383 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16385 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16388 * stdlib/getrandom.c (getrandom): Fix comment.
16389 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16391 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16394 * manual/arith.texi (strtoul): Fix a typo.
16397 * manual/arith.texi (finite): Fix the description of the return
16400 2017-12-22 Eric Blake <ebb9@byu.net>
16402 Avoid gcc warnings on cygwin
16403 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16404 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16405 Avoid unused variable.
16407 2017-12-22 Florian Weimer <fweimer@redhat.com>
16409 * io/Makefile (routines): Add copy_file_range.
16410 (tests): Add tst-copy_file_range.
16411 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16412 * io/Versions (GLIBC_2.27): Export copy_file_range.
16413 * io/copy_file_range-compat.c: New file.
16414 * io/copy_file_range.c: Likewise.
16415 * io/tst-copy_file_range-compat.c: Likewise.
16416 * io/tst-copy_file_range.c: Likewise.
16417 * manual/llio.texi (Copying File Data): New section.
16418 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16419 * support/Makefile (libsupport-routines): Add support-xfstat,
16420 xftruncate, xlseek.
16421 * support/support-xfstat.c: New file.
16422 * support/xftruncate.c: Likewise.
16423 * support/xlseek.c: Likewise.
16424 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16425 * sysdeps/unix/sysv/linux/**.abilist: Update.
16426 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16428 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16430 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16431 disable-multi-arch variant to aarch64-linux-gnu.
16433 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16435 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16436 trailing whitespace removed.
16437 * scripts/config.guess: Update to version 2017-12-17.
16438 * scripts/config.sub: Update to version 2017-11-23.
16439 * scripts/install-sh: Update to version 2017-09-23.17.
16440 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16442 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16444 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16445 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16446 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16447 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16448 * sysdeps/tile/crtn.S: Likewise.
16449 * sysdeps/tile/dl-start.S (_start): Likewise.
16450 * sysdeps/tile/dl-trampoline.S: Likewise.
16451 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16452 * sysdeps/tile/start.S (_start): Likewise.
16453 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16454 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16455 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16456 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16457 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16458 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16459 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16461 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16463 * sysdeps/tile/preconfigure: Remove tilegx folder.
16464 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16465 * sysdeps/tile/Implies: ... here.
16466 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16467 * sysdeps/tile/Makefile: ... here.
16468 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16469 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16470 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16471 * sysdeps/tile/bits/wordsize.h: ... here.
16472 * sysdeps/tile/tilegx/*: Move to ...
16473 * sysdeps/tile/*: ... here.
16474 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16475 * sysdeps/tile/tilegx32/Implies: ... here.
16476 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16477 * sysdeps/tile/tilegx64/Implies: ... here.
16478 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16480 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16481 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16482 * sysdeps/unix/sysv/linux/tile/*: ... here.
16483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16484 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16486 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16488 * README: Remove tilepro-*-linux-gnu from supported architecture.
16489 * scripts/build-many-glibcs.py: Likewise.
16490 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16491 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16492 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16493 elf_machine_matches_host, elf_machine_dynamic,
16494 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16495 howto, elf_machine_rela): Likewise.
16496 * sysdeps/tile/dl-start.S (_start): Likewise.
16497 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16498 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16499 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16500 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16501 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16502 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16504 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16505 * sysdeps/tile/preconfigure: Likewise.
16506 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16507 POINTER_CHK_GUARD): Likewise.
16508 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16509 * sysdeps/tile/start.S (_start): Likewise.
16510 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16512 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16513 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16515 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16516 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16517 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16519 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16520 * sysdeps/tile/tilepro/Implies: Remove file.
16521 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16522 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16523 * sysdeps/tile/tilepro/memchr.c: Likewise.
16524 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16525 * sysdeps/tile/tilepro/memset.c: Likewise.
16526 * sysdeps/tile/tilepro/memusage.h: Likewise.
16527 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16528 * sysdeps/tile/tilepro/strchr.c: Likewise.
16529 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16530 * sysdeps/tile/tilepro/strlen.c: Likewise.
16531 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16532 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16533 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16534 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16535 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16536 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16537 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16539 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16540 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16541 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16542 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16544 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16545 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16546 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16547 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16548 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16551 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16552 tilepro mention in comment.
16554 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16555 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16556 * nptl/pthread_join_common.c: New file: common function used on
16557 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16558 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16559 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16560 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16561 (cleanup): Move definition to pthread_join_common.c.
16562 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16563 Remove superflous checks.
16564 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16567 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16569 * sysdeps/aarch64/libm-test-ulps: Update.
16571 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16573 * sysdeps/aarch64/memset.S (MEMSET): Define.
16575 2017-12-20 Florian Weimer <fweimer@redhat.com>
16578 nptl: Provide full implementation of pthread_self in libc.so.
16579 * nptl/Makefile (routines): Add pthread_self.
16580 (libpthread-routines): Replace pthread_self with
16581 compat-pthread_self.
16582 * nptl/forward.c (pthread_self): Remove.
16583 * nptl/nptl-init.c (pthread_functions): Do not initialize
16585 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16586 * nptl/compat-pthread_self.c: New file.
16587 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16588 Remove ptr_pthread_self.
16590 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16592 * posix/regcomp.c: Fix spelling in comments.
16593 * posix/regex.h: Likewise.
16594 * posix/regex_internal.c: Likewise.
16595 * posix/regexec.c: Likewise.
16597 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16600 * math/Makefile [C++] (tests): Add test for iseqsig.
16601 * math/math.h [C++] (iseqsig): New implementation, which does
16602 not rely on __MATH_TG/__builtin_types_compatible_p.
16603 * math/test-math-iseqsig.cc: New file.
16604 * sysdeps/powerpc/powerpc64le/Makefile
16605 (CFLAGS-test-math-iseqsig.cc): New variable.
16607 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16609 * elf/dl-load.c (is_trusted_path): Remove.
16610 (fillin_rpath): Remove check_trusted argument and its use,
16611 all callers changed.
16613 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16616 * Makeconfig (link-pie-before-libc): Replace -pie with
16617 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16618 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16619 (tst-dlopen-aout-no-pie): New.
16620 (LDFLAGS-tst-prelink): Removed.
16621 (tst-prelink-no-pie): New.
16622 (LDFLAGS-tst-main1): Removed.
16623 (tst-main1-no-pie): New.
16624 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16625 (tst-gmon-no-pie): New.
16627 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16629 * manual/install.texi: Document that --enable-static-pie
16631 * INSTALL: Regenerated.
16633 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16636 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16639 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16643 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16647 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16649 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16650 <errno.h>. Include "eexp.tbl".
16651 (half): New constant.
16653 (__ieee754_exp): Rewrite.
16654 (__slowexp): Remove prototype.
16655 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16656 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16657 * sysdeps/i386/fpu/slowexp.c: Likewise.
16658 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16659 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16660 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16662 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16663 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16664 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16666 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16667 (CPPFLAGS-slowexp.c): Remove variable.
16668 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16669 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16670 (CFLAGS-slowexp-fma.c): Remove variable.
16671 (CFLAGS-slowexp-fma4.c): Likewise.
16672 (CFLAGS-slowexp-avx.c): Likewise.
16673 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16675 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16676 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16677 * math/Makefile (type-double-routines): Remove slowexp.
16678 * manual/probes.texi (slowexp_p6): Remove.
16679 (slowexp_p32): Likewise.
16681 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16683 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16686 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16688 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16692 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16694 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16695 <errno.h>. Include "eexp.tbl".
16696 (half): New constant.
16698 (__ieee754_exp): Rewrite.
16699 (__slowexp): Remove prototype.
16700 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16701 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16702 * sysdeps/i386/fpu/slowexp.c: Likewise.
16703 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16704 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16706 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16707 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16708 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16709 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16711 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16712 (CPPFLAGS-slowexp.c): Remove variable.
16713 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16714 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16715 (CFLAGS-slowexp-fma.c): Remove variable.
16716 (CFLAGS-slowexp-fma4.c): Likewise.
16717 (CFLAGS-slowexp-avx.c): Likewise.
16718 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16720 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16721 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16722 * math/Makefile (type-double-routines): Remove slowexp.
16723 * manual/probes.texi (slowexp_p6): Remove.
16724 (slowexp_p32): Likewise.
16726 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16727 James Clarke <jrtc27@jrtc27.com>
16730 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16733 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16736 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16739 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16742 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16743 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16744 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16745 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16748 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16751 * bits/types/__cancel_jmp_buf_tag.h: New file.
16752 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16753 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16754 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16755 * nptl/Makefile (headers): Add
16756 bits/types/__cancel_jmp_buf_tag.h.
16757 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16758 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16759 * sysdeps/nptl/pthread.h: Include
16760 <bits/types/__cancel_jmp_buf_tag.h>.
16761 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16763 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16765 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16767 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16768 --enable-static-pie variants to x86_64, x32 and i686.
16770 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16773 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16774 argument for attrubutes. All callers changed.
16775 (__inline_mathop1): Likewise. All callers changed.
16776 (__inline_mathop): Likewise. All callers changed.
16777 [__USE_MISC] (scalbn): Use __inline_forward instead of
16778 __inline_forward_c.
16779 [__USE_ISOC99] (scalbln): Likewise.
16780 [__USE_ISOC99] (nearbyint): Likewise.
16781 [__USE_ISOC99] (lrint): Likewise.
16782 [__USE_MISC] (scalbnf): Likewise.
16783 [__USE_ISOC99] (scalblnf): Likewise.
16784 [__USE_ISOC99] (nearbyintf): Likewise.
16785 [__USE_ISOC99] (lrintf): Likewise.
16786 [__USE_MISC] (scalbnl): Likewise.
16787 [__USE_ISOC99] (scalblnl): Likewise.
16788 [__USE_ISOC99] (nearbyintl): Likewise.
16789 [__USE_ISOC99] (lrintl): Likewise.
16790 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16791 __inline_mathop and __m81_defun changed.
16793 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16794 CPU or FPU for ARM hard-float configurations.
16796 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16798 * nptl/tst-attr3.c: Include <libc-diag.h>.
16799 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16801 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16803 * string/tester.c (test_strncat): Also disable -Warray-bounds
16804 warnings for two tests.
16806 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16809 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16810 $(cc-pie-default) == yes.
16811 * config.make.in (cc-pie-default): New.
16812 * configure.ac (libc_cv_pie_default): Renamed to ...
16813 (libc_cv_cc_pie_default): This.
16814 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16815 * configure: Regenerated.
16817 2017-12-18 Florian Weimer <fweimer@redhat.com>
16820 ld.so: Harden dl-libc/libdl hooks.
16821 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16822 (rtld_active): New function.
16823 * dlfcn/dladdr.c (__dladdr): Call it.
16824 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16825 * dlfcn/dlclose.c (__dlcose): Likewise.
16826 * dlfcn/dlerror.c (__dlerror): Likewise.
16827 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16828 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16829 * dlfcn/dlopen.c (__dlopen): Likewise.
16830 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16831 * dlfcn/dlsym.c (__dlsym): Likewise.
16832 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16833 * libio/vtables.c (_IO_vtable_check): Likewise.
16834 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16835 (__libc_dlclose): Likewise.
16836 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16839 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16842 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16843 buffers for readlink input and output.
16845 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16848 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16849 inhibit_stack_protector.
16852 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16853 inhibit_stack_protector.
16855 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16858 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16859 code and invocation.
16861 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16863 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16865 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16868 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16870 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16872 * sysdeps/s390/fpu/libm-test-ulps: Update.
16874 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16878 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16880 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16881 constants to s_sincosf.h file.
16882 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16883 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16885 * sysdeps/ieee754/flt-32/s_sincosf.h:
16888 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16891 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16894 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16897 * INSTALL: Regenerated.
16898 * Makeconfig (real-static-start-installed-name): New.
16899 (pic-default): Updated for --enable-static-pie.
16900 (pie-default): New for --enable-static-pie.
16901 (default-pie-ldflag): Likewise.
16902 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16903 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16904 Replace $(static-start-installed-name) with
16905 $(real-static-start-installed-name).
16906 (+prectorT): Updated for --enable-static-pie.
16907 (+postctorT): Likewise.
16908 (CFLAGS-.o): Add $(pie-default).
16909 (CFLAGS-.op): Likewise.
16910 * NEWS: Mention --enable-static-pie.
16911 * config.h.in (ENABLE_STATIC_PIE): New.
16912 * configure.ac (--enable-static-pie): New configure option.
16913 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16914 (have-static-pie): Likewise.
16915 Enable static PIE if linker supports --no-dynamic-linker.
16916 (ENABLE_STATIC_PIE): New AC_DEFINE.
16917 (enable-static-pie): New LIBC_CONFIG_VAR.
16918 * configure: Regenerated.
16919 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16920 gr$(start-installed-name) for --enable-static-pie.
16921 (extra-objs): Likewise.
16922 (install-lib): Likewise.
16923 (extra-objs): Add static-reloc.o and static-reloc.os
16924 ($(objpfx)$(start-installed-name)): Also depend on
16925 $(objpfx)static-reloc.o.
16926 ($(objpfx)r$(start-installed-name)): New.
16927 ($(objpfx)g$(start-installed-name)): Also depend on
16928 $(objpfx)static-reloc.os.
16929 ($(objpfx)gr$(start-installed-name)): New.
16930 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16932 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16934 * csu/static-reloc.c: New file.
16935 * elf/Makefile (routines): Add dl-reloc-static-pie.
16936 (elide-routines.os): Likewise.
16937 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16938 (tst-tls1-static-non-pie-no-pie): New.
16939 * elf/dl-reloc-static-pie.c: New file.
16940 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16941 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16942 STATIC_PIE_BOOTSTRAP.
16943 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16944 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16945 (tests-static): Likewise.
16946 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16947 (tst-gmon-static-no-pie): New.
16948 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16949 (CRT-tst-gmon-static-pie): Likewise.
16950 (tst-gmon-static-pie-ENV): Likewise.
16951 (tests-special): Likewise.
16952 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16953 (clean-tst-gmon-static-pie-data): Likewise.
16954 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16955 * gmon/tst-gmon-static-pie.c: New file.
16956 * manual/install.texi: Document --enable-static-pie.
16957 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16958 (_dl_get_dl_main_map): Likewise.
16959 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16960 * sysdeps/x86_64/configure.ac: Likewise.
16961 * sysdeps/i386/configure: Regenerated.
16962 * sysdeps/x86_64/configure: Likewise.
16963 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16964 (ASFLAGS-.op): Likewise.
16966 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16968 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16969 * posix/tst-mmap-offset.c (fname): Use /tmp.
16970 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16972 2017-12-15 Steve Ellcey <sellcey@cavium.com>
16974 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16976 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16978 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16981 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16983 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16984 --with-float=hard for arm-linux-gnueabihf configurations.
16987 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
16988 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
16989 ($(mo-installed)): Use $(objpfx)%.mo.
16990 (realclean): Remove rule.
16992 * po/Makefile (linguas): Remove rule and dependencies.
16993 (linguas.mo): Likewise.
16994 (.PHONY): Do not depend on linguas and linguas.mo.
16995 (podir): Remove variable.
16996 (pofiles): Likewise.
16997 [$(pofiles)] (%.po): Remove rule.
16999 * sysdeps/sparc/sparc32/Makefile
17000 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17001 start-of-line whitespace in argument of echo.
17002 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17003 with whitespace. Generate __wrap_.udiv alias.
17004 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17005 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17006 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17007 * sysdeps/sparc/sparc32/urem.S: Likewise.
17009 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17011 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17012 for aligned inputs.
17014 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17016 * benchtests/bench-strcmp.c: Print output in JSON format.
17018 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17020 2017-12-14 Florian Weimer <fweimer@redhat.com>
17024 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17025 the expanded path string.
17027 2017-12-14 Florian Weimer <fweimer@redhat.com>
17031 * elf/dl-load.c (system_dirs): Update comment.
17032 (nsystem_dirs_len): Use array_length.
17033 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17035 2017-12-14 Florian Weimer <fweimer@redhat.com>
17037 Simplify compiling most of support/ outside of glibc.
17038 * support/check_addrinfo.c: Include <string.h>.
17039 * support/check_dns_packet.c: Likewise.
17040 * support/check_hostent.c: Likewise.
17041 * support/support_can_chroot.c: Include <support/xunistd.h>.
17042 * support/support_format_addrinfo.c: Include <stdlib.h>
17043 * support/support_format_dns_packet.c: Include <stdbool.h>.
17044 * support/support_format_hostent.c: Include <stdlib.h>.
17045 * support/support_format_netent.c: Likewise.
17046 * support/support_write_string.c: Include <support/xunistd.h>.
17047 * support/xdlfcn.c: Include <stddef.h>.
17049 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17051 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17053 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17054 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17056 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17057 (sysdeps_routines): Add memset-niagara7.
17058 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17060 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17062 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17063 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17064 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17065 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17066 Add niagara7 option.
17067 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17070 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17071 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17072 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17074 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17076 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17077 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17078 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17079 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17080 and __memmove_niagara7.
17081 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17082 Add niagara7 option.
17083 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17084 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17085 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17086 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17087 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17089 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17091 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17092 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17093 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17094 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17096 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17097 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17098 _dl_sparc_cap_flags array.
17099 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17101 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17103 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17104 time whenever possible.
17106 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17108 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17109 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17111 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17113 * soft-fp/fmadf4.c: Move to ....
17114 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17115 * soft-fp/fmasf4.c: Move to ....
17116 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17117 * soft-fp/fmatf4.c: Move to ....
17118 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17119 * sysdeps/ieee754/soft-fp/Makefile: New file.
17120 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17121 * sysdeps/arm/preconfigure: Regenerated.
17122 * sysdeps/arm/nofpu/Implies: New file.
17123 * sysdeps/arm/s_fma.c: Remove file.
17124 * sysdeps/arm/s_fmaf.c: Likewise.
17125 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17126 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17127 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17128 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17129 * sysdeps/microblaze/s_fma.c: Remove file.
17130 * sysdeps/microblaze/s_fmaf.c: Likewise.
17131 * sysdeps/mips/mips32/nofpu/Implies: New file.
17132 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17133 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17134 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17135 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17136 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17137 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17138 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17140 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17141 * sysdeps/nios2/s_fma.c: Remove file.
17142 * sysdeps/nios2/s_fmaf.c: Likewise.
17143 * sysdeps/sh/nofpu/Implies: New file.
17144 * sysdeps/sh/s_fma.c: Remove file.
17145 * sysdeps/sh/s_fmaf.c: Likewise.
17146 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17147 * sysdeps/tile/s_fma.c: Remove file.
17148 * sysdeps/tile/s_fmaf.c: Likewise.
17150 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17152 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17153 Add s_cosf-sse2 and s_cosf-fma.
17154 (CFLAGS-s_cosf-fma.c): New.
17155 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17156 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17157 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17159 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17161 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17163 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17165 * libio/Makefile (tests): Add tst-bz22415.
17166 (tst-bz22415-ENV): New rule.
17167 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17168 (tests-special): Add tst-bz22415-mem.out.
17169 ($(objpfx)tst-bz22415-mem.out): New rule.
17170 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17171 in case of a successful seek operation.
17172 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17173 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17174 buffer is required.
17175 * libio/tst-bz22415.c: New test.
17177 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17179 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17181 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17182 __IPC_64 to 0 to avoid IPC_64 being set.
17184 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17187 * math/bits/mathcalls.h (nextafter): Remove const.
17188 (nexttoward): Likewise.
17190 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17192 * configure.ac (--with-fp): Remove configure option.
17193 (with_fp_cond): New variable.
17194 (libc_cv_with_fp): New configure test. Use this variable instead
17196 * configure: Regenerated.
17197 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17198 * manual/install.texi (Configuring and compiling): Remove
17200 * INSTALL: Regenerated.
17201 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17202 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17203 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17204 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17205 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17206 use --without-fp to configure glibc.
17208 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17210 * manual/locale.texi (nl_langinfo): Fix a typo.
17212 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17215 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17217 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17219 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17220 (CFLAGS-argp-parse.c): Likewise.
17221 (CFLAGS-argp-fmtstream.c): Likewise.
17222 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17223 (CPPFLAGS-sha512-crypt.c): Likewise.
17224 (CPPFLAGS-md5-crypt.c): Likewise.
17225 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17226 (CFLAGS-stack_chk_fail_local.c): Likewise.
17227 (CFLAGS-backtrace.c): Likewise.
17228 (CFLAGS-sprintf_chk.c): Likewise.
17229 (CFLAGS-snprintf_chk.c): Likewise.
17230 (CFLAGS-vsprintf_chk.c): Likewise.
17231 (CFLAGS-vsnprintf_chk.c): Likewise.
17232 (CFLAGS-asprintf_chk.c): Likewise.
17233 (CFLAGS-vasprintf_chk.c): Likewise.
17234 (CFLAGS-obprintf_chk.c): Likewise.
17235 (CFLAGS-dprintf_chk.c): Likewise.
17236 (CFLAGS-vdprintf_chk.c): Likewise.
17237 (CFLAGS-printf_chk.c): Likewise.
17238 (CFLAGS-fprintf_chk.c): Likewise.
17239 (CFLAGS-vprintf_chk.c): Likewise.
17240 (CFLAGS-vfprintf_chk.c): Likewise.
17241 (CFLAGS-gets_chk.c): Likewise.
17242 (CFLAGS-fgets_chk.c): Likewise.
17243 (CFLAGS-fgets_u_chk.c): Likewise.
17244 (CFLAGS-fread_chk.c): Likewise.
17245 (CFLAGS-fread_u_chk.c): Likewise.
17246 (CFLAGS-swprintf_chk.c): Likewise.
17247 (CFLAGS-vswprintf_chk.c): Likewise.
17248 (CFLAGS-wprintf_chk.c): Likewise.
17249 (CFLAGS-fwprintf_chk.c): Likewise.
17250 (CFLAGS-vwprintf_chk.c): Likewise.
17251 (CFLAGS-vfwprintf_chk.c): Likewise.
17252 (CFLAGS-fgetws_chk.c): Likewise.
17253 (CFLAGS-fgetws_u_chk.c): Likewise.
17254 (CFLAGS-read_chk.c): Likewise.
17255 (CFLAGS-pread_chk.c): Likewise.
17256 (CFLAGS-pread64_chk.c): Likewise.
17257 (CFLAGS-recv_chk.c): Likewise.
17258 (CFLAGS-recvfrom_chk.c): Likewise.
17259 (CFLAGS-tst-longjmp_chk.c): Likewise.
17260 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17261 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17262 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17263 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17264 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17265 (CFLAGS-tst-chk1.c): Likewise.
17266 (CFLAGS-tst-chk2.c): Likewise.
17267 (CFLAGS-tst-chk3.c): Likewise.
17268 (CFLAGS-tst-chk4.cc): Likewise.
17269 (CFLAGS-tst-chk5.cc): Likewise.
17270 (CFLAGS-tst-chk6.cc): Likewise.
17271 (CFLAGS-tst-lfschk1.c): Likewise.
17272 (CFLAGS-tst-lfschk2.c): Likewise.
17273 (CFLAGS-tst-lfschk3.c): Likewise.
17274 (CFLAGS-tst-lfschk4.cc): Likewise.
17275 (CFLAGS-tst-lfschk5.cc): Likewise.
17276 (CFLAGS-tst-lfschk6.cc): Likewise.
17277 (CFLAGS-tst-ssp-1.c): Likewise.
17278 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17279 (CFLAGS-scandir64.c): Likewise.
17280 (CFLAGS-scandir-tail.c): Likewise.
17281 (CFLAGS-scandir64-tail.c): Likewise.
17282 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17283 (CFLAGS-dl-tunables.c): Likewise.
17284 (CFLAGS-dl-runtime.c): Likewise.
17285 (CFLAGS-dl-lookup.c): Likewise.
17286 (CFLAGS-dl-iterate-phdr.c): Likewise.
17287 (CFLAGS-vismain.c): Likewise.
17288 (CFLAGS-tst-linkall-static.c): Likewise.
17289 (CFLAGS-tst-linkall-static.c): Likewise.
17290 (CPPFLAGS-dl-load.c): Likewise.
17291 (CFLAGS-ldconfig.c): Likewise.
17292 (CFLAGS-dl-cache.c): Likewise.
17293 (CFLAGS-cache.c): Likewise.
17294 (CFLAGS-rtld.c): Likewise.
17295 (CFLAGS-multiload.c): Likewise.
17296 (CFLAGS-filtmod1.c): Likewise.
17297 (CFLAGS-tst-align.c): Likewise.
17298 (CFLAGS-tst-align2.c): Likewise.
17299 (CFLAGS-tst-alignmod.c): Likewise.
17300 (CFLAGS-tst-alignmod2.c): Likewise.
17301 (CPPFLAGS-tst-execstack.c): Likewise.
17302 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17303 (CFLAGS-tst-latepthreadmod.c): Likewise.
17304 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17305 (CFLAGS-getgrnam_r.c): Likewise.
17306 (CFLAGS-getgrent_r.c): Likewise.
17307 (CFLAGS-getgrent.c): Likewise.
17308 (CFLAGS-fgetgrent.c): Likewise.
17309 (CFLAGS-fgetgrent_r.c): Likewise.
17310 (CFLAGS-putgrent.c): Likewise.
17311 (CFLAGS-initgroups.c): Likewise.
17312 (CFLAGS-getgrgid.c): Likewise.
17313 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17314 (CFLAGS-getsgent.c): Likewise.
17315 (CFLAGS-fgetsgent.c): Likewise.
17316 (CFLAGS-fgetsgent_r.c): Likewise.
17317 (CFLAGS-putsgent.c): Likewise.
17318 (CFLAGS-getsgnam.c): Likewise.
17319 (CFLAGS-getsgnam_r.c): Likewise.
17320 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17321 (CFLAGS-iconv_charmap.c): Likewise.
17322 (CFLAGS-dummy-repertoire.c): Likewise.
17323 (CFLAGS-charmap.c): Likewise.
17324 (CFLAGS-linereader.c): Likewise.
17325 (CFLAGS-simple-hash.c): Likewise.
17326 (CFLAGS-gconv_conf.c): Likewise.
17327 (CFLAGS-iconvconfig.c): Likewise.
17328 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17329 (CFLAGS-gethstbyad.c): Likewise.
17330 (CFLAGS-gethstbynm_r.c): Likewise.
17331 (CFLAGS-gethstbynm.c): Likewise.
17332 (CFLAGS-gethstbynm2_r.c): Likewise.
17333 (CFLAGS-gethstbynm2.c): Likewise.
17334 (CFLAGS-gethstent_r.c): Likewise.
17335 (CFLAGS-gethstent.c): Likewise.
17336 (CFLAGS-rcmd.c): Likewise.
17337 (CFLAGS-getnetbynm_r.c): Likewise.
17338 (CFLAGS-getnetbynm.c): Likewise.
17339 (CFLAGS-getnetbyad_r.c): Likewise.
17340 (CFLAGS-getnetbyad.c): Likewise.
17341 (CFLAGS-getnetent_r.c): Likewise.
17342 (CFLAGS-getnetent.c): Likewise.
17343 (CFLAGS-getaliasent_r.c): Likewise.
17344 (CFLAGS-getaliasent.c): Likewise.
17345 (CFLAGS-getrpcent_r.c): Likewise.
17346 (CFLAGS-getrpcent.c): Likewise.
17347 (CFLAGS-getservent_r.c): Likewise.
17348 (CFLAGS-getservent.c): Likewise.
17349 (CFLAGS-getprtent_r.c): Likewise.
17350 (CFLAGS-getprtent.c): Likewise.
17351 (CFLAGS-either_ntoh.c): Likewise.
17352 (CFLAGS-either_hton.c): Likewise.
17353 (CFLAGS-getnetgrent.c): Likewise.
17354 (CFLAGS-getnetgrent_r.c): Likewise.
17355 (CFLAGS-tst-checks-posix.c): Likewise.
17356 (CFLAGS-tst-sockaddr.c): Likewise.
17357 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17358 (CFLAGS-tst-translit.c): Likewise.
17359 (CFLAGS-tst-gettext2.c): Likewise.
17360 (CFLAGS-tst-codeset.c): Likewise.
17361 (CFLAGS-tst-gettext3.c): Likewise.
17362 (CFLAGS-tst-gettext4.c): Likewise.
17363 (CFLAGS-tst-gettext5.c): Likewise.
17364 (CFLAGS-tst-gettext6.c): Likewise.
17365 * io/Makefile (CFLAGS-open.c): Likewise.
17366 (CFLAGS-open64.c): Likewise.
17367 (CFLAGS-creat.c): Likewise.
17368 (CFLAGS-creat64.c): Likewise.
17369 (CFLAGS-fcntl.c): Likewise.
17370 (CFLAGS-poll.c): Likewise.
17371 (CFLAGS-ppoll.c): Likewise.
17372 (CFLAGS-lockf.c): Likewise.
17373 (CFLAGS-statfs.c): Likewise.
17374 (CFLAGS-fstatfs.c): Likewise.
17375 (CFLAGS-statvfs.c): Likewise.
17376 (CFLAGS-fstatvfs.c): Likewise.
17377 (CFLAGS-fts.c): Likewise.
17378 (CFLAGS-fts64.c): Likewise.
17379 (CFLAGS-ftw.c): Likewise.
17380 (CFLAGS-ftw64.c): Likewise.
17381 (CFLAGS-lockf.c): Likewise.
17382 (CFLAGS-posix_fallocate.c): Likewise.
17383 (CFLAGS-posix_fallocate64.c): Likewise.
17384 (CFLAGS-fallocate.c): Likewise.
17385 (CFLAGS-fallocate64.c): Likewise.
17386 (CFLAGS-read.c): Likewise.
17387 (CFLAGS-write.c): Likewise.
17388 (CFLAGS-test-stat.c): Likewise.
17389 (CFLAGS-test-lfs.c): Likewise.
17390 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17391 (CFLAGS-fputc.c): Likewise.
17392 (CFLAGS-fputwc.c): Likewise.
17393 (CFLAGS-freopen64.c): Likewise.
17394 (CFLAGS-freopen.c): Likewise.
17395 (CFLAGS-fseek.c): Likewise.
17396 (CFLAGS-fseeko64.c): Likewise.
17397 (CFLAGS-fseeko.c): Likewise.
17398 (CFLAGS-ftello64.c): Likewise.
17399 (CFLAGS-ftello.c): Likewise.
17400 (CFLAGS-fwide.c): Likewise.
17401 (CFLAGS-genops.c): Likewise.
17402 (CFLAGS-getc.c): Likewise.
17403 (CFLAGS-getchar.c): Likewise.
17404 (CFLAGS-getwc.c): Likewise.
17405 (CFLAGS-getwchar.c): Likewise.
17406 (CFLAGS-iofclose.c): Likewise.
17407 (CFLAGS-iofflush.c): Likewise.
17408 (CFLAGS-iofgetpos64.c): Likewise.
17409 (CFLAGS-iofgetpos.c): Likewise.
17410 (CFLAGS-iofgets.c): Likewise.
17411 (CFLAGS-iofgetws.c): Likewise.
17412 (CFLAGS-iofputs.c): Likewise.
17413 (CFLAGS-iofputws.c): Likewise.
17414 (CFLAGS-iofread.c): Likewise.
17415 (CFLAGS-iofsetpos64.c): Likewise.
17416 (CFLAGS-iofsetpos.c): Likewise.
17417 (CFLAGS-ioftell.c): Likewise.
17418 (CFLAGS-iofwrite.c): Likewise.
17419 (CFLAGS-iogetdelim.c): Likewise.
17420 (CFLAGS-iogetline.c): Likewise.
17421 (CFLAGS-iogets.c): Likewise.
17422 (CFLAGS-iogetwline.c): Likewise.
17423 (CFLAGS-ioputs.c): Likewise.
17424 (CFLAGS-ioseekoff.c): Likewise.
17425 (CFLAGS-ioseekpos.c): Likewise.
17426 (CFLAGS-iosetbuffer.c): Likewise.
17427 (CFLAGS-iosetvbuf.c): Likewise.
17428 (CFLAGS-ioungetc.c): Likewise.
17429 (CFLAGS-ioungetwc.c): Likewise.
17430 (CFLAGS-oldfileops.c): Likewise.
17431 (CFLAGS-oldiofclose.c): Likewise.
17432 (CFLAGS-oldiofgetpos64.c): Likewise.
17433 (CFLAGS-oldiofgetpos.c): Likewise.
17434 (CFLAGS-oldiofsetpos64.c): Likewise.
17435 (CFLAGS-oldiofsetpos.c): Likewise.
17436 (CFLAGS-peekc.c): Likewise.
17437 (CFLAGS-putc.c): Likewise.
17438 (CFLAGS-putchar.c): Likewise.
17439 (CFLAGS-putwc.c): Likewise.
17440 (CFLAGS-putwchar.c): Likewise.
17441 (CFLAGS-rewind.c): Likewise.
17442 (CFLAGS-wfileops.c): Likewise.
17443 (CFLAGS-wgenops.c): Likewise.
17444 (CFLAGS-oldiofopen.c): Likewise.
17445 (CFLAGS-iofopen.c): Likewise.
17446 (CFLAGS-iofopen64.c): Likewise.
17447 (CFLAGS-oldtmpfile.c): Likewise.
17448 (CFLAGS-tst_putwc.c): Likewise.
17449 * locale/Makefile (CFLAGS-md5.c): Likewise.
17450 (CFLAGS-charmap.c): Likewise.
17451 (CFLAGS-locfile.c): Likewise.
17452 (CFLAGS-charmap-dir.c): Likewise.
17453 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17454 (CFLAGS-getpt.c): Likewise.
17455 (CFLAGS-pt_chown.c): Likewise.
17456 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17457 (CFLAGS-obstack.c): Likewise.
17458 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17459 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17460 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17461 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17462 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17463 (CFLAGS-test-tgmath.c): Likewise.
17464 (CFLAGS-test-tgmath2.c): Likewise.
17465 (CFLAGS-test-tgmath-ret.c): Likewise.
17466 (CFLAGS-test-powl.c): Likewise.
17467 (CFLAGS-test-snan.c): Likewise.
17468 (CFLAGS-test-signgam-finite.c): Likewise.
17469 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17470 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17471 (CFLAGS-test-signgam-uchar.c): Likewise.
17472 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17473 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17474 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17475 (CFLAGS-test-signgam-uint.c): Likewise.
17476 (CFLAGS-test-signgam-uint-init.c): Likewise.
17477 (CFLAGS-test-signgam-uint-static.c): Likewise.
17478 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17479 (CFLAGS-test-signgam-ullong.c): Likewise.
17480 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17481 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17482 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17483 (CFLAGS-test-math-cxx11.cc): Likewise.
17484 (CFLAGS-test-math-isinff.cc): Likewise.
17485 (CFLAGS-test-math-iszero.cc): Likewise.
17486 (CFLAGS-test-math-issignaling.cc): Likewise.
17487 (CFLAGS-test-math-iscanonical.cc): Likewise.
17488 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17489 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17490 (CFLAGS-test-flt-eval-method.c): Likewise.
17491 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17492 (CFLAGS-test-finite-macros.c): Likewise.
17493 * misc/Makefile (CFLAGS-select.c): Likewise.
17494 (CFLAGS-tsearch.c): Likewise.
17495 (CFLAGS-lsearch.c): Likewise.
17496 (CFLAGS-pselect.c): Likewise.
17497 (CFLAGS-readv.c): Likewise.
17498 (CFLAGS-writev.c): Likewise.
17499 (CFLAGS-preadv.c): Likewise.
17500 (CFLAGS-preadv64.c): Likewise.
17501 (CFLAGS-pwritev.c): Likewise.
17502 (CFLAGS-pwritev64.c): Likewise.
17503 (CFLAGS-preadv2.c): Likewise.
17504 (CFLAGS-preadv64v2.c): Likewise.
17505 (CFLAGS-pwritev2.c): Likewise.
17506 (CFLAGS-pwritev64v2.c): Likewise.
17507 (CFLAGS-usleep.c): Likewise.
17508 (CFLAGS-syslog.c): Likewise.
17509 (CFLAGS-error.c): Likewise.
17510 (CFLAGS-getpass.c): Likewise.
17511 (CFLAGS-mkstemp.c): Likewise.
17512 (CFLAGS-mkstemp64.c): Likewise.
17513 (CFLAGS-getsysstats.c): Likewise.
17514 (CFLAGS-getusershell.c): Likewise.
17515 (CFLAGS-err.c): Likewise.
17516 (CFLAGS-tst-tsearch.c): Likewise.
17517 (CFLAGS-msync.c): Likewise.
17518 (CFLAGS-fdatasync.c): Likewise.
17519 (CFLAGS-fsync.c): Likewise.
17520 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17521 (CFLAGS-unwind.c): Likewise.
17522 (CFLAGS-unwind-forcedunwind.c): Likewise.
17523 (CFLAGS-pthread_cancel.c): Likewise.
17524 (CFLAGS-pthread_setcancelstate.c): Likewise.
17525 (CFLAGS-pthread_setcanceltype.c): Likewise.
17526 (CFLAGS-cancellation.c): Likewise.
17527 (CFLAGS-libc-cancellation.c): Likewise.
17528 (CFLAGS-pthread_exit.c): Likewise.
17529 (CFLAGS-forward.c): Likewise.
17530 (CFLAGS-pthread_testcancel.c): Likewise.
17531 (CFLAGS-pthread_join.c): Likewise.
17532 (CFLAGS-pthread_timedjoin.c): Likewise.
17533 (CFLAGS-pthread_once.c): Likewise.
17534 (CFLAGS-pthread_cond_wait.c): Likewise.
17535 (CFLAGS-sem_wait.c): Likewise.
17536 (CFLAGS-sem_timedwait.c): Likewise.
17537 (CFLAGS-fcntl.c): Likewise.
17538 (CFLAGS-lockf.c): Likewise.
17539 (CFLAGS-pread.c): Likewise.
17540 (CFLAGS-pread64.c): Likewise.
17541 (CFLAGS-pwrite.c): Likewise.
17542 (CFLAGS-pwrite64.c): Likewise.
17543 (CFLAGS-wait.c): Likewise.
17544 (CFLAGS-waitpid.c): Likewise.
17545 (CFLAGS-sigwait.c): Likewise.
17546 (CFLAGS-msgrcv.c): Likewise.
17547 (CFLAGS-msgsnd.c): Likewise.
17548 (CFLAGS-tcdrain.c): Likewise.
17549 (CFLAGS-open.c): Likewise.
17550 (CFLAGS-open64.c): Likewise.
17551 (CFLAGS-pause.c): Likewise.
17552 (CFLAGS-recv.c): Likewise.
17553 (CFLAGS-send.c): Likewise.
17554 (CFLAGS-accept.c): Likewise.
17555 (CFLAGS-sendto.c): Likewise.
17556 (CFLAGS-connect.c): Likewise.
17557 (CFLAGS-recvfrom.c): Likewise.
17558 (CFLAGS-recvmsg.c): Likewise.
17559 (CFLAGS-sendmsg.c): Likewise.
17560 (CFLAGS-close.c): Likewise.
17561 (CFLAGS-read.c): Likewise.
17562 (CFLAGS-write.c): Likewise.
17563 (CFLAGS-nanosleep.c): Likewise.
17564 (CFLAGS-sigsuspend.c): Likewise.
17565 (CFLAGS-msync.c): Likewise.
17566 (CFLAGS-fdatasync.c): Likewise.
17567 (CFLAGS-fsync.c): Likewise.
17568 (CFLAGS-pt-system.c): Likewise.
17569 (CFLAGS-tst-cleanup2.c): Likewise.
17570 (CFLAGS-tst-cleanupx2.c): Likewise.
17571 (CFLAGS-flockfile.c): Likewise.
17572 (CFLAGS-ftrylockfile.c): Likewise.
17573 (CFLAGS-funlockfile.c): Likewise.
17574 (CFLAGS-tst-initializers1.c): Likewise.
17575 (CFLAGS-tst-initializers1-c89.c): Likewise.
17576 (CFLAGS-tst-initializers1-c99.c): Likewise.
17577 (CFLAGS-tst-initializers1-c11.c): Likewise.
17578 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17579 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17580 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17581 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17582 (CFLAGS-nscd_getgr_r.c): Likewise.
17583 (CFLAGS-nscd_gethst_r.c): Likewise.
17584 (CFLAGS-nscd_getai.c): Likewise.
17585 (CFLAGS-nscd_initgroups.c): Likewise.
17586 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17587 (CFLAGS-pause.c): Likewise.
17588 (CFLAGS-pread.c): Likewise.
17589 (CFLAGS-pread64.c): Likewise.
17590 (CFLAGS-pwrite.c): Likewise.
17591 (CFLAGS-pwrite64.c): Likewise.
17592 (CFLAGS-sleep.c): Likewise.
17593 (CFLAGS-wait.c): Likewise.
17594 (CFLAGS-waitid.c): Likewise.
17595 (CFLAGS-waitpid.c): Likewise.
17596 (CFLAGS-getopt.c): Likewise.
17597 (CFLAGS-wordexp.c): Likewise.
17598 (CFLAGS-sysconf.c): Likewise.
17599 (CFLAGS-pathconf.c): Likewise.
17600 (CFLAGS-fpathconf.c): Likewise.
17601 (CFLAGS-spawn.c): Likewise.
17602 (CFLAGS-spawnp.c): Likewise.
17603 (CFLAGS-spawni.c): Likewise.
17604 (CFLAGS-glob.c): Likewise.
17605 (CFLAGS-glob64.c): Likewise.
17606 (CFLAGS-getconf.c): Likewise.
17607 (CFLAGS-nanosleep.c): Likewise.
17608 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17609 (CFLAGS-getpwent.c): Likewise.
17610 (CFLAGS-getpw.c): Likewise.
17611 (CFLAGS-fgetpwent_r.c): Likewise.
17612 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17613 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17614 (CFLAGS-mq_timedreceive.c): Likewise.
17615 (CFLAGS-mq_timedsend.c): Likewise.
17616 (CFLAGS-clock_nanosleep.c): Likewise.
17617 (CFLAGS-librt-cancellation.c): Likewise.
17618 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17619 (CFLAGS-getspent.c): Likewise.
17620 (CFLAGS-fgetspent.c): Likewise.
17621 (CFLAGS-fgetspent_r.c): Likewise.
17622 (CFLAGS-putspent.c): Likewise.
17623 (CFLAGS-getspnam.c): Likewise.
17624 (CFLAGS-getspnam_r.c): Likewise.
17625 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17626 (CFLAGS-sigsuspend.c): Likewise.
17627 (CFLAGS-sigtimedwait.c): Likewise.
17628 (CFLAGS-sigwait.c): Likewise.
17629 (CFLAGS-sigwaitinfo.c): Likewise.
17630 (CFLAGS-sigreturn.c): Likewise.
17631 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17632 (CFLAGS-vfwprintf.c): Likewise.
17633 (CFLAGS-tmpfile.c): Likewise.
17634 (CFLAGS-tmpfile64.c): Likewise.
17635 (CFLAGS-tempname.c): Likewise.
17636 (CFLAGS-psignal.c): Likewise.
17637 (CFLAGS-vprintf.c): Likewise.
17638 (CFLAGS-cuserid.c): Likewise.
17639 (CFLAGS-errlist.c): Likewise.
17640 (CFLAGS-siglist.c): Likewise.
17641 (CFLAGS-scanf15.c): Likewise.
17642 (CFLAGS-scanf17.c): Likewise.
17643 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17644 (CFLAGS-msort.c): Likewise.
17645 (CFLAGS-qsort.c): Likewise.
17646 (CFLAGS-system.c): Likewise.
17647 (CFLAGS-fmtmsg.c): Likewise.
17648 (CFLAGS-strfmon.c): Likewise.
17649 (CFLAGS-strfmon_l.c): Likewise.
17650 (CFLAGS-strfromd.c): Likewise.
17651 (CFLAGS-strfromf.c): Likewise.
17652 (CFLAGS-strfroml.c): Likewise.
17653 (CFLAGS-tst-bsearch.c): Likewise.
17654 (CFLAGS-tst-qsort.c): Likewise.
17655 (CFLAGS-tst-makecontext2.c): Likewise.
17656 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17657 (CFLAGS-xnlm_prot.c): Likewise.
17658 (CFLAGS-xrstat.c): Likewise.
17659 (CFLAGS-xyppasswd.c): Likewise.
17660 (CFLAGS-xklm_prot.c): Likewise.
17661 (CFLAGS-xrex.c): Likewise.
17662 (CFLAGS-xsm_inter.c): Likewise.
17663 (CFLAGS-xmount.c): Likewise.
17664 (CFLAGS-xrusers.c): Likewise.
17665 (CFLAGS-xspray.c): Likewise.
17666 (CFLAGS-xnfs_prot.c): Likewise.
17667 (CFLAGS-xrquota.c): Likewise.
17668 (CFLAGS-xkey_prot.c): Likewise.
17669 (CFLAGS-auth_unix.c): Likewise.
17670 (CFLAGS-key_call.c): Likewise.
17671 (CFLAGS-pmap_rmt.c): Likewise.
17672 (CFLAGS-clnt_perr.c): Likewise.
17673 (CFLAGS-openchild.c): Likewise.
17674 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17675 (CFLAGS-msgsnd.c): Likewise.
17676 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17677 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17678 (CFLAGS-tzset.c): Likewise.
17679 (CFLAGS-getdate.c): Likewise.
17680 (CFLAGS-test_time.c): Likewise.
17681 (CPPFLAGS-tst-tzname.c): Likewise.
17682 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17683 (CFLAGS-zic.c): Likewise.
17684 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17685 (CFLAGS-wcswidth.c): Likewise.
17686 (CFLAGS-wcstol.c): Likewise.
17687 (CFLAGS-wcstoul.c): Likewise.
17688 (CFLAGS-wcstoll.c): Likewise.
17689 (CFLAGS-wcstoull.c): Likewise.
17690 (CFLAGS-wcstod.c): Likewise.
17691 (CFLAGS-wcstold.c): Likewise.
17692 (CFLAGS-wcstof128.c): Likewise.
17693 (CFLAGS-wcstof.c): Likewise.
17694 (CFLAGS-wcstol_l.c): Likewise.
17695 (CFLAGS-wcstoul_l.c): Likewise.
17696 (CFLAGS-wcstoll_l.c): Likewise.
17697 (CFLAGS-wcstoull_l.c): Likewise.
17698 (CFLAGS-wcstod_l.c): Likewise.
17699 (CFLAGS-wcstold_l.c): Likewise.
17700 (CFLAGS-wcstof128_l.c): Likewise.
17701 (CFLAGS-wcstof_l.c): Likewise.
17702 (CPPFLAGS-tst-wchar-h.c): Likewise.
17703 (CPPFLAGS-wcstold_l.c): Likewise.
17705 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17707 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17709 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17710 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17712 * manual/tunables.texi (Hardware Capability Tunables): Document
17713 glibc.tune.cached_memopt.
17714 * sysdeps/powerpc/cpu-features.c: New file.
17715 * sysdeps/powerpc/cpu-features.h: New file.
17716 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17717 _dl_powerpc_cpu_features.
17718 * sysdeps/powerpc/dl-tunables.list: New file.
17719 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17720 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17721 (INIT_ARCH): Initialize use_aligned_memopt.
17722 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17723 IS_IN(rtld))]: Restrict dl_platform_init availability and
17724 initialize CPU features used by tunables.
17725 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17726 Add memcpy-power8-cached.
17727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17728 __memcpy_power8_cached.
17729 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17733 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17735 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17736 (CFLAGS-noinl-tester.c): Likewise.
17737 (CFLAGS-tst-strlen.c): Likewise.
17738 (CFLAGS-stratcliff.c): Likewise.
17739 (CFLAGS-test-ffs.c): Likewise.
17740 (CFLAGS-tst-inlcall.c): Likewise.
17741 (CFLAGS-tst-xbzero-opt.c): Likewise.
17742 (CFLAGS-memcpy.c): Likewise.
17743 (CFLAGS-wordcopy.c): Likewise.
17745 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17747 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17748 Store r15 on stack and add cfi rule.
17749 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17752 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
17755 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17758 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17760 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17761 Add s_sinf-sse2 and s_sinf-fma.
17762 (CFLAGS-s_sinf-fma.c): New.
17763 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17764 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17765 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17767 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17769 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17771 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17774 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17775 part of result to imaginary part of argument if it is zero and the
17776 real part of the argument is not finite.
17777 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17778 of result to real part of argument if it is zero and the imaginary
17779 part of the argument is not finite.
17781 2017-12-07 Mike FABIAN <mfabian@redhat.com>
17784 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17785 and to the list of locales to be built for testing.
17786 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17787 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17788 and build the collation rules upon that.
17790 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17792 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17793 * manual/math.texi (Mathematics): Document support for _Float32.
17794 * math/Makefile (test-types): Add float32.
17795 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17796 * stdlib/Versions (GLIBC_2.27): Likewise.
17797 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17798 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17799 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17810 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17820 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17842 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17860 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17866 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17867 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17869 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17871 * stdlib/strtof.c: Include <bits/floatn.h>
17872 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17873 and later undefine as macro. Define as weak alias if
17875 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17876 and later undefine as macro. Define as weak alias if
17878 * stdlib/strtof_l.c: Include <bits/floatn.h>
17879 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17880 and later undefine as macro. Define as weak alias if
17882 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17883 and later undefine as macro. Define as weak alias if
17886 * stdlib/strfromf.c: Include <bits/floatn.h>.
17887 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17888 and later undefine as macro and define as weak alias.
17890 * math/test-float32.h: New file.
17892 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17893 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17894 (libm_alias_float_other_r): Create f32 alias.
17895 (libm_alias_float_r): Use semicolon before call to
17896 libm_alias_float_other_r.
17898 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17899 second argument to libm_alias_float_other.
17900 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17901 second argument to libm_alias_float_other.
17902 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17903 argument to libm_alias_float_other.
17906 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17907 real part of result for argument 0 + i * NaN.
17908 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17909 results for tests of 0 + i * NaN.
17911 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17913 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17915 2017-12-06 David S. Miller <davem@davemloft.net>
17917 * sysdeps/sparc/fpu/libm-test-ulps: Update
17918 exp_{downward,towardzero,upward} ulps.
17920 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17922 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17925 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17927 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17929 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17931 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17934 2017-12-06 Mike FABIAN <mfabian@redhat.com>
17937 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17938 and to the list of locales to be built for testing.
17939 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17940 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17941 and build the collation rules upon that.
17943 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17945 * NEWS: Add sinf to list of optimized functions.
17947 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17949 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17950 (__HAVE_FLOAT32X): Likewise.
17951 * manual/math.texi (Mathematics): Document support for _Float64
17953 * math/Makefile (test-types): Add float64 and float32x.
17954 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17956 * stdlib/Versions (GLIBC_2.27): Likewise.
17957 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17958 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17980 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18001 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18019 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18025 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18026 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18028 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18030 * bits/floatn-common.h: Include <bits/long-double.h>.
18031 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18032 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18033 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18034 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18035 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18036 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18037 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18038 (__builtin_huge_valf64): Use __builtin_huge_vall.
18039 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18040 (__builtin_inff64): Use __builtin_infl.
18041 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18042 (__builtin_nanf64): Use __builtin_nanl.
18043 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18044 (__builtin_nansf64): Use __builtin_nansl.
18046 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18047 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18048 Carlos O'Donnell <carlos@redhat.com>
18050 * elf/dl-tunables.list: Add elision parameters.
18051 * manual/tunables.texi: Add entries about elision tunable.
18052 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18053 Add callback functions to dynamically enable/disable elision.
18054 Add multiple callbacks functions to set elision parameters.
18055 Deleted __libc_enable_secure check.
18056 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18057 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18058 * configure: Regenerated.
18059 * configure.ac: Option enable_lock_elision was deleted.
18060 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18061 * config.make.in: Remove references to enable_lock_elision.
18062 * manual/install.texi: Elision configure option was removed.
18063 * INSTALL: Regenerated to remove enable_lock_elision.
18065 Disable elision so it can verify error case for destroying a mutex.
18066 * sysdeps/powerpc/nptl/elide.h:
18067 Cleanup ENABLE_LOCK_ELISION check.
18068 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18069 * sysdeps/s390/configure: Regenerated.
18070 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18071 * nptl/tst-mutex8.c:
18072 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18073 * sysdeps/powerpc/powerpc32/sysdep.h:
18074 Deleted all ENABLE_LOCK_ELISION checks.
18075 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18076 * sysdeps/powerpc/sysdep.h: Likewise.
18077 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18079 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18080 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18081 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18082 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18083 enable-lock-elision.
18085 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18087 * stdlib/strtod.c: Include <bits/floatn.h>.
18088 (BUILD_DOUBLE): New macro.
18089 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18090 (strtof64): Define and later undefine as macro. Define as weak
18091 alias if [!USE_WIDE_CHAR].
18092 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18093 (wcstof64): Define and later undefine as macro. Define as weak
18094 alias if [USE_WIDE_CHAR].
18095 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18096 (strtof32x): Define and later undefine as macro. Define as weak
18097 alias if [!USE_WIDE_CHAR].
18098 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18099 (wcstof32x): Define and later undefine as macro. Define as weak
18100 alias if [USE_WIDE_CHAR].
18101 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18102 (BUILD_DOUBLE): New macro.
18103 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18104 (strtof64_l): Define and later undefine as macro. Define as weak
18105 alias if [!USE_WIDE_CHAR].
18106 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18107 (wcstof64_l): Define and later undefine as macro. Define as weak
18108 alias if [USE_WIDE_CHAR].
18109 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18110 (strtof32x_l): Define and later undefine as macro. Define as weak
18111 alias if [!USE_WIDE_CHAR].
18112 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18113 (wcstof32x_l): Define and later undefine as macro. Define as weak
18114 alias if [USE_WIDE_CHAR].
18116 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18118 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18119 (reduced): Use ones as double instead of integer.
18121 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18123 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18125 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18127 * stdlib/strfromd.c: Include <bits/floatn.h>.
18128 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18129 and later undefine as macro and define as weak alias.
18130 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18133 * math/test-float32x.h: New file.
18134 * math/test-float64.h: Likewise.
18136 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18137 (libm_alias_double_other_r_f64): New macro.
18138 (libm_alias_double_other_r_f32x): Likewise.
18139 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18140 libm_alias_double_other_r_f32x.
18141 (libm_alias_double_r): Use semicolon before call to
18142 libm_alias_double_other_r.
18143 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18145 (libm_alias_double_other_r_f64): New macro.
18146 (libm_alias_double_other_r_f32x): Likewise.
18147 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18148 libm_alias_double_other_r_f32x.
18150 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18152 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18154 (SINF_FUNC): Likewise. Replace floor with simple casts.
18156 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18159 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18160 and to the list of locales to be built for testing.
18161 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18162 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18163 and build the collation rules upon that.
18165 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18167 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18168 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18169 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18170 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18171 instead of __insn__xxx.
18172 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18173 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18174 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18175 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18176 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18177 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18179 2017-12-05 Florian Weimer <fweimer@redhat.com>
18181 Linux: Implement interfaces for memory protection keys
18182 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18184 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18185 * support/xunistd.h (xsysconf): Declare.
18186 * support/xraise.c: New file.
18187 * support/xsigaction.c: Likewise.
18188 * support/xsignal.c: Likewise.
18189 * support/xsysconf.c: Likewise.
18190 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18191 pkey_set, pkey_get, pkey_mprotect.
18192 [misc] (tests): Add tst-pkey.
18193 (tst-pkey): Link with -lpthread.
18194 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18195 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18196 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18197 (PKEY_DISABLE_WRITE): Define.
18198 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18200 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18201 (SEGV_PKUERR): Add.
18202 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18203 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18204 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18205 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18207 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18208 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18209 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18210 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18211 * sysdeps/unix/sysv/linux/**.abilist: Update.
18213 2017-12-05 Florian Weimer <fweimer@redhat.com>
18215 * support/tst-test_compare.c (subprocess): Use long long instead
18216 of long argument for consistent type width across 32-bit and
18217 64-bit architectures.
18218 (do_test): Adjust expected output.
18220 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18222 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18223 (cosf): Define using libm_alias_float.
18224 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18225 (fabsf): Define using libm_alias_float.
18226 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18227 (fmaf): Define using libm_alias_float.
18228 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18229 (rintf): Define using libm_alias_float.
18230 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18231 (sinf): Define using libm_alias_float.
18232 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18233 <libm-alias-float.h>.
18234 (modff): Define using libm_alias_float.
18235 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18236 <libm-alias-float.h>.
18237 (logbf): Define using libm_alias_float.
18238 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18239 <libm-alias-float.h>.
18240 (ceilf): Define using libm_alias_float.
18241 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18242 <libm-alias-float.h>.
18243 (copysignf): Define using libm_alias_float.
18244 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18245 <libm-alias-float.h>.
18246 (floorf): Define using libm_alias_float.
18247 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18248 <libm-alias-float.h>.
18249 (llrintf): Define using libm_alias_float.
18250 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18251 <libm-alias-float.h>.
18252 (llroundf): Define using libm_alias_float.
18253 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18254 <libm-alias-float.h>.
18255 (lrintf): Define using libm_alias_float.
18256 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18257 <libm-alias-float.h>.
18258 (lroundf): Define using libm_alias_float.
18259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18260 <libm-alias-float.h>.
18261 (nearbyintf): Define using libm_alias_float.
18262 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18263 <libm-alias-float.h>.
18264 (rintf): Define using libm_alias_float.
18265 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18266 <libm-alias-float.h>.
18267 (roundf): Define using libm_alias_float.
18268 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18269 <libm-alias-float.h>.
18270 (truncf): Define using libm_alias_float.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18272 Include <libm-alias-float.h>.
18273 (ceilf): Define using libm_alias_float.
18274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18275 Include <libm-alias-float.h>.
18276 (copysignf): Define using libm_alias_float.
18277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18278 Include <libm-alias-float.h>.
18279 (floorf): Define using libm_alias_float.
18280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18281 Include <libm-alias-float.h>.
18282 (llrintf): Define using libm_alias_float.
18283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18284 Include <libm-alias-float.h>.
18285 (llroundf): Define using libm_alias_float.
18286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18287 Include <libm-alias-float.h>.
18288 (logbf): Define using libm_alias_float.
18289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18290 Include <libm-alias-float.h>.
18291 (lrintf): Define using libm_alias_float.
18292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18293 Include <libm-alias-float.h>.
18294 (lroundf): Define using libm_alias_float.
18295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18296 Include <libm-alias-float.h>.
18297 (modff): Define using libm_alias_float.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18299 Include <libm-alias-float.h>.
18300 (roundf): Define using libm_alias_float.
18301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18302 Include <libm-alias-float.h>.
18303 (truncf): Define using libm_alias_float.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18305 <libm-alias-float.h>.
18306 (llrintf): Define using libm_alias_float.
18307 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18308 <libm-alias-float.h>.
18309 (llroundf): Define using libm_alias_float.
18310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18311 <libm-alias-float.h>.
18312 (ceilf): Define using libm_alias_float.
18313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18314 <libm-alias-float.h>.
18315 (floorf): Define using libm_alias_float.
18316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18317 <libm-alias-float.h>.
18318 (llroundf): Define using libm_alias_float.
18319 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18320 <libm-alias-float.h>.
18321 (lroundf): Define using libm_alias_float.
18322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18323 <libm-alias-float.h>.
18324 (roundf): Define using libm_alias_float.
18325 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18326 <libm-alias-float.h>.
18327 (truncf): Define using libm_alias_float.
18328 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18329 <libm-alias-float.h>.
18330 (copysignf): Define using libm_alias_float.
18331 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18332 <libm-alias-float.h>.
18333 (llrintf): Define using libm_alias_float.
18334 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18335 <libm-alias-float.h>.
18336 (llroundf): Define using libm_alias_float.
18337 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18338 <libm-alias-float.h>.
18339 (lrintf): Define using libm_alias_float.
18340 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18341 <libm-alias-float.h>.
18342 (lroundf): Define using libm_alias_float.
18343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18344 <libm-alias-float.h>.
18345 (ceilf): Define using libm_alias_float.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18347 <libm-alias-float.h>.
18348 (copysignf): Define using libm_alias_float.
18349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18350 <libm-alias-float.h>.
18351 (cosf): Define using libm_alias_float.
18352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18353 <libm-alias-float.h>.
18354 (floorf): Define using libm_alias_float.
18355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18356 <libm-alias-float.h>.
18357 (llrintf): Define using libm_alias_float.
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18359 <libm-alias-float.h>.
18360 (llroundf): Define using libm_alias_float.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18362 <libm-alias-float.h>.
18363 (logbf): Define using libm_alias_float.
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18365 <libm-alias-float.h>.
18366 (modff): Define using libm_alias_float.
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18368 <libm-alias-float.h>.
18369 (roundf): Define using libm_alias_float.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18371 <libm-alias-float.h>.
18372 (sinf): Define using libm_alias_float.
18373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18374 <libm-alias-float.h>.
18375 (truncf): Define using libm_alias_float.
18376 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18377 <libm-alias-float.h>.
18378 (ceilf): Define using libm_alias_float.
18379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18380 <libm-alias-float.h>.
18381 (copysignf): Define using libm_alias_float.
18382 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18383 <libm-alias-float.h>.
18384 (floorf): Define using libm_alias_float.
18385 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18386 <libm-alias-float.h>.
18387 (llrintf): Define using libm_alias_float.
18388 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18389 <libm-alias-float.h>.
18390 (llroundf): Define using libm_alias_float.
18391 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18392 <libm-alias-float.h>.
18393 (nearbyintf): Define using libm_alias_float.
18394 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18395 <libm-alias-float.h>.
18396 (rintf): Define using libm_alias_float.
18397 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18398 <libm-alias-float.h>.
18399 (roundf): Define using libm_alias_float.
18400 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18401 <libm-alias-float.h>.
18402 (truncf): Define using libm_alias_float.
18403 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18404 <libm-alias-float.h>.
18405 (ceilf): Define using libm_alias_float.
18406 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18407 <libm-alias-float.h>.
18408 (floorf): Define using libm_alias_float.
18409 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18410 <libm-alias-float.h>.
18411 (llroundf): Define using libm_alias_float.
18412 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18413 <libm-alias-float.h>.
18414 (roundf): Define using libm_alias_float.
18415 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18416 <libm-alias-float.h>.
18417 (truncf): Define using libm_alias_float.
18418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18419 <libm-alias-float.h>.
18420 (copysignf): Define using libm_alias_float.
18421 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18422 <libm-alias-float.h>.
18423 (llrintf): Define using libm_alias_float.
18424 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18425 <libm-alias-float.h>.
18426 (llroundf): Define using libm_alias_float.
18427 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18428 <libm-alias-float.h>.
18429 (cosf): Define using libm_alias_float.
18430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18431 <libm-alias-float.h>.
18432 (llrintf): Define using libm_alias_float.
18433 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18434 <libm-alias-float.h>.
18435 (llroundf): Define using libm_alias_float.
18436 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18437 <libm-alias-float.h>.
18438 (sinf): Define using libm_alias_float.
18440 2017-12-04 Florian Weimer <fweimer@redhat.com>
18442 * support/check.h (TEST_COMPARE): Define.
18443 (support_test_compare_failure): Declare.
18444 * support/Makefile (libsupport-routines): Add
18445 support_test_compare_failure.
18446 (tests): Add tst-test_compare.
18447 * support /support_test_compare_failure.c: New file.
18448 * support/tst-test_compare.c: Likewise.
18450 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18453 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18454 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18455 available, this rewrite of the collation rules does reproduce
18456 the test file in the same order.
18458 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18461 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18462 digraphs in the month and day names. Using single code points for
18463 digraphs is deprecated. While there are dedicated Unicode
18464 codepoints, for the digraphs, these are included for backwards
18465 compatibility and modern texts use a sequence of Basic Latin
18466 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18467 This makes the month and day names agree exactly with CLDR now,
18468 CLDR does not use the single code points for the digraphs either.
18470 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18472 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18474 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18476 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18479 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18481 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18482 Define only for libc.so.
18484 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18486 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18487 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18488 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18489 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18492 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18495 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18497 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18500 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18501 PREINIT_FUNCTION_WEAK is nonzero.
18502 (gmon_initializer): New function. Put procedure label for it in
18503 .init_array section.
18504 (_init): Don't call PREINIT_FUNCTION.
18505 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18506 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18507 value when map argument is null.
18509 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18510 depi instruction from PIC pc-relative sequence.
18511 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18512 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18513 (elf_machine_load_address): Likewise.
18514 (elf_machine_runtime_setup): Likewise.
18516 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18518 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18519 <libm-alias-double.h>.
18520 (logb): Define using libm_alias_double.
18521 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18522 <libm-alias-double.h>.
18523 (copysign): Define using libm_alias_double.
18524 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18525 <libm-alias-double.h>.
18526 (llrint): Define using libm_alias_double.
18527 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18528 <libm-alias-double.h>.
18529 (llround): Define using libm_alias_double.
18530 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18531 <libm-alias-double.h>.
18532 (lrint): Define using libm_alias_double.
18533 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18534 <libm-alias-double.h>.
18535 (lround): Define using libm_alias_double.
18536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18537 Include <libm-alias-double.h>.
18538 (copysign): Define using libm_alias_double.
18539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18540 Include <libm-alias-double.h>.
18541 (llrint): Define using libm_alias_double.
18542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18543 Include <libm-alias-double.h>.
18544 (llround): Define using libm_alias_double.
18545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18546 <libm-alias-double.h>.
18547 (logb): Define using libm_alias_double.
18548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18549 Include <libm-alias-double.h>.
18550 (lrint): Define using libm_alias_double.
18551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18552 Include <libm-alias-double.h>.
18553 (lround): Define using libm_alias_double.
18554 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18555 <libm-alias-double.h>.
18556 (llrint): Define using libm_alias_double.
18557 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18558 <libm-alias-double.h>.
18559 (llround): Define using libm_alias_double.
18560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18561 <libm-alias-double.h>.
18562 (llround): Define using libm_alias_double.
18563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18564 <libm-alias-double.h>.
18565 (lround): Define using libm_alias_double.
18566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18567 <libm-alias-double.h>.
18568 (copysign): Define using libm_alias_double.
18569 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18570 <libm-alias-double.h>.
18571 (llrint): Define using libm_alias_double.
18572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18573 <libm-alias-double.h>.
18574 (llround): Define using libm_alias_double.
18575 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18576 <libm-alias-double.h>.
18577 (lrint): Define using libm_alias_double.
18578 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18579 <libm-alias-double.h>.
18580 (lround): Define using libm_alias_double.
18581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18582 <libm-alias-double.h>.
18583 (copysign): Define using libm_alias_double.
18584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18585 <libm-alias-double.h>.
18586 (llrint): Define using libm_alias_double.
18588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18589 <libm-alias-double.h>.
18590 (llround): Define using libm_alias_double.
18591 (lround): Likewise.
18592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18593 <libm-alias-double.h>.
18594 (logb): Define using libm_alias_double.
18595 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18596 <libm-alias-double.h>.
18597 (copysign): Define using libm_alias_double.
18598 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18599 <libm-alias-double.h>.
18600 (llrint): Define using libm_alias_double.
18602 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18603 <libm-alias-double.h>.
18604 (llround): Define using libm_alias_double.
18605 (lround): Likewise.
18606 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18607 <libm-alias-double.h>.
18608 (llround): Define using libm_alias_double.
18609 (lround): Likewise.
18610 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18611 <libm-alias-double.h>.
18612 (copysign): Define using libm_alias_double.
18613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18614 <libm-alias-double.h>.
18615 (llrint): Define using libm_alias_double.
18617 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18618 <libm-alias-double.h>.
18619 (llround): Define using libm_alias_double.
18620 (lround): Likewise.
18621 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18622 <libm-alias-double.h>.
18623 (llrint): Define using libm_alias_double.
18625 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18626 <libm-alias-double.h>.
18627 (llround): Define using libm_alias_double.
18628 (lround): Likewise.
18630 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18633 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18634 compat symbol based on llround.
18636 * sysdeps/powerpc/power7/fpu/s_logb.c
18637 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18638 symbol based on __logb, not on logb.
18639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18640 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18642 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18644 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18645 (rint): Define using libm_alias_double.
18646 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18647 <libm-alias-double.h>.
18648 (modf): Define using libm_alias_double.
18649 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18650 <libm-alias-double.h>.
18651 (ceil): Define using libm_alias_double.
18652 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18653 <libm-alias-double.h>.
18654 (floor): Define using libm_alias_double.
18655 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18656 <libm-alias-double.h>.
18657 (nearbyint): Define using libm_alias_double.
18658 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18659 <libm-alias-double.h>.
18660 (rint): Define using libm_alias_double.
18661 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18662 <libm-alias-double.h>.
18663 (round): Define using libm_alias_double.
18664 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18665 <libm-alias-double.h>.
18666 (trunc): Define using libm_alias_double.
18667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18668 <libm-alias-double.h>.
18669 (ceil): Define using libm_alias_double.
18670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18671 Include <libm-alias-double.h>.
18672 (floor): Define using libm_alias_double.
18673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18674 <libm-alias-double.h>.
18675 (modf): Define using libm_alias_double.
18676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18677 Include <libm-alias-double.h>.
18678 (round): Define using libm_alias_double.
18679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18680 Include <libm-alias-double.h>.
18681 (trunc): Define using libm_alias_double.
18682 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18683 <libm-alias-double.h>.
18684 (ceil): Define using libm_alias_double.
18685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18686 <libm-alias-double.h>.
18687 (floor): Define using libm_alias_double.
18688 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18689 <libm-alias-double.h>.
18690 (round): Define using libm_alias_double.
18691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18692 <libm-alias-double.h>.
18693 (trunc): Define using libm_alias_double.
18694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18695 <libm-alias-double.h>.
18696 (ceil): Define using libm_alias_double.
18697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18698 <libm-alias-double.h>.
18699 (floor): Define using libm_alias_double.
18700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18701 <libm-alias-double.h>.
18702 (modf): Define using libm_alias_double.
18703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18704 <libm-alias-double.h>.
18705 (round): Define using libm_alias_double.
18706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18707 <libm-alias-double.h>.
18708 (trunc): Define using libm_alias_double.
18709 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18710 <libm-alias-double.h>.
18711 (ceil): Define using libm_alias_double.
18712 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18713 <libm-alias-double.h>.
18714 (floor): Define using libm_alias_double.
18715 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18716 <libm-alias-double.h>.
18717 (nearbyint): Define using libm_alias_double.
18718 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18719 <libm-alias-double.h>.
18720 (rint): Define using libm_alias_double.
18721 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18722 <libm-alias-double.h>.
18723 (round): Define using libm_alias_double.
18724 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18725 <libm-alias-double.h>.
18726 (trunc): Define using libm_alias_double.
18727 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18728 <libm-alias-double.h>.
18729 (ceil): Define using libm_alias_double.
18730 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18731 <libm-alias-double.h>.
18732 (floor): Define using libm_alias_double.
18733 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18734 <libm-alias-double.h>.
18735 (round): Define using libm_alias_double.
18736 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18737 <libm-alias-double.h>.
18738 (trunc): Define using libm_alias_double.
18740 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18741 (fabs): Define using libm_alias_double.
18742 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18743 (fma): Define using libm_alias_double.
18744 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18745 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18746 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18747 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18749 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18751 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18753 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18754 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18755 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18758 due redirect macro.
18760 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18762 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18764 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18766 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18767 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18768 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18769 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18772 (libm-sysdep_routines): Add s_nearbyintf-generic and
18773 s_nearbyint-generic.
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18787 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18798 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18809 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18820 (sysdep_calls): New rule.
18821 (sysdep_routines): Use sysdep_calls as base.
18822 (libm-sysdep_routines): Add generic rule for symbols shared with
18823 libc. Add s_copysign-generic and s_copysign-generic objects.
18824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18833 2017-12-01 Mike FABIAN <mfabian@redhat.com>
18836 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18837 the list of locales to be built for testing.
18838 * localedata/is_IS.UTF-8.in: New file.
18839 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18842 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18844 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18845 <libm-alias-float.h>.
18846 (fabsf): Define using libm_alias_float.
18848 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18850 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18852 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18854 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18855 <libm-alias-float.h>.
18856 (fabsf): Define using libm_alias_float.
18857 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18858 <libm-alias-float.h>.
18859 (lrintf): Define using libm_alias_float.
18860 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18861 <libm-alias-float.h>.
18862 (rintf): Define using libm_alias_float.
18864 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18865 <libm-alias-double.h>.
18866 (fabs): Define using libm_alias_double.
18867 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18868 <libm-alias-double.h>.
18869 (lrint): Define using libm_alias_double.
18870 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18871 <libm-alias-double.h>.
18872 (rint): Define using libm_alias_double.
18874 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18875 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18876 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18877 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18878 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18879 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18880 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18881 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18882 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18883 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18884 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18885 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18886 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18887 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18888 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18889 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18890 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18891 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18893 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18894 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18895 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18897 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18898 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18899 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18901 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18902 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18903 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18904 s_expm1_template.c.
18905 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18906 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18907 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18909 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18910 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18911 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18912 s_floor_template.c.
18913 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18914 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18915 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18916 s_frexp_template.c.
18917 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18918 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18919 s_lrint_template.c.
18920 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18921 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18922 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18924 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18925 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18926 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18927 s_nearbyint_template.c.
18928 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18929 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18930 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18931 s_remquo_template.c.
18932 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18933 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18934 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18936 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18937 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18938 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18940 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18941 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18942 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18943 s_sincos_template.c.
18944 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18945 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18946 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18948 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18949 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18950 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18952 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18953 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18954 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18955 s_trunc_template.c.
18956 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18957 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18958 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18959 s_atan.c instead of including s_atan.c.
18960 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18961 s_atanf.c instead of including s_atanf.c.
18962 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18963 s_atanl.c instead of including s_atanl.c.
18964 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18965 instead of s_atan.c.
18966 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18967 instead of s_atanf.c.
18968 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18969 instead of s_atanl.c.
18971 * scripts/update-copyrights: Do not handle intl/plural.c
18974 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18977 * configure.ac (BISON): Require to be present.
18978 * configure: Regenerated.
18979 * intl/Makefile (generated): Add plural.c.
18980 [$(BISON) != no]: Make code unconditional.
18981 (plural.c): Change rule to $(objpfx)plural.c.
18982 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
18983 * intl/plural.c: Remove.
18984 * manual/install.texi (Tools for Compilation): Document bison as
18986 * INSTALL: Regenerated.
18988 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18990 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
18991 <libm-alias-double.h>.
18992 (llrint): Define using libm_alias_double.
18993 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
18994 <libm-alias-float.h>.
18995 (llrintf): Define using libm_alias_float.
18996 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
18997 <libm-alias-ldouble.h>.
18998 (llrintl): Define using libm_alias_ldouble.
19000 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19001 declare_mgen_alias instead of weak_alias.
19002 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19003 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19004 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19006 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19008 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19010 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19011 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19012 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19014 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19015 Add submul_1-generic.
19016 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19017 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19018 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19020 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19021 Add addmul_1-generic.
19022 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19023 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19024 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19026 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19028 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19029 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19030 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19032 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19034 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19035 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19036 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19038 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19040 According to CLDR, collation rules for Serbian and Bosnian
19041 should be the same as for Croatian.
19044 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19045 and to the list of locales to be built for testing.
19046 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19047 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19048 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19049 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19051 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19053 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19054 to make test case pass.
19055 * localedata/hr_HR.UTF-8.in: Add more test strings.
19057 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19059 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19061 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19063 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19064 the list of locales to built for testing.
19065 * localedata/hr_HR.UTF-8.in: New file.
19067 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19070 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19072 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19073 CLDR (except use ligatures for the digraphs, CLDR does not use
19074 the ligatures), add first_workday, some fixes in the date and time
19076 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19078 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19079 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19080 Add int_p_cs_precedes and int_n_cs_precedes.
19081 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19082 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19084 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19085 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19087 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19088 and lang_lib. Change postal_fmt.
19090 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19092 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19094 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19095 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19096 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19097 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19098 * sysdeps/generic/setjmpP.h: New file.
19099 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19100 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19101 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19102 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19103 Add jmp_buf-ssp.sym.
19104 (tests): Add tst-saved_mask-1.
19106 2017-11-30 Arjun Shankar <arjun@redhat.com>
19110 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19111 instead of request2size.
19113 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19116 (__lllrint): Remove alias.
19117 (lllrint): Likewise.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19119 (__lllrintf): Likewise.
19120 (lllrintf): Likewise.
19122 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19123 <libm-alias-float.h>.
19124 (copysignf): Define using libm_alias_float.
19125 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19126 <libm-alias-float.h>.
19127 (fabsf): Define using libm_alias_float.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19129 Include <libm-alias-float.h>.
19130 (copysignf): Define using libm_alias_float.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19132 <libm-alias-float.h>.
19133 (fabsf): Define using libm_alias_float.
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19135 <libm-alias-float.h>.
19136 (fdimf): Define using libm_alias_float.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19138 <libm-alias-float.h>.
19139 (fmaf): Define using libm_alias_float.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19141 <libm-alias-float.h>.
19142 (llrintf): Define using libm_alias_float.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19144 Include <libm-alias-float.h>.
19145 (nearbyintf): Define using libm_alias_float.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19147 <libm-alias-float.h>.
19148 (rintf): Define using libm_alias_float.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19150 <libm-alias-float.h>.
19151 (llrintf): Define using libm_alias_float.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19153 <libm-alias-float.h>.
19154 (lrintf): Define using libm_alias_float.
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19156 <libm-alias-float.h>.
19157 (nearbyintf): Define using libm_alias_float.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19159 <libm-alias-float.h>.
19160 (rintf): Define using libm_alias_float.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19162 <libm-alias-float.h>.
19163 (ceilf): Define using libm_alias_float.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19165 <libm-alias-float.h>.
19166 (floorf): Define using libm_alias_float.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19168 <libm-alias-float.h>.
19169 (fmaf): Define using libm_alias_float.
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19171 <libm-alias-float.h>.
19172 (lrintf): Define using libm_alias_float.
19173 (llrintf): Likewise.
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19175 <libm-alias-float.h>.
19176 (nearbyintf): Define using libm_alias_float.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19178 <libm-alias-float.h>.
19179 (rintf): Define using libm_alias_float.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19181 <libm-alias-float.h>.
19182 (truncf): Define using libm_alias_float.
19183 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19184 <libm-alias-float.h>.
19185 (copysignf): Define using libm_alias_float.
19186 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19187 <libm-alias-float.h>.
19188 (fabsf): Define using libm_alias_float.
19189 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19190 <libm-alias-float.h>.
19191 (lrintf): Define using libm_alias_float.
19192 (llrintf): Likewise.
19193 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19194 <libm-alias-float.h>.
19195 (nearbyintf): Define using libm_alias_float.
19196 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19197 <libm-alias-float.h>.
19198 (rintf): Define using libm_alias_float.
19200 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19203 <libm-alias-double.h>.
19204 (copysign): Define using libm_alias_double.
19205 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19206 <libm-alias-double.h>.
19207 (fabs): Define using libm_alias_double.
19208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19209 Include <libm-alias-double.h>.
19210 (copysign): Define using libm_alias_double.
19211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19212 <libm-alias-double.h>.
19213 (fabs): Define using libm_alias_double.
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19215 <libm-alias-double.h>.
19216 (fdim): Define using libm_alias_double.
19217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19218 <libm-alias-double.h>.
19219 (fma): Define using libm_alias_double.
19220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19221 <libm-alias-double.h>.
19222 (llrint): Define using libm_alias_double.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19224 Include <libm-alias-double.h>.
19225 (nearbyint): Define using libm_alias_double.
19226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19227 <libm-alias-double.h>.
19228 (rint): Define using libm_alias_double.
19229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19230 <libm-alias-double.h>.
19231 (fabs): Define using libm_alias_double.
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19233 <libm-alias-double.h>.
19234 (llrint): Define using libm_alias_double.
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19236 <libm-alias-double.h>.
19237 (nearbyint): Define using libm_alias_double.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19239 <libm-alias-double.h>.
19240 (rint): Define using libm_alias_double.
19241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19242 <libm-alias-double.h>.
19243 (ceil): Define using libm_alias_double.
19244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19245 <libm-alias-double.h>.
19246 (floor): Define using libm_alias_double.
19247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19248 <libm-alias-double.h>.
19249 (fma): Define using libm_alias_double.
19250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19251 <libm-alias-double.h>.
19252 (lrint): Define using libm_alias_double.
19253 (llrint): Likewise.
19254 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19255 <libm-alias-double.h>.
19256 (nearbyint): Define using libm_alias_double.
19257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19258 <libm-alias-double.h>.
19259 (rint): Define using libm_alias_double.
19260 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19261 <libm-alias-double.h>.
19262 (trunc): Define using libm_alias_double.
19263 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19264 <libm-alias-double.h>.
19265 (copysign): Define using libm_alias_double.
19266 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19267 <libm-alias-double.h>.
19268 (fabs): Define using libm_alias_double.
19269 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19270 <libm-alias-double.h>.
19271 (lrint): Define using libm_alias_double.
19272 (llrint): Likewise.
19273 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19274 <libm-alias-double.h>.
19275 (nearbyint): Define using libm_alias_double.
19276 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19277 <libm-alias-double.h>.
19278 (rint): Define using libm_alias_double.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19283 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19285 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19286 SPARC --disable-multi-arch glibc variants.
19288 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19289 <libm-alias-float.h>.
19290 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19292 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19293 <libm-alias-float.h>.
19294 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19296 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19297 <libm-alias-float.h>.
19298 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19300 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19301 <libm-alias-float.h>.
19302 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19304 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19305 <libm-alias-float.h>.
19306 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19308 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19309 <libm-alias-float.h>.
19310 (ceilf): Define using libm_alias_float.
19311 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19312 <libm-alias-float.h>.
19313 (floorf): Define using libm_alias_float.
19314 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19315 <libm-alias-float.h>.
19316 (fmaf): Define using libm_alias_float.
19317 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19318 <libm-alias-float.h>.
19319 (nearbyintf): Define using libm_alias_float.
19320 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19321 <libm-alias-float.h>.
19322 (rintf): Define using libm_alias_float.
19323 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19324 <libm-alias-float.h>.
19325 (truncf): Define using libm_alias_float.
19326 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19327 (copysignf): Define using libm_alias_float.
19328 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19329 (cosf): Define using libm_alias_float.
19330 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19331 (fabsf): Define using libm_alias_float.
19332 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19333 (fmaxf): Define using libm_alias_float.
19334 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19335 (fminf): Define using libm_alias_float.
19336 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19337 (llrintf): Define using libm_alias_float.
19338 [!__ILP32__] (lrintf): Likewise.
19339 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19340 (sincosf): Define using libm_alias_float.
19341 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19342 (sinf): Define using libm_alias_float.
19343 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19344 (lrintf): Define using libm_alias_float.
19346 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19347 <libm-alias-double.h>.
19348 (atan): Define using libm_alias_double.
19349 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19350 <libm-alias-double.h>.
19351 (ceil): Define using libm_alias_double.
19352 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19353 <libm-alias-double.h>.
19354 (floor): Define using libm_alias_double.
19355 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19356 <libm-alias-double.h>.
19357 (fma): Define using libm_alias_double.
19358 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19359 <libm-alias-double.h>.
19360 (nearbyint): Define using libm_alias_double.
19361 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19362 <libm-alias-double.h>.
19363 (rint): Define using libm_alias_double.
19364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19365 <libm-alias-double.h>.
19366 (sin): Define using libm_alias_double.
19368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19369 <libm-alias-double.h>.
19370 (tan): Define using libm_alias_double.
19371 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19372 <libm-alias-double.h>.
19373 (trunc): Define using libm_alias_double.
19374 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19375 (copysign): Define using libm_alias_double.
19376 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19377 (fabs): Define using libm_alias_double.
19378 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19379 (fmax): Define using libm_alias_double.
19380 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19381 (fmin): Define using libm_alias_double.
19382 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19383 (llrint): Define using libm_alias_double.
19384 [!__ILP32__] (lrint): Likewise.
19385 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19386 (lrint): Define using libm_alias_double.
19388 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19391 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19400 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19401 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19411 (libm-sysdep_routines): Add s_nearbyint-generic and
19412 s_nearbyintf-generic objects.
19413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19421 Add s_finitef-generic and s_finite-generic objects.
19422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19430 Add s_isinff-generic and s_isinf-generic objects.
19431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19439 Add s_isnanf-generic and s_isnan-generic objects.
19440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19447 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19451 (sysdep_routines): Use sysdep_calls as base.
19452 (libm-sysdep_routines): Add generic rule for symbols shared with
19453 libc. Add s_signbit-generic and s_signbitf-generic objects.
19454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19461 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19463 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19464 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19465 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19466 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19467 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19468 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19469 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19470 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19471 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19472 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19473 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19474 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19475 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19476 libm_alias_float_r.
19477 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19478 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19480 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19481 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19482 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19483 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19484 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19485 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19486 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19487 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19488 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19489 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19491 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19493 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19494 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19495 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19496 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19497 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19498 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19499 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19500 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19501 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19502 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19503 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19504 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19505 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19506 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19507 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19508 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19509 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19510 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19511 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19513 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19514 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19515 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19516 * sysdeps/ia64/fpu/w_lgammaf_main.c
19517 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19518 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19520 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19521 Alexandre Oliva <aoliva@redhat.com>
19524 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19525 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19527 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19529 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19530 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19531 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19532 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19533 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19534 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19535 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19536 instead of “ifdef DIACRIT_BACKWARD”.
19538 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19540 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19541 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19542 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19543 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19544 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19545 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19552 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19553 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19554 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19555 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19556 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19557 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19559 ($(have-as-vis3) == yes): Remove conditional.
19560 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19576 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19577 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19579 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19581 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19582 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19583 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19584 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19585 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19586 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19587 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19588 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19589 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19590 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19591 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19592 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19593 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19594 libm_alias_double_r.
19595 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19597 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19598 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19599 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19600 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19601 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19602 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19603 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19604 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19605 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19606 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19607 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19609 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19611 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19612 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19613 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19614 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19615 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19616 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19617 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19618 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19619 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19620 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19621 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19622 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19623 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19624 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19625 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19626 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19627 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19628 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19630 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19631 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19632 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19633 * sysdeps/ia64/fpu/w_lgamma_main.c
19634 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19635 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19637 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19639 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19640 address of $global$ into %dp register earlier. Use pc-relative
19641 instruction sequence for PIC case.
19643 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19645 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19646 (asinhf): Define using libm_alias_float.
19647 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19648 (atanf): Define using libm_alias_float.
19649 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19650 (cbrtf): Define using libm_alias_float.
19651 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19652 (ceilf): Define using libm_alias_float.
19653 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19654 (copysignf): Define using libm_alias_float.
19655 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19656 (expm1f): Define using libm_alias_float.
19657 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19658 (fabsf): Define using libm_alias_float.
19659 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19660 (floorf): Define using libm_alias_float.
19661 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19662 (fmaxf): Define using libm_alias_float.
19663 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19664 (fminf): Define using libm_alias_float.
19665 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19666 (frexpf): Define using libm_alias_float.
19667 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19668 (llrintf): Define using libm_alias_float.
19669 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19670 (logbf): Define using libm_alias_float.
19671 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19672 (lrintf): Define using libm_alias_float.
19673 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19674 (nearbyintf): Define using libm_alias_float.
19675 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19676 (remquof): Define using libm_alias_float.
19677 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19678 (rintf): Define using libm_alias_float.
19679 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19680 (truncf): Define using libm_alias_float.
19681 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19682 <libm-alias-float.h>.
19683 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19685 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19686 <libm-alias-float.h>.
19687 (expf): Define using libm_alias_float, or libm_alias_float_other
19689 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19690 <libm-alias-float.h>.
19691 (log2f): Define using libm_alias_float, or libm_alias_float_other
19693 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19694 <libm-alias-float.h>.
19695 (logf): Define using libm_alias_float, or libm_alias_float_other
19697 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19698 <libm-alias-float.h>.
19699 (powf): Define using libm_alias_float, or libm_alias_float_other
19701 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19702 <libm-alias-float.h>.
19703 (cosf): Define using libm_alias_float.
19704 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19705 <libm-alias-float.h>.
19706 (sincosf): Define using libm_alias_float.
19707 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19708 <libm-alias-float.h>.
19709 (sinf): Define using libm_alias_float.
19710 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19711 (fmaxf): Define using libm_alias_float.
19712 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19713 (fminf): Define using libm_alias_float.
19714 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19715 <libm-alias-float.h>.
19716 (fmaf): Define using libm_alias_float.
19718 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19719 (asinh): Define using libm_alias_double.
19720 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19721 (atan): Define using libm_alias_double.
19722 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19723 (cbrt): Define using libm_alias_double.
19724 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19725 (ceil): Define using libm_alias_double.
19726 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19727 (copysign): Define using libm_alias_double.
19728 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19729 (expm1): Define using libm_alias_double.
19730 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19731 (fabs): Define using libm_alias_double.
19732 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19733 (fdim): Define using libm_alias_double.
19734 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19735 (floor): Define using libm_alias_double.
19736 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19737 (fmax): Define using libm_alias_double.
19738 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19739 (fmin): Define using libm_alias_double.
19740 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19741 (frexp): Define using libm_alias_double.
19742 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19743 (llrint): Define using libm_alias_double.
19744 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19745 (logb): Define using libm_alias_double.
19746 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19747 (lrint): Define using libm_alias_double.
19748 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19749 (nearbyint): Define using libm_alias_double.
19750 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19751 (remquo): Define using libm_alias_double.
19752 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19753 (rint): Define using libm_alias_double.
19754 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19755 (trunc): Define using libm_alias_double.
19756 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19757 (fmax): Define using libm_alias_double.
19758 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19759 (fmin): Define using libm_alias_double.
19760 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19761 (fma): Define using libm_alias_double.
19763 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19766 * elf/dl-hwcaps.c (ROUND): Removed.
19767 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19768 and ELF_NOTE_NEXT_OFFSET.
19769 * elf/dl-load.c (ROUND): Removed.
19770 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19771 * elf/readelflib.c (ROUND): Removed.
19772 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19773 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19774 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19775 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19777 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19779 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19780 [!__fmaf] (fmaf): Define using libm_alias_float.
19782 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19783 [!__fma] (fma): Define using libm_alias_double.
19784 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19786 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19789 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19790 and implement the collation rules for cs from CLDR on top of that.
19791 * Makefile: Add cs_CZ.UTF-8 to test-input.
19792 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19794 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19796 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19798 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19799 Icarus Sparry <icarus.w.sparry@intel.com>
19801 * benchtests/Makefile:Add BENCHSET to allow subsets of
19802 benchmarks to be run.
19803 * benchtests/README: Add documentation for: Running subsets of
19806 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19808 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19809 range of tests names.
19811 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19812 result from property and remove "max", min" and "mean" from
19813 required properties based on benchtests/bench-skeleton.c.
19815 2017-11-28 Florian Weimer <fweimer@redhat.com>
19818 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19819 due to Internet requirement.
19820 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19822 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19824 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19827 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19828 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19829 (sysdep_routines): Add memset-ultra1.
19830 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19833 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19834 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19835 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19836 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19837 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19839 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19843 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19844 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19845 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19846 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19847 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19848 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19849 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19852 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19853 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19854 (sysdep_routines): Add memcpy-ultra1.
19855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19856 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19858 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19860 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19861 (cfloat_versions): Take function argument without trailing 'f'.
19862 Call libm_alias_float_other.
19863 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19864 * sysdeps/alpha/fpu/cargf.c: Likewise.
19865 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19866 * sysdeps/alpha/fpu/conjf.c: Likewise.
19867 * sysdeps/alpha/fpu/crealf.c: Likewise.
19868 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19869 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19870 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19871 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19872 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19873 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19874 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19875 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19876 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19877 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19878 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19879 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19880 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19881 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19882 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19883 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19884 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19885 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19886 (clog10f): Use libm_alias_float_other.
19887 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19888 (ceilf): Define using libm_alias_float.
19889 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19890 (copysignf): Define using libm_alias_float.
19891 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19892 (fabsf): Define using libm_alias_float.
19893 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19894 (floorf): Define using libm_alias_float.
19895 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19896 (fmaxf): Define using libm_alias_float.
19897 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19898 (fminf): Define using libm_alias_float.
19899 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19900 (lrintf): Define using libm_alias_float.
19901 (llrintf): Likewise.
19902 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19903 (lroundf): Define using libm_alias_float.
19904 (llroundf): Likewise.
19905 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19906 (rintf): Define using libm_alias_float.
19907 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19908 (truncf): Define using libm_alias_float.
19910 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19911 (ceilf): Define using libm_alias_float.
19912 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19913 (floorf): Define using libm_alias_float.
19914 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19915 (fmaf): Define using libm_alias_float.
19916 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19917 (fmaxf): Define using libm_alias_float.
19918 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19919 (fminf): Define using libm_alias_float.
19920 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19921 (llrintf): Define using libm_alias_float.
19922 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19923 (llroundf): Define using libm_alias_float.
19924 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19925 (lrintf): Define using libm_alias_float.
19926 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19927 (lroundf): Define using libm_alias_float.
19928 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19929 <libm-alias-float.h>.
19930 (nearbyintf): Define using libm_alias_float.
19931 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19932 (rintf): Define using libm_alias_float.
19933 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19934 (roundf): Define using libm_alias_float.
19935 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19936 (truncf): Define using libm_alias_float.
19938 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19939 (ceil): Define using libm_alias_double.
19940 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19941 (copysign): Define using libm_alias_double.
19942 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19943 (fabs): Define using libm_alias_double.
19944 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19945 (floor): Define using libm_alias_double.
19946 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19947 (fmax): Define using libm_alias_double.
19948 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19949 (fmin): Define using libm_alias_double.
19950 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19951 (lrint): Define using libm_alias_double.
19952 (llrint): Likewise.
19953 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19954 (lround): Define using libm_alias_double.
19955 (llround): Likewise.
19956 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19957 (rint): Define using libm_alias_double.
19958 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19959 (trunc): Define using libm_alias_double.
19961 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19962 (libm_alias_double_r): Add semicolon after weak_alias call.
19964 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19966 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19967 (ceil): Define using libm_alias_double.
19968 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19969 (floor): Define using libm_alias_double.
19970 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19971 (fma): Define using libm_alias_double.
19972 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19973 (fmax): Define using libm_alias_double.
19974 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19975 (fmin): Define using libm_alias_double.
19976 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19977 (llrint): Define using libm_alias_double.
19978 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19979 (llround): Define using libm_alias_double.
19980 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19981 (lrint): Define using libm_alias_double.
19982 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
19983 (lround): Define using libm_alias_double.
19984 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
19985 (nearbyint): Define using libm_alias_double.
19986 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
19987 (rint): Define using libm_alias_double.
19988 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
19989 (round): Define using libm_alias_double.
19990 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
19991 (trunc): Define using libm_alias_double.
19993 2017-11-27 Florian Weimer <fweimer@redhat.com>
19995 * sysdeps/unix/sysv/linux/mlock2.c: New file.
19996 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
19997 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
19998 (tests): Add tst-mlock2.
19999 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20000 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20001 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20002 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20003 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20004 for mlock. Document mlock2.
20006 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20008 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20009 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20011 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20013 * sysdeps/x86/Makeconfig: New file.
20014 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20015 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20016 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20017 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20018 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20019 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20020 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20022 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20023 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20024 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20025 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20026 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20027 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20028 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20029 * manual/math.texi (Mathematics): Document support for _Float64x.
20030 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20031 * stdlib/Versions (GLIBC_2.27): Likewise.
20032 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20034 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20038 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20039 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20041 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20042 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20043 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20048 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20049 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20050 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20051 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20052 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20054 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20055 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20056 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20057 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20058 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20059 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20060 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20061 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20063 2017-11-27 Andreas Schwab <schwab@suse.de>
20065 * elf/Makefile (dl-routines): Add dl-sort-maps.
20066 * elf/dl-sort-maps.c: New file.
20067 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20068 (_dl_sort_maps): Declare.
20069 * elf/dl-fini.c (_dl_sort_fini): Remove.
20070 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20071 * elf/dl-close.c (_dl_close_worker): Likewise.
20072 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20074 * elf/dl-open.c (dl_open_worker): Likewise.
20076 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20078 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20079 using libm_alias_float128.
20080 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20082 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20084 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20085 (setpayloadsigf128): Likewise.
20086 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20088 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20091 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20092 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20093 -mfloat128 to CFLAGS.
20095 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20097 (CFLAGS-libm-test-support-float64x.c): New variable.
20098 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20099 $(f128-loader-link) to gnulib-tests.
20101 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20102 (libm_alias_float128_other_r): If
20103 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20105 (libm_alias_float128_r): Add semicolon after weak_alias call.
20106 * sysdeps/generic/libm-alias-ldouble.h
20107 (libm_alias_ldouble_other_r_f128): New macro.
20108 (libm_alias_ldouble_other_r_f64x): Likewise.
20109 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20110 and libm_alias_ldouble_other_r_f64x.
20111 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20112 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20113 (libm_alias_ldouble_other_r_f128): New macro.
20114 (libm_alias_ldouble_other_r_f64x): Likewise.
20115 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20116 and libm_alias_ldouble_other_r_f64x.
20118 * stdlib/strfroml.c: Always include <stdlib.h>.
20119 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20120 undefine as macro and define as weak alias.
20121 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20122 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20124 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20125 Define and later undefine as macro and define as weak alias.
20127 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20128 Define and later undefine as macro. Define as weak alias if
20130 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20131 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20132 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20133 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20134 Define and later undefine as macro. Define as weak alias if
20136 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20137 Define and later undefine as macro. Define as weak alias if
20139 * sysdeps/ieee754/float128/strtof128_l.c
20140 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20141 Define and later undefine as macro. Define as weak alias if
20143 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20144 Define and later undefine as macro. Define as weak alias if
20146 * sysdeps/ieee754/ldbl-128/strtold_l.c
20147 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20148 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20149 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20150 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20151 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20152 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20153 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20154 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20155 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20156 * sysdeps/ieee754/ldbl-96/strtold_l.c
20157 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20158 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20159 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20160 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20162 * math/test-float64x.h: New file.
20163 * math/Makefile (type-float64x-yes): New variable.
20164 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20166 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20167 function-like macro.
20168 (min_of_type_): Likewise.
20169 (min_of_type_l): Likewise.
20170 (min_of_type_f128): Likewise.
20171 (min_of_type): Pass () as last argument of __MATH_TG.
20173 * stdlib/tst-strtod-round-skeleton.c
20174 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20177 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20178 for combinations of long double with _Float64 and _Float64x.
20180 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20181 (__DECL_SIMD_cosf32): Likewise.
20182 (__DECL_SIMD_cosf64): Likewise.
20183 (__DECL_SIMD_cosf32x): Likewise.
20184 (__DECL_SIMD_cosf64x): Likewise.
20185 (__DECL_SIMD_cosf128x): Likewise.
20186 (__DECL_SIMD_sinf16): Likewise.
20187 (__DECL_SIMD_sinf32): Likewise.
20188 (__DECL_SIMD_sinf64): Likewise.
20189 (__DECL_SIMD_sinf32x): Likewise.
20190 (__DECL_SIMD_sinf64x): Likewise.
20191 (__DECL_SIMD_sinf128x): Likewise.
20192 (__DECL_SIMD_sincosf16): Likewise.
20193 (__DECL_SIMD_sincosf32): Likewise.
20194 (__DECL_SIMD_sincosf64): Likewise.
20195 (__DECL_SIMD_sincosf32x): Likewise.
20196 (__DECL_SIMD_sincosf64x): Likewise.
20197 (__DECL_SIMD_sincosf128x): Likewise.
20198 (__DECL_SIMD_logf16): Likewise.
20199 (__DECL_SIMD_logf32): Likewise.
20200 (__DECL_SIMD_logf64): Likewise.
20201 (__DECL_SIMD_logf32x): Likewise.
20202 (__DECL_SIMD_logf64x): Likewise.
20203 (__DECL_SIMD_logf128x): Likewise.
20204 (__DECL_SIMD_expf16): Likewise.
20205 (__DECL_SIMD_expf32): Likewise.
20206 (__DECL_SIMD_expf64): Likewise.
20207 (__DECL_SIMD_expf32x): Likewise.
20208 (__DECL_SIMD_expf64x): Likewise.
20209 (__DECL_SIMD_expf128x): Likewise.
20210 (__DECL_SIMD_powf16): Likewise.
20211 (__DECL_SIMD_powf32): Likewise.
20212 (__DECL_SIMD_powf64): Likewise.
20213 (__DECL_SIMD_powf32x): Likewise.
20214 (__DECL_SIMD_powf64x): Likewise.
20215 (__DECL_SIMD_powf128x): Likewise.
20217 * stdlib/Versions (libc): Move entries for wcstof128 and
20218 wcstof128_l to ....
20219 * wcsmbs/Versions (libc): ... here.
20220 Include <float128-abi.h>.
20222 2017-11-24 Florian Weimer <fweimer@redhat.com>
20224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20225 bits/mman-shared.h.
20226 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20227 <bits/mman-shared.h>.
20228 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20230 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20231 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20232 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20233 <bits/mman-shared.h>.
20235 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20238 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20239 posix_memalign/free.
20240 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20242 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20245 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20246 and implement the collation rules for pl from CLDR on top of that.
20247 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20248 of locales to be built for testing.
20249 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20251 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20253 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20254 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20255 libm_alias_ldouble_other.
20256 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20257 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20258 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20259 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20260 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20261 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20262 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20263 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20264 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20265 libm_alias_ldouble_r.
20266 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20267 libm_alias_ldouble_other.
20268 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20269 (log10l): Likewise.
20270 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20271 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20272 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20273 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20274 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20275 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20276 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20277 (atan2l): Likewise.
20278 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20279 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20280 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20281 libm_alias_ldouble.
20282 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20284 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20285 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20286 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20288 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20289 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20290 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20291 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20292 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20293 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20294 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20295 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20296 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20297 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20298 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20299 libm_alias_ldouble.
20300 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20301 libm_alias_ldouble_other.
20302 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20303 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20304 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20305 libm_alias_ldouble.
20306 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20307 libm_alias_ldouble_other.
20308 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20309 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20310 * sysdeps/ia64/fpu/w_lgammal_main.c
20311 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20312 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20314 2017-11-23 Florian Weimer <fweimer@redhat.com>
20316 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20317 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20318 alike. Remove freeres marker.
20319 * malloc/arena.c (arena_thread_freeres): Call
20320 tcache_thread_shutdown.
20322 2017-11-23 Florian Weimer <fweimer@redhat.com>
20325 Export nscd hash function as __nss_hash.
20326 * include/nss.h (__nss_hash): Declare.
20327 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20329 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20330 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20332 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20333 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20334 * nss/Makefiles (routines): Add nss_hash.
20335 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20336 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20337 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20338 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20340 2017-11-23 Florian Weimer <fweimer@redhat.com>
20343 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20344 Return error code, not -1.
20345 * signal/tst-sigwait-eintr.c: New file.
20346 * signal/Makefile (tests): Add tst-sigwait-eintr.
20348 2017-11-23 Florian Weimer <fweimer@redhat.com>
20350 Linux: Add memfd_create system call wrapper
20351 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20353 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20354 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20355 [__USE_GNU] (memfd_create): Declare.
20356 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20357 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20358 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20359 * sysdeps/unix/sysv/linux/**.abilist: Update.
20360 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20362 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20364 * localedata/gen-locale.sh: Fix typo in variable name.
20366 * resolv/res_debug.c (p_secstodate): Condition definition on
20367 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20368 directly as __p_secstodate, and as a compat symbol. Do not use
20369 libresolv_hidden_def.
20370 * resolv/resolv.h (p_secstodate): Remove macro and function
20372 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20373 using p_secstodate.
20374 * include/resolv.h (__p_secstodate): Do not use
20375 libresolv_hidden_proto.
20376 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20377 (tests-internal): ... here.
20378 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20379 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20380 and declare and use __p_secstodate and use compat_symbol_reference
20382 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20383 implementation returning 77.
20386 * resolv/res_debug.c: Include <libc-diag.h>.
20387 (p_secstodate): Assert time_t at least as wide as u_long. On
20388 overflow, use integer seconds since the epoch as output, or use
20389 "<overflow>" as output and set errno to EOVERFLOW if integer
20390 seconds since the epoch would be 14 or more characters.
20391 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20393 * resolv/tst-p_secstodate.c: New file.
20394 * resolv/Makefile (tests): Add tst-p_secstodate.
20395 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20397 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20398 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20399 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20401 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20403 * posix/regcomp.c (init_word_char): Add comments.
20405 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20408 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20409 strlen to compute length of ut_user and set trailing NUL byte of
20412 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20415 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20416 using “copy "iso14651_t1"” and then implementing the
20417 collation rules for lv from CLDR on top of that.
20418 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20419 of locales to be built for testing.
20420 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20423 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20425 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20426 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20427 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20428 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20429 [__USE_MISC] (MADV_HWPOISON): New macro.
20430 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20432 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20434 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20435 -Wmissing-braces on GCC 4.9.
20437 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20439 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20440 * sysdeps/s390/s390-32/start.S (_start): Likewise
20441 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20442 (thread_start): Likewise.
20443 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20444 (thread_start): Likewise.
20445 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20446 (__makecontext_ret): Likewise.
20447 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20448 (__makecontext_ret): Likewise.
20450 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20452 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20453 __wcschrnul): Remove attribute_hidden.
20455 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20457 regex: don't assume uint64_t or uint32_t
20458 This avoids -Werror=overflow errors for 32-bit systems in
20459 the 64-bit case. Problem reported by Joseph Myers in:
20460 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20461 Also, when this code is used in Gnulib it ports to platforms
20462 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20463 them, and on some 32-bit compilers there is no uint64_t.
20464 Problem reported by Gianluigi Tiesi in:
20465 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20466 * posix/regcomp.c (init_word_char): Don't assume that the types
20467 uint64_t and uint32_t exist. Adapted from Gnulib patch
20468 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20469 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20471 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20473 * sysdeps/aarch64/memset-reg.h: New file.
20474 * sysdeps/aarch64/memset.S: Use it.
20475 (__memset): Rename to MEMSET macro.
20476 [ZVA_MACRO]: Use zva_macro.
20477 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20478 Add memset_generic and memset_falkor.
20479 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20480 (__libc_ifunc_impl_list): Add memset ifuncs.
20481 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20482 local variable zva_size.
20483 * sysdeps/aarch64/multiarch/memset.c: New file.
20484 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20485 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20486 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20487 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20488 (DCZID_DZP_MASK): New macro.
20489 (DCZID_BS_MASK): Likewise.
20490 (init_cpu_features): Read and set zva_size.
20491 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20492 (struct cpu_features): New member zva_size.
20494 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20495 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20496 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20498 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20499 backwards. Fix timing computation.
20500 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20501 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20502 on memset by N at a time. Fix timing computation.
20504 2017-11-20 Florian Weimer <fweimer@redhat.com>
20506 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20507 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20509 2017-11-19 Florian Weimer <fweimer@redhat.com>
20511 manual: Document mprotect
20512 * manual/memory.texi (Memory Protection): New section.
20513 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20514 documentation of PROT_* flags and reference the Memory Protection
20517 2017-11-19 Florian Weimer <fweimer@redhat.com>
20519 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20520 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20521 (Scatter-Gather): ... to here. Remove misleading comment.
20523 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20525 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20528 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20529 when /proc/<pid>/setgroups does not exist.
20531 2017-11-18 Florian Weimer <fweimer@redhat.com>
20533 * sysdeps/unix/sysv/linux/tst-ttyname.c
20534 (become_root_in_mount_ns): Remove.
20535 (do_in_chroot_1): Call support_enter_mount_namespace.
20536 (do_in_chroot_2): Likewise.
20537 (do_test): Call support_become_root early.
20539 2017-11-18 Florian Weimer <fweimer@redhat.com>
20541 * support/namespace.h (support_enter_mount_namespace): Declare.
20542 * support/support_enter_mount_namespace.c: New file.
20543 * support/Makefile (libsupport-routines): Add
20544 support_enter_mount_namespace.
20546 2017-11-18 Florian Weimer <fweimer@redhat.com>
20548 * support/temp_file.c (support_create_temp_directory): Use
20549 test_dir and do not rely on the presence of the XXXXXX suffix.
20550 * support/temp_file.h (support_create_temp_directory): Update
20552 * support/tst-xreadlink.c (do_test): Adjust.
20553 * support/support_chroot.c (support_chroot_create): Likewise.
20555 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20557 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20559 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20562 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20564 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20565 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20566 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20567 (ceill): Define using libm_alias_ldouble.
20568 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20569 <libm-alias-ldouble.h>.
20570 (copysignl): Define using libm_alias_ldouble.
20571 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20572 (fabsl): Define using libm_alias_ldouble.
20573 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20574 (floorl): Define using libm_alias_ldouble.
20575 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20576 (fmaxl): Define using libm_alias_ldouble.
20577 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20578 (fminl): Define using libm_alias_ldouble.
20579 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20580 (llrintl): Define using libm_alias_ldouble.
20581 (lrintl): Likewise.
20582 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20583 <libm-alias-ldouble.h>.
20584 (nearbyintl): Define using libm_alias_ldouble.
20585 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20586 (truncl): Define using libm_alias_ldouble.
20587 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20588 <libm-alias-ldouble.h>.
20589 (lrintl): Define using libm_alias_ldouble.
20591 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20592 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20593 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20594 (asinhl): Define using libm_alias_ldouble.
20595 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20596 (atanl): Define using libm_alias_ldouble.
20597 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20598 (cbrtl): Define using libm_alias_ldouble.
20599 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20600 (ceill): Define using libm_alias_ldouble.
20601 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20602 (copysignl): Define using libm_alias_ldouble.
20603 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20604 (fabsl): Define using libm_alias_ldouble.
20605 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20606 (floorl): Define using libm_alias_ldouble.
20607 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20608 (fmaxl): Define using libm_alias_ldouble.
20609 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20610 (fminl): Define using libm_alias_ldouble.
20611 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20612 (frexpl): Define using libm_alias_ldouble.
20613 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20614 (llrintl): Define using libm_alias_ldouble.
20615 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20616 (logbl): Define using libm_alias_ldouble.
20617 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20618 (lrintl): Define using libm_alias_ldouble.
20619 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20620 (nearbyintl): Define using libm_alias_ldouble.
20621 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20622 (nextafterl): Define using libm_alias_ldouble.
20623 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20624 (remquol): Define using libm_alias_ldouble.
20625 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20626 (rintl): Define using libm_alias_ldouble.
20627 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20628 (truncl): Define using libm_alias_ldouble.
20629 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20630 (fmaxl): Define using libm_alias_ldouble.
20631 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20632 (fminl): Define using libm_alias_ldouble.
20634 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20635 to C syntax instead of availability and properties of types.
20636 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20637 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20638 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20639 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20640 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20641 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20643 2017-11-17 Florian Weimer <fweimer@redhat.com>
20645 support_become_root: Enable file creation in namespaces.
20646 * support/support_become_root.c (setup_mapping): New function.
20647 (support_become_root): Call it.
20649 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20651 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20654 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20656 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20657 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20659 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20661 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20663 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20666 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20668 * INSTALL: Fix botched up regeneration.
20670 * NEWS: Update sourceare link to https.
20671 * configure.ac: Likewise.
20672 * crypt/md5test-giant.c: Likewise.
20673 * dlfcn/bug-atexit1.c: Likewise.
20674 * dlfcn/bug-atexit2.c: Likewise.
20675 * localedata/README: Likewise.
20676 * malloc/tst-mallocfork.c: Likewise.
20677 * manual/install.texi: Likewise.
20678 * nptl/tst-pthread-getattr.c: Likewise.
20679 * stdio-common/tst-fgets.c: Likewise.
20680 * stdio-common/tst-fwrite.c: Likewise.
20681 * sunrpc/Makefile: Likewise.
20682 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20683 * wcsmbs/tst-mbrtowc2.c: Likewise.
20684 * configure: Regenerate.
20685 * INSTALL: Regenerate.
20687 2017-11-15 Martin Sebor <msebor@redhat.com>
20689 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20690 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20691 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20693 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20696 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20697 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20701 Defer is_pty check until end of the function.
20702 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20705 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20706 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20707 (ttyname): Likewise.
20708 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20709 (__ttyname_r): Likewise.
20711 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20714 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20716 * manual/terminal.texi (Is It a Terminal):
20717 Mention ENODEV for ttyname and ttyname_r.
20719 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20721 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20722 constant and macro.
20724 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20725 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20726 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20727 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20728 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20729 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20731 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20733 * signal/sigrelse.c (sigrelse): Optimize implementation.
20735 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20736 (__sigpause): Rely on __sigsuspend to implement single thread
20737 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20739 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20741 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20742 kernel version to 4.14.
20744 2017-11-15 Steve Ellcey <sellcey@cavium.com>
20747 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20748 Check if ifname is too long.
20750 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20752 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20754 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20756 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20757 was accidentally lost.
20759 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20761 * localedata/locales/az_IR: Add standard copyright header.
20763 2017-11-15 Florian Weimer <fweimer@redhat.com>
20766 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20767 not just the top one. Output a new "subheaps" statistic.
20769 2017-11-15 Florian Weimer <fweimer@redhat.com>
20772 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20773 under the per-arena lock.
20774 * malloc/Makefile (tests): Add tst-malloc_info.
20775 (tst-malloc_info): Link with libpthread.
20776 * malloc/tst-malloc_info.c: New file.
20778 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20781 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20782 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20783 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20784 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20785 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20786 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20787 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20788 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20789 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20790 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20791 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20792 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20793 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20794 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20795 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20796 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20797 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20798 (__floating_type): Likewise.
20799 (__real_integer_type): Likewise.
20800 (__complex_integer_type): Likewise.
20801 (__expr_is_real): Likewise.
20802 (__tgmath_real_type_sub): Likewise.
20803 (__tgmath_real_type): Likewise.
20804 (__tgmath_complex_type_sub): Likewise.
20805 (__tgmath_complex_type): Likewise.
20806 (__TGMATH_F128): Likewise.
20807 (__TGMATH_CF128): Likewise.
20808 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20810 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20811 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20813 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20815 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20816 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20817 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20818 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20820 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20821 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20823 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20824 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20825 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20827 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20828 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20829 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20833 2017-11-14 Joseph Myers <joseph@codesourcery.com>
20835 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20836 for stpncpy calls for GCC 8.
20837 (test_strncat): Disable -Wstringop-truncation warning for strncat
20838 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20839 strncat call for GCC 7.
20840 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20842 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20845 * string/bug-strncat1.c: Include <libc-diag.h>.
20846 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20848 2017-11-13 Claude Paroz <claude@2xlibre.net>
20851 * localedata/locales/aa_DJ: Improved readibility by replacing
20852 <Uxxxx> sequences in the ASCII printable range by their ASCII
20853 character equivalents.
20854 * localedata/locales/aa_ER: Likewise.
20855 * localedata/locales/aa_ER@saaho: Likewise.
20856 * localedata/locales/aa_ET: Likewise.
20857 * localedata/locales/af_ZA: Likewise.
20858 * localedata/locales/agr_PE: Likewise.
20859 * localedata/locales/ak_GH: Likewise.
20860 * localedata/locales/am_ET: Likewise.
20861 * localedata/locales/anp_IN: Likewise.
20862 * localedata/locales/ar_AE: Likewise.
20863 * localedata/locales/ar_BH: Likewise.
20864 * localedata/locales/ar_DZ: Likewise.
20865 * localedata/locales/ar_EG: Likewise.
20866 * localedata/locales/ar_IN: Likewise.
20867 * localedata/locales/ar_IQ: Likewise.
20868 * localedata/locales/ar_JO: Likewise.
20869 * localedata/locales/ar_KW: Likewise.
20870 * localedata/locales/ar_LB: Likewise.
20871 * localedata/locales/ar_LY: Likewise.
20872 * localedata/locales/ar_MA: Likewise.
20873 * localedata/locales/ar_OM: Likewise.
20874 * localedata/locales/ar_QA: Likewise.
20875 * localedata/locales/ar_SA: Likewise.
20876 * localedata/locales/ar_SD: Likewise.
20877 * localedata/locales/ar_SS: Likewise.
20878 * localedata/locales/ar_SY: Likewise.
20879 * localedata/locales/ar_TN: Likewise.
20880 * localedata/locales/ar_YE: Likewise.
20881 * localedata/locales/as_IN: Likewise.
20882 * localedata/locales/ast_ES: Likewise.
20883 * localedata/locales/ayc_PE: Likewise.
20884 * localedata/locales/az_AZ: Likewise.
20885 * localedata/locales/az_IR: Likewise.
20886 * localedata/locales/be_BY: Likewise.
20887 * localedata/locales/be_BY@latin: Likewise.
20888 * localedata/locales/bem_ZM: Likewise.
20889 * localedata/locales/ber_DZ: Likewise.
20890 * localedata/locales/ber_MA: Likewise.
20891 * localedata/locales/bg_BG: Likewise.
20892 * localedata/locales/bhb_IN: Likewise.
20893 * localedata/locales/bho_IN: Likewise.
20894 * localedata/locales/bi_VU: Likewise.
20895 * localedata/locales/bn_BD: Likewise.
20896 * localedata/locales/bn_IN: Likewise.
20897 * localedata/locales/bo_CN: Likewise.
20898 * localedata/locales/bo_IN: Likewise.
20899 * localedata/locales/br_FR: Likewise.
20900 * localedata/locales/brx_IN: Likewise.
20901 * localedata/locales/bs_BA: Likewise.
20902 * localedata/locales/byn_ER: Likewise.
20903 * localedata/locales/ca_AD: Likewise.
20904 * localedata/locales/ca_ES: Likewise.
20905 * localedata/locales/ca_FR: Likewise.
20906 * localedata/locales/ca_IT: Likewise.
20907 * localedata/locales/ce_RU: Likewise.
20908 * localedata/locales/chr_US: Likewise.
20909 * localedata/locales/cmn_TW: Likewise.
20910 * localedata/locales/crh_UA: Likewise.
20911 * localedata/locales/cs_CZ: Likewise.
20912 * localedata/locales/csb_PL: Likewise.
20913 * localedata/locales/cv_RU: Likewise.
20914 * localedata/locales/cy_GB: Likewise.
20915 * localedata/locales/da_DK: Likewise.
20916 * localedata/locales/de_AT: Likewise.
20917 * localedata/locales/de_BE: Likewise.
20918 * localedata/locales/de_CH: Likewise.
20919 * localedata/locales/de_DE: Likewise.
20920 * localedata/locales/de_IT: Likewise.
20921 * localedata/locales/de_LI: Likewise.
20922 * localedata/locales/de_LU: Likewise.
20923 * localedata/locales/doi_IN: Likewise.
20924 * localedata/locales/dv_MV: Likewise.
20925 * localedata/locales/dz_BT: Likewise.
20926 * localedata/locales/el_CY: Likewise.
20927 * localedata/locales/el_GR: Likewise.
20928 * localedata/locales/en_AG: Likewise.
20929 * localedata/locales/en_AU: Likewise.
20930 * localedata/locales/en_BW: Likewise.
20931 * localedata/locales/en_CA: Likewise.
20932 * localedata/locales/en_DK: Likewise.
20933 * localedata/locales/en_GB: Likewise.
20934 * localedata/locales/en_HK: Likewise.
20935 * localedata/locales/en_IE: Likewise.
20936 * localedata/locales/en_IL: Likewise.
20937 * localedata/locales/en_IN: Likewise.
20938 * localedata/locales/en_NG: Likewise.
20939 * localedata/locales/en_NZ: Likewise.
20940 * localedata/locales/en_PH: Likewise.
20941 * localedata/locales/en_SG: Likewise.
20942 * localedata/locales/en_US: Likewise.
20943 * localedata/locales/en_ZA: Likewise.
20944 * localedata/locales/en_ZM: Likewise.
20945 * localedata/locales/en_ZW: Likewise.
20946 * localedata/locales/eo: Likewise.
20947 * localedata/locales/es_AR: Likewise.
20948 * localedata/locales/es_BO: Likewise.
20949 * localedata/locales/es_CL: Likewise.
20950 * localedata/locales/es_CO: Likewise.
20951 * localedata/locales/es_CR: Likewise.
20952 * localedata/locales/es_CU: Likewise.
20953 * localedata/locales/es_DO: Likewise.
20954 * localedata/locales/es_EC: Likewise.
20955 * localedata/locales/es_ES: Likewise.
20956 * localedata/locales/es_GT: Likewise.
20957 * localedata/locales/es_HN: Likewise.
20958 * localedata/locales/es_MX: Likewise.
20959 * localedata/locales/es_NI: Likewise.
20960 * localedata/locales/es_PA: Likewise.
20961 * localedata/locales/es_PE: Likewise.
20962 * localedata/locales/es_PR: Likewise.
20963 * localedata/locales/es_PY: Likewise.
20964 * localedata/locales/es_SV: Likewise.
20965 * localedata/locales/es_US: Likewise.
20966 * localedata/locales/es_UY: Likewise.
20967 * localedata/locales/es_VE: Likewise.
20968 * localedata/locales/et_EE: Likewise.
20969 * localedata/locales/eu_ES: Likewise.
20970 * localedata/locales/eu_ES@euro: Likewise.
20971 * localedata/locales/fa_IR: Likewise.
20972 * localedata/locales/ff_SN: Likewise.
20973 * localedata/locales/fi_FI: Likewise.
20974 * localedata/locales/fil_PH: Likewise.
20975 * localedata/locales/fo_FO: Likewise.
20976 * localedata/locales/fr_BE: Likewise.
20977 * localedata/locales/fr_CA: Likewise.
20978 * localedata/locales/fr_CH: Likewise.
20979 * localedata/locales/fr_FR: Likewise.
20980 * localedata/locales/fr_LU: Likewise.
20981 * localedata/locales/fur_IT: Likewise.
20982 * localedata/locales/fy_DE: Likewise.
20983 * localedata/locales/fy_NL: Likewise.
20984 * localedata/locales/ga_IE: Likewise.
20985 * localedata/locales/gd_GB: Likewise.
20986 * localedata/locales/gez_ER: Likewise.
20987 * localedata/locales/gez_ET: Likewise.
20988 * localedata/locales/gl_ES: Likewise.
20989 * localedata/locales/gu_IN: Likewise.
20990 * localedata/locales/gv_GB: Likewise.
20991 * localedata/locales/ha_NG: Likewise.
20992 * localedata/locales/hak_TW: Likewise.
20993 * localedata/locales/he_IL: Likewise.
20994 * localedata/locales/hi_IN: Likewise.
20995 * localedata/locales/hif_FJ: Likewise.
20996 * localedata/locales/hne_IN: Likewise.
20997 * localedata/locales/hr_HR: Likewise.
20998 * localedata/locales/hsb_DE: Likewise.
20999 * localedata/locales/ht_HT: Likewise.
21000 * localedata/locales/hu_HU: Likewise.
21001 * localedata/locales/hy_AM: Likewise.
21002 * localedata/locales/i18n: Likewise.
21003 * localedata/locales/ia_FR: Likewise.
21004 * localedata/locales/id_ID: Likewise.
21005 * localedata/locales/ig_NG: Likewise.
21006 * localedata/locales/ik_CA: Likewise.
21007 * localedata/locales/is_IS: Likewise.
21008 * localedata/locales/it_CH: Likewise.
21009 * localedata/locales/it_IT: Likewise.
21010 * localedata/locales/iu_CA: Likewise.
21011 * localedata/locales/ja_JP: Likewise.
21012 * localedata/locales/ka_GE: Likewise.
21013 * localedata/locales/kk_KZ: Likewise.
21014 * localedata/locales/kl_GL: Likewise.
21015 * localedata/locales/kn_IN: Likewise.
21016 * localedata/locales/ko_KR: Likewise.
21017 * localedata/locales/kok_IN: Likewise.
21018 * localedata/locales/ks_IN: Likewise.
21019 * localedata/locales/ks_IN@devanagari: Likewise.
21020 * localedata/locales/ku_TR: Likewise.
21021 * localedata/locales/kw_GB: Likewise.
21022 * localedata/locales/ky_KG: Likewise.
21023 * localedata/locales/lb_LU: Likewise.
21024 * localedata/locales/lg_UG: Likewise.
21025 * localedata/locales/li_BE: Likewise.
21026 * localedata/locales/li_NL: Likewise.
21027 * localedata/locales/lij_IT: Likewise.
21028 * localedata/locales/ln_CD: Likewise.
21029 * localedata/locales/lo_LA: Likewise.
21030 * localedata/locales/lt_LT: Likewise.
21031 * localedata/locales/lv_LV: Likewise.
21032 * localedata/locales/lzh_TW: Likewise.
21033 * localedata/locales/mag_IN: Likewise.
21034 * localedata/locales/mai_IN: Likewise.
21035 * localedata/locales/mg_MG: Likewise.
21036 * localedata/locales/mhr_RU: Likewise.
21037 * localedata/locales/mi_NZ: Likewise.
21038 * localedata/locales/mk_MK: Likewise.
21039 * localedata/locales/ml_IN: Likewise.
21040 * localedata/locales/mn_MN: Likewise.
21041 * localedata/locales/mni_IN: Likewise.
21042 * localedata/locales/mr_IN: Likewise.
21043 * localedata/locales/ms_MY: Likewise.
21044 * localedata/locales/mt_MT: Likewise.
21045 * localedata/locales/my_MM: Likewise.
21046 * localedata/locales/nan_TW: Likewise.
21047 * localedata/locales/nan_TW@latin: Likewise.
21048 * localedata/locales/nb_NO: Likewise.
21049 * localedata/locales/nds_DE: Likewise.
21050 * localedata/locales/nds_NL: Likewise.
21051 * localedata/locales/ne_NP: Likewise.
21052 * localedata/locales/nhn_MX: Likewise.
21053 * localedata/locales/niu_NU: Likewise.
21054 * localedata/locales/niu_NZ: Likewise.
21055 * localedata/locales/nl_AW: Likewise.
21056 * localedata/locales/nl_BE: Likewise.
21057 * localedata/locales/nl_NL: Likewise.
21058 * localedata/locales/nn_NO: Likewise.
21059 * localedata/locales/nr_ZA: Likewise.
21060 * localedata/locales/nso_ZA: Likewise.
21061 * localedata/locales/oc_FR: Likewise.
21062 * localedata/locales/om_ET: Likewise.
21063 * localedata/locales/om_KE: Likewise.
21064 * localedata/locales/or_IN: Likewise.
21065 * localedata/locales/os_RU: Likewise.
21066 * localedata/locales/pa_IN: Likewise.
21067 * localedata/locales/pa_PK: Likewise.
21068 * localedata/locales/pap_AW: Likewise.
21069 * localedata/locales/pap_CW: Likewise.
21070 * localedata/locales/pl_PL: Likewise.
21071 * localedata/locales/ps_AF: Likewise.
21072 * localedata/locales/pt_BR: Likewise.
21073 * localedata/locales/pt_PT: Likewise.
21074 * localedata/locales/quz_PE: Likewise.
21075 * localedata/locales/raj_IN: Likewise.
21076 * localedata/locales/ro_RO: Likewise.
21077 * localedata/locales/ru_RU: Likewise.
21078 * localedata/locales/ru_UA: Likewise.
21079 * localedata/locales/rw_RW: Likewise.
21080 * localedata/locales/sa_IN: Likewise.
21081 * localedata/locales/sat_IN: Likewise.
21082 * localedata/locales/sc_IT: Likewise.
21083 * localedata/locales/sd_IN: Likewise.
21084 * localedata/locales/sd_IN@devanagari: Likewise.
21085 * localedata/locales/se_NO: Likewise.
21086 * localedata/locales/sgs_LT: Likewise.
21087 * localedata/locales/shs_CA: Likewise.
21088 * localedata/locales/si_LK: Likewise.
21089 * localedata/locales/sid_ET: Likewise.
21090 * localedata/locales/sk_SK: Likewise.
21091 * localedata/locales/sl_SI: Likewise.
21092 * localedata/locales/sm_WS: Likewise.
21093 * localedata/locales/so_DJ: Likewise.
21094 * localedata/locales/so_ET: Likewise.
21095 * localedata/locales/so_KE: Likewise.
21096 * localedata/locales/so_SO: Likewise.
21097 * localedata/locales/sq_AL: Likewise.
21098 * localedata/locales/sq_MK: Likewise.
21099 * localedata/locales/sr_ME: Likewise.
21100 * localedata/locales/sr_RS: Likewise.
21101 * localedata/locales/sr_RS@latin: Likewise.
21102 * localedata/locales/ss_ZA: Likewise.
21103 * localedata/locales/st_ZA: Likewise.
21104 * localedata/locales/sv_FI: Likewise.
21105 * localedata/locales/sv_SE: Likewise.
21106 * localedata/locales/sw_KE: Likewise.
21107 * localedata/locales/sw_TZ: Likewise.
21108 * localedata/locales/szl_PL: Likewise.
21109 * localedata/locales/ta_IN: Likewise.
21110 * localedata/locales/ta_LK: Likewise.
21111 * localedata/locales/tcy_IN: Likewise.
21112 * localedata/locales/te_IN: Likewise.
21113 * localedata/locales/tg_TJ: Likewise.
21114 * localedata/locales/th_TH: Likewise.
21115 * localedata/locales/the_NP: Likewise.
21116 * localedata/locales/ti_ER: Likewise.
21117 * localedata/locales/ti_ET: Likewise.
21118 * localedata/locales/tig_ER: Likewise.
21119 * localedata/locales/tk_TM: Likewise.
21120 * localedata/locales/tl_PH: Likewise.
21121 * localedata/locales/tn_ZA: Likewise.
21122 * localedata/locales/to_TO: Likewise.
21123 * localedata/locales/tpi_PG: Likewise.
21124 * localedata/locales/tr_CY: Likewise.
21125 * localedata/locales/tr_TR: Likewise.
21126 * localedata/locales/ts_ZA: Likewise.
21127 * localedata/locales/tt_RU: Likewise.
21128 * localedata/locales/tt_RU@iqtelif: Likewise.
21129 * localedata/locales/ug_CN: Likewise.
21130 * localedata/locales/uk_UA: Likewise.
21131 * localedata/locales/unm_US: Likewise.
21132 * localedata/locales/ur_IN: Likewise.
21133 * localedata/locales/ur_PK: Likewise.
21134 * localedata/locales/uz_UZ: Likewise.
21135 * localedata/locales/uz_UZ@cyrillic: Likewise.
21136 * localedata/locales/ve_ZA: Likewise.
21137 * localedata/locales/vi_VN: Likewise.
21138 * localedata/locales/wa_BE: Likewise.
21139 * localedata/locales/wae_CH: Likewise.
21140 * localedata/locales/wal_ET: Likewise.
21141 * localedata/locales/wo_SN: Likewise.
21142 * localedata/locales/xh_ZA: Likewise.
21143 * localedata/locales/yi_US: Likewise.
21144 * localedata/locales/yo_NG: Likewise.
21145 * localedata/locales/yue_HK: Likewise.
21146 * localedata/locales/yuw_PG: Likewise.
21147 * localedata/locales/zh_CN: Likewise.
21148 * localedata/locales/zh_HK: Likewise.
21149 * localedata/locales/zh_SG: Likewise.
21150 * localedata/locales/zh_TW: Likewise.
21151 * localedata/locales/zu_ZA: Likewise.
21153 2017-11-13 Florian Weimer <fweimer@redhat.com>
21155 * support/next_to_fault.h, support/next_to_fault.c: New files.
21156 * support/Makefile (libsupport-routines): Add next_to_fault.
21157 * resolv/tst-inet_pton.c (struct next_to_fault)
21158 (next_to_fault_allocate, next_to_fault_free): Remove.
21159 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21161 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21163 * elf/dl-support.c: Include <dl-procruntime.c>.
21164 * include/link.h: Include <link_map.h>.
21165 * sysdeps/generic/dl-procruntime.c: New file.
21166 * sysdeps/generic/link_map.h: Likewise.
21167 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21168 the writable ld.so namespace.
21170 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21172 timezone: pacify GCC -Wstringop-truncation
21173 Problem reported by Martin Sebor in:
21174 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21175 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21177 2017-11-12 Florian Weimer <fweimer@redhat.com>
21179 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21181 (tests): Add tst-xreadlink.
21182 * support/support.h (xstrndup): Declare.
21183 * support/xunistd.h (xunlink, xreadlink): Declare.
21184 * support/temp_file.h (support_create_temp_directory): Declare.
21185 * support/temp_file.c (support_create_temp_directory): New function.
21186 * support/support_chroot.c (support_chroot_create): Use it.
21187 * support/xreadlink.c: New file.
21188 * support/xstrndup.c: Likewise.
21189 * support/xunlink.c: Likewise.
21190 * support/tst-xreadlink.c: Likewise.
21192 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21194 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21196 2017-11-11 Florian Weimer <fweimer@redhat.com>
21200 * resolv/res_comp.c (printable_string, binary_hnok)
21201 (binary_leading_dash): New functions.
21202 (res_hnok): Reimplement using these functions and ns_name_pton.
21203 (res_ownok): Likewise.
21204 (res_mailok): Reimplement using printable_string, ns_name_pton and
21206 (res_dnok): Reimplement using printable_string and ns_name_pton.
21207 * resolv/tst-res_hnok.c (tests): Add additional tests.
21208 (LETTERDIGITS, PRINTABLE): Define.
21209 (do_test): Adjust one_char results.
21211 2017-11-11 Florian Weimer <fweimer@redhat.com>
21214 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21215 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21217 2017-11-11 Florian Weimer <fweimer@redhat.com>
21219 * resolv/tst-ns_name_pton.c: New file.
21220 * resolv/Makefile (tests): Add tst-ns_name_pton.
21221 (tst-ns_name_pton): Link against libresolv.
21223 2017-11-11 Florian Weimer <fweimer@redhat.com>
21225 * resolv/tst-res_hnok.c: New file.
21226 * resolv/Makefile (tests): Add tst-res_hnok.
21227 (tst-res_hnok): Link against libresolv.
21229 2017-11-11 Florian Weimer <fweimer@redhat.com>
21231 * resolv/tst-resolv-network.c: Use test framework instead explicit
21234 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21236 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21237 <jmp_buf-macros.h>.
21238 [!_ISOMAC] (STR_HELPER): New.
21239 [!_ISOMAC] (STR): Likewise.
21240 [!_ISOMAC] (TEST_SIZE): Likewise.
21241 [!_ISOMAC] (TEST_ALIGN): Likewise.
21242 [!_ISOMAC] (TEST_OFFSET): Likewise.
21243 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21244 field offsets of jmp_buf as well as sigjmp_buf.
21245 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21246 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21247 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21248 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21249 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21250 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21251 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21252 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21253 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21254 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21256 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21258 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21263 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21264 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21265 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21266 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21267 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21272 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21273 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21274 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21276 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21280 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21282 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21284 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21286 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21288 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21290 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21292 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21294 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21296 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21298 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21300 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21302 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21304 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21306 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21308 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21310 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21312 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21314 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21316 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21318 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21320 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21322 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21324 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21326 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21328 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21330 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21332 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21334 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21336 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21338 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21340 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21342 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21344 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21346 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21348 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21350 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21352 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21354 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21356 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21358 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21360 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21362 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21364 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21366 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21368 * stdlib/tst-strtod.h (F16): New macro.
21374 (IF_FLOAT16): Likewise.
21375 (IF_FLOAT32): Likewise.
21376 (IF_FLOAT64): Likewise.
21377 (IF_FLOAT32X): Likewise.
21378 (IF_FLOAT64X): Likewise.
21379 (IF_FLOAT128X): Likewise.
21380 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21381 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21382 (STRTOD_TEST_FOREACH): Likewise.
21383 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21384 (CHOOSE_f64): Likewise.
21385 (CHOOSE_f32x): Likewise.
21386 (CHOOSE_f64x): Likewise.
21388 2017-11-07 Andreas Schwab <schwab@suse.de>
21390 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21392 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21395 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21397 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21400 2017-11-07 Claude Paroz <claude@2xlibre.net>
21403 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21405 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21407 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21410 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21413 * nptl/allocatestack.c (allocate_stack): Check if
21414 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21415 __PTHREAD_MUTEX_HAVE_PREV is defined.
21416 * nptl/descr.h (pthread): Likewise.
21417 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21419 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21420 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21421 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21422 * sysdeps/nptl/bits/thread-shared-types.h
21423 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21425 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21426 of __WORDSIZE for internal layout.
21427 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21428 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21429 instead of __WORDSIZE whether to use an union for __spins and __list
21431 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21433 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21434 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21436 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21437 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21439 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21440 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21442 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21443 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21445 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21446 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21448 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21449 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21451 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21452 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21454 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21455 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21457 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21458 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21460 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21461 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21463 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21464 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21466 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21467 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21469 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21470 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21472 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21473 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21475 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21476 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21479 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21481 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21482 checks for expected input type size.
21483 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21484 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21486 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21487 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21488 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21489 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21490 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21491 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21492 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21493 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21494 superflous runtime assert check.
21495 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21497 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21499 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21501 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21503 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21505 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21507 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21508 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21509 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21511 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21513 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21515 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21517 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21519 * nptl/pthread_attr_setinheritsched.c
21520 (__pthread_attr_setinheritsched): Likewise.
21521 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21523 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21525 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21526 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21527 __old_pthread_attr_setstack): Likewise.
21528 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21530 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21532 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21534 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21535 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21537 * nptl/tst-typesizes.c: Remove file.
21539 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21540 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21541 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21542 checks for internal pthread_mutex_t offsets.
21543 * sysdeps/aarch64/nptl/pthread-offsets.h
21544 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21545 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21546 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21547 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21548 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21549 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21550 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21551 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21552 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21553 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21554 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21555 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21556 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21557 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21558 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21559 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21560 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21561 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21563 2017-11-07 Florian Weimer <fweimer@redhat.com>
21565 * bits/mman-linux.h: Move ...
21566 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21568 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21571 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21573 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21574 Redefine STRNLEN as __strnlen_power8.
21576 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21578 * signal/sighold.c (sighold): Optimize implementation.
21580 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21581 __NR_rt_sigqueueinfo.
21583 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21585 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21586 assume __NR_rt_sigtimedwait.
21587 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21588 and add LIBC_CANCEL_HANDLED for cancellation marking.
21589 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21591 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21592 (sysdeps_routines): Add memchr_noneon.
21593 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21594 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21595 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21596 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21597 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21598 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21599 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21601 * sysdeps/arm/arm-ifunc.h: New file.
21602 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21603 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21604 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21605 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21606 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21607 (__memcpy_neon): Avoid create hidden alias.
21608 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21609 (__memcpy_vfp): Likewise.
21610 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21611 (sysdep_routines): Add memcpy_arm.
21612 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21614 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21617 * Makerules (make-link-multidir): New.
21618 * config.make.in (multidir): New.
21619 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21620 * configure: Regenerated.
21621 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21622 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21623 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21626 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21629 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21630 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21632 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21634 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21637 2017-11-04 Florian Weimer <fweimer@redhat.com>
21639 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21641 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21643 * math/math.h [__HAVE_DISTINCT_FLOAT16
21644 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21645 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21646 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21647 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21648 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21649 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21650 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21651 (__MATH_TG_F32): New macro.
21652 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21653 (__MATH_TG_F64X): Likewise.
21654 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21655 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21657 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21659 * po/de.po: Update translations.
21660 * po/ru.po: Likewise.
21662 2017-11-03 Florian Weimer <fweimer@redhat.com>
21664 * manual/filesys.texi (Hard Links): Document linkat.
21666 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21668 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21669 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21670 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21671 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21672 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21673 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21674 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21675 the same as _Float128.
21676 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21677 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21678 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21681 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21683 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21685 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21687 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21688 (strtof32x): Likewise.
21689 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21690 (strtof64x): Likewise.
21691 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21692 (strtof128x): Likewise.
21693 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21694 (strfromf16): Likewise.
21695 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21696 (strfromf32): Likewise.
21697 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21698 (strfromf64): Likewise.
21699 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21700 (strfromf32x): Likewise.
21701 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21702 (strfromf64x): Likewise.
21703 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21704 (strfromf128x): Likewise.
21705 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21706 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21707 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21708 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21709 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21710 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21712 2017-11-03 Richard Henderson <rth@twiddle.net>
21714 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21716 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21718 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21720 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21722 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21723 DT_TLSDESC_GOT initialization.
21724 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21725 (_dl_tlsdesc_resolve_hold): Likewise.
21726 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21727 (_dl_tlsdesc_resolve_hold): Likewise.
21728 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21729 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21731 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21733 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21735 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21738 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21739 non-lazily for R_ARM_TLS_DESC.
21741 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21744 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21745 R_ARM_TLS_DESC case.
21746 (elf_machine_lazy_rel): Remove the prelink check.
21748 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21750 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21751 DT_TLSDESC_GOT initialization.
21752 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21753 (_dl_tlsdesc_resolve_rela): Likewise.
21754 (_dl_tlsdesc_resolve_hold): Likewise.
21755 (_dl_tlsdesc_undefweak): Remove ldar.
21756 (_dl_tlsdesc_dynamic): Likewise.
21757 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21758 (_dl_tlsdesc_resolve_rela): Likewise.
21759 (_dl_tlsdesc_resolve_hold): Likewise.
21760 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21761 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21762 (_dl_tlsdesc_resolve_rela): Likewise.
21763 (_dl_tlsdesc_resolve_hold): Likewise.
21765 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21767 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21768 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21770 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21772 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21773 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21775 2017-11-02 Joseph Myers <joseph@codesourcery.com>
21777 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21779 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21780 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21781 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21782 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21783 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21784 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21785 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21786 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21787 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21788 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21789 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21791 2017-11-02 Mike FABIAN <mfabian@redhat.com>
21794 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21795 * localedata/locales/tpi_PG: Add standard header.
21797 2017-11-02 Florian Weimer <fweimer@redhat.com>
21799 test-errno-linux: quotactl can fail with EPERM in containers.
21800 * sysdeps/unix/sysv/linux/test-errno-linux.c
21801 (LIST, LIST_FORWARD): New macros.
21802 (check_error_in_list): New function.
21803 (test_wrp_rv): Accept list of permitted error codes.
21804 (test_wrp_rv2): Remove.
21805 (test_wrp): Call test_wrp_rv with list of error codes.
21806 (test_wrp2): Accept list of error codes.
21807 (do_test): Adjust. Allow EPERM for quotactl.
21809 2017-11-02 Florian Weimer <fweimer@redhat.com>
21811 * stdio-common/bug16.c (do_test): Use array_length.
21812 * stdio-common/errlist.c (_sys_nerr): Likewise.
21813 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21814 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21815 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21816 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21817 (do_test): Use array_length.
21818 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21819 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21820 * stdio-common/tst-printf-round.c (do_test): Likewise.
21821 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21822 (CHECK): Use array_length.
21823 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21824 * stdio-common/tstscanf.c (main): Likewise.
21825 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21827 2017-11-02 Florian Weimer <fweimer@redhat.com>
21829 Add array_length and array_end macros.
21830 * include/array_length.h: New file.
21832 2017-11-02 Florian Weimer <fweimer@redhat.com>
21835 * posix/tst-glob-tilde.c (do_noescape): New variable.
21836 (one_test): Process it.
21837 (do_test): Set do_noescape. Add unescaping test case.
21839 2017-11-01 Joseph Myers <joseph@codesourcery.com>
21842 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21843 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21844 with appropriate macros defined and undefined.
21845 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21846 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21847 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21848 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21849 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21850 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21851 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21852 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21853 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21854 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21857 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21858 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21859 that for long double. Do not condition define and undefine of
21860 _Mdouble_complex_ on [__CFLOAT128].
21862 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21864 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21865 of <sysdeps/generic/sysdep.h>.
21866 (ALIGNARG): Removed.
21867 (ASM_SIZE_DIRECTIVE): Likewise.
21870 (ENTRY_CHK): Likewise.
21871 (END_CHK): Likewise.
21872 (syscall_error): Likewise.
21873 (mcount): Likewise.
21874 (PSEUDO_END): Likewise.
21876 (atom_text_section): Likewise.
21877 * sysdeps/x86/sysdep.h: New file.
21878 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21879 of <sysdeps/generic/sysdep.h>.
21880 (ALIGNARG): Removed.
21881 (ASM_SIZE_DIRECTIVE): Likewise.
21884 (ENTRY_CHK): Likewise.
21885 (END_CHK): Likewise.
21886 (syscall_error): Likewise.
21887 (mcount): Likewise.
21888 (PSEUDO_END): Likewise.
21890 (atom_text_section): Likewise.
21892 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21894 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21895 category of LC_CTYPE set to "i18n:2012".
21896 * localedata/locales/i18n_ctype: Regenerate.
21898 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
21900 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21901 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21902 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21903 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21905 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21906 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21908 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21910 2017-10-31 Joseph Myers <joseph@codesourcery.com>
21913 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21915 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21917 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21919 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21920 (CMPLXF32X): Likewise.
21921 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21922 (CMPLXF64X): Likewise.
21923 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21924 (CMPLXF128X): Likewise.
21927 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21928 (__MATH_EVAL_FMT2): Define to add 0.0f.
21930 2017-10-31 Alan Modra <amodra@gmail.com>
21932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21948 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21949 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21950 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21951 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21952 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21955 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21957 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21958 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21959 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21960 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21961 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21962 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21963 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21964 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21965 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21966 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21967 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21968 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21971 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21972 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21974 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21975 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21976 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21977 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21978 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21979 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21980 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21981 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
21982 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21983 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21984 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
21985 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
21986 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
21987 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
21988 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21989 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
21990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
21992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21993 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21994 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21995 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
21996 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
21997 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21998 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
21999 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22000 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22001 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22002 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22005 include sysdep.h and math_ldbl_opt.h.
22007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22008 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22034 2017-10-31 Alan Modra <amodra@gmail.com>
22036 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22037 string/strncase_l.c, not string/strncase.c.
22038 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22039 (libc_hidden_def): Redefine.
22041 2017-10-31 Alan Modra <amodra@gmail.com>
22043 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22044 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22045 (__strcasecmp): Don't define.
22047 2017-10-31 Alan Modra <amodra@gmail.com>
22049 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22051 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22052 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22053 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22055 2017-10-31 Alan Modra <amodra@gmail.com>
22057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22060 2017-10-31 Alan Modra <amodra@gmail.com>
22062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22063 Redefine only when SHARED.
22065 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22067 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22068 Include <bits/math-finite.h> with appropriate macros defined and
22070 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22071 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22072 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22073 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22074 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22076 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22077 [!_Mlong_double_] (_Mlong_double_): Likewise.
22078 [!_Mfloat16_] (_Mfloat16_): Likewise.
22079 [!_Mfloat32_] (_Mfloat32_): Likewise.
22080 [!_Mfloat64_] (_Mfloat64_): Likewise.
22081 [!_Mfloat128_] (_Mfloat128_): Likewise.
22082 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22083 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22084 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22085 (_Mdouble_): Define without indirection through those macros.
22086 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22087 [!_Mfloat128_] (_Mfloat128_): Likewise.
22088 [_Mlong_double_] (_Mlong_double_): Likewise.
22089 (_Mdouble_): Define without indirection through those macros.
22090 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22091 not add -D_Mlong_double_=double.
22092 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22093 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22095 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22097 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22099 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22101 * sysdeps/x86/libc-start.c: Reformat.
22103 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22106 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22107 (1): Renamed to ...
22110 (L(Src2)): Likewise.
22111 (L(1)): Renamed to ...
22114 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22116 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22117 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22118 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22119 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22120 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22121 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22122 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22123 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22124 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22125 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22126 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22127 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22128 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22129 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22130 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22131 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22132 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22133 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22134 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22135 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22136 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22137 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22138 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22139 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22140 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22141 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22142 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22143 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22144 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22145 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22146 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22147 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22148 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22149 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22150 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22151 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22152 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22153 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22154 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22155 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22156 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22157 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22158 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22159 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22160 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22161 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22162 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22163 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22164 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22165 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22166 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22167 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22168 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22169 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22170 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22171 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22172 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22173 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22174 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22175 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22176 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22177 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22178 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22179 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22180 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22181 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22183 2017-10-30 Florian Weimer <fweimer@redhat.com>
22185 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22187 * io/tst-mkdirat.c (do_test): Likewise.
22188 * io/tst-mkfifoat.c (do_test): Likewise.
22189 * io/tst-mknodat.c (do_test): Likewise.
22190 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22191 * locale/programs/locale.c (select_dirs): Likewise.
22192 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22193 * posix/bug-glob2.c (my_readdir): Likewise.
22194 * posix/tst-dir.c (main): Likewise.
22195 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22196 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22198 2017-10-30 Florian Weimer <fweimer@redhat.com>
22200 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22203 2017-10-30 Florian Weimer <fweimer@redhat.com>
22205 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22206 Convert to support/test-driver.c.
22207 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22208 New macro parameters.
22209 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22210 * posix/tst-gnuglob.c: New file.
22211 * posix/tst-gnuglob64.c: Likewise.
22212 * posix/Makefile (tests): Add tst-gnuglob64.
22214 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22217 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22218 and use a better translation for March in “mon”.
22219 * localedata/locales/csb_PL: Use more ASCII to improve the
22220 readability of the source.
22222 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22225 * localedata/locales/km_KH: Use ASCII as much
22226 as possible for better readability of the source and
22227 remove useless comments.
22228 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22229 was commented out and apparently wrong anyway because it was
22230 using Lao characters. If Buddhist era should be used
22231 for km_KH, a native speaker should write the correct formaat
22233 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22234 (According to CLDR, the first weekday for Cambodia is Sunday).
22235 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22236 (These were using Lao characters which must be wrong. If we get
22237 the correct data from a native speaker, we could add it back, until
22238 then it is better not to have name_mr and name_mrs at all than
22241 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22243 * locale/loadlocale.c: Correct size of
22244 _nl_value_type_LC_<category> arrays.
22246 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22248 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22249 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22250 with appropriate macros defined and undefined.
22251 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22252 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22253 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22254 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22255 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22257 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22259 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22262 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22264 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22265 with lowercase letters to make it agree with CLDR.
22267 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22270 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22271 first letters of yesstr and nostr in yesexpr and noexpr,
22272 not for the full words.
22273 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22274 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22275 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22276 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22277 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22278 first letters of yesstr and nostr in yesexpr and noexpr,
22279 until now only English was matched in yesexpr and noexpr.
22280 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22281 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22282 fil but not for tl. As tl and fil are very similar, using fil
22283 is probably better than using English.
22285 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22288 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22289 in yesstr and nostr.
22291 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22293 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22294 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22295 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22297 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22299 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22301 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22303 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22304 (SNANF128X): Likewise.
22306 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22307 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22308 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22309 (HUGE_VAL_F32): Likewise.
22310 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22311 (HUGE_VAL_F64): Likewise.
22312 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22313 (HUGE_VAL_F32X): Likewise.
22314 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22315 (HUGE_VAL_F64X): Likewise.
22316 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22317 (HUGE_VAL_F128X): Likewise.
22319 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22321 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22322 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22323 for the br_FR locale.
22325 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22328 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22330 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22332 * locale/programs/record-status.h: Define globals, and function
22333 prototypes. Move function bodies...
22334 * locale/programs/record-status.c: ... to here. New file.
22335 * iconv/Makefile (iconv_prog-modules): Add record-status.
22336 * locale/Makefile (lib-modules): Likewise.
22337 * iconv/iconv_prog.c: Remove verbose.
22338 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22339 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22340 record a warning about ASCII compatibility.
22341 * locale/programs/ld-monetary.c (monetary_finish): If
22342 warn_int_curr_symbol is true then record a warning about the symbol
22343 not being in our ISO 4217 list.
22344 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22345 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22346 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22347 (OPT_NO_WARN): Define.
22348 (OPT_WARN): Define.
22349 (options): Add entry for --no-warnings, and --warnings.
22350 (set_warnings): New function to enable/disable warnings.
22351 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22352 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22353 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22354 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22355 Pass flags to generate_locale.
22356 (generate_locale): Accept new flag argument and pass it to localedef
22358 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22359 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22361 * localedata/Makefile (test-input-data): Use full file name.
22362 * localedata/da_DK.in: Rename to...
22363 * localedata/da_DK.ISO-8859-1.in: ...this.
22364 * localedata/de_DE.in: Rename to...
22365 * localedata/de_DE.ISO-8859-1.in: ...this.
22366 * localedata/en_US.in: Rename to...
22367 * localedata/en_US.ISO-8859-1.in: ...this.
22368 * localedata/fr_FR.in: Rename to...
22369 * localedata/fr_FR.UTF-8.in: ... this.
22370 * localedata/hr_HR.in: Rename to...
22371 * localedata/hr_HR.ISO-8859-2.in: ...this.
22372 * localedata/hu_HU.in: Rename to...
22373 * localedata/hu_HU.UTF-8.in: ...this.
22374 * localedata/si_LK.in: Rename to...
22375 * localedata/si_LK.UTF-8.in: ...this.
22376 * localedata/sv_SE.in: Rename to...
22377 * localedata/sv_SE.ISO-8859-1.in: ...this.
22378 * localedata/tr_TR.in: Rename to...
22379 * localedata/tr_TR.UTF-8.in: ...this.
22380 * localedata/uk_UA.in: Rename to...
22381 * localedata/uk_UA.UTF-8.in: ...this.
22382 * localedata/sort-test.sh: Test file is locale name with the
22385 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22386 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22388 * localedata/locales/i18n_ctype: Regenerate.
22389 * localedata/locales/tr_TR: Likewise.
22390 * localedata/locales/translit_circle: Likewise.
22391 * localedata/locales/translit_cjk_compat: Likewise.
22392 * localedata/locales/translit_combining: Likewise.
22393 * localedata/locales/translit_compat: Likewise.
22394 * localedata/locales/translit_font: Likewise.
22395 * localedata/locales/translit_fraction: Likewise.
22397 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22399 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22400 lxvd2x/stxvd2x with lvx/stvx.
22401 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22403 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22405 * include/alloc_buffer.h: Replace "if if " with "if " in
22407 * sysdeps/mips/memcpy.S: Likkewise.
22408 * sysdeps/mips/memset.S: Likewise.
22409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22411 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22413 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22416 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22419 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22420 yesexpr and noexpr.
22421 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22422 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22423 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22424 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22425 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22426 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22427 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22429 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22431 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22432 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22433 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22434 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22435 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22436 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22437 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22438 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22439 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22440 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22441 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22442 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22444 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22446 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22447 as possible for better readability of the source.
22448 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22449 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22450 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22451 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22452 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22453 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22454 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22455 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22456 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22457 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22458 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22459 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22460 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22461 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22462 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22463 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22464 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22465 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22466 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22467 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22468 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22469 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22470 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22471 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22472 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22473 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22474 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22475 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22476 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22477 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22478 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22479 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22480 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22481 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22482 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22483 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22484 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22485 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22486 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22487 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22488 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22489 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22490 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22491 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22492 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22493 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22494 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22495 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22496 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22497 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22498 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22499 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22500 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22501 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22502 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22503 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22504 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22505 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22506 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22507 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22508 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22509 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22510 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22511 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22512 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22513 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22514 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22515 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22516 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22517 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22518 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22519 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22520 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22521 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22522 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22523 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22524 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22525 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22526 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22527 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22528 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22529 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22530 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22531 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22532 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22533 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22534 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22535 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22536 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22537 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22538 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22539 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22540 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22541 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22542 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22543 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22544 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22545 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22546 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22547 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22548 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22549 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22550 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22551 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22552 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22553 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22554 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22555 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22556 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22557 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22558 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22559 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22560 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22561 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22562 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22563 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22564 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22565 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22566 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22567 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22568 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22569 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22570 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22571 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22572 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22573 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22574 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22575 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22576 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22577 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22578 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22579 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22580 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22581 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22582 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22583 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22584 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22585 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22586 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22587 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22588 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22589 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22590 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22591 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22592 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22593 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22594 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22595 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22596 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22597 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22598 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22599 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22600 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22601 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22602 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22603 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22604 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22605 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22606 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22607 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22608 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22609 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22610 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22611 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22612 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22613 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22614 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22615 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22616 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22617 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22618 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22619 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22620 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22621 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22623 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22625 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22626 (Use first letters of yesstr and nostr correctly instead of using
22629 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22631 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22632 (Use first letters of yesstr and nostr correctly).
22634 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22636 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22637 also check for the first characters of yesstr and nostr.
22638 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22639 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22641 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22643 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22644 also check for Chinese characters.
22646 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22648 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22649 match also for the contents of yesstr and nostr. As the first letter
22650 of yesstr and nostr is equal, checking only for the first letter
22653 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22655 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22656 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22658 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22660 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22661 of main contributor.
22663 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22665 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22666 instead of using English.
22668 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22670 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22671 by including the first letters of nostr and yesexpr in the regexp.
22672 Also make it more readable by using ASCII where possible.
22674 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22676 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22677 the first letter of nostr in the regexp. It agrees with CLDR now.
22678 Also make it more readable by using ASCII where possible.
22680 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22682 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22683 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22684 these strings contain a U+17D6 (which somewhat looks like a colon)
22685 instead of a real colon to separate the full words for “yes”
22686 and “no” from the single letter responses.
22688 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22690 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22691 it agree with CLDR (include the first letter of yesstr).
22692 Also make it more readable by using ASCII where possible.
22694 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22696 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22697 and improve yesexpr and noexpr. The yesstr and nostr apparently
22698 came from CLDR. And CLDR has a bug there: these strings contain
22699 a U+0903 (which looks like a colon) instead of a real colon
22700 to separate the full words for “yes” and “no” from the single
22703 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22705 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22706 letters of the full yesstr and nostr in yesexpr and noexpr.
22708 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22710 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22711 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22712 * localedata/locales/an_ES: Make source more readable by using ASCII
22715 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22718 * localedata/locales/yuw_PG: New file.
22719 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22720 * locale/iso-639.def: Add Yau (Uruwa).
22722 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22724 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22726 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22728 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22729 (__libc_realloc): Likewise.
22730 (_mid_memalign): Likewise.
22731 (__libc_calloc): Likewise.
22733 2017-10-23 Mike FABIAN <mfabian@redhat.com>
22735 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22736 by adding the generic +1 and -0 as in all other locales.
22737 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22738 day names and make it more readable by using ASCII where possible.
22740 2017-10-24 Joseph Myers <joseph@codesourcery.com>
22742 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22743 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22745 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22747 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22748 WNOHANG in waitpid call.
22750 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22752 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22753 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22755 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22756 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22757 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22758 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22759 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22760 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22761 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22762 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22765 2017-10-23 Michael Collison <michael.collison@arm.com>
22767 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22768 with __builtin_sqrt.
22769 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22770 with __builtin_sqrtf.
22771 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22772 with __builtin_ceil.
22773 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22774 with __builtin_ceilf.
22775 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22776 with __builtin_floor.
22777 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22778 with __builtin_floorf.
22779 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22780 with __builtin_fma.
22781 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22782 with __builtin_fmaf.
22783 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22784 with __builtin_fmax.
22785 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22786 with __builtin_fmaxf.
22787 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22788 with __builtin_fmin.
22789 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22790 with __builtin_fminf.
22791 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22792 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22793 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22794 with builtin_rint and conversion to int.
22795 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22796 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22797 with builtin_llround.
22798 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22799 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22800 with builtin_rint and conversion to long int.
22801 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22802 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22803 with builtin_lround.
22804 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22805 with builtin_lroundf.
22806 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22807 statements with __builtin_nearbyint.
22808 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22809 statements with __builtin_nearbyintf.
22810 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22811 with __builtin_rint.
22812 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22813 with __builtin_rintf.
22814 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22815 with __builtin_round.
22816 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22817 with __builtin_roundf.
22818 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22819 with __builtin_trunc.
22820 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22821 with __builtin_truncf.
22822 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22823 and s_l[l]round[f].c too.
22825 2017-10-23 Alan Modra <amodra@gmail.com>
22827 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22828 Adjust stack after restoring regs. Add missing LR cfi_restore.
22830 2017-10-23 Alan Modra <amodra@gmail.com>
22832 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22833 Move LR save and frame setup/teardown and LR restore to
22834 immediately around memset call. Provide cfi.
22836 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22838 * sysdeps/i386/fpu/e_powf.S: Removed.
22839 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22840 * sysdeps/i386/fpu/w_powf.c: Likewise.
22841 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22842 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22843 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22845 (CFLAGS-e_powf-sse2.c): New.
22846 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22847 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22849 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22851 * sysdeps/i386/fpu/e_log2f.S: Removed.
22852 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22853 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22854 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22855 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22856 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22858 (CFLAGS-e_log2f-sse2.c): New.
22859 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22860 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22862 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22864 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22866 (CFLAGS-e_powf-fma.c): New.
22867 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22868 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22870 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22872 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22874 (CFLAGS-e_log2f-fma.c): New.
22875 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22876 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22878 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22880 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22882 (CFLAGS-e_logf-fma.c): New.
22883 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22884 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22886 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22888 * sysdeps/i386/fpu/e_logf.S: Removed.
22889 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22890 * sysdeps/i386/fpu/w_logf.c: Likewise.
22891 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22892 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22894 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22896 (CFLAGS-e_logf-sse2.c): New.
22897 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22898 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22900 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22902 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22903 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22904 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22905 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22906 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22908 (CFLAGS-e_exp2f-sse2.c): New.
22909 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22910 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22912 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22914 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22916 (CFLAGS-e_exp2f-fma.c): New.
22917 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22918 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22920 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22922 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22923 * sysdeps/i386/fpu/e_expf.S: Likewise.
22924 * sysdeps/i386/fpu/math_errf.c: Likewise.
22925 * sysdeps/i386/fpu/w_expf.c: Likewise.
22926 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22927 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22928 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22929 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22930 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22931 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22932 Remove e_expf-ia32.
22933 (CFLAGS-e_expf-sse2.c): New.
22934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22935 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22937 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22939 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22940 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22941 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22942 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22944 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22946 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22947 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22949 (__redirect_expf): This.
22950 (SYMBOL_NAME): Changed to expf.
22951 (__ieee754_expf): Renamed to ...
22953 (__GI___expf): This.
22954 (__ieee754_expf): Add strong_alias.
22955 (__expf_finite): Likewise.
22957 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22959 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
22962 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22965 2017-10-21 Florian Weimer <fweimer@redhat.com>
22967 * posix/Makefile (tests): Add tst-glob-tilde.
22968 (tests-special): Add tst-glob-tilde-mem.out
22969 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22970 (tst-glob-tilde-mem.out): Add mtrace check.
22971 * posix/tst-glob-tilde.c: New file.
22973 2017-10-20 Joseph Myers <joseph@codesourcery.com>
22975 * bits/floatn-common.h: New file.
22976 * math/Makefile (headers): Add bits/floatn-common.h.
22977 * bits/floatn.h: Include <bits/floatn-common.h>.
22978 * sysdeps/ia64/bits/floatn.h: Likewise.
22979 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22980 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22981 * sysdeps/powerpc/bits/floatn.h: Likewise.
22982 * sysdeps/x86/bits/floatn.h: Likewise.
22984 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22986 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
22987 indicates whether compiler emits an warning for alias for
22988 functions with incompatible types.
22991 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
22992 the auxiliary process is terminated by a signal before calling _exit
22995 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22998 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23000 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23001 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23002 and bit_arch_XSAVEC_Usable if needed.
23003 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23004 and bit_arch_Use_dl_runtime_resolve_opt.
23005 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23007 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23008 (bit_arch_Prefer_No_AVX512): Updated.
23009 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23010 (bit_arch_XSAVEC_Usable): New.
23011 (STATE_SAVE_OFFSET): Likewise.
23012 (STATE_SAVE_MASK): Likewise.
23013 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23014 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23015 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23016 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23017 (index_arch_XSAVEC_Usable): New.
23018 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23019 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23020 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23022 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23023 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23024 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23025 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23026 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23027 _dl_runtime_resolve_xsavec.
23028 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23030 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23031 instead of VEC_SIZE.
23032 (REGISTER_SAVE_BND0): Removed.
23033 (REGISTER_SAVE_BND1): Likewise.
23034 (REGISTER_SAVE_BND3): Likewise.
23035 (REGISTER_SAVE_RAX): Always defined to 0.
23037 (_dl_runtime_resolve_avx): Likewise.
23038 (_dl_runtime_resolve_avx_slow): Likewise.
23039 (_dl_runtime_resolve_avx_opt): Likewise.
23040 (_dl_runtime_resolve_avx512): Likewise.
23041 (_dl_runtime_resolve_avx512_opt): Likewise.
23042 (_dl_runtime_resolve_sse): Likewise.
23043 (_dl_runtime_resolve_sse_vex): Likewise.
23045 (_dl_runtime_resolve_fxsave): Likewise.
23046 (USE_XSAVE): Likewise.
23047 (_dl_runtime_resolve_xsave): Likewise.
23048 (USE_XSAVEC): Likewise.
23049 (_dl_runtime_resolve_xsavec): Likewise.
23050 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23052 (_dl_runtime_resolve_avx512_opt): Likewise.
23053 (_dl_runtime_resolve_avx): Likewise.
23054 (_dl_runtime_resolve_avx_opt): Likewise.
23055 (_dl_runtime_resolve_sse): Likewise.
23056 (_dl_runtime_resolve_sse_vex): Likewise.
23057 (_dl_runtime_resolve_fxsave): New.
23058 (_dl_runtime_resolve_xsave): Likewise.
23059 (_dl_runtime_resolve_xsavec): Likewise.
23061 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23065 * posix/glob.c (__glob): Fix one-byte overflow.
23067 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23069 * malloc/malloc.c (sysdep-cancel.h): Add include.
23071 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23073 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23075 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23077 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23078 (tests): Remove $(objpfx)ga_test depdendency.
23079 * resolv/ga_test.c: Remove file.
23081 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23084 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23085 * localedata/locales/kab_DZ: New file.
23087 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23089 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23090 _dl_relocate_static_pie instead of _dl_start to compute load
23091 address in static PIE.
23093 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23095 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23097 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23100 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23101 * localedata/locales/shn_MM: New file.
23103 2017-10-20 Florian Weimer <fweimer@redhat.com>
23106 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23107 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23108 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23109 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23110 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23111 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23113 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23115 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23117 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23119 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23122 * sysdeps/mips/bits/long-double.h: Move to ....
23123 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23125 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23127 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23129 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23130 H.J. Lu <hongjiu.lu@intel.com>
23133 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23134 GLRO(dl_platform) to NULL.
23135 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23136 (modules-names): Add tst-platformmod-1 and
23137 x86_64/tst-platformmod-2.
23138 (CFLAGS-tst-platform-1.c): New.
23139 (CFLAGS-tst-platformmod-1.c): Likewise.
23140 (CFLAGS-tst-platformmod-2.c): Likewise.
23141 (LDFLAGS-tst-platformmod-2.so): Likewise.
23142 ($(objpfx)tst-platform-1): Likewise.
23143 ($(objpfx)tst-platform-1.out): Likewise.
23144 (tst-platform-1-ENV): Likewise.
23145 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23146 * sysdeps/x86_64/tst-platform-1.c: New file.
23147 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23148 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23150 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23153 * locale/iso-639.def: Add Karbi.
23154 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23155 * localedata/locales/mjw_IN: New file.
23157 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23159 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23160 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23161 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23162 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23163 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23164 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23165 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23167 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23168 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23169 * manual/math.texi (Mathematics): Document additional architecture
23170 support for _Float128.
23171 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23172 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23173 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23174 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23175 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23176 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23177 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23178 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23179 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23180 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23181 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23182 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23183 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23184 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23185 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23187 2017-10-18 Renlin Li <renlin.li@arm.com>
23189 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23190 _DYNAMIC symbol to calculate load address.
23192 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23194 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23195 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23197 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23198 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23200 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23203 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23204 and improve readability by using more ASCII.
23205 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23206 and improve readability by using more ASCII.
23208 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23210 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23211 not all targets support atomics on bool.
23213 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23215 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23216 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23218 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23219 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23220 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23221 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23222 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23223 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23225 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23227 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23230 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23233 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23234 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23235 (do_check_remalloced_chunk): Fix build bug.
23236 (do_check_malloc_state): Add assert that checks arena->top.
23237 (malloc_consolidate): Remove initialization.
23238 (int_mallinfo): Remove call to malloc_consolidate.
23239 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23241 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23243 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23244 (have_fastchunks): Remove.
23245 (clear_fastchunks): Remove.
23246 (set_fastchunks): Remove.
23247 (malloc_state): Add have_fastchunks.
23248 (malloc_init_state): Use have_fastchunks.
23249 (do_check_malloc_state): Remove incorrect invariant checks.
23250 (_int_malloc): Use have_fastchunks.
23251 (_int_free): Likewise.
23252 (malloc_consolidate): Likewise.
23254 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23256 * malloc/malloc.c (tcache_put): Inline.
23257 (tcache_get): Inline.
23259 2017-10-17 Jordi Mallach <jordi@gnu.org>
23261 Aurelien Jarno <aurelien@aurel32.net>
23263 * localedata/locales/ca_ES@valencia: New file.
23264 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23266 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23269 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23272 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23274 * scripts/build-many-glibcs.py (Context.add_all_configs):
23275 Add arm-linux-gnueabihf multiarch extra_glibcs.
23277 * sysdeps/generic/ifunc-init.h: New file.
23278 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23280 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23283 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23284 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23285 * stdlib/tst-strfmon_l.c: adapt test case.
23287 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23289 * sysdeps/generic/float128-abi.h: New file.
23290 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23291 non-__prefixed symbols to ....
23292 * math/Versions: ... here. Include <float128-abi.h>.
23293 * stdlib/Versions ... and here. Include <float128-abi.h>
23295 2017-10-16 Florian Weimer <fweimer@redhat.com>
23297 * version.h (VERSION): Switch to ".9000" as the development
23300 2017-10-16 Florian Weimer <fweimer@redhat.com>
23303 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23304 compat_symbol_reference to access non-default version.
23306 2017-10-16 Florian Weimer <fweimer@redhat.com>
23308 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23310 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23312 * include/shlib-compat.h (compat_symbol_reference): Update
23315 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23317 * math/Makefile (test-types): Add
23318 $(type-float128-$(float128-alias-fcts)).
23319 * math/test-float128.h (TYPE_STR): Define conditional on
23320 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23321 (ULP_IDX): Likewise.
23322 (ULP_I_IDX): Likewise.
23324 * stdlib/strtold.c: Include <bits/floatn.h>
23325 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23326 and later undefine as macro. Define as weak alias if
23328 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23329 and later undefine as macro. Define as weak alias if
23331 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23332 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23333 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23334 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23335 Define and later undefine as macro. Define as weak alias if
23337 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23339 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23340 Define and later undefine as macro. Define as weak alias if
23342 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23343 Define and later undefine as macro. Define as weak alias if
23346 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23348 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23349 record_verbose messages.
23351 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23354 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23355 to silence -O3 -Wall warning with GCC 7.
23357 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23359 * Makeconfig (+link-static-before-libc): Use the first of
23360 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23361 * gmon/Makefile (tests): Add tst-gmon-static.
23362 (tests-static): Likewise.
23363 (CFLAGS-tst-gmon-static.c): New.
23364 (CRT-tst-gmon-static): Likewise.
23365 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23366 (tst-gmon-static-ENV): Likewise.
23367 (tests-special): Likewise.
23368 ($(objpfx)tst-gmon-static.out): Likewise.
23369 (clean-tst-gmon-static-data): Likewise.
23370 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23371 * gmon/tst-gmon-static-gprof.sh: New file.
23372 * gmon/tst-gmon-static.c: Likewise.
23374 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23377 * locale/programs/linereader.c (get_string): Don't warn on
23378 non-symbolic character.
23381 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23385 * locale/programs/record-status.h: New file
23386 * locale/programs/locale.c: Add comment.
23387 * locale/programs/charmap-dir.c: Don't include error.h.
23388 (charmap_opendir): Use record_error.
23389 * locale/programs/charmap.c: Don't include error.h.
23390 (charmap_read): Use record_error, and record_warning.
23391 (parse_charmap): Likewise.
23392 * locale/programs/ld-address.c: Don't include error.h.
23393 (address_finish): Use record_error, and record_warning.
23394 * locale/programs/ld-collate.c: Don't include error.h.
23395 (collate_finish): Use record_error, and record_error_at_line.
23396 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23397 (ctype_class_new): Likewise.
23398 (ctype_map_new): Likewise.
23399 (set_one_default): Likewise.
23400 (set_class_defaults): Likewise.
23401 (translit_flatten): Likewise.
23402 (allocate_arrays): Use record_error, and record_verbose.
23403 * locale/programs/ld-identification.c: Don't include error.h.
23404 (indentation_finish): Use record_error and record_warning.
23405 * locale/programs/ld-measurement.c: Don't include error.h.
23406 (measurement_finish): Use record_error.
23407 * locale/programs/ld-messages.c
23408 (message_finish): Likewise.
23409 * locale/programs/ld-monetary.c
23410 (monetary_finish): Likewise.
23411 * locale/programs/ld-name.c (name_finish): Use record_error
23412 and record_warning.
23413 * locale/programs/ld-numeric.c
23414 (numeric_finish): Use record_error.
23415 * locale/programs/ld-paper.c: Don't include error.h.
23416 (paper_finish): Use record_error.
23417 * locale/programs/ld-telephone.c: Don't include error.h.
23418 (telephone_finish): Use record_error.
23419 * locale/programs/ld-time.c (time_finish): Likewise.
23420 * locale/programs/linereader.h (lr_error): Make inline func.
23421 * locale/programs/localedef.c: Define recorded_warning_count,
23422 and recorded_error_count.
23423 (main): Use record_error. Use recorded_error_count and
23424 recorded_warning_count to issue correct error returns.
23425 (add_to_readlist): Use record_error.
23426 (find_locale): Likewise.
23427 (load_locale): Likewise.
23428 * locale/programs/localedef.h: Remove be_quiet
23429 and WITH_CUR_LOCALE.
23430 * locale/programs/locarchive.c (compare_from_file): Use
23432 * locale/programs/locfile.c (write_locale_data): Use
23434 * locale/programs/repertoire.c: Dont include error.h.
23435 (repertoire_complain): Use record_error.
23436 * localedata/tst-fmon.sh: Expect failures from localedef.
23437 * localedata/tst-locale.sh: Likewise.
23438 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23440 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23441 (REPORTS): Likewise.
23443 (i18n): Rename to...
23444 (i18n_ctype): ...this.
23445 (i18n-report): Rename to...
23446 (i18n_ctype-report): ...this.
23447 * localedata/locales/i18n_ctype: Regenerate.
23448 * localedata/locales/i18n: copy i18n_ctype.
23450 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23452 * stdlib/strfroml.c: Include <bits/floatn.h>.
23453 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23454 Define before include of <stdlib.h> and undefine afterwards, then
23455 define as weak alias.
23457 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23458 Undefine and restore default definition. Use
23459 libm_alias_ldouble_other.
23461 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23464 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23467 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23469 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23470 Assign sym_map to be map for local symbols, as TLS relocations
23471 use sym_map to determine whether the symbol is defined and to
23472 extract the TLS information.
23473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23476 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23479 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23480 (math_force_eval): Add powerpc version.
23483 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23485 (do_test): Likewise.
23486 * stdio-common/tst-printf.sh: Likewise.
23487 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23488 ifdef clause in order to set the carry bit right. Replace r0 by
23489 0 without changing the behavior.
23491 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23493 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23494 <libm-alias-ldouble.h>.
23495 (fabsl): Define using libm_alias_ldouble.
23496 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23497 <libm-alias-ldouble.h>.
23498 (fabsl): Define using libm_alias_ldouble.
23500 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23501 Remove conditional code.
23503 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23504 Rename to __clog10_internal_l.
23505 (__clog10_internal_l): Define aliases using
23506 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23509 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23511 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23512 * benchtests/sincosf-inputs: New file.
23513 * benchtests/cosf-inputs: New file.
23514 * benchtests/sinf-inputs: New file.
23516 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23518 * posix/tst-spawn.c (do_test): Wait for both children.
23520 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23523 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23524 tests-pie): Add tst-gmon-pie.
23525 (CFLAGS-tst-gmon-pie.c): New.
23526 (CRT-tst-gmon-pie): Likewise.
23527 (tst-gmon-pie-ENV): Likewise.
23528 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23529 ($(objpfx)tst-gmon-pie.out): Likewise.
23530 (clean-tst-gmon-pie-data): Likewise.
23531 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23532 * gmon/gmon.c [PIC]: Include <link.h>.
23533 [PIC] (callback): New function.
23534 (write_hist): Add an argument for load address. Subtract load
23536 (write_call_graph): Likewise.
23537 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23538 it to write_hist and write_call_graph.
23539 * gmon/tst-gmon-pie.c: New file.
23541 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23543 * math/Makefile (test-types-basic): New variable.
23544 (test-types): Likewise.
23545 (libm-test-support): Use $(test-types) instead of $(types).
23546 (libm-tests-base-normal): Likewise.
23547 (libm-tests-base-finite): Likewise.
23548 (libm-tests-base-inline): Likewise.
23549 (generated): Likewise.
23550 ($(objpfx)libm-test-support-$(t).c): Likewise.
23551 (libm-tests-for-type iterator): Likewise.
23552 (libm-test-support iterator): Likewise.
23553 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23554 (ulp_idx): Use ULP_IDX.
23555 * math/test-ldouble.h: Include <float.h>.
23556 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23557 (ULP_IDX): New macro.
23558 (ULP_I_IDX): Likewise.
23559 * math/test-double.h (ULP_IDX): Likewise.
23560 (ULP_I_IDX): Likewise.
23561 * math/test-float.h (ULP_IDX): Likewise.
23562 (ULP_I_IDX): Likewise.
23563 * math/test-float128.h (ULP_IDX): Likewise.
23564 (ULP_I_IDX): Likewise.
23566 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23568 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23569 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23570 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23571 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23572 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23573 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23574 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23577 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23578 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23579 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23580 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23582 (SINGLE_THREAD_BY_GLOBAL): Define.
23583 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23585 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23587 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23589 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23591 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23592 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23596 2017-10-11 Andreas Schwab <schwab@suse.de>
23598 * nis/Makefile (aux): Remove.
23599 * nscd/Makefile (aux): Add nscd_hash.
23600 (nscd-modules): Likewise.
23601 ($(objpfx)nscd): Don't depend on libnsl.
23602 * nscd/nscd_hash.c: New file.
23603 * nscd/nscd_hash.h: Likewise.
23604 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23605 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23606 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23607 instead of <nis/rpcsvc/nis.h>.
23608 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23610 2017-10-11 Florian Weimer <fweimer@redhat.com>
23613 Avoid large NSS buffers with many addresses, aliases.
23614 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23615 using dynarrays and struct alloc_buffer.
23616 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23617 (tst-nss-files-hosts-multi): Link with -ldl.
23618 * nss/tst-nss-files-hosts-multi.c: New file.
23620 2017-10-11 Florian Weimer <fweimer@redhat.com>
23623 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23624 scratch_buffer. Eliminate gotos.
23626 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23628 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23629 libm_alias_ldouble_other.
23630 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23631 undefine and redefine.
23632 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23633 (exp10l): Do not define here.
23634 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23635 (weak_alias): Undefine and redefine.
23636 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23637 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23638 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23639 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23641 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23642 [!__fma] (fma): Define using libm_alias_double.
23643 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23644 [!__fmaf] (fmaf): Define using libm_alias_float.
23645 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23646 (fmal): Define using libm_alias_ldouble.
23648 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23650 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23652 (libm_alias_double_other): Likewise.
23653 (libm_alias_double_r): Use libm_alias_double_other_r.
23654 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23656 (libm_alias_float_other): Likewise.
23657 (libm_alias_float_r): Use libm_alias_float_other_r.
23658 * sysdeps/generic/libm-alias-float128.h
23659 (libm_alias_float128_other_r): New macro.
23660 (libm_alias_float128_other): Likewise.
23661 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23662 * sysdeps/generic/libm-alias-ldouble.h
23663 (libm_alias_ldouble_other_r): New macro.
23664 (libm_alias_ldouble_other): Likewise.
23665 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23666 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23667 (libm_alias_double_other_r): New macro.
23668 (libm_alias_double_other): Likewise.
23669 (libm_alias_double_r): Use libm_alias_double_other_r.
23670 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23671 (libm_alias_ldouble_other_r): New macro.
23672 (libm_alias_ldouble_other): Likewise.
23673 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23674 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23675 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23676 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23677 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23678 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23679 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23680 * math/w_exp2f.c: Use libm_alias_float_other.
23681 * math/w_expf.c: Likewise.
23682 * math/w_log2f.c: Likewise.
23683 * math/w_logf.c: Likewise.
23684 * math/w_powf.c: Likewise.
23685 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23686 [!__exp2f]: Use libm_alias_float_other.
23687 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23688 [!__expf]: Use libm_alias_float_other.
23689 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23690 [!__log2f]: Use libm_alias_float_other.
23691 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23692 [!__logf]: Use libm_alias_float_other.
23693 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23694 [!__powf]: Use libm_alias_float_other.
23696 2017-10-10 Florian Weimer <fweimer@redhat.com>
23698 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23700 (_nss_files_gethostbyname3_r): Call it.
23702 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23704 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23705 error. Remove default definition of declare_mgen_alias.
23706 [!declare_mgen_alias_r]: Likewise.
23707 * sysdeps/generic/math-type-macros-double.h
23708 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23709 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23710 (declare_mgen_alias_r): Likewise.
23711 * sysdeps/generic/math-type-macros-float128.h
23712 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23713 * sysdeps/generic/math-type-macros-ldouble.h
23714 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23715 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23717 (declare_mgen_alias_r_s): Likewise.
23718 (declare_mgen_alias_r): Likewise.
23719 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23720 (lgamma_r): Define using libm_alias_double_r.
23721 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23722 (lgammaf_r): Define using libm_alias_float_r.
23723 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23724 (lgammal_r): Define using libm_alias_ldouble_r.
23725 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23726 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23728 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23730 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23731 extern declaration.
23733 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23735 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23737 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
23740 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23741 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23742 * math/Makefile (test-math-cxx11): New test.
23743 * math/test-math-cxx11.cc: New file.
23745 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23747 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23749 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23750 call to allocate the slave pty file descriptor.
23752 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23754 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23755 [!__fma] (fma): Define using libm_alias_double.
23756 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23757 [!__fma] (fma): Define using libm_alias_double.
23759 * sysdeps/ieee754/float128/float128_private.h: Include
23760 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23761 (libm_alias_ldouble_r): Undefine and redefine.
23762 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23763 <libm-alias-ldouble.h>.
23764 (asinhl): Define using libm_alias_ldouble.
23765 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23766 <libm-alias-ldouble.h>.
23767 (atanl): Define using libm_alias_ldouble.
23768 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23769 <libm-alias-ldouble.h>.
23770 (cbrtl): Define using libm_alias_ldouble.
23771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23772 <libm-alias-ldouble.h>.
23773 (ceill): Define using libm_alias_ldouble.
23774 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23775 <libm-alias-ldouble.h>.
23776 (copysignl): Define using libm_alias_ldouble.
23777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23778 <libm-alias-ldouble.h>.
23779 (cosl): Define using libm_alias_ldouble.
23780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23781 <libm-alias-ldouble.h>.
23782 (erfl): Define using libm_alias_ldouble.
23784 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23785 <libm-alias-ldouble.h>.
23786 (expm1l): Define using libm_alias_ldouble.
23787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23788 <libm-alias-ldouble.h>.
23789 (fabsl): Define using libm_alias_ldouble.
23790 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23791 <libm-alias-ldouble.h>.
23792 (floorl): Define using libm_alias_ldouble.
23793 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23794 <libm-alias-ldouble.h>.
23795 (fmal): Define using libm_alias_ldouble.
23796 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23797 <libm-alias-ldouble.h>.
23798 (frexpl): Define using libm_alias_ldouble.
23799 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23800 libm_alias_ldouble.
23801 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23802 <libm-alias-ldouble.h>.
23803 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23804 libm_alias_ldouble.
23805 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23806 <libm-alias-ldouble.h>.
23807 (getpayloadl): Define using libm_alias_ldouble.
23808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23809 <libm-alias-ldouble.h>.
23810 (llrintl): Define using libm_alias_ldouble.
23811 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23812 <libm-alias-ldouble.h>.
23813 (llroundl): Define using libm_alias_ldouble.
23814 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23815 <libm-alias-ldouble.h>.
23816 (logbl): Define using libm_alias_ldouble.
23817 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23818 <libm-alias-ldouble.h>.
23819 (lrintl): Define using libm_alias_ldouble.
23820 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23821 <libm-alias-ldouble.h>.
23822 (lroundl): Define using libm_alias_ldouble.
23823 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23824 <libm-alias-ldouble.h>.
23825 (modfl): Define using libm_alias_ldouble.
23826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23827 <libm-alias-ldouble.h>.
23828 (nearbyintl): Define using libm_alias_ldouble.
23829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23830 <libm-alias-ldouble.h>.
23831 (nextafterl): Define using libm_alias_ldouble.
23832 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23833 <libm-alias-ldouble.h>.
23834 (nextupl): Define using libm_alias_ldouble.
23835 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23836 <libm-alias-ldouble.h>.
23837 (remquol): Define using libm_alias_ldouble.
23838 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23839 <libm-alias-ldouble.h>.
23840 (rintl): Define using libm_alias_ldouble.
23841 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23842 <libm-alias-ldouble.h>.
23843 (roundevenl): Define using libm_alias_ldouble.
23844 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23845 <libm-alias-ldouble.h>.
23846 (roundl): Define using libm_alias_ldouble.
23847 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23848 using libm_alias_ldouble.
23849 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23850 <libm-alias-ldouble.h>.
23851 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23852 Define using libm_alias_ldouble.
23853 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23854 <libm-alias-ldouble.h>.
23855 (sincosl): Define using libm_alias_ldouble.
23856 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23857 <libm-alias-ldouble.h>.
23858 (sinl): Define using libm_alias_ldouble.
23859 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23860 <libm-alias-ldouble.h>.
23861 (tanhl): Define using libm_alias_ldouble.
23862 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23863 <libm-alias-ldouble.h>.
23864 (tanl): Define using libm_alias_ldouble.
23865 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23866 <libm-alias-ldouble.h>.
23867 (totalorderl): Define using libm_alias_ldouble.
23868 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23869 <libm-alias-ldouble.h>.
23870 (totalordermagl): Define using libm_alias_ldouble.
23871 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23872 <libm-alias-ldouble.h>.
23873 (truncl): Define using libm_alias_ldouble.
23874 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23875 libm_alias_ldouble.
23876 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23877 libm_alias_ldouble.
23878 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23879 <libm-alias-ldouble.h>.
23880 (weak_alias): Do not undefine and redefine.
23881 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23882 (copysignl): Define with long_double_symbol only if [IS_IN
23884 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23885 <libm-alias-ldouble.h>.
23886 (weak_alias): Do not undefine and redefine.
23887 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23888 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23889 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23890 <libm-alias-ldouble.h>.
23891 (weak_alias): Do not undefine and redefine.
23892 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23893 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23894 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23895 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23898 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23901 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23904 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23911 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23919 2017-10-06 Carlos O'Donell <carlos@redhat.com>
23922 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23923 (tcache_thread_freeres): Set tcache_shutting_down before
23924 freeing the tcache.
23925 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23926 * malloc/tst-malloc-tcache-leak.c: New file.
23928 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23930 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23931 back to powerpc32 file.
23932 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23933 (memrchr): Add __memrchr_power8 to ifunc list.
23934 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23935 extra bytes for unaligned inputs.
23937 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23939 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23940 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23945 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23947 * sysdeps/arm/libm-test-ulps: Update.
23949 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23950 <libm-alias-ldouble.h>.
23951 (asinhl): Define using libm_alias_ldouble.
23952 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23953 <libm-alias-ldouble.h>.
23954 (cbrtl): Define using libm_alias_ldouble.
23955 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23956 <libm-alias-ldouble.h>.
23957 (copysignl): Define using libm_alias_ldouble.
23958 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23959 <libm-alias-ldouble.h>.
23960 (cosl): Define using libm_alias_ldouble.
23961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23962 <libm-alias-ldouble.h>.
23963 (erfl): Define using libm_alias_ldouble.
23965 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23966 <libm-alias-ldouble.h>.
23967 (fmal): Define using libm_alias_ldouble.
23968 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23969 <libm-alias-ldouble.h>.
23970 (frexpl): Define using libm_alias_ldouble.
23971 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23972 libm_alias_ldouble.
23973 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23974 <libm-alias-ldouble.h>.
23975 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23976 libm_alias_ldouble.
23977 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23978 <libm-alias-ldouble.h>.
23979 (getpayloadl): Define using libm_alias_ldouble.
23980 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23981 <libm-alias-ldouble.h>.
23982 (llrintl): Define using libm_alias_ldouble.
23983 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
23984 <libm-alias-ldouble.h>.
23985 (llroundl): Define using libm_alias_ldouble.
23986 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
23987 <libm-alias-ldouble.h>.
23988 (lrintl): Define using libm_alias_ldouble.
23989 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
23990 <libm-alias-ldouble.h>.
23991 (lroundl): Define using libm_alias_ldouble.
23992 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
23993 <libm-alias-ldouble.h>.
23994 (modfl): Define using libm_alias_ldouble.
23995 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
23996 <libm-alias-ldouble.h>.
23997 (nextupl): Define using libm_alias_ldouble.
23998 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
23999 <libm-alias-ldouble.h>.
24000 (remquol): Define using libm_alias_ldouble.
24001 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24002 <libm-alias-ldouble.h>.
24003 (roundevenl): Define using libm_alias_ldouble.
24004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24005 <libm-alias-ldouble.h>.
24006 (roundl): Define using libm_alias_ldouble.
24007 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24008 using libm_alias_ldouble.
24009 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24010 <libm-alias-ldouble.h>.
24011 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24012 <libm-alias-ldouble.h>.
24013 (setpayloadsigl): Define using libm_alias_ldouble.
24014 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24015 <libm-alias-ldouble.h>.
24016 (sincosl): Define using libm_alias_ldouble.
24017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24018 <libm-alias-ldouble.h>.
24019 (sinl): Define using libm_alias_ldouble.
24020 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24021 <libm-alias-ldouble.h>.
24022 (tanhl): Define using libm_alias_ldouble.
24023 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24024 <libm-alias-ldouble.h>.
24025 (tanl): Define using libm_alias_ldouble.
24026 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24027 <libm-alias-ldouble.h>.
24028 (totalorderl): Define using libm_alias_ldouble.
24029 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24030 <libm-alias-ldouble.h>.
24031 (totalordermagl): Define using libm_alias_ldouble.
24032 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24033 libm_alias_ldouble.
24034 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24035 libm_alias_ldouble.
24037 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24039 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24041 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24042 (__libc_ifunc_impl_list): Likewise.
24043 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24044 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24046 * benchtests/bench-memmove-walk.c: New file.
24047 * benchtests/Makefile (string-benchset): Add it.
24049 * benchtests/bench-memset-walk.c: New file.
24050 * benchtests/Makefile (string-benchset): Add it.
24052 * benchtests/bench-memcpy-walk.c: New file.
24053 * benchtests/Makefile (string-benchset): Add it.
24055 2017-10-05 Florian Weimer <fweimer@redhat.com>
24057 nscd: Eliminate compilation time dependency in the build output.
24058 * nscd/nscd_stat.c (STATDATA_VERSION)
24059 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24060 (STATDATA_VERSION_FULL): New macro definitions.
24061 (compilation): Remove.
24062 (struct statdata): Adjust version member.
24063 (send_stats): Set version from STATDATA_VERSION_FULL.
24064 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24066 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24068 * configure.ac (--enable-add-ons): Remove option.
24069 (machine): Do not mention add-ons in comment.
24070 (LIBC_PRECONFIGURE): Likewise.
24071 (add_ons): Remove variable and sanity checks and logic to locate
24073 (add_ons_automatic): Remove variable.
24074 (configured_add_ons): Likewise.
24075 (add_ons_sfx): Likewise.
24076 (add_ons_pfx): Likewise.
24077 (add_on_subdirs): Likewise.
24078 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24079 consideration of add-ons in Implies handling.
24080 (sysdeps_add_ons): Likewise.
24081 * configure: Regenerated.
24082 * libidn/configure.ac: Remove.
24083 * libidn/configure: Likewise.
24084 * sysdeps/unix/inet/configure.ac: New file.
24085 * sysdeps/unix/inet/configure: New generated file.
24086 * sysdeps/unix/inet/Subdirs: Add libidn.
24087 * Makeconfig (sysdeps-srcdirs): Remove variable.
24088 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24089 ($(common-objpfx)config.status): Do not depend on add-on files.
24090 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24092 (all-subdirs): Do not include $(add-on-subdirs).
24093 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24094 * config.make.in (add-ons): Remove variable.
24095 (add-on-subdirs): Likewise.
24096 (sysdeps-add-ons): Likewise.
24097 * manual/Makefile (add-chapters): Remove.
24098 ($(objpfx)texis): Do not depend on $(add-chapters).
24099 (nonexamples): Do not handle $(add-chapters).
24100 (examples): Do not handle $(add-ons).
24101 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24103 * manual/install.texi (Installation): Do not mention add-ons.
24104 (--enable-add-ons): Do not document configure option.
24105 * INSTALL: Regenerated.
24106 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24107 * manual/maint.texi (Hierarchy Conventions): Do not mention
24109 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24111 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24113 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24114 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24116 2017-10-05 Andreas Schwab <schwab@suse.de>
24119 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24120 (_IO_flush_all_lockp): Always lock list_all_lock.
24121 (_IO_flush_all_linebuffered): Likewise.
24122 (_IO_unbuffer_all): Likewise.
24124 2017-10-05 Florian Weimer <fweimer@redhat.com>
24127 Do not flush stdio streams on abort.
24128 * stdlib/abort.c (fflush): Remove macro definition.
24129 (abort): Remove stages related to stdio flushing.
24131 2017-10-05 Florian Weimer <fweimer@redhat.com>
24133 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24135 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24137 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24139 2017-10-05 Florian Weimer <fweimer@redhat.com>
24141 * support/support_format_hostent.c (support_format_hostent): Add
24142 more error information for NETDB_INTERNAL.
24144 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24146 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24147 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24148 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24149 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24150 AC_DEFINE if multi-arch is enabled.
24151 * sysdeps/i386/configure: Regenerated.
24153 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24155 * Makeconfig (+link-static-before-libc): Use
24156 $(DEFAULT-LDFLAGS-$(@F)).
24157 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24158 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24159 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24161 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24163 * elf/Makefile (tests): Add tst-main1.
24164 (modules-names): Add tst-main1mod.
24165 ($(objpfx)tst-main1): New.
24166 (CRT-tst-main1): Likewise.
24167 (LDFLAGS-tst-main1): Likewise.
24168 (LDLIBS-tst-main1): Likewise.
24169 (tst-main1mod.so-no-z-defs): Likewise.
24170 * elf/tst-main1.c: New file.
24171 * elf/tst-main1mod.c: Likewise.
24173 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24175 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24177 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24179 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24180 (fma): Define using libm_alias_double.
24181 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24182 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24184 (fmal): Do not define as compat symbol here.
24185 * sysdeps/alpha/fpu/s_fma.c: New file.
24187 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24189 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24191 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24194 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24196 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24198 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24199 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24200 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24201 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24203 Include <math_ldbl_opt.h>
24204 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24206 (compat_symbol): Undefine and redefine.
24207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24209 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24210 (compat_symbol): Undefine and redefine.
24211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24212 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24213 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24214 GLIBC_2_1 for libm.
24215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24216 GLIBC_2.0 copysignl symbol.
24217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24218 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24220 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24222 2017-10-04 Florian Weimer <fweimer@redhat.com>
24224 * scripts/check-local-headers.sh: Ignore nspr4 header file
24225 directory in addition to nspr.
24227 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24230 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24231 * configure: Regenerate.
24232 * crypt/Makefile (nss-cpp-flags): New variable.
24233 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24234 (CPPFLAGS-md5-crypt.c): Use it.
24235 * scripts/check-local-headers.sh: Ignore nspr header file
24238 2017-10-04 Andreas Schwab <schwab@suse.de>
24240 * nis/Makefile (services): Remove compat.
24241 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24242 ($(objpfx)libnss_compat.so): Remove rule.
24243 * nis/Versions (libnss_compat): Remove.
24244 * nss/Makefile (services): Add compat.
24245 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24246 * nss/Versions (libnss_compat): Define.
24247 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24248 Don't include <rpc/types.h>. Replace bool_t by bool.
24249 * nss/nss_compat/compat-initgroups.c: Likewise.
24250 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24251 instead of <rpcsrv/ypclnt.h>.
24252 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24253 yp_get_default_domain.
24254 * nss/nss_compat/compat-pwd.c: Likewise.
24255 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24256 yp_get_default_domain.
24257 * nss/nss_compat/nisdomain.c: New file.
24258 * nss/nss_compat/nisdomain.h: Likewise.
24260 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24263 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24264 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24266 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24269 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24272 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24274 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24275 "movl main@GOTOFF(%ebx), %eax".
24277 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24279 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24280 allow undefined _DYNAMIC in PIE libc.a.
24281 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24284 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24286 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24289 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24291 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24294 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24296 * math/test-math-iscanonical.cc (error): Replace bool with int.
24298 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24300 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24301 (modf): Define using libm_alias_double, only if [!__modf].
24302 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24303 <libm-alias-double.h>.
24304 (modf): Define using libm_alias_double, only if [!__modf].
24305 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24306 compat symbol here.
24307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24308 (weak_alias): Do not undefine and redefine.
24309 (strong_alias): Likewise.
24310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24311 (weak_alias): Likewise.
24312 (strong_alias): Likewise.
24314 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24315 (logb): Define using libm_alias_double, only if [!__logb].
24316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24317 <libm-alias-double.h>.
24318 (logb): Define using libm_alias_double, only if [!__logb].
24319 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24321 (weak_alias): Do not undefine and redefine.
24322 (strong_alias): Likewise.
24323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24324 (weak_alias): Likewise.
24325 (strong_alias): Likewise.
24327 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24329 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24330 Check SHARED instead PIC.
24332 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24334 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24335 [!__fmaf] (fmaf): Define using libm_alias_float.
24337 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24338 (frexp): Define using libm_alias_double.
24339 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24340 <libm-alias-double.h>.
24341 (frexp): Define using libm_alias_double.
24342 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24343 compat symbol here.
24345 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24348 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24349 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24350 (CFLAGS-test-math-iscanonical.cc): New variable.
24351 * math/test-math-iscanonical.cc: New file.
24352 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24353 Provide a C++ implementation based on function overloading,
24354 rather than using __MATH_TG, which uses C-only builtins.
24355 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24357 * sysdeps/powerpc/powerpc64le/Makefile
24358 (CFLAGS-test-math-iscanonical.cc): New variable.
24360 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24362 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24363 (ceil): Define using libm_alias_double.
24364 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24365 (floor): Define using libm_alias_double.
24366 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24367 <libm-alias-double.h>.
24368 (llround): Define using libm_alias_double.
24369 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24370 <libm-alias-double.h>.
24371 (lround): Define using libm_alias_double.
24372 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24373 <libm-alias-double.h>.
24374 (nearbyint): Define using libm_alias_double.
24375 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24376 <libm-alias-double.h>.
24377 (remquo): Define using libm_alias_double.
24378 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24379 (rint): Define using libm_alias_double.
24380 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24381 (round): Define using libm_alias_double.
24382 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24383 (trunc): Define using libm_alias_double.
24384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24385 <libm-alias-double.h>.
24386 (ceil): Define using libm_alias_double.
24387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24388 <libm-alias-double.h>.
24389 (floor): Define using libm_alias_double.
24390 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24391 <libm-alias-double.h>.
24392 (llround): Define using libm_alias_double.
24393 [_LP64] (lround): Likewise.
24394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24395 <libm-alias-double.h>.
24396 [!_LP64] (lround): Define using libm_alias_double.
24397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24398 <libm-alias-double.h>.
24399 (nearbyint): Define using libm_alias_double.
24400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24401 <libm-alias-double.h>.
24402 (remquo): Define using libm_alias_double.
24403 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24404 <libm-alias-double.h>.
24405 (rint): Define using libm_alias_double.
24406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24407 <libm-alias-double.h>.
24408 (round): Define using libm_alias_double.
24409 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24410 <libm-alias-double.h>.
24411 (trunc): Define using libm_alias_double.
24412 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24413 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24414 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24415 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24416 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24417 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24418 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24419 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24420 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24422 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24424 * math/w_remainder.c: New file.
24425 * math/w_remainderf.c: New file.
24426 * math/w_remainderl.c: New file.
24428 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24430 * elf/rtld.c (BOOTSTRAP_MAP): New.
24431 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24432 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24434 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24436 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24439 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24441 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24442 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24443 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24444 rtld_hidden_data_ver): Define to empty.
24445 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24446 __assert_perror_fail): Likewise.
24447 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24448 (__rewinddir): Likewise.
24449 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24450 (__profile_frequency): Likewise.
24451 * include/setjmp.h (__sigsetjmp): Likewise.
24452 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24453 __libc_sigaction): Likewise.
24454 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24455 not set hidden attribute.
24456 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24457 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24458 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24459 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24460 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24461 __fxstatat64): Likewise.
24462 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24463 (__uname): Likewise.
24464 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24465 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24466 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24467 (NO_RTLD_HIDDEN): Set.
24468 * sysdeps/mach/hurd/configure: Refresh.
24469 * config.h.in: Refresh.
24471 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24473 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24474 (atan): Define using libm_alias_double.
24475 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24476 (tan): Define using libm_alias_double.
24477 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24478 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24480 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24481 define as weak alias of __atan. Do not define any aliases if
24483 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24484 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24485 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24486 as weak alias of __tan. Do not define any aliases if [__tan].
24487 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24488 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24491 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24492 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24493 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24494 and define as weak alias of __atan.
24495 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24499 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24500 define as weak alias of __tan.
24502 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24504 * math/w_lgamma.c: New file.
24505 * math/w_lgammaf.c: New file.
24506 * math/w_lgammal.c: New file.
24508 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24510 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24511 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24512 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24513 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24514 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24515 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24516 * sysdeps/i386/fpu/w_log2f.c: New file.
24517 * sysdeps/i386/fpu/w_logf.c: New file.
24518 * sysdeps/i386/fpu/w_powf.c: New file.
24519 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24520 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24521 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24523 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24524 H.J. Lu <hongjiu.lu@intel.com>
24526 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24527 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24528 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24529 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24530 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24532 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24533 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24534 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24535 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24536 * sysdeps/i386/fpu/w_exp2f.c: New file.
24537 * sysdeps/i386/fpu/w_expf.c: New file.
24538 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24539 * sysdeps/x86_64/fpu/w_expf.c: New file.
24541 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24543 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24546 * math/w_log2f.c: New file.
24547 * math/w_logf.c: New file.
24548 * math/w_powf.c: New file.
24549 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24550 * math/w_logf_compat.c (__logf_compat): Likewise.
24551 * math/w_powf_compat.c (__powf_compat): Likewise.
24552 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24553 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24554 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24555 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24556 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24557 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24558 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24559 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24560 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24561 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24562 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24563 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24564 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24566 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24576 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24577 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24578 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24584 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24585 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24586 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24588 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24590 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24591 (sysdep_routines): Add memrchr_power8.
24592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24593 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24594 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24596 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24597 (memrchr): Add __memrchr_power8 to ifunc list.
24598 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24600 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24603 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24604 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24606 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24607 (__posix_fallocate64_l64): Likewise.
24609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24612 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24613 (__sched_setaffinity_new): Add libc_hidden_proto and
24616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24619 * include/glob.h (__glob64): Add libc_hidden_proto.
24620 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24626 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24629 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24632 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24637 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24643 * csu/version.c (__libc_print_version): Add attribute_hidden.
24645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24648 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24653 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24658 * nscd/nscd_helper.c (__nis_hash): New prototype.
24660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24663 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24664 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24666 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24667 * termios/tcgetattr.c (__tcgetattr): Likewise.
24669 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24672 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24673 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24674 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24675 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24676 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24681 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24686 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24687 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24689 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24692 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24697 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24698 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24703 * include/ifreq.h: New file.
24704 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24705 (__ifreq): Likewise.
24706 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24707 (__ifreq): Likewise.
24709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24712 * include/idna.h: New file.
24713 * inet/getnameinfo.c: Include <idna.h> instead of
24715 (__idna_to_unicode_lzlz): Removed.
24716 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24718 (__idna_to_ascii_lz): Removed.
24719 (__idna_to_unicode_lzlz): Likewise.
24721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24724 * include/plural-exp.h: New file.
24725 * intl/plural-exp.c: Include <plural-exp.h> instead of
24728 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24731 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24732 "getsourcefilter.h".
24733 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24734 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24735 "getsourcefilter.h".
24736 (__get_sol): Removed.
24738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24741 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24743 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24745 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24748 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24754 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24759 * include/search.h (__tdestroy): Add libc_hidden_proto.
24760 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24765 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24770 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24776 * include/signal.h (__kill): Add libc_hidden_proto.
24777 (__sigblock): Likewise.
24778 (__sigprocmask): Likewise.
24779 (__sigaltstack): Likewise.
24780 * signal/kill.c (__kill): Add libc_hidden_def.
24781 * signal/sigblock.c (__sigblock): Likewise.
24782 * signal/sigprocmask.c (__sigprocmask): Likewise.
24783 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24784 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24785 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24786 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24787 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24789 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24791 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24792 (__sigprocmask): Likewise.
24793 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24795 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24796 (__sigprocmask): Likewise.
24797 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24803 * include/string.h (__strsep): Add libc_hidden_proto.
24804 * string/strsep.c (__strsep): Add libc_hidden_def.
24806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24809 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24811 (__spawni): Likewise.
24813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24816 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24817 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24820 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24823 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24825 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24828 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24829 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24830 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24831 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24832 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24834 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24835 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24840 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24841 (__dcigettext): Likewise.
24843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24846 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24848 (__get_nprocs): Likewise.
24849 (__get_phys_pages): Likewise.
24850 (__get_avphys_pages): Likewise.
24851 (__get_child_max): Add attribute_hidden.
24852 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24853 (__get_nprocs): Likewise.
24854 (__get_phys_pages): Likewise.
24855 (__get_avphys_pages): Likewise.
24856 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24858 (__get_nprocs): Likewise.
24859 (__get_phys_pages): Likewise.
24860 (__get_avphys_pages): Likewise.
24861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24863 (__get_nprocs_conf): Likewise.
24864 (__get_phys_pages): Likewise.
24865 (__get_avphys_pages): Likewise.
24867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24870 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24872 (__netlink_close): Likewise.
24873 (__netlink_free_handle): Likewise.
24874 (__netlink_request): Likewise.
24876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24879 * include/rpc/rpc.h (__rpc_thread_variables): Add
24881 (__rpc_thread_svc_cleanup): Likewise.
24882 (__rpc_thread_clnt_cleanup): Likewise.
24883 (__rpc_thread_key_cleanup): Likewise.
24885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24888 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24889 (__writev): Likewise.
24890 * misc/readv.c (__readv): Add libc_hidden_def.
24891 * misc/writev.c (__writev): Likewise.
24892 * sysdeps/posix/readv.c (__readv): Likewise.
24893 * sysdeps/posix/writev.c (__writev): Likewise.
24894 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24895 (__readv): Likewise.
24896 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24897 (__writev): Likewise.
24899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24902 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24903 (__regcomp): Add libc_hidden_proto.
24904 (__regexec): Likewise.
24905 (__regfree): Likewise.
24906 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24907 (__regfree): Likewise.
24908 * posix/regexec.c (__regexec): Likewise.
24910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24913 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24914 (__getutent): Likewise.
24915 (__getutid): Likewise.
24916 (__getutline): Likewise.
24917 (__pututline): Likewise.
24918 (__getutent_r): Likewise.
24919 (__getutid_r): Likewise.
24920 (__getutline_r): Likewise.
24921 (__utmpname): Add attribute_hidden.
24922 (__setutent): Likewise.
24923 (__endutent): Likewise.
24924 * login/getutent.c (__getutent): Add libc_hidden_def.
24925 * login/getutent_r.c (__getutent_r): Likewise.
24926 (__pututline): Likewise.
24927 * login/getutid.c (__getutid): Likewise.
24928 * login/getutid_r.c (__getutid_r): Likewise.
24929 * login/getutline.c (__getutline): Likewise.
24930 * login/getutline_r.c (__getutline_r): Likewise.
24931 * login/updwtmp.c (__updwtmp): Likewise.
24933 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24936 * include/dirent.h (__opendir): Always add attribute_hidden.
24937 (__fdopendir): Likewise.
24938 (__closedir): Likewise.
24939 (__readdir): Likewise.
24940 (__readdir64): Add libc_hidden_proto.
24941 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24942 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24943 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24944 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24947 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24950 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24951 * include/netdb.h (__gethostbyaddr_r): Likewise.
24952 (__gethostbyname_r): Likewise.
24953 (__gethostbyname2_r): Likewise.
24954 (__getnetbyaddr_r): Likewise.
24955 (__getnetbyname_r): Likewise.
24956 (__getservbyname_r): Likewise.
24957 (__getservbyport_r): Likewise.
24958 (__getprotobyname_r): Likewise.
24959 (__getprotobynumber_r): Likewise.
24960 (__getnetgrent_r): Likewise.
24961 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24962 (__getrpcbynumber_r): Likewise.
24963 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24965 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24968 * include/stdio.h (__fcloseall): Add attribute_hidden.
24969 (__getline): Likewise.
24970 (__path_search): Likewise.
24971 (__gen_tempname): Likewise.
24972 (__libc_message): Likewise.
24973 (__flockfile): Likewise.
24974 (__funlockfile): Likewise.
24975 (__fxprintf): Likewise.
24976 (__fxprintf_nocancel): Likewise.
24978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24981 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
24982 (__sgetsgent_r): Likewise.
24984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24987 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
24988 (__statfs64): Likewise.
24989 (__fstatfs64): Likewise.
24990 * include/sys/statvfs.h (__statvfs64): Likewise.
24991 (__fstatvfs64): Likewise.
24992 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
24993 (__statfs_filesize_max): Likewise.
24994 (__statfs_symlinks): Likewise.
24995 (__statfs_chown_restricted): Likewise.
24997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25000 * include/time.h (__tzstring): Add attribute_hidden.
25001 (__tzfile_read): Likewise.
25002 (__tzfile_compute): Likewise.
25003 (__tzfile_default): Likewise.
25004 (__tzset_parse_tz): Likewise.
25005 (__offtime): Likewise.
25006 (__asctime_r): Likewise.
25007 (__tzset): Likewise.
25008 (__tz_convert): Likewise.
25009 (__getdate_r): Likewise.
25010 (__getclktck): Likewise.
25012 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25015 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25016 (__nscd_unmap): Likewise.
25017 (__nscd_cache_search): Likewise.
25018 (__nscd_get_nl_timestamp): Likewise.
25019 (__nscd_getpwnam_r): Likewise.
25020 (__nscd_getpwuid_r): Likewise.
25021 (__nscd_getgrnam_r): Likewise.
25022 (__nscd_getgrgid_r): Likewise.
25023 (__nscd_gethostbyname_r): Likewise.
25024 (__nscd_gethostbyname2_r): Likewise.
25025 (__nscd_gethostbyaddr_r): Likewise.
25026 (__nscd_getai): Likewise.
25027 (__nscd_getgrouplist): Likewise.
25028 (__nscd_getservbyname_r): Likewise.
25029 (__nscd_getservbyport_r): Likewise.
25030 (__nscd_innetgr): Likewise.
25031 (__nscd_setnetgrent): Likewise.
25033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25036 * include/gmp.h: Declare internal functions only if _ISOMAC is
25038 (__mpn_extract_double): Add attribute_hidden.
25039 (__mpn_extract_long_double): Likewise.
25040 (__mpn_extract_float128): Likewise.
25041 (__mpn_construct_float): Likewise.
25042 (__mpn_construct_double): Likewise.
25043 (__mpn_construct_long_double): Likewise.
25044 (__mpn_construct_float128): Likewise.
25045 (mpn_add_1): Likewise.
25046 (mpn_addmul_1): Likewise.
25047 (mpn_add_n): Likewise.
25048 (mpn_cmp): Likewise.
25049 (mpn_divrem): Likewise.
25050 (mpn_lshift): Likewise.
25051 (mpn_mul): Likewise.
25052 (mpn_mul_1): Likewise.
25053 (mpn_rshift): Likewise.
25054 (mpn_sub_1): Likewise.
25055 (mpn_submul_1): Likewise.
25056 (mpn_sub_n): Likewise.
25058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25061 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25062 (__wcscat): Likewise.
25063 (__btowc): Likewise.
25064 (__wcrtomb): Likewise.
25065 (__mbsrtowcs): Likewise.
25066 (__wcsrtombs): Likewise.
25067 (__mbsnrtowcs): Likewise.
25068 (__wcsnrtombs): Likewise.
25069 (__wcsncpy): Likewise.
25070 (__wcpncpy): Likewise.
25071 (__wmemcpy): Likewise.
25072 (__wmempcpy): Likewise.
25073 (__wmemmove): Likewise.
25074 (__wcschrnul): Likewise.
25075 (__vfwscanf): Likewise.
25076 (__vswprintf): Likewise.
25077 (__fwprintf): Likewise.
25078 (__vfwprintf): Likewise.
25080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25083 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25084 (__getgrgid_r): Likewise.
25085 (__getgrnam_r): Likewise.
25086 * include/pwd.h (__getpwuid_r): Likewise.
25087 (__getpwnam_r): Likewise.
25088 (__fgetpwent_r): Likewise.
25089 * include/shadow.h (__getspnam_r): Likewise.
25090 (__sgetspent_r): Likewise.
25091 (__fgetspent_r): Likewise.
25093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25096 * include/unistd.h (__access): Add attribute_hidden.
25097 (__lseek64): Likewise.
25098 (__libc_pread64): Likewise.
25099 (__pipe2): Likewise.
25100 (__sleep): Likewise.
25101 (__chdir): Likewise.
25102 (__fchdir): Likewise.
25103 (__getcwd): Likewise.
25104 (__rmdir): Likewise.
25105 (__execvpe): Likewise.
25106 (__execve): Likewise.
25107 (__setsid): Likewise.
25108 (__getuid): Likewise.
25109 (__geteuid): Likewise.
25110 (__getgid): Likewise.
25111 (__getegid): Likewise.
25112 (__getgroups): Likewise.
25113 (__group_member): Likewise.
25114 (__ttyname_r): Likewise.
25115 (__isatty): Likewise.
25116 (__readlink): Likewise.
25117 (__unlink): Likewise.
25118 (__gethostname): Likewise.
25119 (__profil): Likewise.
25120 (__getdtablesize): Likewise.
25122 (__ftruncate): Likewise.
25123 (__ftruncate64): Likewise.
25125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25128 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25129 * argp/argp-fs-xinl.c: Likewise.
25130 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25131 * argp/argp-parse.c: Include <argp.h>.
25132 * argp/argp-xinl.c: Likewise.
25133 * include/argp-fmtstream.h: New file.
25134 * include/argp.h (__argp_error): Add attribute_hidden.
25135 (__argp_failure): Likewise.
25136 (__argp_input): Likewise.
25137 (__argp_state_help): Likewise.
25139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25142 * include/wchar.h (____wcstof_l_internal): New prototype.
25143 (____wcstod_l_internal): Likewise.
25144 (____wcstold_l_internal): Likewise.
25145 (____wcstol_l_internal): Likewise.
25146 (____wcstoul_l_internal): Likewise.
25147 (____wcstoll_l_internal): Likewise.
25148 (____wcstoull_l_internal): Likewise.
25149 (____wcstof128_l_internal): Likewise.
25150 * sysdeps/ieee754/float128/wcstof128.c
25151 (____wcstof128_l_internal): Removed.
25152 * sysdeps/ieee754/float128/wcstof128_l.c
25153 (____wcstof128_l_internal): Likewise.
25154 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25155 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25156 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25157 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25158 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25159 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25160 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25161 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25162 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25163 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25168 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25169 instead of <sys/statvfs.h>.
25170 (__internal_statvfs): Removed.
25171 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25172 instead of <sys/statvfs.h>.
25173 (__internal_statvfs64): Removed.
25174 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25175 "internal_statvfs.h" instead of <sys/statvfs.h>.
25176 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25177 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25178 instead of <sys/statvfs.h>.
25179 (__internal_statvfs): Removed.
25180 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25181 instead of <sys/statvfs.h>.
25182 (__internal_statvfs64): Removed.
25184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25187 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25188 (__gconv_close): Likewise.
25189 (__gconv): Likewise.
25190 (__gconv_find_transform): Likewise.
25191 (__gconv_lookup_cache): Likewise.
25192 (__gconv_compare_alias_cache): Likewise.
25193 (__gconv_load_cache): Likewise.
25194 (__gconv_get_path): Likewise.
25195 (__gconv_close_transform): Likewise.
25196 (__gconv_release_cache): Likewise.
25197 (__gconv_find_shlib): Likewise.
25198 (__gconv_release_shlib): Likewise.
25199 (__gconv_get_builtin_trans): Likewise.
25200 (__gconv_compare_alias): Likewise.
25201 * include/dlfcn.h (_dlerror_run): Likewise.
25202 * include/stdio.h (__fortify_fail_abort): Likewise.
25203 * include/time.h (__tz_compute): Likewise.
25204 (__strptime_internal): Likewise.
25205 * intl/gettextP.h (_nl_find_domain): Likewise.
25206 (_nl_load_domain): Likewise.
25207 (_nl_find_msg): Likewise.
25208 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25209 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25210 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25211 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25212 (__gai_find_request): Likewise.
25213 (__gai_remove_request): Likewise.
25214 (__gai_notify): Likewise.
25215 (__gai_notify_only): Likewise.
25216 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25217 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25218 (_dl_non_dynamic_init): Likewise.
25219 (_dl_aux_init): Likewise.
25220 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25221 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25223 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25224 (__wcsmbs_clone_conv): Likewise.
25225 (__wcsmbs_named_conv): Likewise.
25227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25230 * include/stdlib.h (__random): Add attribute_hidden.
25231 (__random_r): Likewise.
25232 (__srandom_r): Likewise.
25233 (__initstate_r): Likewise.
25234 (__setstate_r): Likewise.
25235 (__erand48_r): Likewise.
25236 (__nrand48_r): Likewise.
25237 (__jrand48_r): Likewise.
25238 (__srand48_r): Likewise.
25239 (__seed48_r): Likewise.
25240 (__lcong48_r): Likewise.
25241 (__drand48_iterate): Likewise.
25242 (__setenv): Likewise.
25243 (__unsetenv): Likewise.
25244 (__clearenv): Likewise.
25245 (__ptsname_r): Likewise.
25246 (__posix_openpt): Likewise.
25247 (__add_to_environ): Likewise.
25248 (__realpath): Add libc_hidden_proto.
25249 (__ecvt_r): Likewise.
25250 (__fcvt_r): Likewise.
25251 (__qecvt_r): Likewise.
25252 (__qfcvt_r): Likewise.
25253 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25254 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25259 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25260 * include/time.h (__mktime_internal): Likewise.
25261 * libio/iolibio.h (__fopen_internal): Likewise.
25263 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25265 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25267 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25268 Correct offset used to restore PIC register.
25270 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25273 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25274 code to load address of __getcontext_ret when generating PIC code.
25276 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25278 * elf/Makefile (tests-static-internal): Add
25279 tst-tls1-static-non-pie.
25280 (LDFLAGS-tst-tls1-static-non-pie): New.
25281 * elf/tst-tls1-static-non-pie.c: New file.
25283 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25285 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25286 (asinh): Define using libm_alias_double.
25287 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25288 (cbrt): Define using libm_alias_double.
25289 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25290 <libm-alias-double.h>.
25291 (copysign): Define using libm_alias_double.
25292 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25293 (erf): Define using libm_alias_double.
25295 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25296 (expm1): Define using libm_alias_double.
25297 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25298 (fabs): Define using libm_alias_double.
25299 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25301 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25302 <libm-alias-double.h>.
25303 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25305 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25306 <libm-alias-double.h>.
25307 (getpayload): Define using libm_alias_double.
25308 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25309 <libm-alias-double.h>.
25310 (llrint): Define using libm_alias_double.
25311 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25312 (lrint): Define using libm_alias_double.
25313 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25314 <libm-alias-double.h>.
25315 (nextup): Define using libm_alias_double.
25316 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25317 <libm-alias-double.h>.
25318 (roundeven): Define using libm_alias_double.
25319 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25321 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25322 <libm-alias-double.h>.
25323 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25324 using libm_alias_double.
25325 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25326 (cos): Define using libm_alias_double.
25328 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25329 <libm-alias-double.h>.
25330 (sincos): Define using libm_alias_double.
25331 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25332 (tanh): Define using libm_alias_double.
25333 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25334 <libm-alias-double.h>.
25335 (totalorder): Define using libm_alias_double.
25336 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25337 <libm-alias-double.h>.
25338 (totalordermag): Define using libm_alias_double.
25339 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25341 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25343 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25344 <libm-alias-double.h>.
25345 (getpayload): Define using libm_alias_double.
25346 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25347 <libm-alias-double.h>.
25348 (roundeven): Define using libm_alias_double.
25349 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25350 <libm-alias-double.h>.
25351 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25352 <libm-alias-double.h>.
25353 (totalorder): Define using libm_alias_double.
25354 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25355 <libm-alias-double.h>.
25356 (totalordermag): Define using libm_alias_double.
25357 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25358 libc compat symbol here.
25359 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25360 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25361 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25362 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25363 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25364 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25365 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25366 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25367 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25368 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25370 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25372 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25373 _dl_relocate_static_pie instead of _dl_start to compute load
25374 address in static PIE. Return 0 if _DYNAMIC is undefined for
25377 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25379 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25380 _DYNAMIC is undefined for static executable.
25382 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25384 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25386 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25390 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25392 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25393 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25394 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25395 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25397 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25398 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25399 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25401 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25402 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25403 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25405 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25406 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25408 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25410 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25412 * math/bits/cmathcalls.h (cimag): Remove inline.
25413 (creal): Remove inline.
25414 (conj): Remove inline.
25416 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25418 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25419 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25420 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25421 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25422 (issignalingf_inline): Likewise.
25423 (POWF_LOG2_TABLE_BITS): Likewise.
25424 (POWF_LOG2_POLY_ORDER): Likewise.
25425 (POWF_SCALE_BITS): Likewise.
25426 (POWF_SCALE): Likewise.
25427 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25428 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25429 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25431 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25433 * math/Makefile (type-float-routines): Add e_log2f_data.
25434 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25435 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25436 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25437 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25438 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25439 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25440 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25442 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25444 * math/Makefile (type-float-routines): Add e_logf_data.
25445 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25446 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25447 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25448 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25449 * sysdeps/i386/fpu/e_logf_data.c: New file.
25450 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25451 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25453 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25455 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25456 undefined _DYNAMIC in PIE libc.a.
25457 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25460 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25462 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25463 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25464 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25465 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25466 (__signbit): Remove.
25467 (__signbitl): Remove.
25468 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25469 (__signbit): Remove.
25470 (__signbitl): Remove.
25471 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25472 (__signbit): Remove.
25473 (__signbitl): Remove.
25474 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25475 (__signbit): Remove.
25476 (__signbitl): Remove.
25477 * sysdeps/tile/bits/mathinline.h: Delete file.
25478 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25479 (__signbit): Remove.
25480 (__signbitl): Remove.
25482 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25484 * math/math.h: Improve handling of C99 isgreater macros.
25485 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25486 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25487 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25488 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25489 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25491 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25493 * sysdeps/aarch64/libm-test-ulps: Update.
25495 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25498 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25499 math_opt_barrier on argument when doing arithmetic on it.
25500 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25501 Likewise. Use math_force_eval not math_opt_barrier after
25503 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25504 math_opt_barrier on argument when doing arithmetic on it.
25505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25508 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25510 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25512 (__freeifaddrs): Likewise.
25514 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25516 * include/dirent.h (__dirfd): New declaration.
25517 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25519 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25520 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25521 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25522 * include/unistd.h (__revoke): New declaration.
25523 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25525 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25526 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25528 * include/dirent.h (__seekdir): New declaration.
25529 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25530 redefine as weak alias.
25531 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25533 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25534 and use libc_hidden_def on them.
25535 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25537 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25538 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25539 instead of getifaddrs and freeifaddrs.
25541 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25544 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25545 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25546 (__dso_handle): Remove declaration.
25547 * dlfcn/tstatexit.c (__dso_handle): Removed.
25548 (main): Don't check __dso_handle.
25549 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25550 (main): Don't check __dso_handle.
25551 * include/dso_handle.h: New file.
25552 * malloc/mtrace.c: Include <dso_handle.h>.
25553 (mtrace): Pass __dso_handle directly.
25554 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25555 (__dso_handle): Remove declaration.
25556 (__pthread_atfork): Pass __dso_handle directly.
25557 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25558 (__dso_handle): Removed.
25559 * posix/wordexp-test.c: Include <dso_handle.h>.
25560 (__dso_handle): Remove declaration.
25561 (__app_register_atfork): Pass __dso_handle directly.
25562 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25563 (__dso_handle): Remove declaration.
25564 (at_quick_exit): Pass __dso_handle directly.
25565 * stdlib/atexit.c: Include <dso_handle.h>.
25566 (__dso_handle): Remove declaration.
25567 (atexit): Pass __dso_handle directly.
25568 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25569 (__dso_handle): Removed.
25571 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25573 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25576 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25578 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25579 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25580 values to correct default value for given type.
25582 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25585 * elf/Makefile (tests): Add tst-debug1.
25586 ($(objpfx)tst-debug1): New.
25587 ($(objpfx)tst-debug1.out): Likewise.
25588 ($(objpfx)tst-debug1mod1.so): Likewise.
25589 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25590 with p_filesz == 0.
25591 * elf/tst-debug1.c: New file.
25593 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25595 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25596 Define using __ifunc.
25598 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25600 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25603 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25606 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25608 2017-09-26 Florian Weimer <fweimer@redhat.com>
25610 * resolv/Makefile (tests-internal): Fix typo in comment.
25612 2017-09-26 Florian Weimer <fweimer@redhat.com>
25614 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25616 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25618 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25619 Use an union instead of a max_align_t array for __space,
25620 so that __space is the same size on all platforms.
25621 * malloc/scratch_buffer_grow_preserve.c
25622 (__libc_scratch_buffer_grow_preserve): Likewise.
25625 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25627 * posix/Makefile (routines): Add glob-lstat-compat and
25628 glob64-lstat-compat.
25629 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25630 * posix/glob-lstat-compat.c: New file.
25631 * posix/glob64-lstat-compat.c: Likewise.
25632 * posix/tst-glob_lstat_compat.c: Likewise.
25633 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25634 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25635 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25636 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25638 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25639 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25640 * posix/glob.c (glob_lstat): New function.
25641 (glob): Rename to __glob and add versioned symbol to 2.27.
25642 (glob_in_dir): Use glob_lstat.
25643 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25644 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25645 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25647 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25648 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25649 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25650 gl_lstat on glob call.
25651 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25652 and glob64 symbols.
25653 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25654 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25655 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25656 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25657 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25658 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25663 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25664 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25667 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25669 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25670 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25671 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25672 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25673 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25676 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25677 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25678 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25680 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25682 * configure.ac (AS): Require binutils 2.25 or later.
25683 * configure: Regenerated.
25685 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25688 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25691 2017-09-25 DJ Delorie <dj@redhat.com>
25694 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25697 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25699 * sysdeps/ieee754/dbl-64/sincos32.h
25700 [SINCCOS32_H]: Remove define.
25701 [SINCOS32_H]: Define.
25703 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25705 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25707 * math/w_exp2f.c: New file.
25708 * math/w_expf.c: New file.
25709 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25710 * math/w_expf_compat.c (__expf_compat): Likewise.
25711 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25712 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25713 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25714 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25715 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25716 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25717 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25718 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25719 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25720 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25721 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25722 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25723 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25724 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25733 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25734 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25735 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25736 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25737 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25742 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25743 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25744 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25746 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25748 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25749 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25750 (roundtoint, converttoint): Likewise.
25751 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25752 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25753 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25754 * sysdeps/ieee754/flt-32/math_config.h: New file.
25755 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25756 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25757 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25758 * sysdeps/i386/fpu/math_errf.c: New file.
25759 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25760 * sysdeps/ia64/fpu/math_errf.c: New file.
25761 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25762 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25764 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25766 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25767 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25768 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25769 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25770 to make sure that these symbols are defined.
25771 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25773 (__need_NULL): Do not define.
25774 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25776 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25777 CMGROUP_MAX, cmsgcred): Do not define.
25778 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25780 * bits/socket.h: Likewise.
25781 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25782 __gettimeofday instead of gettimeofday.
25783 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25784 instead of settimeofday.
25786 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25788 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25789 (asinhf): Define using libm_alias_float.
25790 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25791 (atanf): Define using libm_alias_float.
25792 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25793 (cbrtf): Define using libm_alias_float.
25794 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25795 (ceilf): Define using libm_alias_float.
25796 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25797 <libm-alias-float.h>.
25798 (copysignf): Define using libm_alias_float.
25799 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25800 (cosf): Define using libm_alias_float.
25801 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25802 (erff): Define using libm_alias_float.
25804 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25805 (expm1f): Define using libm_alias_float.
25806 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25807 (fabsf): Define using libm_alias_float.
25808 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25809 (floorf): Define using libm_alias_float.
25810 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25811 (frexpf): Define using libm_alias_float.
25812 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25814 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25815 <libm-alias-float.h>.
25816 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25818 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25819 <libm-alias-float.h>.
25820 (getpayloadf): Define using libm_alias_float.
25821 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25822 <libm-alias-float.h>.
25823 (llrintf): Define using libm_alias_float.
25824 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25825 <libm-alias-float.h>.
25826 (llroundf): Define using libm_alias_float.
25827 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25828 (logbf): Define using libm_alias_float.
25829 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25830 (lrintf): Define using libm_alias_float.
25831 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25832 (lroundf): Define using libm_alias_float.
25833 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25834 (modff): Define using libm_alias_float.
25835 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25836 <libm-alias-float.h>.
25837 (nearbyintf): Define using libm_alias_float.
25838 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25839 <libm-alias-float.h>.
25840 (nextafterf): Define using libm_alias_float.
25841 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25842 <libm-alias-float.h>.
25843 (nextupf): Define using libm_alias_float.
25844 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25845 <libm-alias-float.h>.
25846 (remquof): Define using libm_alias_float.
25847 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25848 (rintf): Define using libm_alias_float.
25849 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25850 <libm-alias-float.h>.
25851 (roundevenf): Define using libm_alias_float.
25852 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25853 (roundf): Define using libm_alias_float.
25854 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25855 using libm_alias_float.
25856 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25857 <libm-alias-float.h>.
25858 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25859 Define using libm_alias_float.
25860 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25861 <libm-alias-float.h>.
25862 (sincosf): Define using libm_alias_float.
25863 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25864 (sinf): Define using libm_alias_float.
25865 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25866 (tanf): Define using libm_alias_float.
25867 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25868 (tanhf): Define using libm_alias_float.
25869 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25870 <libm-alias-float.h>.
25871 (totalorderf): Define using libm_alias_float.
25872 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25873 <libm-alias-float.h>.
25874 (totalordermagf): Define using libm_alias_float.
25875 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25876 (truncf): Define using libm_alias_float.
25877 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25879 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25882 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25885 math/math.h: Let fpclassify use the builtin in C++ mode, even
25886 when optimazing for size.
25888 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25890 * csu/Makefile (generated): Do not add version-info.h.
25891 (before-compile): Likewise.
25892 (all-Banner-files): Remove variable.
25893 ($(objpfx)version-info.h): Remove rule.
25894 * csu/version.c (banner): Do not include "version-info.h".
25895 * libidn/Banner: Remove.
25896 * manual/contrib.texi (Simon Josefsson): New entry.
25898 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25900 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25901 Remove conditionals on LDBL_MANT_DIG.
25902 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25903 (__ieee754_lgammal_r): Likewise.
25905 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25909 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25910 _Float128 and L(). Replace _Float128 with long double and L(x)
25911 with xL, throughout the file.
25912 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25917 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25920 sysdeps/ieee754/ldbl-128ibm.
25921 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25922 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25923 of including it. Keep _Float128 and L() intact. These will be
25924 reviewed by a separate patch.
25925 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25930 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25933 (__finitef128): Define to __redirect___finitef128.
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25935 (__isinff128): Define to __redirect___isinff128.
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25937 (__isnanf128): Define to __redirect___isnanf128.
25939 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25941 * sysdeps/powerpc/powerpc64le/Makefile
25942 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25943 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25945 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25946 Carlos O'Donell <carlos@redhat.com>
25949 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25950 * stdlib/test-dlclose-exit-race.c: New file.
25951 * stdlib/test-dlclose-exit-race-helper.c: New file.
25952 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25954 2017-09-21 Joseph Myers <joseph@codesourcery.com>
25956 * crypt/Banner: Remove file.
25957 * nptl/Banner: Likewise.
25958 * resolv/Banner: Likewise.
25959 * soft-fp/Banner: Likewise.
25960 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25961 ($(objpfx)version.d): Remove dependency on banner.h.
25962 ($(objpfx)version.os): Likewise.
25963 * nptl/version.c (banner): Do not include banner.h.
25964 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25965 Jelinek and BIND code.
25967 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25968 Carlos O'Donell <carlos@redhat.com>
25970 * support/xdlfcn.h: New file.
25971 * support/xdlfcn.c: New file.
25972 * support/Makefile (libsupport-routines): Add xdlfcn.
25973 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25975 2017-09-20 Joseph Myers <joseph@codesourcery.com>
25978 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25979 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25980 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25981 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
25982 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
25983 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
25984 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
25985 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
25987 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25988 Ricky Zhou <rickyz@google.com>
25989 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
25992 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
25994 (__new_exitfn): Fail registration when we finished at_exit processing.
25995 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25996 * stdlib/on_exit.c (__on_exit): Likewise.
25997 * stdlib/exit.c (__exit_funcs_done): New variable.
25998 (__run_exit_handlers): Use __exit_funcs_lock.
25999 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26001 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26002 (test-cxa_atexit-race, test-on_exit-race): New tests.
26003 * stdlib/test-atexit-race-common.c: New file.
26004 * stdlib/test-atexit-race.c: New file.
26005 * stdlib/test-at_quick_exit-race.c: New file.
26006 * stdlib/test-cxa_atexit-race.c: New file.
26007 * stdlib/test-on_exit-race.c: New file.
26009 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26011 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26012 * benchtests/exp2f-inputs: Copy of expf-inputs.
26013 * benchtests/log2f-inputs: Copy of logf-inputs.
26015 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26017 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26018 Explicitly take address of first element of array arguments in
26019 call to INLINE_SYSCALL.
26021 2017-09-19 Andreas Schwab <schwab@suse.de>
26024 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26026 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26028 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26029 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26030 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26031 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26032 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26033 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26034 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26035 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26036 * posix/Makefile (tests): Add tst-fexecve.
26037 * posix/tst-fexecve.c: New file.
26039 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26041 * benchtests/Makefile: Add logf benchmark.
26042 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26044 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26046 * benchtests/Makefile: Add expf benchmark.
26047 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26049 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26051 * csu/Makefile: Add -funwind-tables to libc-start.c.
26052 * debug/Makefile: Add -funwind-tables to backtrace.c.
26053 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26054 * sysdeps/arm/Makefile: Likewise.
26055 * sysdeps/i386/Makefile: Likewise.
26056 * sysdeps/m68k/Makefile: Likewise.
26057 * sysdeps/mips/Makefile: Likewise.
26058 * sysdeps/nios2/Makefile: Likewise.
26059 * sysdeps/sh/Makefile: Likewise.
26060 * sysdeps/sparc/Makefile: Likewise.
26062 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26064 * benchtests/Makefile (bench-math): Add trunc and truncf.
26065 (CFLAGS-bench-trunc.c): New variable.
26066 (CFLAGS-bench-truncf.c): Likewise.
26067 * benchtests/trunc-inputs: New file.
26068 * benchtests/truncf-inputs: Likewise.
26070 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26072 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26074 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26076 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26077 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26079 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26080 (exp10l): Define as weak alias.
26081 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26082 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26084 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26085 (remainderl): Define as weak alias.
26087 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26088 (fmal): Define using libm_alias_ldouble.
26089 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26090 (acoshl): Define using libm_alias_ldouble.
26091 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26092 (acosl): Define using libm_alias_ldouble.
26093 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26094 (asinl): Define using libm_alias_ldouble.
26095 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26096 (atan2l): Define using libm_alias_ldouble.
26097 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26098 (atanhl): Define using libm_alias_ldouble.
26099 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26100 (coshl): Define using libm_alias_ldouble.
26101 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26102 (exp10l): Define using libm_alias_ldouble.
26103 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26104 (exp2l): Define using libm_alias_ldouble.
26105 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26106 (expl): Define using libm_alias_ldouble.
26107 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26108 (fmodl): Define using libm_alias_ldouble.
26109 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26110 (hypotl): Define using libm_alias_ldouble.
26111 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26112 (j0l): Define using libm_alias_ldouble.
26114 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26115 (j1l): Define using libm_alias_ldouble.
26117 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26118 (jnl): Define using libm_alias_ldouble.
26120 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26121 (log10l): Define using libm_alias_ldouble.
26122 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26123 (log2l): Define using libm_alias_ldouble.
26124 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26125 (logl): Define using libm_alias_ldouble.
26126 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26127 (powl): Define using libm_alias_ldouble.
26128 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26129 (remainderl): Define using libm_alias_ldouble.
26130 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26131 (sinhl): Define using libm_alias_ldouble.
26132 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26133 (sqrtl): Define using libm_alias_ldouble.
26134 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26135 (tgammal): Define using libm_alias_ldouble.
26136 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26137 (exp10l): Do not use long_double_symbol here.
26138 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26139 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26140 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26141 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26142 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26143 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26144 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26145 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26146 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26147 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26148 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26149 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26150 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26151 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26152 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26153 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26154 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26155 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26156 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26157 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26158 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26159 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26161 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26163 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26164 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26166 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26168 * io/read.c (read): Add libc_hidden_weak.
26169 * sysdeps/mach/hurd/read.c (read): Likewise.
26170 * io/write.c (write): Likewise.
26171 * sysdeps/mach/hurd/write.c (write): Likewise.
26172 * io/pread64.c (__pread64): Likewise.
26173 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26174 * posix/pread64.c (__pread64): Add libc_hidden_def.
26176 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26178 * benchtests/scripts/compare_strings.py: New option -g.
26179 (draw_graph): Print a message that a graph is being generated.
26180 (process_results): Generate graph only if -g is passed.
26181 (main): Process option -g.
26183 * benchtests/scripts/compare_strings.py (process_results):
26184 Better spacing for output.
26186 * benchtests/scripts/compare_strings.py: Use argparse.
26187 * benchtests/README: Document existence of compare_strings.py.
26189 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26191 * math/s_fma.c: Include <libm-alias-double.h>.
26192 (fma): Define using libm_alias_double.
26193 * math/s_nextafter.c: Include <libm-alias-double.h>.
26194 (nextafter): Define using libm_alias_double.
26195 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26196 (acos): Define using libm_alias_double.
26197 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26198 (aocsh): Define using libm_alias_double.
26199 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26200 (asin): Define using libm_alias_double.
26201 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26202 (atan2): Define using libm_alias_double.
26203 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26204 (atanh): Define using libm_alias_double.
26205 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26206 (cosh): Define using libm_alias_double.
26207 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26208 (exp10): Define using libm_alias_double.
26209 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26210 (exp2): Define using libm_alias_double.
26211 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26212 (exp): Define using libm_alias_double.
26213 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26214 (fmod): Define using libm_alias_double.
26215 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26216 (hypot): Define using libm_alias_double.
26217 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26218 (j0): Define using libm_alias_double.
26220 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26221 (j1): Define using libm_alias_double.
26223 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26224 (jn): Define using libm_alias_double.
26226 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26227 (log10): Define using libm_alias_double.
26228 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26229 (log2): Define using libm_alias_double.
26230 * math/w_log_compat.c: Include <libm-alias-double.h>.
26231 (log): Define using libm_alias_double.
26232 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26233 (pow): Define using libm_alias_double.
26234 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26235 (remainder): Define using libm_alias_double.
26236 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26237 (sinh): Define using libm_alias_double.
26238 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26239 (sqrt): Define using libm_alias_double.
26240 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26241 (tgamma): Define using libm_alias_double.
26242 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26243 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26244 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26245 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26246 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26247 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26248 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26249 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26250 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26251 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26252 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26253 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26254 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26255 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26256 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26257 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26258 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26259 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26260 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26261 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26262 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26263 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26264 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26265 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26266 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26268 * math/e_acoshl.c: Remove.
26269 * math/e_acosl.c: Likewise.
26270 * math/e_asinl.c: Likewise.
26271 * math/e_atan2l.c: Likewise.
26272 * math/e_atanhl.c: Likewise.
26273 * math/e_coshl.c: Likewise.
26274 * math/e_expl.c: Likewise.
26275 * math/e_fmodl.c: Likewise.
26276 * math/e_gammal_r.c: Likewise.
26277 * math/e_hypotl.c: Likewise.
26278 * math/e_j0l.c: Likewise.
26279 * math/e_j1l.c: Likewise.
26280 * math/e_jnl.c: Likewise.
26281 * math/e_lgammal_r.c: Likewise.
26282 * math/e_log10l.c: Likewise.
26283 * math/e_log2l.c: Likewise.
26284 * math/e_logl.c: Likewise.
26285 * math/e_powl.c: Likewise.
26286 * math/e_rem_pio2l.c: Likewise.
26287 * math/e_sinhl.c: Likewise.
26288 * math/e_sqrtf128.c: Likewise.
26289 * math/e_sqrtl.c: Likewise.
26290 * math/k_cosl.c: Likewise.
26291 * math/k_sinl.c: Likewise.
26292 * math/k_tanl.c: Likewise.
26293 * math/s_asinhl.c: Likewise.
26294 * math/s_atanl.c: Likewise.
26295 * math/s_cbrtl.c: Likewise.
26296 * math/s_erfl.c: Likewise.
26297 * math/s_expm1l.c: Likewise.
26298 * math/s_log1pl.c: Likewise.
26299 * math/s_tanhl.c: Likewise.
26301 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26305 [$(subdir) = math] (sysdep_calls): New variable. Has the
26306 previous contents of sysdep_routines, but re-sorted..
26307 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26309 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26310 defined in sysdep_calls and replace by the respective m_* names.
26311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26312 (compat_symbol): Undefine to avoid duplicated compat symbols in
26315 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26317 * math/s_fmaf.c: Include <libm-alias-float.h>.
26318 (fmaf): Define using libm_alias_float.
26319 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26320 (acosf): Define using libm_alias_float.
26321 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26322 (acoshf): Define using libm_alias_float.
26323 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26324 (asinf): Define using libm_alias_float.
26325 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26326 (atan2f): Define using libm_alias_float.
26327 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26328 (atanhf): Define using libm_alias_float.
26329 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26330 (coshf): Define using libm_alias_float.
26331 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26332 (exp10f): Define using libm_alias_float.
26333 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26334 (fmodf): Define using libm_alias_float.
26335 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26336 (hypotf): Define using libm_alias_float.
26337 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26338 (j0f): Define using libm_alias_float.
26340 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26341 (j1f): Define using libm_alias_float.
26343 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26344 (jnf): Define using libm_alias_float.
26346 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26347 (log10f): Define using libm_alias_float.
26348 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26349 (log2f): Define using libm_alias_float.
26350 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26351 (logf): Define using libm_alias_float.
26352 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26353 (powf): Define using libm_alias_float.
26354 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26355 (remainderf): Define using libm_alias_float.
26356 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26357 (sinhf): Define using libm_alias_float.
26358 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26359 (sqrtf): Define using libm_alias_float.
26360 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26361 (tgammaf): Define using libm_alias_float.
26363 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26365 * include/math.h (roundeven): Change hidden_proto call to
26367 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26369 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26370 (y0): Rename to __y0 and define as weak alias.
26371 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26372 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26374 (y0f): Rename to __y0f and define as weak alias.
26375 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26377 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26378 (y1): Rename to __y1 and define as weak alias.
26379 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26380 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26382 (y1f): Rename to __y1f and define as weak alias.
26383 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26385 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26386 (yn): Rename to __yn and define as weak alias.
26387 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26388 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26390 (ynf): Rename to __ynf and define as weak alias.
26391 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26392 (fromfp): Define as weak alias.
26393 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26394 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26395 (fromfpx): Define as weak alias.
26396 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26397 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26398 __getpayload and define as weak alias.
26399 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26400 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26401 __roundeven and define as weak alias.
26402 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26403 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26405 (setpayload): Define as weak alias.
26406 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26407 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26409 (setpayloadsig): Define as weak alias.
26410 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26411 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26412 __totalorder and define as weak alias.
26413 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26414 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26415 to __totalordermag and define as weak alias.
26416 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26417 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26418 (ufromfp): Define as weak alias.
26419 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26420 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26422 (ufromfpx): Define as weak alias.
26423 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26424 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26425 Rename to __getpayload and define as weak alias.
26426 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26427 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26428 Rename to __roundeven and define as weak alias.
26429 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26430 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26431 Rename to __totalorder and define as weak alias.
26432 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26433 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26434 (totalordermag): Rename to __totalordermag and define as weak
26436 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26437 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26439 (__roundevenl): Likewise.
26440 (__totalorderl): Likewise.
26441 (__totalordermagl): Likewise
26442 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26444 (fromfpf128): Define as weak alias.
26445 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26447 (fromfpxf128): Define as weak alias.
26448 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26450 (setpayloadf128): Define as weak alias.
26451 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26452 __setpayloadsigf128.
26453 (setpayloadsigf128): Define as weak alias.
26454 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26456 (ufromfpf128): Define as weak alias.
26457 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26459 (ufromfpxf128): Define as weak alias.
26460 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26461 (fromfpf): Define as weak alias.
26462 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26464 (fromfpxf): Define as weak alias.
26465 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26466 __getpayloadf and define as weak alias.
26467 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26468 __roundevenf and define as weak alias.
26469 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26471 (setpayloadf): Define as weak alias.
26472 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26474 (setpayloadsigf): Define as weak alias.
26475 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26476 __totalorderf and define as weak alias.
26477 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26478 Rename to __totalordermagf and define as weak alias.
26479 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26481 (ufromfpf): Define as weak alias.
26482 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26484 (ufromfpxf): Define as weak alias.
26485 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26487 (fromfpl): Define as weak alias.
26488 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26490 (fromfpxl): Define as weak alias.
26491 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26492 to __getpayloadl and define as weak alias.
26493 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26494 __roundevenl and define as weak alias.
26495 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26497 (setpayloadl): Define as weak alias.
26498 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26500 (setpayloadsigl): Define as weak alias.
26501 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26502 to __totalorderl and define as weak alias.
26503 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26504 Rename to __totalordermagl and define as weak alias.
26505 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26507 (ufromfpl): Define as weak alias.
26508 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26510 (ufromfpxl): Define as weak alias.
26511 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26513 (fromfpl): Define as weak alias.
26514 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26516 (fromfpxl): Define as weak alias.
26517 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26518 Rename to __getpayloadl and define as weak alias.
26519 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26520 to __roundevenl and define as weak alias. Call __roundeven
26521 instead of roundeven.
26522 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26524 (setpayloadl): Define as weak alias.
26525 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26527 (setpayloadsigl): Define as weak alias.
26528 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26529 Rename to __totalorderl and define as weak alias.
26530 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26531 Rename to __totalordermagl and define as weak alias.
26532 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26534 (ufromfpl): Define as weak alias.
26535 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26537 (ufromfpxl): Define as weak alias.
26538 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26540 (fromfpl): Define as weak alias.
26541 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26543 (fromfpxl): Define as weak alias.
26544 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26545 __getpayloadl and define as weak alias.
26546 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26547 __roundevenl and define as weak alias.
26548 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26550 (setpayloadl): Define as weak alias.
26551 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26553 (setpayloadsigl): Define as weak alias.
26554 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26555 __totalorderl and define as weak alias.
26556 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26557 Rename to __totalordermagl and define as weak alias.
26558 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26560 (ufromfpl): Define as weak alias.
26561 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26563 (ufromfpxl): Define as weak alias.
26565 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26567 * benchtests/bench-string.h (realloc_bufs): New function.
26568 (test_init): Call it.
26569 * benchtests/bench-memset-large.c (do_test): Likewise.
26570 * benchtests/bench-memset.c (do_test): Likewise.
26572 * benchtests/bench-memset-large.c: Print output in JSON
26574 * benchtests/bench-memset.c: Likewise.
26576 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26579 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26580 * iconvdata/Makefile: Add IBM858.
26581 * iconvdata/gconv-modules: Likewise.
26582 * iconvdata/tst-tables.sh: Likewise.
26583 * iconvdata/ibm858.c: New file.
26584 * localedata/charmaps/IBM858: Likewise.
26586 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26589 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26590 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26592 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26595 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26596 and add tel_int_fmt.
26598 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26600 * sysdeps/generic/libm-alias-float128.h: New file.
26601 * sysdeps/generic/math-type-macros-float128.h: Include
26602 <libm-alias-float128.h>.
26603 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26605 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26607 * sysdeps/generic/libm-alias-ldouble.h: New file.
26608 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26609 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26610 * sysdeps/generic/math-type-macros-ldouble.h: Include
26611 <libm-alias-ldouble.h>.
26612 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26613 libm_alias_ldouble.
26615 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26617 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26618 * math/w_exp_compat.c: ... here.
26619 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26620 * math/w_expf_compat.c: ... here.
26621 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26622 * math/w_expl_compat.c: ... here.
26623 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26624 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26625 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26626 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26628 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26630 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26632 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26634 (ldexpl): Only define as compat symbol for libc, not libm.
26635 (scalbnl): Define as compat symbol for libc here.
26636 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26637 define for [IS_IN (libc)].
26638 (__ldexpl_2): Remove alias.
26639 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26640 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26641 name in long_double_symbol call.
26642 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26643 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26644 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26645 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26646 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26648 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26649 Define as compat symbol.
26651 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26653 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26654 * sysdeps/unix/sysv/linux/alpha/Makefile
26655 [$(subdir) = csu] (sysdep_routines): Remove rule.
26657 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26659 * sysdeps/generic/libm-alias-double.h: New file.
26660 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26661 * sysdeps/generic/math-type-macros-double.h: Include
26662 <libm-alias-double.h>.
26663 [declare_mgen_alias] (declare_mgen_alias): Define to use
26665 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26666 (M_LIBM_NEED_COMPAT): Remove macro.
26667 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26668 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26669 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26671 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26672 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26673 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26674 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26675 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26676 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26677 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26678 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26679 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26680 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26681 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26682 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26683 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26684 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26685 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26686 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26687 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26688 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26689 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26690 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26691 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26692 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26693 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26694 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26695 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26696 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26697 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26698 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26699 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26701 (declare_mgen_alias): New macro.
26702 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26703 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26705 (M_LIBM_NEED_COMPAT): Remove macro.
26706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26707 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26708 <first-versions.h>.
26709 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26710 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26712 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26714 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26715 (declare_mgen_alias_2): Remove.
26716 * sysdeps/generic/math-type-macros-double.h
26717 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26719 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26721 (ldexp): Define with declare_mgen_alias.
26722 (scalbn): Likewise.
26724 2017-09-12 Steve Ellcey <sellcey@cavium.com>
26726 * grp/initgroups.c: Include config.h.
26727 (DEFAULT_CONFIG): New macro.
26728 (internal_getgrouplist): Use DEFAULT_CONFIG.
26729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26730 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26731 (DEFAULT_DEFCONFIG): New macro.
26732 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26733 * nss/grp-lookup.c: Include config.h
26734 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26735 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26736 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26737 * manual/nss.texi: Update default values section.
26739 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26742 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26744 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26745 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26746 Handle MathVec_Prefer_No_AVX512.
26747 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26748 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26751 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26753 * posix/sched_primax.c (__sched_get_priority_max): Add
26755 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26756 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26757 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26758 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26759 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26760 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26761 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26762 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26765 2017-09-11 Joseph Myers <joseph@codesourcery.com>
26767 * sysdeps/generic/libm-alias-float.h: New file.
26768 * sysdeps/generic/math-type-macros-float.h: Include
26769 <libm-alias-float.h>.
26770 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26772 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26775 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26776 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26777 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26778 (HWCAP_IMPORTANT): Likewise.
26779 (HWCAP_X86_64): New enum.
26780 (HWCAP_X86_AVX512_1): Updated.
26781 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26782 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26783 (modules-names): Add x86_64/tst-x86_64mod-1.
26784 (LDFLAGS-tst-x86_64mod-1.so): New.
26785 ($(objpfx)tst-x86_64-1): Likewise.
26786 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26787 (tst-x86_64-1-clean): Likewise.
26788 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26789 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26791 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26793 * po/sv.po: Update translations.
26794 * po/fr.po: Likewise.
26796 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26798 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26800 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26802 * elf/rtld-Rules: Fix $(error) use.
26804 2017-09-09 Mike FABIAN <mfabian@redhat.com>
26807 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26808 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26809 * localedata/locales/bn_BD: “Bengali” was still used in some
26810 comments. Change it to “Bangla”.
26812 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26814 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26816 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26818 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26819 thunderx2t99p1 to list of cpu names.
26820 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26821 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26823 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26825 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26826 Use strcmp instead of tunable_is_name.
26828 2017-09-08 Joseph Myers <joseph@codesourcery.com>
26830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26831 (F_GET_RW_HINT): New macro.
26832 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26833 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26834 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26835 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26836 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26837 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26838 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26839 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26840 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26842 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26843 (F_ADD_SEALS): New macro.
26844 [__USE_GNU] (F_GET_SEALS): Likewise.
26845 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26846 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26847 [__USE_GNU] (F_SEAL_GROW): Likewise.
26848 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26850 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26852 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26853 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26854 * posix/glob_internal.h (__glob_pattern_type):
26855 * posix/glob.c (glob):
26856 * posix/glob_pattern_p.c (__glob_pattern_p):
26859 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26860 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26861 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26862 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26863 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26865 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26866 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26867 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26868 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26869 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26870 * sysdeps/wordsize-64/glob.c: Likewise.
26871 * sysdeps/wordsize-64/glob64.c: Likewise.
26872 * sysdeps/wordsize-64/globfree.c: Likewise.
26873 * sysdeps/wordsize-64/globfree64.c: Likewise.
26874 * sysdeps/unix/sysv/linux/glob.c: New file.
26875 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26876 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26877 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26878 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26879 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26880 adds !GLOB_NO_OLD_VERSION as an extra condition.
26881 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26882 using relative path instead of absolute one.
26883 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26884 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26885 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26886 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26887 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26888 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26891 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26892 (glob): Use the same scratch buffer for both getlogin_r and
26893 getpwnam_r. Don’t require preallocation of the login name. This
26894 simplifies storage allocation, and corrects the handling of
26898 * posix/glob.c (glob): Port recent patches to platforms
26899 lacking getpwnam_r.
26900 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26901 returns an error number rather than setting errno.
26903 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26904 instead of GCC extension.
26905 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26906 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26907 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26911 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26912 * posix/bug-glob1.c: Remove file.
26913 * posix/tst-glob_symlinks.c: New file.
26914 * posix/glob.c (__lstat64): New macro.
26915 (is_dir): New function.
26916 (glob, glob_in_dir): Match symlinks even if they are dangling.
26917 (link_stat, link_exists_p): Remove. All uses removed.
26921 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26922 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26927 * posix/Makefile (routines): Add globfree, globfree64, and
26929 * posix/flexmember.h: New file.
26930 * posix/glob_internal.h: Likewise.
26931 * posix/glob_pattern_p.c: Likewise.
26932 * posix/globfree.c: Likewise.
26933 * posix/globfree64.c: Likewise.
26934 * sysdeps/gnu/globfree64.c: Likewise.
26935 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26936 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26937 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26938 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26939 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26940 * sysdeps/wordsize-64/globfree.c: Likewise.
26941 * sysdeps/wordsize-64/globfree64.c: Likewise.
26942 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26943 [NDEBUG): Remove comments.
26944 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26945 (dirent_type): New type. Use uint_fast8_t not
26946 uint8_t, as C99 does not require uint8_t.
26947 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26948 (struct readdir_result): Use dirent_type. Do not define skip_entry
26949 unless it is needed; this saves a byte on platforms lacking d_ino.
26950 (readdir_result_type, readdir_result_skip_entry):
26951 New functions, replacing ...
26952 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26953 these functions, which were removed. This makes the callers
26954 easier to read. All callers changed.
26955 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26956 (size_add_wrapv, glob_use_alloca): New static functions.
26957 (glob, glob_in_dir): Check for size_t overflow in several places,
26958 and fix some size_t checks that were not quite right.
26959 Remove old code using SHELL since Bash no longer
26961 (glob, prefix_array): Separate MS code better.
26962 (glob_in_dir): Remove old Amiga and VMS code.
26963 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26965 (glob_in_dir): Do not rely on undefined behavior in accessing
26966 struct members beyond their bounds. Use a flexible array member
26968 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26969 0/1. Caller changed.
26970 (glob): Fix memory leaks.
26971 * posix/glob64 (globfree64): Move to separate file.
26972 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26973 (globfree64): Remove hidden alias.
26974 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26976 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26978 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26980 Move compat code to separate file.
26981 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
26984 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
26986 * resolv/tst-resolv-qtypes.c (domain): Changed to
26987 "const char domain[] =".
26989 2017-09-07 Joseph Myers <joseph@codesourcery.com>
26991 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
26994 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
26995 (TCP_MD5SIG_EXT): Likewise.
26996 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
26997 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
26998 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27000 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27002 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27004 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27006 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27009 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27011 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27013 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27014 before assuming that the file is empty. Avoid testing buffer content
27017 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27020 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27022 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27024 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27026 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27028 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27030 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27032 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27035 2017-09-06 Florian Weimer <fweimer@redhat.com>
27037 * malloc/dynarray_emplace_enlarge.c
27038 (__libc_dynarray_emplace_enlarge): Add missing else.
27040 2017-09-06 Florian Weimer <fweimer@redhat.com>
27043 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27044 case of failure to obtain the global conf object.
27046 2017-09-06 Florian Weimer <fweimer@redhat.com>
27049 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27050 dynarray allocation failure.
27052 2017-09-06 Florian Weimer <fweimer@redhat.com>
27054 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27055 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27056 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27058 (response): Call them. Add 'p', '6' flag processing.
27059 (test_reverse): New function.
27060 (test_get2_any): Call it.
27061 (test_no_inet6): Add 'p' test.
27062 (test_inet6): Likewise.
27064 2017-09-06 Florian Weimer <fweimer@redhat.com>
27066 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27067 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27069 (test_gai): Adjust query names. Add additional tests.
27070 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27071 test_get2. Adjust query names. Add additional tests.
27072 (test_no_inet6): New function, extracted from threadfunc.
27073 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27074 Add additional tests.
27076 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27079 * localedata/unicode-gen/utf8_gen.py: Set the width for
27080 characters with Prepended_Concatenation_Mark property to 1
27081 * localedata/charmaps/UTF-8: Updated using the improved script.
27083 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27086 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27087 use the range notation for all ranges of neighbouring characters
27088 with the same width.
27090 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27092 * sysdeps/generic/math-type-macros-double.h: Include
27093 <math-svid-compat.h>.
27094 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27095 * sysdeps/generic/math-type-macros-float.h: Include
27096 <math-svid-compat.h>.
27097 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27098 * sysdeps/generic/math-type-macros-ldouble.h: Include
27099 <math-svid-compat.h>.
27100 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27101 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27103 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27104 * math/w_acosf_compat.c: Likewise.
27105 * math/w_acosh_compat.c: Likewise.
27106 * math/w_acoshf_compat.c: Likewise.
27107 * math/w_acoshl_compat.c: Likewise.
27108 * math/w_acosl_compat.c: Likewise.
27109 * math/w_asin_compat.c: Likewise.
27110 * math/w_asinf_compat.c: Likewise.
27111 * math/w_asinl_compat.c: Likewise.
27112 * math/w_atan2_compat.c: Likewise.
27113 * math/w_atan2f_compat.c: Likewise.
27114 * math/w_atan2l_compat.c: Likewise.
27115 * math/w_atanh_compat.c: Likewise.
27116 * math/w_atanhf_compat.c: Likewise.
27117 * math/w_atanhl_compat.c: Likewise.
27118 * math/w_cosh_compat.c: Likewise.
27119 * math/w_coshf_compat.c: Likewise.
27120 * math/w_coshl_compat.c: Likewise.
27121 * math/w_exp10_compat.c: Likewise.
27122 * math/w_exp10f_compat.c: Likewise.
27123 * math/w_exp10l_compat.c: Likewise.
27124 * math/w_exp2_compat.c: Likewise.
27125 * math/w_exp2f_compat.c: Likewise.
27126 * math/w_exp2l_compat.c: Likewise.
27127 * math/w_fmod_compat.c: Likewise.
27128 * math/w_fmodf_compat.c: Likewise.
27129 * math/w_fmodl_compat.c: Likewise.
27130 * math/w_hypot_compat.c: Likewise.
27131 * math/w_hypotf_compat.c: Likewise.
27132 * math/w_hypotl_compat.c: Likewise.
27133 * math/w_j0_compat.c: Likewise.
27134 * math/w_j0f_compat.c: Likewise.
27135 * math/w_j0l_compat.c: Likewise.
27136 * math/w_j1_compat.c: Likewise.
27137 * math/w_j1f_compat.c: Likewise.
27138 * math/w_j1l_compat.c: Likewise.
27139 * math/w_jn_compat.c: Likewise.
27140 * math/w_jnf_compat.c: Likewise.
27141 * math/w_jnl_compat.c: Likewise.
27142 * math/w_lgamma_r_compat.c: Likewise.
27143 * math/w_lgammaf_r_compat.c: Likewise.
27144 * math/w_lgammal_r_compat.c: Likewise.
27145 * math/w_log10_compat.c: Likewise.
27146 * math/w_log10f_compat.c: Likewise.
27147 * math/w_log10l_compat.c: Likewise.
27148 * math/w_log2_compat.c: Likewise.
27149 * math/w_log2f_compat.c: Likewise.
27150 * math/w_log2l_compat.c: Likewise.
27151 * math/w_log_compat.c: Likewise.
27152 * math/w_logf_compat.c: Likewise.
27153 * math/w_logl_compat.c: Likewise.
27154 * math/w_pow_compat.c: Likewise.
27155 * math/w_powf_compat.c: Likewise.
27156 * math/w_powl_compat.c: Likewise.
27157 * math/w_remainder_compat.c: Likewise.
27158 * math/w_remainderf_compat.c: Likewise.
27159 * math/w_remainderl_compat.c: Likewise.
27160 * math/w_sinh_compat.c: Likewise.
27161 * math/w_sinhf_compat.c: Likewise.
27162 * math/w_sinhl_compat.c: Likewise.
27163 * math/w_sqrt_compat.c: Likewise.
27164 * math/w_sqrtf_compat.c: Likewise.
27165 * math/w_sqrtl_compat.c: Likewise.
27166 * math/w_tgamma_compat.c: Likewise.
27167 * math/w_tgammaf_compat.c: Likewise.
27168 * math/w_tgammal_compat.c: Likewise.
27169 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27170 [LIBM_SVID_COMPAT].
27171 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27172 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27173 [LIBM_SVID_COMPAT].
27174 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27175 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27176 [LIBM_SVID_COMPAT].
27177 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27178 * sysdeps/i386/fpu/w_sqrt.c: New file.
27179 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27180 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27181 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27182 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27183 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27184 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27185 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27186 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27187 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27188 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27189 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27190 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27191 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27192 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27193 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27194 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27195 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27196 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27197 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27198 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27199 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27200 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27201 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27202 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27203 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27204 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27205 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27206 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27207 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27208 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27209 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27210 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27211 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27212 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27213 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27214 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27215 * sysdeps/ia64/fpu/w_log.c: Likewise.
27216 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27217 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27218 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27219 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27220 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27221 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27222 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27223 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27224 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27225 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27226 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27227 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27228 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27229 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27230 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27231 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27232 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27233 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27234 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27235 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27236 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27237 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27238 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27240 [LIBM_SVID_COMPAT].
27241 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27242 * sysdeps/ieee754/k_standard.c: Likewise.
27243 * sysdeps/ieee754/k_standardf.c: Likewise.
27244 * sysdeps/ieee754/k_standardl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27247 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27248 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27249 long_double_symbol call on [LIBM_SVID_COMPAT].
27250 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27251 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27252 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27253 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27254 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27255 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27256 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27257 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27258 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27259 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27260 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27261 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27262 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27263 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27264 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27265 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27266 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27267 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27268 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27269 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27270 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27271 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27273 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27275 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27276 * malloc/tst-mallocstate.c: Convert from test-skeleton
27277 to test-driver. Ifdef code using TEST_COMPAT macro.
27278 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27279 * math/test-matherr.c: Likewise.
27281 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27284 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27285 comparing word with byte-swapped constant.
27287 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27290 * locale/iso-639.def: add Miskito.
27291 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27292 * localedata/locales/miq_NI: New file.
27294 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27297 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27298 (__mkdir): Likewise.
27299 * io/chmod.c (__chmod): Add libc_hidden_def.
27300 * io/mkdir.c (__mkdir): Likewise.
27301 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27302 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27303 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27304 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27306 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27308 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27312 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27313 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27315 2017-09-04 Florian Weimer <fweimer@redhat.com>
27317 * math/math.h: Issue warning if log is defined.
27319 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27321 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27322 kernel version to 4.13.
27324 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27326 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27327 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27329 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27330 just <bits/types.h>.
27331 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27332 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27333 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27334 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27335 * misc/preadv2.c: Include <errno.h>.
27336 * misc/preadv64v2.c: Include <errno.h>.
27337 * misc/pwritev2.c: Include <errno.h>.
27338 * misc/pwritev64v2.c: Include <errno.h>.
27339 * sysdeps/posix/preadv2.c: Include <errno.h>.
27340 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27341 Fix <unistd.h> inclusion.
27342 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27343 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27344 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27345 __strtoul_internal): New functions.
27346 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27347 * sysdeps/posix/system.c: Include <sigsetops.h>.
27348 * sysdeps/mach/hurd/i386/Makefile
27349 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27350 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27351 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27352 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27353 __feraiseexcept_renamed to feraiseexcept instead of
27354 __GI_feraiseexcept.
27355 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27356 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27357 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27358 RWF_NOWAIT): Define to 0 if undefined already.
27359 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27361 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27362 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27364 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27366 * manual/math.texi (pow10): Do not document.
27367 (pow10f): Likewise.
27368 (pow10l): Likewise.
27369 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27370 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27371 * math/libm-test-exp10.inc (pow10_test): Remove.
27372 (do_test): Do not call pow10.
27373 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27374 [NO_LONG_DOUBLE] (pow10l): Likewise.
27375 * math/w_exp10f_compat.c (pow10f): Likewise.
27376 * math/w_exp10l_compat.c (pow10l): Likewise.
27377 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27378 (pow10): Make into compat symbol.
27379 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27380 (pow10f): Make into compat symbol.
27381 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27382 (pow10l): Make into compat symbol.
27383 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27385 (CFLAGS-nldbl-pow10.c): Remove variable..
27386 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27387 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27388 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27389 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27390 Undefine and redefine.
27391 (pow10l): Make into compat symbol.
27392 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27393 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27394 * sysdeps/arm/libm-test-ulps: Likewise.
27395 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27396 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27397 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27398 * sysdeps/microblaze/libm-test-ulps: Likewise.
27399 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27400 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27401 * sysdeps/nios2/libm-test-ulps: Likewise.
27402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27403 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27405 * sysdeps/sh/libm-test-ulps: Likewise.
27406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27407 * sysdeps/tile/libm-test-ulps: Likewise.
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27410 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27412 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27414 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27416 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27417 "../ChangeLog.old/ChangeLog.8".
27418 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27419 "../ChangeLog.old/ChangeLog.14".
27421 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27423 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27426 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27428 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27430 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27432 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27433 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27435 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27437 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27438 32 atexit handlers.
27440 2017-09-01 Zack Weinberg <zackw@panix.com>
27442 * math/math.h (HUGE_VAL): Improve commentary.
27444 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27445 Andreas Schwab <schwab@suse.de>
27448 * include/stdio.h (__gen_tempfd): New function.
27449 * stdio-common/Makefile (routines): Add gentempfd.
27450 * stdio-common/gentempfd.c: New file.
27451 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27452 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27453 unnamed file first.
27455 2017-09-01 Florian Weimer <fweimer@redhat.com>
27459 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27460 result to determine success or failure, not the errno value.
27461 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27462 (tst-nss-files-hosts-erange): Link with -ldl.
27463 * nss/tst-nss-files-hosts-erange.c: New file.
27464 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27465 (do_test): Add NO_DATA tests.
27466 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27467 (do_test): Call it.
27469 2017-09-01 Florian Weimer <fweimer@redhat.com>
27472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27473 coming from gethostbyname2_r.
27475 2017-09-01 Florian Weimer <fweimer@redhat.com>
27477 * support/namespace.h (struct support_chroot_configuration): Add
27479 (struct support_chroot): Add path_hosts, path_host_conf.
27480 * support/support_chroot.c (write_file): New function.
27481 (support_chroot_create): Call it to process /etc/resolv.conf,
27482 /etc/hosts, /etc/host.conf.
27483 (support_chroot_free): Update.
27485 2017-09-01 Florian Weimer <fweimer@redhat.com>
27487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27488 status indicates it is set.
27490 2017-09-01 Florian Weimer <fweimer@redhat.com>
27493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27494 function lookup failures more reliable.
27496 2017-09-01 Florian Weimer <fweimer@redhat.com>
27498 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27499 (getcanonname): Likewise.
27500 (gaih_inet): Likewise.
27502 2017-09-01 Florian Weimer <fweimer@redhat.com>
27504 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27505 (getcanonname): Likewise.
27506 (gaih_inet): Likewise.
27508 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27509 Richard Henderson <rth@twiddle.net>
27511 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27512 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27513 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27514 (IREG_SIZE, OREG_SIZE): New macros.
27515 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27516 (IREG_SIZE, OREG_SIZE): New macros.
27517 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27518 (IREG_SIZE): New macro.
27519 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27520 (IREG_SIZE): New macro.
27521 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27523 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27524 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27525 (__CONCATX): Handle exceptions correctly on large values that may
27527 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27528 Initialize if not already set.
27529 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27531 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27533 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27534 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27536 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27538 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27540 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27542 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27544 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27546 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27548 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27549 (NO_CANCELLATION): Likewise.
27550 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27552 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27554 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27556 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27557 (NO_CANCELLATION): Likewise.
27558 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27559 (NO_CANCELLATION): Likewise.
27560 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27562 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27564 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27566 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27568 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27570 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27571 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27573 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27575 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27578 2017-08-31 Florian Weimer <fweimer@redhat.com>
27580 * include/libc-symbols.h (internal_function): Remove.
27582 2017-08-31 Florian Weimer <fweimer@redhat.com>
27584 * stdlib/fmtmsg.c (internal_addseverity): Remove
27587 2017-08-31 Florian Weimer <fweimer@redhat.com>
27589 * stdio-common/printf_fp.c (group_number): Remove
27591 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27593 2017-08-31 Florian Weimer <fweimer@redhat.com>
27595 * posix/fnmatch.c (internal_function): Remove definition.
27596 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27597 * posix/regcomp.c (peek_token, init_word_char)
27598 (duplicate_node_closure, fetch_token, peek_token)
27599 (peek_token_bracket, build_range_exp, build_collating_symbol):
27601 * posix/regex_internal.c (re_string_construct_common)
27602 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27603 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27604 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27605 (re_string_translate_buffer, re_string_reconstruct)
27606 (re_string_peek_byte_case, re_string_fetch_byte_case)
27607 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27608 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27609 (re_node_set_add_intersect, re_node_set_init_union)
27610 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27611 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27612 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27613 (re_acquire_state_context): Likewise.
27614 * posix/regex_internal.h (internal_function): Remove definition.
27615 (re_string_realloc_buffers, build_wcs_buffer)
27616 (build_wcs_upper_buffer, build_upper_buffer)
27617 (re_string_translate_buffer, re_string_context_at)
27618 (re_string_char_size_at, re_string_wchar_at)
27619 (re_string_elem_size_at): Likewise.
27620 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27621 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27622 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27623 (re_search_internal, re_search_2_stub, re_search_stub)
27624 (re_copy_regs, prune_impossible_nodes, check_matching)
27625 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27626 (free_fail_stack_return, sift_states_iter_mb)
27627 (sift_states_backward, build_sifted_states)
27628 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27629 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27630 (check_subexp_limits, sift_states_bkref, merge_state_array)
27631 (find_recover_state, transit_state, merge_state_with_log)
27632 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27633 (transit_state_mb, transit_state_bkref, get_subexp)
27634 (get_subexp_sub, find_subexp_node, check_arrival)
27635 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27636 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27637 (check_node_accept_bytes, find_collation_sequence_value)
27638 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27639 (acquire_init_state_context, check_halt_node_context)
27640 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27641 (sub_epsilon_src_nodes): Likewise.
27642 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27643 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27644 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27645 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27646 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27647 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27648 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27649 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27650 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27651 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27652 (PREADV): Likewise.
27653 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27654 (PREADV): Likewise.
27655 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27656 (PWRITEV): Likewise.
27657 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27658 (PWRITEV): Likewise.
27659 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27660 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27662 2017-08-31 Florian Weimer <fweimer@redhat.com>
27664 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27665 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27666 Remove internal_function.
27667 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27668 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27669 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27670 (__deallocate_stack, __libc_pthread_init)
27671 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27672 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27673 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27675 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27676 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27677 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27679 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27680 (__pthread_mutex_unlock_usercnt): Likewise.
27682 2017-08-31 Florian Weimer <fweimer@redhat.com>
27684 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27685 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27686 (fts_safe_changedir): Remove internal_function.
27687 * io/ftw.c (internal_function): Remove definition.
27688 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27690 2017-08-31 Florian Weimer <fweimer@redhat.com>
27692 * inet/deadline.c (__deadline_current_time)
27693 (__deadline_from_timeval, __deadline_to_ms): Remove
27695 * inet/getnameinfo.c (nrl_domainname): Likewise.
27696 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27697 * inet/inet6_option.c (add_pad): Likewise.
27698 * inet/net-internal.h (__deadline_current_time)
27699 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27700 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27701 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27702 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27704 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27706 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27707 include <bits/nan.h>.
27708 * math/Makefile (headers): Remove bits/nan.h.
27709 * bits/nan.h: Remove.
27710 * sysdeps/ieee754/bits/nan.h: Likewise.
27711 * sysdeps/mips/bits/nan.h: Likewise.
27713 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27714 not include <bits/inf.h>.
27715 * math/Makefile (headers): Remove bits/inf.h.
27716 * bits/inf.h: Remove.
27717 * sysdeps/ieee754/bits/inf.h: Likewise.
27719 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27720 bits/huge_vall.h or bits/huge_val_flt128.h.
27721 (HUGE_VAL): Define directly here.
27722 [__USE_ISOC99] (HUGE_VALF): Likewise.
27723 [__USE_ISOC99] (HUGE_VALL): Likewise.
27724 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27725 (HUGE_VAL_F128): Likewise.
27726 * math/Makefile (headers): Remove bits/huge_val.h,
27727 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27728 * bits/huge_val.h: Remove.
27729 * bits/huge_val_flt128.h: Likewise.
27730 * bits/huge_valf.h: Likewise.
27731 * bits/huge_vall.h: Likewise.
27732 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27733 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27734 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27735 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27736 * sysdeps/sh/bits/huge_val.h: Likewise.
27737 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27738 * sysdeps/x86/bits/huge_vall.h: Likewise.
27740 2017-08-31 Florian Weimer <fweimer@redhat.com>
27742 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27744 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27746 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27747 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27748 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27749 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27751 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27752 * elf/dl-libc.c (dlerror_run): Likewise.
27753 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27754 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27755 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27756 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27758 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27759 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27760 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27761 * elf/dl-profile.c (_dl_start_profile): Likewise.
27762 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27763 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27765 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27766 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27767 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27768 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27769 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27770 (_dl_allocate_tls_storage): Likewise.
27771 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27772 (_dl_check_all_versions): Likewise.
27773 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27774 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27775 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27776 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27777 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27778 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27779 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27780 internal_function from __dl_start.
27781 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27782 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27783 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27784 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27785 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27786 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27787 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27788 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27789 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27790 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27791 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27792 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27793 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27794 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27795 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27797 (struct rtld_global_ro): Remove internal_function from the
27798 _dl_lookup_symbol_x member.
27799 (_dl_symbol_value): Remove. No longer defined anywhere.
27800 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27802 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27803 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27804 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27805 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27806 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27807 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27808 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27809 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27810 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27811 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27812 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27813 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27815 2017-08-31 Florian Weimer <fweimer@redhat.com>
27817 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27818 Remove internal_function.
27819 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27821 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27824 2017-08-31 Florian Weimer <fweimer@redhat.com>
27826 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27827 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27828 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27830 2017-08-31 Florian Weimer <fweimer@redhat.com>
27832 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27833 (__gai_enqueue_request): Remove internal_function.
27834 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27835 (__gai_remove_request, __gai_notify, __gai_notify_only)
27836 (__gai_sigqueue): Likewise.
27837 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27838 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27839 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27840 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27843 2017-08-31 Florian Weimer <fweimer@redhat.com>
27845 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27846 * include/dirent.h (__opendirat, __getdents, __getdents64)
27847 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27848 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27849 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27850 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27852 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27854 2017-08-31 Florian Weimer <fweimer@redhat.com>
27856 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27858 (GETCWD_RETURN_TYPE): Likewise.
27860 2017-08-31 Florian Weimer <fweimer@redhat.com>
27862 * include/time.h (__tz_compute, __strptime_internal): Remove
27864 * time/strptime_l.c (__strptime_internal): Likewise.
27865 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27867 2017-08-31 Florian Weimer <fweimer@redhat.com>
27869 * iconv/gconv.c (__gconv): Remove internal_function.
27870 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27871 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27872 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27873 (__gconv_release_cache): Likewise.
27874 * iconv/gconv_close.c (__gconv_close): Likewise.
27875 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27876 (read_conf_file, __gconv_get_path): Likewise.
27877 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27878 (__gconv_release_step, gen_steps, increment_counter)
27879 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27880 (__gconv_close_transform, free_modules_db): Likewise.
27881 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27883 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27884 (__gconv_find_transform, __gconv_lookup_cache)
27885 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27886 (__gconv_close_transform, __gconv_release_cache)
27887 (__gconv_loaded_object, __gconv_release_shlib)
27888 (__gconv_compare_alias): Likewise.
27889 * iconv/gconv_open.c (__gconv_open): Likewise.
27890 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27891 * iconv/iconvconfig.c (add_module): Likewise.
27892 * intl/dcigettext.c (plural_lookup, guess_category_value)
27893 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27894 * intl/eval-plural.h (plural_eval): Likewise.
27895 * intl/finddomain.c (_nl_find_domain): Likewise.
27896 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27897 (_nl_load_domain, _nl_find_msg): Likewise.
27898 (internal_function): Remove definition.
27899 * intl/loadinfo.h (internal_function): Likewise.
27900 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27902 * intl/localealias.c (internal_function): Remove definition.
27903 (read_alias_file): Remove internal_function.
27904 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27905 * intl/plural-exp.h (internal_function): Remove definition.
27906 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27908 * intl/plural.c: Regenerate.
27909 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27910 * locale/coll-lookup.c (__collidx_table_lookup)
27911 (__collseq_table_lookup): Likewise.
27912 * locale/coll-lookup.h (__collidx_table_lookup)
27913 (__collseq_table_lookup): Likewise.
27914 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27915 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27916 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27917 (_nl_unload_locale): Likewise.
27918 * locale/localeinfo.h (struct __locale_data): Remove
27919 internal_function from cleanup member.
27920 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27921 (_nl_remove_locale, _nl_load_locale_from_archive)
27922 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27923 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27924 (_nl_cleanup_time): Remove internal_function.
27925 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27926 (_nl_parse_alt_digit): Likewise.
27927 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27928 (_nl_select_era_entry): Likewise.
27929 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27930 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27931 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27932 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27933 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27935 2017-08-31 Florian Weimer <fweimer@redhat.com>
27937 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27938 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27939 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27940 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27942 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27943 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27944 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27945 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27947 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27949 2017-08-31 Florian Weimer <fweimer@redhat.com>
27951 * misc/getttyent.c (skip, value): Remove internal_function.
27952 * misc/syslog.c (openlog_internal): Likewise.
27953 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27955 2017-08-31 Florian Weimer <fweimer@redhat.com>
27957 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27958 (__nss_rewrite_field): Remove internal_function.
27959 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27960 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27961 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27962 * nss/nsswitch.c (nss_parse_file, nss_getline)
27963 (nss_parse_service_list, nss_new_service): Likewise.
27964 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27965 * nss/valid_field.c (__nss_valid_field): Likewise.
27966 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27968 2017-08-31 Florian Weimer <fweimer@redhat.com>
27970 * malloc/arena.c (__malloc_fork_lock_parent)
27971 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27972 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27973 internal_function from defintions.
27974 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27975 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27976 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27977 internal_function from declarations.
27978 * malloc/malloc.c (internal_function): Do not define.
27979 (mem2mem_check): Remove internal_function from declaration.
27980 (munmap_chunk, mremap_chunk): Remove internal_function.
27981 * malloc/mtrace.c (tr_where): Likewise.
27983 2017-08-31 Florian Weimer <fweimer@redhat.com>
27985 * include/rpc/pmap_clnt.h (__get_socket): Remove
27987 * sunrpc/auth_des.c (synchronize): Likewise.
27988 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
27989 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
27990 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
27991 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
27992 (key_call): Likewise.
27993 * sunrpc/pm_getport.c (__get_socket): Likewise.
27994 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
27995 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
27996 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
27997 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
27998 (invalidate): Likewise.
27999 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28000 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28001 (set_input_fragment, get_input_bytes): Likewise.
28003 2017-08-31 Florian Weimer <fweimer@redhat.com>
28005 * malloc/malloc.c (_int_free): Remove locked variable and related
28008 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28011 * Makerules (build-module-helper-objlist): Filter out
28012 $(elf-objpfx)sofini.os.
28013 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28016 2017-08-31 Florian Weimer <fweimer@redhat.com>
28018 * libio/fcloseall.c: Assume weak_alias is defined.
28019 * libio/feof.c: Likewise.
28020 * libio/fileno.c: Likewise.
28021 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28022 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28024 (_IO_file_open): Call __open directly.
28025 (_IO_new_file_sync): Assume ESPIPE is defined.
28026 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28027 (_IO_new_file_write): Call __write directly.
28028 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28029 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28030 * libio/genops.c: Assume _LIBC is defined.
28031 (save_for_backup): Remove internal_function.
28032 * libio/getc.c: Assume weak_alias is defined.
28033 * libio/getwc.c: Likewise.
28034 * libio/iofclose.c: Assume _LIBC is defined.
28035 * libio/iofdopen.c: Likewise.
28036 (_IO_fcntl): Remove macro definition.
28037 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28038 Call __fcntl directly.
28039 * libio/iofflush.c: Assume weak_alias is defined.
28040 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28042 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28043 * libio/iofgets.c: Likewise.
28044 * libio/iofopen.c: Assume _LIBC is defined.
28045 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28046 * libio/iofputs.c: Assume weak_alias is defined.
28047 * libio/iofread.c: Likewise.
28048 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28049 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28050 * libio/ioftell.c: Assume weak_alias is defined.
28051 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28052 * libio/iofwide.c: Assume _LIBC is defined.
28053 (_IO_fwide): Drop SHARED conditional because it is implied by
28055 * libio/iofwrite.c: Assume weak_alias is defined.
28056 * libio/iogetdelim.c: Likewise.
28057 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28058 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28059 (_IO_getwline): Call __wmemcpy directly.
28060 * libio/iopopen.c: Assume _LIBC is defined.
28061 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28062 (_IO_close): Remove macro definitions.
28063 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28065 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28067 * libio/ioputs.c: Assume weak_alias is defined.
28068 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28069 * libio/iosetbuffer.c: Assume weak_alias is defined.
28070 * libio/iosetvbuf.c: Likewise.
28071 * libio/ioungetc.c: Likewise.
28072 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28073 libc_hidden_def, libc_hidden_weak, NULL are defined.
28074 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28075 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28077 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28079 (_IO_old_file_init_internal): Drop SHARED conditional because it
28080 is implied by SHLIB_COMPAT.
28081 (_IO_old_file_fopen): Call __open directly.
28082 (_IO_old_file_sync): Assume ESPIPE is defined.
28083 (_IO_old_file_write): Call __write directly.
28084 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28085 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28086 Call __fcntl directly.
28087 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28088 (_IO_old_fgetpos): Assume EIO is defined.
28089 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28090 (_IO_old_fgetpos64): Assume EIO is defined.
28091 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28092 (_IO_old_fsetpos): Assume EIO is defined.
28093 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28094 (_IO_old_fsetpos64): Assume EIO is defined.
28095 * libio/oldiopopen.c: Assume _LIBC is defined.
28096 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28097 (_IO_close): Remove macro definitions.
28098 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28100 (_IO_old_proc_close): Call __close, __waitpid directly.
28101 * libio/put.c: Assume weak_alias is defined.
28102 * libio/stdfiles.c: Assume _LIBC is defined.
28103 * libio/stdio.c: Likewise.
28104 * libio/wfileops.c: Likewise.
28105 (_IO_wfile_sync): Assume ESPIPE is defined.
28106 * libio/wgenops.c: Assume _LIBC is defined.
28107 (save_for_wbackup): Remove internal_function.
28109 2017-08-31 Florian Weimer <fweimer@redhat.com>
28111 * malloc/malloc.c (top_check): Change return type to void. Remove
28113 * malloc/hooks.c (top_check): Likewise.
28114 (malloc_check, realloc_check, memalign_check): Adjust.
28116 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28119 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28120 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28121 sigcontext and namespace requirements.
28122 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28123 * sysdeps/m68k/sys/ucontext.h: Likewise.
28124 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28125 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28126 <bits/sigcontext.h>.
28127 (__ctx): Define earlier.
28128 (mcontext_t): Define structure contents rather than using struct
28130 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28131 __glibc_reserved1 instead of __reserved.
28132 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28133 <bits/sigcontext.h>.
28134 (__ctx): Define earlier.
28135 (mcontext_t): Define structure contents rather than using struct
28137 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28138 mcontext_t instead of struct sigcontext.
28139 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28140 <bits/sigcontext.h>.
28141 (__ctx): Define earlier.
28142 (mcontext_t): Define structure contents rather than using struct
28144 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28145 <bits/sigcontext.h>.
28146 (__ctx): Define earlier.
28147 (mcontext_t): Define structure contents rather than using struct
28149 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28150 mcontext_t instead of struct sigcontext.
28151 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28152 mcontext_t instead of struct sigcontext.
28153 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28154 <bits/sigcontext.h>.
28155 (__ctx): New macro.
28156 (struct __ia64_fpreg_mcontext): New type.
28157 (mcontext_t): Define structure contents rather than using struct
28159 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28160 (uc_sigmask): Define using __ctx.
28161 (uc_stack): Likewise.
28162 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28163 <bits/sigcontext.h>.
28164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28165 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28166 <bits/sigcontext.h>.
28167 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28168 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28169 <bits/sigcontext.h>.
28170 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28171 <bits/sigcontext.h>.
28172 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28173 <bits/sigcontext.h>.
28174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28175 <bits/sigcontext.h>.
28176 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28177 <bits/sigcontext.h>.
28178 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28179 <bits/sigcontext.h>.
28180 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28181 <bits/sigcontext.h>.
28182 (__ctx): Define earlier.
28183 (mcontext_t): Define structure contents rather than using struct
28185 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28186 <bits/sigcontext.h>. Include <bits/types.h>.
28187 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28188 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28189 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28190 (test-xfail-UNIX98/signal.h/conform): Likewise.
28191 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28192 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28193 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28194 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28195 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28196 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28197 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28198 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28199 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28201 2017-08-30 Florian Weimer <fweimer@redhat.com>
28203 * malloc/dynarray_emplace_enlarge.c
28204 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28205 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28206 * malloc/tst-dynarray.c (test_long_overflow): New function.
28207 (do_test): Call it.
28209 2017-08-30 Florian Weimer <fweimer@redhat.com>
28211 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28212 (set_arena_corrupt): Remove definitions.
28213 (mtrim): Do not check for corrupt arena.
28214 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28217 2017-08-30 Florian Weimer <fweimer@redhat.com>
28220 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28222 (ptmalloc_init): Do not set or use check_action.
28223 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28224 call to malloc_printerr. Remove return statement.
28225 (free_check): Likewise. Remove arena unlock.
28226 (top_check): Update comment. Adjust call to malloc_printerr.
28227 Remove heap repair code.
28228 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28229 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28230 (sysmalloc): Adjust call to malloc_printerr.
28231 (munmap_chunk, __libc_realloc): Likewise. Remove return
28233 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28234 Remove errout label and corresponding gotos.
28235 (_int_free): Likewise. Remove arena unlock.
28236 (do_set_mallopt_check): Do not set check_action.
28237 (malloc_printerr): Adjust parameter list. Do not mark arena as
28239 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28241 * manual/probes.texi (Memory Allocation Probes): Remove
28242 memory_mallopt_check_action.
28244 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28246 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28247 Use pointer to uint64_t instead of long int for sp.
28249 2017-08-30 Florian Weimer <fweimer@redhat.com>
28252 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28253 without printing a backtrace. Do not leak any information in the
28255 * manual/memory.texi (Heap Consistency Checking): Update.
28256 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28258 2017-08-30 Florian Weimer <fweimer@redhat.com>
28260 Do not scale NPTL tests with available number of CPUs.
28261 * nptl/tst-cond16.c (count): Set to constant value of 8.
28262 * nptl/tst-cond18.c (count): Likewise.
28264 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28267 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28268 Define to take a second argument that is a macro that
28269 concatentates a suffix, not the suffix itself.
28270 (__CONCAT_d): New macro.
28271 (__CONCAT_f): Likewise.
28272 (__CONCAT_l): Likewise.
28274 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28276 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28279 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28280 Aurelien Jarno <aurelien@aurel32.net>
28281 Maciej W. Rozycki <macro@imgtec.com>
28284 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28285 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28286 `mips16-syscall6' and `mips16-syscall7'.
28287 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28288 (CFLAGS-mips16-syscall7.c): Remove.
28289 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28290 Remove `__mips16_syscall5', `__mips16_syscall6' and
28291 `__mips16_syscall7'.
28292 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28293 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28294 `__mips_syscall_return'.
28295 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28296 (__mips16_syscall1): Likewise.
28297 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28298 (__mips16_syscall2): Likewise.
28299 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28300 (__mips16_syscall3): Likewise.
28301 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28302 (__mips16_syscall4): Likewise.
28303 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28305 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28307 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28309 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28310 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28311 `__mips16_syscall5'. Remove prototype.
28312 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28313 `__mips16_syscall6'. Remove prototype.
28314 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28315 `__mips16_syscall7'. Remove prototype.
28316 (__nomips16, __mips16_syscall_return): Move to...
28317 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28318 (__nomips16, __mips_syscall_return): ... here.
28319 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28320 `__mips16_syscall_return' to `__mips_syscall_return'.
28321 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28322 `internal_syscall##nr'.
28323 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28324 `internal_syscall##nr'.
28325 (FORCE_FRAME_POINTER): Remove.
28326 (__mips_syscall5): New prototype.
28327 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28328 (__mips_syscall6): New prototype.
28329 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28330 (__mips_syscall7): New prototype.
28331 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28332 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28333 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28334 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28335 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28336 (sysdep_routines): Add libc-do-syscall.
28337 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28338 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28340 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28343 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28344 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28345 (advise_stack_range): New function.
28346 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28347 stack non required to advise_stack_range at allocatestack.c
28349 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28351 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28353 2017-08-29 Florian Weimer <fweimer@redhat.com>
28356 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28357 __end_fct. Mangle __end_fct after setting it to NULL.
28358 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28359 (modules-names, modules-names-tests): Add
28360 tst-gconv-init-failure-mod.
28361 (gconv-modules): New target.
28362 (tst-gconv-init-failure-mod.so): Link against libsupport.
28363 (tst-gconv-init-failure): Depend on gconv-modules,
28364 tst-gconv-init-failure-mod.so.
28365 * iconv/tst-gconv-init-failure-mod.c: New file.
28366 * iconv/tst-gconv-init-failure.c: Likewise.
28367 * iconv/test-gconv-modules: Likewise.
28369 2017-08-29 Florian Weimer <fweimer@redhat.com>
28372 * iconv/gconv_db.c (free_derivation): Remove redundant
28374 (gen_steps): Unconditionally mangle __btowc_fct after
28376 (increment_counter): Likewise. Do not call init_fct for internal
28379 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28382 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28383 (_MSUF_): Remove macro.
28384 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28386 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28387 (__REDIRFROM_X): New macro.
28388 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28390 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28391 (__REDIRTO_X): Likewise.
28392 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28394 (__MATH_REDIRCALL_2): Likewise.
28395 (__MATH_REDIRCALL_INTERNAL): Likewise.
28396 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28397 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28398 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28399 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28400 * math/test-finite-macros.c: New file.
28401 * math/Makefile (tests): Add test-finite-macros.
28402 (CFLAGS-test-finite-macros.c): New variable.
28404 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28405 Jeff Law <law@redhat.com>
28408 Mangle NULL pointers in iconv/gconv.
28409 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28410 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28411 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28412 is non-NULL before demangling the end_fct. Check for NULL
28413 end_fct after demangling.
28414 (__gconv_release_step): Demangle the end_fct before checking
28415 it for NULL. Remove assert on __shlibc_handle != NULL.
28416 (gen_steps): Don't check btowc_fct for NULL before mangling.
28417 Demangle init_fct before checking for NULL.
28418 (increment_counter): Likewise.
28419 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28420 end_fct for NULL before mangling.
28421 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28424 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28427 * locale/iso-639.def: add Morisyen.
28429 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28432 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28433 (iszero): New C++ implementation that does not use
28434 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28435 signaling nans are enabled, since __builtin_types_compatible_p
28436 is a C-only feature.
28437 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28438 defined, include ieee754_float128.h for access to the union and
28439 member ieee854_float128.ieee.
28440 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28441 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28442 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28443 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28444 options of test-math-zero on powerpc64le.
28446 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28448 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28449 Change double to float.
28451 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28453 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28455 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28456 conditional code; define contents only for [LIBM_SVID_COMPAT].
28458 2017-08-28 Florian Weimer <fweimer@redhat.com>
28460 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28461 (abi-lp64_be-options): Remove.
28462 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28463 (abi-hard-options): Likewise.
28464 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28465 (abi-o32_hard-options, abi-o32_soft_2008-options)
28466 (abi-o32_hard_2008-options, abi-n32_soft-options)
28467 (abi-n32_hard-options, abi-n32_soft_2008-options)
28468 (abi-n32_hard_2008-options, abi-n64_soft-options)
28469 (abi-n64_hard-options, abi-n64_soft_2008-options)
28470 (abi-n64_hard_2008-options): Likewise.
28471 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28472 (abi-64-v1-options, abi-64-v2-options): Likewise.
28473 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28474 (abi-64-options): Likewise.
28475 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28476 (abi-64-options): Likewise.
28477 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28478 (abi-64-options): Likewise.
28479 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28480 (abi-64-options, abi-x32-options): Likewise.
28482 2017-08-28 Florian Weimer <fweimer@redhat.com>
28484 Store supported list of SYS_* system calls in the source tree.
28485 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28486 (bits/syscall.h): Generate from list file.
28487 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28488 [$(subdir) = misc] (tests): Add tst-syscall-list.
28489 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28490 [$(subdir) = misc] (tst-syscall-list-macros.list)
28491 [$(subdir) = misc] (tst-syscall-list-nr.list)
28492 (tst-syscall-list-sys.list): Helper targets for new
28493 tst-syscall-list test.
28494 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28495 tst-syscall-list.sh.
28496 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28497 target. Do not include bits/syscall.d.
28498 [$(subdir) = misc] (generated): Do not update.
28499 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28500 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28501 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28502 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28504 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28506 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28507 (tst-cxa_atexit, tst-on_exit): Likewise.
28508 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28509 tst-cxa_atexit, and tst-on_exit.
28510 * stdlib/tst-atexit-common.c: New file.
28511 * stdlib/tst-atexit.c: New file.
28512 * stdlib/tst-at_quick_exit.c: New file.
28513 * stdlib/tst-cxa_atexit.c: New file.
28514 * stdlib/tst-on_exit.c: New file.
28516 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28518 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28519 * mach/stack_chk_fail_local.c: New file.
28520 * hurd/stack_chk_fail_local.c: New file.
28521 * mach/Machrules ($(interface-library)-routines): Add
28522 stack_chk_fail_local.
28523 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28524 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28525 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28526 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28527 * hurd/Makefile (CFLAGS-hurdstartup.o,
28528 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28530 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28532 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28533 (index_cpu_*, index_arch_*): Removed.
28535 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28537 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28538 Use uint64_t instead of unsigned long.
28540 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28542 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28543 [__HAVE_DISTINCT_FLOAT128].
28545 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28546 of <bits/math-finite.h>.
28547 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28548 inclusion of <bits/math-finite.h>.
28549 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28550 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28551 __NO_LONG_DOUBLE_MATH].
28552 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28553 (__MATH_REDIRCALL_2): Likewise.
28554 (__MATH_REDIRCALL_INTERNAL): Likewise.
28555 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28556 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28557 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28571 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28572 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28573 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28574 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28576 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28577 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28578 w_sqrtf_compat-ppc32.
28580 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28582 * math/math.h [defined __cplusplus] (issignaling): In the long
28583 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28584 is not defined. Call __issignaling, otherwise.
28586 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28588 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28589 syscall definitions and replace __builtin_expect with __glibc_likely.
28590 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28592 (SYSCALL_CANCELLABLE): Removedefinition
28593 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28595 (PSEUDO_END): Likewise.
28596 [IS_IN (libpthread)] (CENABLE): Likewise.
28597 [IS_IN (libpthread)] (CDISABLE): Likewise.
28598 [IS_IN (libc)] (CENABLE): Likewise.
28599 [IS_IN (libc)] (CENABLE): Likewise.
28600 [IS_IN (librt)] (CDISABLE): Likewise.
28601 [IS_IN (librt)] (CDISABLE): Likewise.
28602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28603 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28605 (PSEUDO_END): Likewise.
28606 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28607 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28608 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28609 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28610 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28611 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28612 (CENABLE): Likewise.
28613 (CDISABLE): Likewise.
28614 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28615 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28617 (PSEUDO_END): Likewise.
28618 [IS_IN (libpthread)] (CENABLE): Likewise.
28619 [IS_IN (libpthread)] (CDISABLE): Likewise.
28620 [IS_IN (libc)] (CENABLE): Likewise.
28621 [IS_IN (libc)] (CENABLE): Likewise.
28622 [IS_IN (librt)] (CDISABLE): Likewise.
28623 [IS_IN (librt)] (CDISABLE): Likewise.
28624 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28625 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28627 (PSEUDO_END): Likewise.
28628 [IS_IN (libpthread)] (CENABLE): Likewise.
28629 [IS_IN (libpthread)] (CDISABLE): Likewise.
28630 [IS_IN (libc)] (CENABLE): Likewise.
28631 [IS_IN (libc)] (CENABLE): Likewise.
28632 [IS_IN (librt)] (CDISABLE): Likewise.
28633 [IS_IN (librt)] (CDISABLE): Likewise.
28634 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28635 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28637 (PSEUDO_END): Likewise.
28638 [IS_IN (libpthread)] (CENABLE): Likewise.
28639 [IS_IN (libpthread)] (CDISABLE): Likewise.
28640 [IS_IN (libc)] (CENABLE): Likewise.
28641 [IS_IN (libc)] (CENABLE): Likewise.
28642 [IS_IN (librt)] (CDISABLE): Likewise.
28643 [IS_IN (librt)] (CDISABLE): Likewise.
28644 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28645 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28647 (PSEUDO_END): Likewise.
28648 [IS_IN (libpthread)] (CENABLE): Likewise.
28649 [IS_IN (libpthread)] (CDISABLE): Likewise.
28650 [IS_IN (libc)] (CENABLE): Likewise.
28651 [IS_IN (libc)] (CENABLE): Likewise.
28652 [IS_IN (librt)] (CDISABLE): Likewise.
28653 [IS_IN (librt)] (CDISABLE): Likewise.
28654 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28655 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28657 (PSEUDO_END): Likewise.
28658 [IS_IN (libpthread)] (CENABLE): Likewise.
28659 [IS_IN (libpthread)] (CDISABLE): Likewise.
28660 [IS_IN (libc)] (CENABLE): Likewise.
28661 [IS_IN (libc)] (CENABLE): Likewise.
28662 [IS_IN (librt)] (CDISABLE): Likewise.
28663 [IS_IN (librt)] (CDISABLE): Likewise.
28664 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28665 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28667 (PSEUDO_END): Likewise.
28668 [IS_IN (libpthread)] (CENABLE): Likewise.
28669 [IS_IN (libpthread)] (CDISABLE): Likewise.
28670 [IS_IN (libc)] (CENABLE): Likewise.
28671 [IS_IN (libc)] (CENABLE): Likewise.
28672 [IS_IN (librt)] (CDISABLE): Likewise.
28673 [IS_IN (librt)] (CDISABLE): Likewise.
28674 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28675 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28677 (PSEUDO_END): Likewise.
28678 [IS_IN (libpthread)] (CENABLE): Likewise.
28679 [IS_IN (libpthread)] (CDISABLE): Likewise.
28680 [IS_IN (libc)] (CENABLE): Likewise.
28681 [IS_IN (libc)] (CENABLE): Likewise.
28682 [IS_IN (librt)] (CDISABLE): Likewise.
28683 [IS_IN (librt)] (CDISABLE): Likewise.
28684 (SINGLE_THREAD_P): Likewise.
28685 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28687 (PSEUDO_END): Likewise.
28688 [IS_IN (libpthread)] (CENABLE): Likewise.
28689 [IS_IN (libpthread)] (CDISABLE): Likewise.
28690 [IS_IN (libc)] (CENABLE): Likewise.
28691 [IS_IN (libc)] (CENABLE): Likewise.
28692 [IS_IN (librt)] (CDISABLE): Likewise.
28693 [IS_IN (librt)] (CDISABLE): Likewise.
28694 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28695 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28697 (PSEUDO_END): Likewise.
28698 [IS_IN (libpthread)] (CENABLE): Likewise.
28699 [IS_IN (libpthread)] (CDISABLE): Likewise.
28700 [IS_IN (libc)] (CENABLE): Likewise.
28701 [IS_IN (libc)] (CENABLE): Likewise.
28702 [IS_IN (librt)] (CDISABLE): Likewise.
28703 [IS_IN (librt)] (CDISABLE): Likewise.
28704 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28705 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28706 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28707 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28710 (PSEUDO_END): Likewise.
28711 [IS_IN (libpthread)] (CENABLE): Likewise.
28712 [IS_IN (libpthread)] (CDISABLE): Likewise.
28713 [IS_IN (libc)] (CENABLE): Likewise.
28714 [IS_IN (libc)] (CENABLE): Likewise.
28715 [IS_IN (librt)] (CDISABLE): Likewise.
28716 [IS_IN (librt)] (CDISABLE): Likewise.
28717 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28720 (PSEUDO_END): Likewise.
28721 [IS_IN (libpthread)] (CENABLE): Likewise.
28722 [IS_IN (libpthread)] (CDISABLE): Likewise.
28723 [IS_IN (libc)] (CENABLE): Likewise.
28724 [IS_IN (libc)] (CENABLE): Likewise.
28725 [IS_IN (librt)] (CDISABLE): Likewise.
28726 [IS_IN (librt)] (CDISABLE): Likewise.
28727 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28728 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28730 (PSEUDO_END): Likewise.
28731 [IS_IN (libpthread)] (CENABLE): Likewise.
28732 [IS_IN (libpthread)] (CDISABLE): Likewise.
28733 [IS_IN (libc)] (CENABLE): Likewise.
28734 [IS_IN (libc)] (CENABLE): Likewise.
28735 [IS_IN (librt)] (CDISABLE): Likewise.
28736 [IS_IN (librt)] (CDISABLE): Likewise.
28737 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28740 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28741 * sysdeps/unix/sysv/linux/tile/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/x86_64/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.
28762 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28764 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28766 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28768 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28770 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28773 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28774 middle and outer with size_t instead of int. Repleace %d and
28775 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28776 "MAX (outer, nchars - 64)" to support unsigned outer and
28777 nchars. Also exit loop when outer == 0.
28779 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28781 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28782 * include/signal.h (__sigsuspend_nocancel): Likewise.
28783 * include/time.h (__nanosleep_nocancel): Likewise.
28784 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28785 * login/utmp_file.c: Include non cancellable syscall header.
28786 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28789 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28791 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28792 .byte sequences with AVX512F instructions.
28793 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28794 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28795 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28796 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28798 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28801 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28802 Steve Ellcey <sellcey@cavium.com>
28804 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28805 Use PTR_REG macro in cmp instruction.
28807 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28809 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28810 Change the return type of the ifunc resolver to match the return
28811 type of the target function.
28813 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28815 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28816 (preadv64): Likewise.
28817 (pwrite64(: Likewise.
28818 (pwritev64): Likewise.
28820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28821 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28822 (LOAD_ARGS_0): Likewise.
28823 (LOAD_ARGS_1): Likewise.
28824 (LOAD_ARGS_2): Likewise.
28825 (LOAD_ARGS_3): Likewise.
28826 (LOAD_ARGS_4): Likewise.
28827 (LOAD_ARGS_5): Likewise.
28828 (LOAD_ARGS_6): Likewise.
28829 (LOAD_REGS_0): Likewise.
28830 (LOAD_REGS_1): Likewise.
28831 (LOAD_REGS_2): Likewise.
28832 (LOAD_REGS_3): Likewise.
28833 (LOAD_REGS_4): Likewise.
28834 (LOAD_REGS_5): Likewise.
28835 (LOAD_REGS_6): Likewise.
28836 (ASM_ARGS_0): Likewise.
28837 (ASM_ARGS_1): Likewise.
28838 (ASM_ARGS_2): Likewise.
28839 (ASM_ARGS_3): Likewise.
28840 (ASM_ARGS_4): Likewise.
28841 (ASM_ARGS_5): Likewise.
28842 (ASM_ARGS_6): Likewise.
28843 (LOAD_ARGS_TYPES_1): Likewise.
28844 (LOAD_ARGS_TYPES_2): Likewise.
28845 (LOAD_ARGS_TYPES_3): Likewise.
28846 (LOAD_ARGS_TYPES_4): Likewise.
28847 (LOAD_ARGS_TYPES_5): Likewise.
28848 (LOAD_ARGS_TYPES_6): Likewise.
28849 (LOAD_REGS_TYPES_1): Likewise.
28850 (LOAD_REGS_TYPES_2): Likewise.
28851 (LOAD_REGS_TYPES_3): Likewise.
28852 (LOAD_REGS_TYPES_4): Likewise.
28853 (LOAD_REGS_TYPES_5): Likewise.
28854 (LOAD_REGS_TYPES_6): Likewise.
28855 (TYPEFY): New define.
28856 (ARGIFY): Likewise.
28857 (internal_syscall0): Likewise.
28858 (internal_syscall1): Likewise.
28859 (internal_syscall2): Likewise.
28860 (internal_syscall3): Likewise.
28861 (internal_syscall4): Likewise.
28862 (internal_syscall5): Likewise.
28863 (internal_syscall6): Likewise.
28864 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28865 (INTERNAL_SYSCALL_NCS): Remove define.
28866 (internal_syscall1): Add define.
28868 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28870 * math/w_remainder_compat.c: Remove duplicate inclusion of
28871 math-svid-compat.h.
28872 * math/w_remainderf_compat.c: Likewise.
28873 * math/w_remainderl_compat.c: Likewise.
28875 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28879 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28882 * math/tgmath.h (__floating_type): Simplify definitions.
28883 (__real_integer_type): New macro.
28884 (__complex_integer_type): Likewise.
28885 (__expr_is_real): Likewise.
28886 (__tgmath_real_type_sub): Update comment to describe handling of
28888 (__tgmath_complex_type_sub): New macro.
28889 (__tgmath_complex_type): Likewise.
28890 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28891 (__TGMATH_CF128): Use __expr_is_real.
28892 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28894 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28895 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28896 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28899 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28901 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28903 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28905 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28908 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28909 nanosleep_not_cancel with __nanosleep_nocancel.
28910 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28911 (__nanosleep_nocancel): New macro.
28912 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28914 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28916 (__nanosleep_nocancel): New prototype.
28918 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28919 pause_not_cancel with __pause_nocancel.
28920 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28921 (__pause_nocancel): New macro.
28922 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28924 (__pause_nocancel): New prototype.
28925 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28927 2017-08-22 Martin Sebor <msebor@redhat.com>
28929 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28930 to return a pointer to the same type as the target function.
28932 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28936 * include/printf.h (__printf_fphex): Add attribute_hidden.
28937 (__guess_grouping): New prototype.
28938 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28939 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28940 libc_hidden_proto and libc_hidden_def.
28941 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28942 (__vstrfmon_l): Remove the third argument passed to
28945 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28947 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28948 definition for issignaling that does not rely on __MATH_TG,
28949 since __MATH_TG uses __builtin_types_compatible_p, which is only
28950 available in C mode.
28951 (CFLAGS-test-math-issignaling.cc): New variable.
28952 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28953 * math/test-math-issignaling.cc: New test for C++ implementation
28954 of type-generic issignaling.
28955 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28956 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28957 options of test-math-issignaling on powerpc64le.
28959 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28961 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28963 (hidden_proto): Likewise.
28964 (hidden_tls_proto): Likewise.
28965 (__hidden_proto): Likewise.
28967 2017-08-22 Florian Weimer <fweimer@redhat.com>
28969 math: Statically link tests of internal functionality.
28970 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28972 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28973 (gmp-objs): Remove assignment.
28974 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28976 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28979 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28981 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
28983 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
28986 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
28987 variable definitions above inclusion of ../Rules.
28989 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28991 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
28992 case calling __builtin_unreachable.
28994 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28996 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
28997 __waitpid_nocancel.
28998 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
28999 (__waitpid_nocancel): New macro.
29000 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29002 (__waitpid_nocancel): Replace macro with a function.
29003 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29006 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29008 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29009 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29011 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29012 __writev_nocancel_nostatus.
29013 (write_call_graph): Likewise.
29014 (write_bb_counts): Likewise.
29015 * resolv/herror.c (herror): Likewise.
29016 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29018 (__writev_nocancel_nostatus): New macro.
29019 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29021 (__writev_nocancel_nostatus): New function.
29023 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29026 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29028 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29030 (hidden_proto): Likewise.
29031 (hidden_tls_proto): Likewise.
29032 (__hidden_proto): Likewise.
29035 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29036 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29045 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29046 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29047 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29048 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29050 GLIBC_2.0 sqrtl symbol.
29052 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29053 [__USE_MISC] (_LIB_VERSION): Likewise.
29054 [__USE_MISC] (struct exception): Likewise.
29055 [__USE_MISC] (matherr): Likewise.
29056 [__USE_MISC] (DOMAIN): Likewise.
29057 [__USE_MISC] (SING): Likewise.
29058 [__USE_MISC] (OVERFLOW): Likewise.
29059 [__USE_MISC] (UNDERFLOW): Likewise.
29060 [__USE_MISC] (TLOSS): Likewise.
29061 [__USE_MISC] (PLOSS): Likewise.
29062 [__USE_MISC] (HUGE): Likewise.
29063 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29064 * math/math-svid-compat.h: New file.
29065 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29067 * include/math.h [!_ISOMAC] (__matherr): Remove.
29068 * manual/arith.texi (FP Exceptions): Do not document matherr.
29069 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29070 (tests-internal): New variable.
29071 (install-lib): Do not add libieee.a.
29072 (non-lib.a): Likewise.
29073 (extra-objs): Do not add libieee.a and ieee-math.o.
29074 (CPPFLAGS-s_lib_version.c): Remove variable.
29075 ($(objpfx)libieee.a): Remove rule.
29076 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29077 * math/ieee-math.c: Remove.
29078 * math/libm-test-support.c (matherr): Remove.
29079 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29080 and license notices. Include <math-svid-compat.h> and
29082 (matherr): Undefine as macro. Use compat_symbol_reference.
29083 (_LIB_VERSION): Likewise.
29084 * math/test-matherr-2.c: New file.
29085 * math/test-matherr-3.c: Likewise.
29086 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29088 (__kernel_standard_f): Likewise.
29089 (__kernel_standard_l): Likewise.
29090 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29091 <math_private.h>. Include <math-svid-compat.h>.
29092 (_LIB_VERSION): Undefine as macro.
29093 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29094 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29095 [LIBM_SVID_COMPAT], use compat_symbol.
29096 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29097 <math_private.h>. Include <math-svid-compat.h>.
29098 (matherr): Undefine as macro.
29099 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29101 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29102 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29103 compat_symbol_reference.
29104 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29105 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29106 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29107 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29108 (MATHERR_D): Remove declaration.
29109 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29110 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29111 [LIBM_BUILD] (pmatherrf): Likewise.
29112 [LIBM_BUILD] (pmatherr): Likewise.
29113 [LIBM_BUILD] (pmatherrl): Likewise.
29114 (DOMAIN): Likewise.
29116 (OVERFLOW): Likewise.
29117 (UNDERFLOW): Likewise.
29120 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29121 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29123 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29124 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29126 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29127 * math/w_acos_compat.c: Likewise.
29128 * math/w_acosf_compat.c: Likewise.
29129 * math/w_acosh_compat.c: Likewise.
29130 * math/w_acoshf_compat.c: Likewise.
29131 * math/w_acoshl_compat.c: Likewise.
29132 * math/w_acosl_compat.c: Likewise.
29133 * math/w_asin_compat.c: Likewise.
29134 * math/w_asinf_compat.c: Likewise.
29135 * math/w_asinl_compat.c: Likewise.
29136 * math/w_atan2_compat.c: Likewise.
29137 * math/w_atan2f_compat.c: Likewise.
29138 * math/w_atan2l_compat.c: Likewise.
29139 * math/w_atanh_compat.c: Likewise.
29140 * math/w_atanhf_compat.c: Likewise.
29141 * math/w_atanhl_compat.c: Likewise.
29142 * math/w_cosh_compat.c: Likewise.
29143 * math/w_coshf_compat.c: Likewise.
29144 * math/w_coshl_compat.c: Likewise.
29145 * math/w_exp10_compat.c: Likewise.
29146 * math/w_exp10f_compat.c: Likewise.
29147 * math/w_exp10l_compat.c: Likewise.
29148 * math/w_exp2_compat.c: Likewise.
29149 * math/w_exp2f_compat.c: Likewise.
29150 * math/w_exp2l_compat.c: Likewise.
29151 * math/w_fmod_compat.c: Likewise.
29152 * math/w_fmodf_compat.c: Likewise.
29153 * math/w_fmodl_compat.c: Likewise.
29154 * math/w_hypot_compat.c: Likewise.
29155 * math/w_hypotf_compat.c: Likewise.
29156 * math/w_hypotl_compat.c: Likewise.
29157 * math/w_j0_compat.c: Likewise.
29158 * math/w_j0f_compat.c: Likewise.
29159 * math/w_j0l_compat.c: Likewise.
29160 * math/w_j1_compat.c: Likewise.
29161 * math/w_j1f_compat.c: Likewise.
29162 * math/w_j1l_compat.c: Likewise.
29163 * math/w_jn_compat.c: Likewise.
29164 * math/w_jnf_compat.c: Likewise.
29165 * math/w_jnl_compat.c: Likewise.
29166 * math/w_lgamma_main.c: Likewise.
29167 * math/w_lgamma_r_compat.c: Likewise.
29168 * math/w_lgammaf_main.c: Likewise.
29169 * math/w_lgammaf_r_compat.c: Likewise.
29170 * math/w_lgammal_main.c: Likewise.
29171 * math/w_lgammal_r_compat.c: Likewise.
29172 * math/w_log10_compat.c: Likewise.
29173 * math/w_log10f_compat.c: Likewise.
29174 * math/w_log10l_compat.c: Likewise.
29175 * math/w_log2_compat.c: Likewise.
29176 * math/w_log2f_compat.c: Likewise.
29177 * math/w_log2l_compat.c: Likewise.
29178 * math/w_log_compat.c: Likewise.
29179 * math/w_logf_compat.c: Likewise.
29180 * math/w_logl_compat.c: Likewise.
29181 * math/w_pow_compat.c: Likewise.
29182 * math/w_powf_compat.c: Likewise.
29183 * math/w_powl_compat.c: Likewise.
29184 * math/w_remainder_compat.c: Likewise.
29185 * math/w_remainderf_compat.c: Likewise.
29186 * math/w_remainderl_compat.c: Likewise.
29187 * math/w_scalb_compat.c: Likewise.
29188 * math/w_scalbf_compat.c: Likewise.
29189 * math/w_scalbl_compat.c: Likewise.
29190 * math/w_sinh_compat.c: Likewise.
29191 * math/w_sinhf_compat.c: Likewise.
29192 * math/w_sinhl_compat.c: Likewise.
29193 * math/w_sqrt_compat.c: Likewise.
29194 * math/w_sqrtf_compat.c: Likewise.
29195 * math/w_sqrtl_compat.c: Likewise.
29196 * math/w_tgamma_compat.c: Likewise.
29197 * math/w_tgammaf_compat.c: Likewise.
29198 * math/w_tgammal_compat.c: Likewise.
29199 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29200 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29201 * sysdeps/ieee754/k_standard.c: Likewise.
29202 * sysdeps/ieee754/k_standardf.c: Likewise.
29203 * sysdeps/ieee754/k_standardl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29206 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29208 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29209 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29210 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29211 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29212 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29219 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29220 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29222 2017-08-21 Florian Weimer <fweimer@redhat.com>
29225 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29226 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29227 Move before inclusion of ../Rules.
29229 2017-08-21 Florian Weimer <fweimer@redhat.com>
29232 * assert/assert.h (assert): Use static_cast (bool) for C++.
29233 Use the ternary operator in the warning branch for GNU C.
29234 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29235 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29236 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29237 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29238 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29240 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29243 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29244 (__syscall_clock_gettime): Add attribute_hidden.
29245 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29246 (__start_context): Likewise.
29248 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29250 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29252 (hidden_proto): Likewise.
29253 (hidden_tls_proto): Likewise.
29254 (__hidden_proto): Likewise.
29256 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29258 * include/libc-symbols.h (attribute_hidden): Enable hidden
29259 visibility in libc.a compiled with PIE.
29261 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29264 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29265 Add attribute_hidden.
29267 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29270 * Makerules (all-nonlib): Add $(others-extras).
29271 * catgets/Makefile (others-extras): New.
29272 * elf/Makefile (others-extras): Likewise.
29273 * nss/Makefile (others-extras): Likewise.
29275 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29278 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29279 * elf/dl-open.c: Include <libc-internal.h>.
29280 (__libc_multiple_libcs): Removed.
29281 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29283 * include/libc-internal.h (__libc_multiple_libcs): New.
29284 * misc/sbrk.c: Include <libc-internal.h>.
29285 (__libc_multiple_libcs): Removed.
29287 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29290 * grp/initgroups.c (__nss_group_database): Removed.
29291 (__nss_initgroups_database): Likewise.
29292 * nscd/gai.c (__nss_hosts_database): Likewise.
29293 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29294 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29295 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29296 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29297 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29298 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29300 * nss/nsswitch.c (__nss_database_custom): Define only if
29301 USE_NSCD is defined.
29302 (__nss_configure_lookup): Use __nss_database_custom only if
29303 USE_NSCD is defined.
29304 * nss/nsswitch.h (__nss_database_custom): Declare only if
29305 USE_NSCD is defined. Add attribute_hidden.
29306 (__nss_setent): Add attribute_hidden.
29307 (__nss_endent): Likewise.
29308 (__nss_getent_r): Likewise.
29309 (__nss_getent): Likewise.
29310 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29312 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29315 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29316 libc_hidden_proto and libc_hidden_def.
29318 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29321 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29322 Add libc_hidden_proto.
29323 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29324 Add libc_hidden_def.
29326 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29329 * gmon/Makefile (routines): Remove bb_init_func and
29331 (elide-routines.os): Removed.
29332 * gmon/bb_exit_func.c: Likewise.
29333 * gmon/bb_init_func.c: Likewise.
29334 * include/sys/gmon.h (__bb): Likewise.
29335 (__bb_init_func): Likewise.
29336 (__bb_exit_func): Likewise.
29337 * sysdeps/alpha/bb_init_func.S: Likewise.
29339 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29341 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29342 * include/setjmp.h (____longjmp_chk): Here. Add
29345 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29348 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29350 (__strspn_sse2): Likewise.
29352 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29354 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29355 (close_not_cancel_no_status): Likewise.
29356 (__close_nocancel): New macro.
29357 (__close_nocancel_nostatus): Likewise.
29358 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29360 (close_not_cancel): Likewise.
29361 (close_not_cancel_no_status): Likewise.
29362 (__close_nocancel): New prototype.
29363 (__close_nocancel_nostatus): New function.
29364 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29365 * catgets/open_catalog.c (__open_catalog): Replace
29366 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29367 * gmon/gmon.c (write_gmon): Likewise.
29368 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29369 * intl/loadmsgcat.c (close): Likewise.
29370 * io/ftw.c (open_dir_stream): Likewise.
29371 (ftw_startup): Likewise.
29372 * libio/fileops.c (_IO_file_open): Likewise.
29373 (_IO_file_close_mmap): Likewise.
29374 (_IO_file_close): Likewise.
29375 * libio/iopopen.c (_IO_dup2): Likewise.
29376 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29377 * locale/loadlocale.c (_nl_load_locale): Likewise.
29378 * login/utmp_file.c (pututline_file): Likewise.
29379 (endutent_file): Likewise.
29380 * misc/daemon.c (daemon): Likewise.
29381 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29382 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29383 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29384 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29386 * nscd/nscd_helper.c (open_socket): Likewise.
29387 (__nscd_open_socket): Likewise.
29388 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29389 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29390 (__nscd_innetgr): Likewise.
29391 * nss/nss_db/db-open.c (internal_setent): Likewise.
29392 * resolv/res-close.c (__res_iclose): Likewise.
29393 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29394 * sysdeps/posix/closedir.c (__closedir): Likewise.
29395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29396 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29397 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29398 (opendir_tail): Likewise.
29399 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29400 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29401 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29402 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29403 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29404 (gethostid): Likewise.
29405 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29406 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29409 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29410 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29411 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29413 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29414 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29415 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29417 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29418 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29420 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29422 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29423 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29424 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29427 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29428 (openat_not_cancel_3): Likewise.
29429 (openat64_not_cancel_3): Likewise).
29430 (openat_not_cancel_3): Likewise).
29431 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29433 (openat_not_cancel_3): Likewise.
29434 (openat64_not_cancel): Likewise.
29435 (openat64_not_cancel_3): Likewise.
29436 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29437 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29438 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29439 __open{64}_nocancel.
29440 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29441 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29442 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29444 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29447 * include/argz.h (__argz_create_sep): New function prototype.
29448 (__argz_append): Likewise.
29449 (__argz_add): Likewise.
29450 (__argz_add_sep): Likewise.
29451 (__argz_delete): Likewise.
29452 (__argz_insert): Likewise.
29453 (__argz_replace): Likewise.
29454 * string/argz.h (__argz_create_sep): Removed.
29455 (__argz_append): Likewise.
29456 (__argz_add): Likewise.
29457 (__argz_add_sep): Likewise.
29458 (__argz_delete): Likewise.
29459 (__argz_insert): Likewise.
29460 (__argz_replace): Likewise.
29462 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29464 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29465 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29466 (GNU_PROPERTY_STACK_SIZE): Likewie.
29467 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29468 (GNU_PROPERTY_LOPROC): Likewise.
29469 (GNU_PROPERTY_HIPROC): Likewise.
29470 (GNU_PROPERTY_LOUSER): Likewise.
29471 (GNU_PROPERTY_HIUSER): Likewise.
29472 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29473 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29474 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29475 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29476 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29477 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29478 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29479 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29480 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29481 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29482 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29483 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29484 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29485 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29486 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29487 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29488 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29489 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29490 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29491 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29492 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29493 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29494 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29496 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29498 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29501 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29504 * math/math.h (isinf): Check if in C or C++ mode before using
29505 __builtin_types_compatible_p, since this is a C mode feature.
29507 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29509 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29510 (__write_nocancel): New macro.
29511 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29512 Rewrite as a function prototype.
29513 (write_not_cancel): Remove macro.
29514 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29515 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29516 (write_gmon): Likewise.
29517 * libio/fileops.c (_IO_new_file_write): Likewise.
29518 * login/utmp_file.c (pututline_file): Likewise.
29519 (updwtmp_file): Likewise.
29520 * stdio-common/psiginfo.c (psiginfo): Likewise.
29521 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29522 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29523 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29525 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29528 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29529 (__read_nocancel): New macro.
29530 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29532 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29534 (__read_nocancel): New prototype.
29535 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29536 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29537 with __read_nocancel.
29538 * intl/loadmsgcat.c (read): Likewise.
29539 * libio/fileops.c (_IO_file_read): Likewise.
29540 * locale/loadlocale.c (_nl_load_locale): Likewise.
29541 * login/utmp_file.c (getutent_r_file): Likewise.
29542 (internal_getut_r): Likewise.
29543 (getutline_r_file): Likewise.
29544 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29545 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29546 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29547 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29549 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29550 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29551 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29553 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29555 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29557 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29561 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29564 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29565 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29568 2017-08-17 DJ Delorie <dj@redhat.com>
29570 * bug17079.c: Update to new test harness.
29571 * test-digits-dots.c: Likewise.
29572 * test-netdb.c: Likewise.
29573 * tst-field.c: Likewise.
29574 * tst-nss-getpwent.c: Likewise.
29575 * tst-nss-static.c: Likewise.
29576 * tst-nss-test1.c: Likewise.
29577 * tst-nss-test2.c: Likewise.
29578 * tst-nss-test3.c: Likewise.
29579 * tst-nss-test4.c: Likewise.
29580 * tst-nss-test5.c: Likewise.
29582 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29584 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29585 (open_not_cancel_2): Likewise.
29586 (open_nocancel): New macro.
29587 (open64_nocancel): Likewise.
29588 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29589 (open_not_cancel_2): Likewise.
29590 (__open_nocancel): New prototype.
29591 (__open64_nocancel): Likewise.
29592 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29594 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29595 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29596 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29597 with __open_nocancel.
29598 * csu/check_fds.c (check_one_fd): Likewise.
29599 * gmon/gmon.c (write_gmon): Likewise.
29600 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29601 * intl/loadmsgcat.c (open): Likewise.
29602 * libio/fileops.c (_IO_file_open): Likewise.
29603 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29604 * locale/loadlocale.c (_nl_load_locale): Likewise.
29605 * login/utmp_file.c (setutent_file): Likewise.
29606 * misc/daemon.c (daemon): Likewise.
29607 * nss/nss_db/db-open.c (internal_setent): Likewise.
29608 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29609 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29610 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29611 (__opendir): Likewise.
29612 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29613 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29614 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29615 (gethostid): Likewise.
29616 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29620 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29621 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29622 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29624 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29626 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29628 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29630 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29632 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29634 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29637 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29639 * benchtests/bench-skeleton.c (main): Add support for
29640 latency benchmarking.
29641 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29643 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29645 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29646 the startup object.
29648 2017-08-17 Florian Weimer <fweimer@redhat.com>
29650 * include/sys/socket.h (__opensock): Remove internal_function.
29651 * socket/opensock.c (__opensock): Likewise.
29652 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29654 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29657 * signal/bits/types/__sigval_t.h: New file.
29658 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29659 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29660 and define sigval_t using __sigval_t.
29661 * include/bits/types/__sigval_t.h: New file.
29662 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29663 instead of <bits/types/__sigval_t.h>.
29664 (struct sigevent): Use __sigval_t instead of sigval_t.
29665 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29666 instead of <bits/types/__sigval_t.h>.
29667 (siginfo_t): Use __sigval_t instead of sigval_t.
29668 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29669 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29670 (struct sigevent): Use __sigval_t instead of sigval_t.
29671 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29672 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29673 (siginfo_t): Use __sigval_t instead of sigval_t.
29674 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29676 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29678 * NEWS: Remove "[Add new features here]" for 2.27.
29680 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29682 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29685 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29687 * NEWS: Mention x86-64 FMA optimization.
29689 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29692 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29694 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29695 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29696 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29698 2017-08-16 Andreas Schwab <schwab@suse.de>
29702 * elf/ldd.bash.in: Never run file directly.
29704 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29707 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29708 (L(SP_INF_0)): Likewise.
29710 2017-08-15 Florian Weimer <fweimer@redhat.com>
29712 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29715 2017-08-15 Florian Weimer <fweimer@redhat.com>
29717 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29718 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29719 BROKEN_THREAD_SIGNALS code.
29720 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29721 request_list): Remove caller_pid member used for
29722 BROKEN_THREAD_SIGNALS.
29723 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29724 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29725 Remove BROKEN_THREAD_SIGNALS support.
29726 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29727 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29729 2017-08-15 Florian Weimer <fweimer@redhat.com>
29731 * gmon/Makefile (tests): Add tst-gmon.
29732 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29734 (tests-special): Add tst-gmon-prof.out.
29735 (tst-gmon.out): Depend on clean-tst-gmon-data.
29736 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29737 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29738 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29740 * aclocal.m4 (GPROF): Set and substitute.
29741 * config.amke.in (GPROF): Set.
29742 * configure: Regenerate.
29744 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29746 * elf/elf.h A (NT_PPC_TAR): New macro.
29747 (NT_PPC_PPR): Likewise.
29748 (NT_PPC_DSCR): Likewise.
29749 (NT_PPC_EBB): Likewise.
29750 (NT_PPC_PMU): Likewise.
29751 (NT_PPC_TM_CGPR): Likewise.
29752 (NT_PPC_TM_CFPR): Likewise.
29753 (NT_PPC_TM_CVMX): Likewise.
29754 (NT_PPC_TM_CVSX): Likewise.
29755 (NT_PPC_TM_SPR): Likewise.
29756 (NT_PPC_TM_CTAR): Likewise.
29757 (NT_PPC_TM_CPPR): Likewise.
29758 (NT_PPC_TM_CDSCR): Likewise.
29760 2017-08-15 Florian Weimer <fweimer@redhat.com>
29762 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29763 regparm (2) instead of internal_function.
29764 (_MCOUNT_DECL): Adjust.
29766 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29768 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29769 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29771 2017-08-14 Joseph Myers <joseph@codesourcery.com>
29773 * conform/data/sys/wait.h-data (si_value): Do not expect for
29776 2017-08-14 Florian Weimer <fweimer@redhat.com>
29779 NSS: Create stubs for accidentally exported lookup functions.
29780 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29781 Remove declaration.
29782 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29783 (ether_hostton): Call __nss_ethers_lookup2 instead.
29784 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29785 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29786 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29787 (setup): Call __nss_netgroup_lookup2 instead.
29788 * nss/Makefile (routines): Add compat-lookup.
29789 * nss/Versions (GLIBC_2.27): Add symbol version.
29790 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29791 (DB_COMPAT_FCT): Remove.
29792 * nss/compat-lookup.c: New file.
29793 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29794 from databases.def.
29795 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29796 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29797 (netname2user): Call __nss_publickey_lookup2 instead.
29798 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29799 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29802 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29803 Sergei Trofimovich <slyfox@inbox.ru>
29806 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29807 Rename to MMAP2_PAGE_UNIT.
29808 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29809 __OFF_T_MATCHES_OFF64_T is not defined.
29810 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29812 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29813 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29815 2017-08-14 Florian Weimer <fweimer@redhat.com>
29817 i386: Do not set internal_function.
29818 * config.h.in (USE_REGPARMS, internal_function): Remove.
29819 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29820 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29822 2017-08-14 Florian Weimer <fweimer@redhat.com>
29824 * elf/dl-init.c (_dl_init): Remove internal_function.
29825 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29826 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29828 2017-08-14 Florian Weimer <fweimer@redhat.com>
29830 * elf/rtld.c (_dl_start): Remove internal_function.
29831 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29834 2017-08-14 Florian Weimer <fweimer@redhat.com>
29836 * elf/dl-fini.c (_dl_fini): Remove internal_function
29837 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29839 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29841 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
29842 (bit_cpu_SHSTK): Likewise.
29843 (index_cpu_IBT): Likewise.
29844 (index_cpu_SHSTK): Likewise.
29845 (reg_IBT): Likewise.
29846 (reg_SHSTK): Likewise.
29847 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29848 Handle index_cpu_IBT and index_cpu_SHSTK.
29850 2017-08-14 Mike FABIAN <mfabian@redhat.com>
29853 * po/fr.po: Fix spelling mistake.
29855 2017-08-13 Florian Weimer <fweimer@redhat.com>
29857 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29858 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29859 (_dl_catch_error, _dl_receive_error): Likewise.
29860 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29861 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29862 (_dl_deallocate_tls): Likewise.
29863 * include/dlfcn.h (_dl_addr): Likewise.
29864 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29865 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29866 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29869 2017-08-13 Florian Weimer <fweimer@redhat.com>
29871 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29872 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29874 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29876 2017-08-13 Florian Weimer <fweimer@redhat.com>
29878 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29880 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29881 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29882 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29883 internal_function from _dl_make_stack_executable_hook member.
29884 (_dl_make_stack_executable): Remove internal_function.
29885 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29887 * sysdeps/unix/sysv/linux/dl-execstack.c
29888 (_dl_make_stack_executable): Likewise.
29890 2017-08-13 Florian Weimer <fweimer@redhat.com>
29892 * sysdeps/unix/sysv/linux/netlinkaccess.h
29893 (__netlink_assert_response): Remove internal_function.
29894 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29895 (__netlink_assert_response): Likewise.
29897 2017-08-13 Florian Weimer <fweimer@redhat.com>
29899 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29901 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29903 2017-08-13 Florian Weimer <fweimer@redhat.com>
29905 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29907 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29908 * inet/netgroup.h (__internal_setnetgrent)
29909 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29910 * inet/getnetgrent_r.c (__internal_setnetgrent)
29911 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29912 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29913 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29914 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29915 * nss/nsswitch.h (db_lookup_function): Likewise.
29917 2017-08-13 Florian Weimer <fweimer@redhat.com>
29919 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29920 Remove internal_function.
29921 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29922 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29923 message argument on the stack.
29924 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29927 2017-08-12 Mike FABIAN <mfabian@redhat.com>
29929 Adapt test case data to the changes in the thousands
29933 * localedata/tst-langinfo.sh: Adapt test case data.
29934 * stdlib/tst-strfmon_l.c: Likewise.
29935 * stdlib/tst-strtod4.c: Likewise.
29936 * stdlib/tst-strtod5i.c: Likewise.
29938 2017-08-11 Florian Weimer <fweimer@redhat.com>
29941 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29942 Suppress pedantic warning resulting from statement expression.
29943 (__ASSERT_FUNCTION): Add missing __extension__.
29945 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29947 * benchtests/bench-memmove-large.c: Print output in JSON
29949 * benchtests/bench-memmove.c: Likewise.
29951 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29952 * benchtests/bench-memchr.c (do_one_test): Likewise.
29953 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29954 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29955 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29956 * benchtests/bench-memmove.c (do_one_test): Likewise.
29957 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29958 * benchtests/bench-memset.c (do_one_test): Likewise.
29959 * benchtests/bench-string.h (test_init): Remove memsets.
29961 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29964 (Computing the Width of an Integer Data Type): Rename section to
29965 "Width of an Integer Type". Remove inaccurate statement regarding
29966 lack of C language facilities for determining width of integer
29967 types, and reorder content to improve flow and context of
29970 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29972 * lang.texi (va_copy): Change standard from ISO to C99.
29973 (__va_copy): Add standard and header annotation.
29974 Update description for clarity of origins and current use.
29976 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29979 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29980 xssqrtqp requires operands to be in Vector Registers
29981 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
29982 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
29983 (__ieee754_sqrtf128): Likewise.
29985 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
29987 * sysdeps/aarch64/memcmp.S (memcmp):
29988 Rewrite of optimized memcmp.
29990 2017-08-10 Florian Weimer <fweimer@redhat.com>
29992 Introduce ld.so exceptions.
29993 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
29994 (_dl_exception_create, _dl_exception_create_format)
29995 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
29996 (_dl_catch_exception): Declare.
29997 (_dl_catch_error): Update comment.
29998 * elf/dl-error-skeleton.c (struct catch): Replace objname,
29999 errstring, malloced members with exception member.
30000 (_dl_out_of_memory): Remove.
30001 (fatal_error): New function, extracted from _dl_signal_error.
30002 (_dl_signal_exception, _dl_signal_cexception): New functions.
30003 (_dl_signal_error): Call _dl_exception_create to allocate an
30005 (_dl_catch_exception): New function, based on _dl_catch_error.
30006 (_dl_catch_error): Implement using _dl_catch_exception.
30007 * elf/dl-exception.c: New file.
30008 * elf/Makefile (dl-routines): Add dl-exception.
30009 (elide-routines.os): Likewise.
30010 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30011 _dl_exception_create_format, _dl_exception_free.
30012 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30013 _dl_signal_exception.
30014 * elf/dl-lookup.c (make_string): Remove.
30015 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30016 _dl_signal_cexception, _dl_exception_free.
30017 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30018 _dl_signal_exception.
30019 * elf/dl-sym.c (do_sym): Likewise.
30020 * elf/dl-version.c (make_string): Remove.
30021 (match_symbol): Use _dl_exception_create_format,
30022 _dl_signal_cexception, _dl_exception_free.
30023 (_dl_check_map_versions): Likewise.
30024 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30025 _dl_catch_exception.
30026 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30027 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30028 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30029 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30030 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30031 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30032 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30033 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30035 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30042 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30043 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30044 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30046 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30048 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30050 2017-08-10 Florian Weimer <fweimer@redhat.com>
30052 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30053 attribute_hidden, internal_function.
30054 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30057 2017-08-10 Florian Weimer <fweimer@redhat.com>
30059 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30060 function which calls __builtin_unreachable.
30062 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30064 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30065 Indian monetary formatting
30066 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30069 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30071 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30072 Fix typo in comment.
30075 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30076 PTRACE_SEIZE_DEVEL): Remove.
30077 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30078 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30083 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30085 * posix/bits/types.h (__qaddr_t): Remove.
30088 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30089 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30091 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30092 (ucontext_t): Use __ctx with uc_flags.
30093 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30094 (__ctxt): Likewise.
30095 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30097 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30098 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30100 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30101 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30103 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30105 (ucontext_t): Use __ctx with uc_flags.
30106 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30107 (ucontext_t): Use __ctx with uc_flags.
30108 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30109 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30110 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30111 (ucontext_t): Use __ctx with uc_flags.
30112 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30113 undefine further down.
30114 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30116 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30117 undefine further down.
30118 (ucontext_t): Use __ctx with uc_flags.
30119 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30120 undefine further down.
30121 (ucontext_t): Use __ctx with uc_flags.
30122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30123 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30124 Rename uc_pad to __glibc_reserved1.
30125 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30126 undefine further down.
30127 (ucontext_t): Use __ctx with uc_flags.
30128 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30130 (ucontext_t): Use __ctx with uc_flags.
30131 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30132 __ctx with uc_flags.
30133 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30134 (ucontext_t): Use __ctx with uc_flags.
30135 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30136 __ctx with uc_flags.
30138 2017-08-09 Florian Weimer <fweimer@redhat.com>
30141 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30142 before early return.
30144 2017-08-09 Andreas Schwab <schwab@suse.de>
30147 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30151 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30152 tst-compat-forwarder.
30153 (modules-names): Add tst-compat-forwarder-mod.
30154 ($(objpfx)tst-compat-forwarder): Depend on
30155 $(objpfx)tst-compat-forwarder-mod.so.
30156 * nptl/tst-compat-forwarder.c: New file.
30157 * nptl/tst-compat-forwarder-mod.c: New file.
30159 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30161 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30164 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30165 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30167 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30169 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30170 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30171 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30172 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30174 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30177 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30180 * manual/setjmp.texi (getcontex): Document uc_stack value
30181 compatibility differences.
30183 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30185 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30186 (old_malloc_hook): Likewise.
30187 (old_memalign_hook): Likewise.
30188 (old_realloc_hook): Likewise.
30189 (struct hdr): Likewise.
30191 (freehook): Likewise.
30192 (mallochook): Likewise.
30193 (memalignhook): Likewise.
30194 (reallochook): Likewise.
30195 (mprobe): Likewise.
30196 * malloc/mtrace.c (mallwatch): Likewise.
30197 (tr_old_free_hook): Likewise.
30198 (tr_old_malloc_hook): Likewise.
30199 (tr_old_realloc_hook): Likewise.
30200 (tr_old_memalign_hook): Likewise.
30201 (tr_where): Likewise.
30202 (lock_and_info): Likewise.
30203 (tr_freehook): Likewise.
30204 (tr_mallochook): Likewise.
30205 (tr_reallochook): Likewise.
30206 (tr_memalignhook): Likewise.
30207 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30208 * misc/mmap.c (__mmap): Likewise.
30209 * misc/mmap64.c (__mmap64): Likewise.
30210 * misc/mprotect.c (__mprotect): Likewise.
30211 * misc/msync.c (msync): Likewise.
30212 * misc/munmap.c (__munmap): Likewise.
30213 * posix/posix_madvise.c (posix_madvise): Likewise.
30214 * socket/send.c (__send): Likewise.
30215 * socket/sendto.c (__sendto): Likewise.
30216 * socket/setsockopt.c (__setsockopt): Likewise.
30217 * string/memcmp.c (__ptr_t): Remove macro.
30218 (MEMCMP): Use void * instead of ptr_t.
30219 * string/memrchr.c (__ptr_t): Remove macro.
30220 (__memrchr): Use void * instead of ptr_t.
30221 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30222 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30223 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30224 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30225 * sysdeps/mach/msync.c (msync): Likewise.
30226 * sysdeps/mach/munmap.c (__munmap): Likewise.
30227 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30229 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30230 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30231 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30232 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30233 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30234 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30235 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30238 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30239 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30240 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30241 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30242 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30243 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30244 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30245 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30246 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30248 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30249 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30250 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30251 (MEMCMP): Use void * instead of ptr_t.
30252 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30253 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30255 2017-08-08 Florian Weimer <fweimer@redhat.com>
30257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30260 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30263 * csu/libc-tls.c: Include <startup.h> first.
30264 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30265 * elf/dl-tunables.c: Include <startup.h> first.
30266 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30267 * sysdeps/generic/startup.h: New file.
30268 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30269 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30270 (I386_USE_SYSENTER): New. Defined to 0.
30272 2017-08-08 Andreas Schwab <schwab@suse.de>
30275 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30276 * nptl/pt-system.c (system): Likewise.
30278 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30281 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30283 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30284 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30285 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30286 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30287 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30288 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30289 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30291 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30294 * bits/sigaction.h (struct sigaction): Define sa_handler and
30295 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30296 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30297 [__USE_XOPEN_EXTENDED].
30298 (SA_RESTART): Likewise.
30299 (SA_NODEFER): Likewise.
30300 (SA_RESETHAND): Likewise.
30301 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30302 (struct sigaction): Define sa_handler and sa_sigaction using union
30303 also for [__USE_XOPEN_EXTENDED].
30304 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30305 [__USE_XOPEN_EXTENDED].
30306 (SA_RESTART): Likewise.
30307 (SA_NODEFER): Likewise.
30308 (SA_RESETHAND): Likewise.
30309 * sysdeps/unix/sysv/linux/bits/sigaction.h
30310 (struct sigaction): Define sa_handler and sa_sigaction using union
30311 also for [__USE_XOPEN_EXTENDED].
30312 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30313 [__USE_XOPEN_EXTENDED].
30314 (SA_RESTART): Likewise.
30315 (SA_NODEFER): Likewise.
30316 (SA_RESETHAND): Likewise.
30317 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30318 (struct sigaction): Define sa_handler and sa_sigaction using union
30319 also for [__USE_XOPEN_EXTENDED].
30320 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30321 [__USE_XOPEN_EXTENDED].
30322 (SA_RESTART): Likewise.
30323 (SA_NODEFER): Likewise.
30324 (SA_RESETHAND): Likewise.
30325 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30326 (struct sigaction): Define sa_handler and sa_sigaction using union
30327 also for [__USE_XOPEN_EXTENDED].
30328 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30329 [__USE_XOPEN_EXTENDED].
30330 (SA_RESTART): Likewise.
30331 (SA_NODEFER): Likewise.
30332 (SA_RESETHAND): Likewise.
30333 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30334 (struct sigaction): Define sa_handler and sa_sigaction using union
30335 also for [__USE_XOPEN_EXTENDED].
30336 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30337 [__USE_XOPEN_EXTENDED].
30338 (SA_RESTART): Likewise.
30339 (SA_NODEFER): Likewise.
30340 (SA_RESETHAND): Likewise.
30341 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30342 (struct sigaction): Define sa_handler and sa_sigaction using union
30343 also for [__USE_XOPEN_EXTENDED].
30344 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30345 [__USE_XOPEN_EXTENDED].
30346 (SA_RESTART): Likewise.
30347 (SA_NODEFER): Likewise.
30348 (SA_RESETHAND): Likewise.
30349 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30350 (struct sigaction): Define sa_handler and sa_sigaction using union
30351 also for [__USE_XOPEN_EXTENDED].
30352 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30353 [__USE_XOPEN_EXTENDED].
30354 (SA_RESTART): Likewise.
30355 (SA_NODEFER): Likewise. Define directly rather than as alias.
30356 (SA_RESETHAND): Likewise.
30357 (SA_INTERRUPT): Define only for [__USE_MISC].
30358 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30359 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30361 (SA_STACK): Define only for [__USE_MISC].
30362 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30363 (struct sigaction): Define sa_handler and sa_sigaction using union
30364 also for [__USE_XOPEN_EXTENDED].
30365 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30366 [__USE_XOPEN_EXTENDED].
30367 (SA_RESTART): Likewise.
30368 (SA_NODEFER): Likewise.
30369 (SA_RESETHAND): Likewise.
30370 (SA_NOPTRACE): Define only for [__USE_MISC].
30372 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30373 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30374 (struct catalog_info): Likewise.
30375 * inet/htontest.c (lo): Likewise.
30377 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30378 * inet/inet_net.c (inet_network): Likewise.
30379 * inet/inet_netof.c (inet_netof): Likewise.
30380 * inet/rcmd.c (__ivaliduser): Likewise.
30381 (iruserok): Likewise.
30382 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30383 * locale/programs/locale-spec.c (locale_special): Likewise.
30384 * nis/nis_findserv.c (struct findserv_req): Likewise.
30385 (__nis_findfastest_with_timeout): Likewise.
30386 * nss/test-netdb.c (test_network): Likewise.
30387 * resolv/inet_neta.c (inet_neta): Likewise.
30388 * resolv/ns_date.c (ns_datetosecs): Likewise.
30389 (SECS_PER_DAY): Likewise.
30390 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30392 * resolv/res_comp.c (__putlong): Likewise.
30393 (__putshort): Likewise.
30394 (_getlong): Likewise.
30395 (_getshort): Likewise.
30396 * resolv/res_debug.c (p_time): Likewise.
30397 (precsize_ntoa): Likewise.
30398 (precsize_aton): Likewise.
30399 (latlon2ul): Likewise.
30400 (loc_aton): Likewise.
30401 (loc_ntoa): Likewise.
30402 * resolv/res_hconf.c (struct netaddr): Likewise.
30403 (_res_hconf_reorder_addrs): Likewise.
30404 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30405 (clnttcp_control): Likewise.
30406 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30407 (clntudp_control): Likewise.
30408 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30409 (clntunix_control): Likewise.
30410 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30411 * sunrpc/rpc/auth.h (union des_block): Likewise.
30412 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30413 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30414 (xdrrec_create): Likewise.
30415 (xdrrec_endofrecord): Likewise.
30416 (flush_out): Likewise.
30417 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30418 (xdrstdio_putlong): Likewise.
30419 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30422 * misc/sys/cdefs.h (__long_double_t): Remove.
30423 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30424 instead of __long_double_t,
30425 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30427 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30429 * benchtests/scripts/compare_strings.py: Avoid display error when
30430 running on a text terminal.
30432 * benchtests/scripts/compare_strings.py (main): Add an
30433 optional -base option.
30434 (process_results): New argument base_func.
30436 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30438 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30439 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30441 2017-08-07 Andreas Schwab <schwab@suse.de>
30443 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30444 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30445 * intl/Makefile ($(objpfx)tst-gettext.out)
30446 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30447 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30448 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30449 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30450 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30451 * posix/Makefile ($(objpfx)globtest.out)
30452 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30453 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30454 ($(objpfx)tst-printf.out): Likewise.
30455 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30456 ($(objpfx)tst-setcontext3.out): Likewise.
30458 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30460 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30461 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30462 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30463 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30464 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30466 (CFLAGS-doasin-fma.c): New.
30467 (CFLAGS-dosincos-fma.c): Likewise.
30468 (CFLAGS-e_asin-fma.c): Likewise.
30469 (CFLAGS-e_atan2-fma.c): Likewise.
30470 (CFLAGS-e_exp-fma.c): Likewise.
30471 (CFLAGS-e_log-fma.c): Likewise.
30472 (CFLAGS-e_pow-fma.c): Likewise.
30473 (CFLAGS-halfulp-fma.c): Likewise.
30474 (CFLAGS-mpa-fma.c): Likewise.
30475 (CFLAGS-mpatan-fma.c): Likewise.
30476 (CFLAGS-mpatan2-fma.c): Likewise.
30477 (CFLAGS-mpexp-fma.c): Likewise.
30478 (CFLAGS-mplog-fma.c): Likewise.
30479 (CFLAGS-mpsqrt-fma.c): Likewise.
30480 (CFLAGS-mptan-fma.c): Likewise.
30481 (CFLAGS-s_atan-fma.c): Likewise.
30482 (CFLAGS-sincos32-fma.c): Likewise.
30483 (CFLAGS-slowexp-fma.c): Likewise.
30484 (CFLAGS-slowpow-fma.c): Likewise.
30485 (CFLAGS-s_sin-fma.c): Likewise.
30486 (CFLAGS-s_tan-fma.c): Likewise.
30487 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30488 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30489 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30490 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30491 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30492 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30493 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30494 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30495 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30496 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30497 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30498 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30499 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30500 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30501 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30503 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30504 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30505 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30506 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30507 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30508 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30509 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30510 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30511 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30513 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30514 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30519 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30521 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30522 (min_of_type_f): New macro.
30523 (min_of_type_): Likewise.
30524 (min_of_type_l): Likewise.
30525 (min_of_type_f128): Likewise.
30526 (min_of_type): Define using __MATH_TG and taking an expression
30528 (math_check_force_underflow): Pass expression instead of type to
30530 (math_check_force_underflow_nonneg): Likewise.
30532 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30534 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30535 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30536 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30538 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30541 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30542 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30543 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30544 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30545 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30546 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30547 memmove_chk-nonshared and memset_chk-nonshared
30548 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30549 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30550 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30552 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30553 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30554 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30555 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30556 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30557 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30558 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30559 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30561 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30563 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30565 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30566 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30567 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30569 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30570 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30571 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30573 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30574 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30575 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30576 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30577 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30578 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30579 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30580 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30581 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30582 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30583 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30584 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30585 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30586 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30587 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30588 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30589 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30590 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30591 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30592 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30593 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30594 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30595 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30596 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30597 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30598 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30599 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30600 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30601 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30602 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30603 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30604 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30605 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30606 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30607 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30608 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30609 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30610 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30611 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30612 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30613 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30614 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30615 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30616 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30617 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30618 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30620 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30621 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30632 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30633 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30635 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30636 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30637 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30638 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30639 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30640 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30642 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30643 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30644 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30645 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30646 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30647 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30648 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30649 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30657 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30659 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30660 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30661 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30662 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30663 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30664 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30665 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30666 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30667 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30668 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30669 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30670 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30671 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30672 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30673 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30674 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30675 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30676 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30677 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30678 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30679 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30680 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30681 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30682 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30683 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30685 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30687 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30688 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30689 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30690 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30691 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30692 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30693 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30694 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30695 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30697 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30698 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30699 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30700 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30701 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30702 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30703 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30704 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30705 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30706 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30707 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30708 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30709 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30710 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30711 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30712 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30713 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30714 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30715 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30716 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30717 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30719 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30720 Don't include <sysdep.h> nor <init-arch.h>.
30721 (_ZGVbN2v_cos): Removed.
30722 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30724 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30725 Don't include <sysdep.h> nor <init-arch.h>.
30726 (_ZGVdN4v_cos): Removed.
30727 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30729 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30730 Don't include <sysdep.h> nor <init-arch.h>.
30731 (_ZGVeN8v_cos): Removed.
30732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30734 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30735 Don't include <sysdep.h> nor <init-arch.h>.
30736 (_ZGVbN2v_exp): Removed.
30737 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30739 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30740 Don't include <sysdep.h> nor <init-arch.h>.
30741 (_ZGVdN4v_exp): Removed.
30742 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30744 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30745 Don't include <sysdep.h> nor <init-arch.h>.
30746 (_ZGVeN8v_exp): Removed.
30747 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30749 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30750 Don't include <sysdep.h> nor <init-arch.h>.
30751 (_ZGVbN2v_log): Removed.
30752 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30754 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30755 Don't include <sysdep.h> nor <init-arch.h>.
30756 (_ZGVdN4v_log): Removed.
30757 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30759 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30760 Don't include <sysdep.h> nor <init-arch.h>.
30761 (_ZGVeN8v_log): Removed.
30762 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30764 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30765 Don't include <sysdep.h> nor <init-arch.h>.
30766 (_ZGVbN2vv_pow): Removed.
30767 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30769 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30770 Don't include <sysdep.h> nor <init-arch.h>.
30771 (_ZGVdN4vv_pow): Removed.
30772 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30774 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30775 Don't include <sysdep.h> nor <init-arch.h>.
30776 (_ZGVeN8vv_pow): Removed.
30777 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30779 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30780 Don't include <sysdep.h> nor <init-arch.h>.
30781 (_ZGVbN2v_sin): Removed.
30782 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30784 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30785 Don't include <sysdep.h> nor <init-arch.h>.
30786 (_ZGVbN4v_sin): Removed.
30787 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30789 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30790 Don't include <sysdep.h> nor <init-arch.h>.
30791 (_ZGVbN8v_sin): Removed.
30792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30794 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30795 Don't include <sysdep.h> nor <init-arch.h>.
30796 (_ZGVbN2vvv_sincos): Removed.
30797 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30799 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30800 Don't include <sysdep.h> nor <init-arch.h>.
30801 (_ZGVdN4vvv_sincos): Removed.
30802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30804 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30805 Don't include <sysdep.h> nor <init-arch.h>.
30806 (_ZGVeN8vvv_sincos): Removed.
30807 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30809 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30810 Don't include <sysdep.h> nor <init-arch.h>.
30811 (_ZGVeN16v_cosf): Removed.
30812 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30814 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30815 Don't include <sysdep.h> nor <init-arch.h>.
30816 (_ZGVbN4v_cosf): Removed.
30817 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30819 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30820 Don't include <sysdep.h> nor <init-arch.h>.
30821 (_ZGVdN8v_cosf): Removed.
30822 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30824 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30825 Don't include <sysdep.h> nor <init-arch.h>.
30826 (_ZGVeN16v_expf): Removed.
30827 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30829 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30830 Don't include <sysdep.h> nor <init-arch.h>.
30831 (_ZGVbN4v_expf): Removed.
30832 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30834 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30835 Don't include <sysdep.h> nor <init-arch.h>.
30836 (_ZGVdN8v_expf): Removed.
30837 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30839 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30840 Don't include <sysdep.h> nor <init-arch.h>.
30841 (_ZGVeN16v_logf): Removed.
30842 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30844 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30845 Don't include <sysdep.h> nor <init-arch.h>.
30846 (_ZGVbN4v_logf): Removed.
30847 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30849 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30850 Don't include <sysdep.h> nor <init-arch.h>.
30851 (_ZGVdN8v_logf): Removed.
30852 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30854 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30855 Don't include <sysdep.h> nor <init-arch.h>.
30856 (_ZGVeN16vv_powf): Removed.
30857 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30859 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30860 Don't include <sysdep.h> nor <init-arch.h>.
30861 (_ZGVbN4vv_powf): Removed.
30862 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30864 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30865 Don't include <sysdep.h> nor <init-arch.h>.
30866 (_ZGVdN8vv_powf): Removed.
30867 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30869 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30870 Don't include <sysdep.h> nor <init-arch.h>.
30871 (_ZGVeN16vvv_sincosf): Removed.
30872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30874 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30875 Don't include <sysdep.h> nor <init-arch.h>.
30876 (_ZGVbN4vvv_sincosf): Removed.
30877 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30879 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30880 Don't include <sysdep.h> nor <init-arch.h>.
30881 (_ZGVdN8vvv_sincosf): Removed.
30882 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30884 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30885 Don't include <sysdep.h> nor <init-arch.h>.
30886 (_ZGVeN16v_sinf): Removed.
30887 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30889 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30890 Don't include <sysdep.h> nor <init-arch.h>.
30891 (_ZGVbN4v_sinf): Removed.
30892 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30894 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30895 Don't include <sysdep.h> nor <init-arch.h>.
30896 (_ZGVdN8v_sinf): Removed.
30898 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30900 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30901 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30902 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30903 s_rint-sse4_1 and s_rintf-sse4_1.
30904 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30905 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30906 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30907 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30908 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30909 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30910 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30911 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30912 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30913 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30914 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30915 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30917 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30918 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30919 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30920 (__ceilf): Removed.
30921 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30922 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30923 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30924 (__floor): Removed.
30925 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30926 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30927 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30928 (__floorf): Removed.
30929 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30930 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30931 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30932 (__nearbyint): Removed.
30933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30935 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30936 (__nearbyintf): Removed.
30937 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30938 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30939 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30941 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30942 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30943 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30944 (__rintf): Removed.
30946 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30948 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30949 SHARED. Avoid dynamic relocation against main in static PIE.
30951 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30954 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30955 (LDFLAGS-tst-prelink): Likewise.
30957 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30959 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30960 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30961 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30962 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30963 (INTERNAL_SYSCALL_NCS): Likewise.
30964 (LOADARGS_1): Likewise.
30965 (LOADARGS_5): Likewise.
30966 (RESTOREARGS_1): Likewise.
30967 (RESTOREARGS_5): Likewise.
30969 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30971 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30972 (MEMPCPY_SYMBOL): Likewise.
30973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30974 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30978 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30980 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30981 (__hidden_ver1): Don't use in libc.a.
30982 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
30983 (__mempcpy): Don't create a weak alias in libc.a.
30984 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
30986 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
30987 (__hidden_ver1): Don't use in libc.a.
30989 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30991 * config.make.in (have-insert): New.
30992 * configure.ac (libc_cv_insert): New. Set to yes if linker
30993 supports INSERT in linker script.
30994 (AC_SUBST(libc_cv_insert): New.
30995 * configure: Regenerated.
30996 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
30997 if $(have-insert) == yes.
30999 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31001 * elf/Makefile (tests): Add vismain only if
31002 $(have-protected-data) == yes.
31003 (tests-pie): Likewise.
31005 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31008 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31009 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31011 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31014 * sysdeps/i386/i586/memset.S
31015 (__memset_zero_constant_len_parameter): Removed.
31016 * sysdeps/i386/i686/memset.S
31017 (__memset_zero_constant_len_parameter): Likewise.
31018 * sysdeps/i386/i686/multiarch/memset_chk.S
31019 (__memset_zero_constant_len_parameter): Likewise.
31020 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31023 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31025 * stdlib/getentropy.c (getentropy): Change return type to int.
31027 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31029 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31031 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31033 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31035 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31036 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31038 (ieee_float_shape_type): Likewise.
31039 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31040 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31041 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31042 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31043 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31044 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31045 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31046 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31047 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31049 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31050 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31051 (__ieee754_yn): Likewise.
31052 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31053 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31054 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31056 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31057 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31058 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31059 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31060 (__erfc): Likewise.
31061 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31062 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31063 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31064 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31065 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31066 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31068 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31069 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31070 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31071 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31072 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31073 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31074 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31075 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31076 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31077 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31078 (__issignaling): Likewise.
31079 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31080 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31081 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31083 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31084 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31085 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31086 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31088 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31090 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31091 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31092 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31093 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31094 (__erfcf): Likewise.
31095 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31096 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31097 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31100 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31101 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31103 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31104 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31105 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31106 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31107 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31108 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31109 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31110 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31112 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31114 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31116 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31117 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31119 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31121 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31122 (__ieee754_ynl): Likewise.
31123 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31124 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31126 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31128 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31129 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31130 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31132 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31133 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31134 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31135 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31136 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31137 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31138 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31139 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31141 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31142 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31143 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31145 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31146 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31147 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31148 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31149 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31152 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31158 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31159 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31160 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31161 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31162 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31163 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31172 (__ieee754_remainderl): Likewise.
31173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31175 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31176 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31178 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31179 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31181 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31182 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31183 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31184 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31185 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31189 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31190 (__ieee754_y0l): Likewise.
31193 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31194 (__ieee754_y1l): Likewise.
31197 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31198 (__ieee754_ynl): Likewise.
31199 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31200 (__ieee754_lgammal_r): Likewise.
31201 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31203 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31204 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31205 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31206 (__erfcl): Likewise.
31207 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31208 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31210 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31211 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31212 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31213 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31214 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31215 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31216 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31218 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31219 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31220 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31221 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31222 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31224 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31225 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31227 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31228 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31229 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31230 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31231 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31233 2017-08-03 Florian Weimer <fweimer@redhat.com>
31236 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31237 on memory allocation failure.
31239 2017-08-03 Alan Modra <amodra@gmail.com>
31241 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31242 tst-tlsopt-powerpc.c with function name change and no test harness.
31243 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31244 Call tls_get_addr_opt_test.
31245 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31246 (modules-names): Add mod-tlsopt-powerpc.
31247 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31248 (tst-tlsopt-powerpc): Depend on .so.
31249 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31250 define. Expand use in TLS_GD and TLS_LD.
31252 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31254 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31256 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31258 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31261 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31262 comparing size with that of double.
31263 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31264 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31265 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31266 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31267 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31268 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31269 unsigned __int128 types.
31271 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31273 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31274 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31275 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31276 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31277 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31279 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31281 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31283 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31287 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31288 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31290 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31291 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31292 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31295 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31298 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31299 bit-field expressions passed to sizeof or typeof.
31300 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31301 (__TGMATH_F128): Likewise.
31302 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31303 (__TGMATH_CF128): Likewise.
31304 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31305 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31306 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31307 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31308 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31309 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31310 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31311 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31312 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31313 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31314 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31315 (__TGMATH_UNARY_IMAG): Likewise.
31316 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31317 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31318 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31320 (define_vars_for_type): Handle bit_field type specially.
31321 (Tests.__init__): Declare structure with bit-field element.
31323 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31326 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31327 (MEMCPY_CHK): Define only if SHARED is defined.
31328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31330 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31333 See ChangeLog.18 for earlier changes.