1 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5 (LDFLAGS-tst-minsigstksz-2): Likewise.
6 (LDFLAGS-tst-minsigstksz-3): Likewise.
7 (LDFLAGS-tst-minsigstksz-3a): Likewise.
8 (LDFLAGS-tst-minsigstksz-4): Likewise.
10 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
12 * manual/time.texi (strftime): Fix the wording to "alternative" rather
15 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
17 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
19 2019-01-16 Zack Weinberg <zackw@panix.com>
21 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
22 (xget_sigstack_location): New test support functions.
23 * support/xsigstack.c: New file, implementing them.
24 * support/tst-xsigstack.c: New test for them.
25 * support/Makefile: Update.
27 * signal/tst-minsigstksz-1.c
28 * signal/tst-minsigstksz-2.c
29 * signal/tst-minsigstksz-3.c
30 * signal/tst-minsigstksz-3a.c
31 * signal/tst-minsigstksz-4.c: New tests.
32 * signal/Makefile: Run them.
34 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
36 * po/libc.pot: Regenerate.
38 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
40 * math/libm-test-fma.inc (fma_test_data): Set
41 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
43 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
45 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
46 (do_test): Changed __vector __int128_t to __vector unsigned int.
48 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
50 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
52 stpcpy-avx2 and stpncpy-avx2.
53 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
54 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
55 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
57 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
58 ifunc-strcpy.h}: rename header for a more generic name.
59 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
60 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
61 AVX unaligned load is fast and vzeroupper is preferred.
62 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
63 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
64 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
65 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
66 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
67 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
69 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
71 * argp/argp-help.c: Fix typo in comment.
72 * misc/sys/cdefs.h: Likewise.
73 * posix/regexec.c (sift_states_iter_mb): Likewise.
74 * socket/sockatmark.c: Likewise.
75 * socket/sys/socket.h: Likewise.
76 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
77 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
78 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
79 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80 * sysdeps/unix/sockatmark.c: Likewise.
81 * time/strptime_l.c: Likewise.
83 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
85 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
86 missing space after the cast of "_NL_CURRENT".
88 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
90 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
91 ifdef to fix read of VSCR.
92 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
93 tst-ucontext-ppc64-vscr.c to test list.
94 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
96 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
98 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
101 2019-01-09 Jim Wilson <jimw@sifive.com>
103 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
105 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
107 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
108 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
109 __memcpy_falkor for ares.
110 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
112 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
115 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
118 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
119 4_FP_W_TYPEs are used for IEEE quad precision.
120 * soft-fp/extendhftf2.c: Likewise.
121 * soft-fp/extendsftf2.c: Likewise.
122 * soft-fp/extendxftf2.c: Likewise.
123 * soft-fp/trunctfdf2.c: Likewise.
124 * soft-fp/trunctfhf2.c: Likewise.
125 * soft-fp/trunctfsf2.c: Likewise.
126 * soft-fp/trunctfxf2.c: Likewise.
127 * sysdeps/alpha/ots_cvttx.c: Likewise.
128 * sysdeps/alpha/ots_cvtxt.c: Likewise.
129 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
130 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
131 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
132 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
133 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
134 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
135 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
136 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
137 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
138 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
139 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
140 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
141 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
142 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
143 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
144 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
146 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
149 * Makeconfig: Build libm with -fno-math-errno but build the remaining
150 code with -fmath-errno.
151 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
152 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
153 * string/test-strerror-errno.c: New file.
155 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
158 * localedata/locales/en_US (date_fmt): Add, set to
161 2019-01-07 Florian Weimer <fweimer@redhat.com>
164 * manual/arith.texi (Math Error Reporting): Use @code{errno}
165 instead of @var{errno}.
166 (Parsing of Integers): Likewise.
167 (Parsing of Floats): Likewise.
168 * manual/filesys.texi (Working with Directory Trees): Likewise.
169 (Temporary Files): Likewise.
170 * manual/job.texi (Terminal Access Functions): Likewise.
171 * manual/llio.texi (Synchronizing I/O): Likewise.
172 * manual/math.texi (SVID Random): Likewise.
173 * manual/message.texi (The catgets Functions): Likewise.
174 (Translation with gettext): Likewise.
175 (Locating gettext catalog): Likewise.
176 (Charset conversion in gettext): Likewise.
177 * manual/nss.texi (NSS Module Function Internals): Likewise.
178 * manual/search.texi (Hash Search Function): Likewise.
179 * manual/setjmp.texi (System V contexts): Likewise.
180 * manual/time.texi (Sleeping): Likewise.
181 * manual/users.texi (Lookup User): Likewise.
182 (Lookup Group): Likewise.
184 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
186 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
189 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
192 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
193 __builtin_unreachable for default case in switch.
194 (__ieee754_yn): Likewise.
195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
196 (__ieee754_ynl): Likewise.
197 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
198 (__ieee754_ynl): Likewise.
199 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
200 (__ieee754_ynl): Likewise.
202 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
204 * manual/maint.texi: Use @{ and @}.
206 2019-01-04 Florian Weimer <fweimer@redhat.com>
208 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
210 (do_in_chroot_1): Call it.
212 Improve error reporting in case it is not possible to create a
213 collision for the PTY name required by the test.
215 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
217 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
218 lll_wait_tid with timeout.
219 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
220 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
221 futex_reltimed_wait_cancelable for cancelabla mode.
222 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
223 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
225 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
226 * sysdeps/posix/waitid.c (__sigwait): Likewise.
227 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
228 SYSCALL_CANCEL_NCS): New macro.
229 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
230 (lll_timedwait_tid): Remove macro.
231 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
233 (lll_timedwait_tid): Likewise.
234 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
236 (lll_timedwait_tid): Likewise.
237 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
239 (lll_timedwait_tid): Likewise.
240 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
241 Use INTERNAL_SYSCALL_CANCEL.
242 * sysdeps/unix/sysv/linux/futex-internal.h
243 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
244 instead of __pthread_{enable,disable}_asynccancel.
245 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
246 (lll_futex_wait_cancel): New macro.
248 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
249 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
251 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
252 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
254 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
255 in backtrace analysis.
256 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
260 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
261 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
262 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
263 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
264 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
265 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
266 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
267 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
268 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
269 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
270 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
271 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
273 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
274 tst-cancel-wrappers.sh.
275 (generated): Remove tst-cancel-wrappers.out.
276 (tst-cancel-wrappers.out): Remove rule.
277 * nptl/tst-cancel-wrappers.sh: Remove file.
279 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
281 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
282 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
285 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
288 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
289 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
290 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
291 close-on-exec reset for adddup2 file action.
292 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
294 2019-01-03 Zack Weinberg <zackw@panix.com>
296 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
297 parameter. Only use deprecated scanf when __USE_GNU is defined
298 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
299 than 201103L, whichever is relevant for the language being compiled.
301 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
302 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
303 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
304 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
305 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
314 * stdio-common/fscanf.c
315 * stdio-common/scanf.c
316 * stdio-common/vfscanf.c
317 * stdio-common/vfwscanf.c
318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
319 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
320 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
321 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
322 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
323 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
324 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
325 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
326 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
327 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
328 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
329 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
330 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
331 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
332 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
334 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
335 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
336 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
338 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
339 with a preprocessor macro.
341 * stdio-common/bug21.c, stdio-common/scanf14.c:
342 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
343 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
344 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
345 to xscanf, xfscanf, xsscanf.
347 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
348 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
349 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
350 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
352 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
353 override feature selection macros or provide definitions of u_char etc.
354 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
355 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
356 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
359 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
363 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
364 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
365 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
366 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
367 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
368 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
370 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
371 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
372 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
373 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
374 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
375 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
377 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
378 (sysdep_headers): Add termios-misc.h.
380 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
381 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
382 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
386 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
387 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
388 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
389 TCSAFLUSH): Move to termios-tcflow.h.
390 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
391 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
393 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
397 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
398 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
399 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
401 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
402 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
403 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
404 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
406 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
407 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
413 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
414 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
415 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
416 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
417 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
419 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
420 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
422 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
427 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
428 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
430 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
431 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
432 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
433 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
434 __MAX_BAUD): Move to termios-baud.h.
435 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
436 * sysdeps/unix/sysv/linux/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 (sysdep_routines): Add
443 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
444 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
446 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
447 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
448 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
450 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
451 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
453 [USE_MISC] (XTABS): Likewise.
454 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
455 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
456 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
457 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
459 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
461 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
462 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
464 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
465 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
466 IUTF8): Move to termios-c_iflag.h.
467 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
468 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
470 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
472 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
474 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
475 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
476 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
477 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
478 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
479 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
480 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
481 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
482 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
483 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
484 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
487 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
488 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
489 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
490 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
493 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
495 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
497 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
499 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
501 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
503 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
504 _HAVE_C_OSPEED): Define.
505 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
506 _HAVE_C_OSPEED): Likewise.
507 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
508 _HAVE_C_OSPEED): Likewise.
509 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
510 (cfsetospeed): Check for define value instead of existence.
511 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
512 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
513 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
514 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
515 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
518 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
520 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
521 (TIOCSER_TEMT): Likewise.
522 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
523 (TEOCSER_TEMT): Likewise.
525 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
528 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
530 2019-01-02 Joseph Myers <joseph@codesourcery.com>
532 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
534 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
536 * sysdeps/htl/pt-barrierattr-setpshared.c
537 (pthread_barrierattr_setpshared): Add stub warning.
538 * sysdeps/htl/pt-condattr-setpshared.c
539 (pthread_condattr_setpshared): Likewise.
540 * sysdeps/htl/pt-mutexattr-setpshared.c
541 (pthread_mutexattr_setpshared): Likewise.
542 * sysdeps/htl/pt-rwlockattr-setpshared.c
543 (pthread_rwlockattr_setpshared): Likewise.
544 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
545 (pthread_mutexattr_setpshared): Likewise.
547 2019-01-02 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
550 constants to match with Linux 4.20.
552 * sysdeps/mips/mips32/libm-test-ulps: Update.
553 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
555 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
558 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
559 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
560 than __typeof (...) for the a_ptr variable.
562 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
564 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
565 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
566 * libio/Makefile (tests): Add tst-sprintf-ub and
568 (CFLAGS-tst-sprintf-ub.c): New variable.
569 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
570 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
571 destination buffer and check for overflows in fortified mode.
572 * libio/libioP.h (PRINTF_CHK): New macro.
573 * libio/tst-sprintf-chk-ub.c: New file.
574 * libio/tst-sprintf-ub.c: Likewise.
576 2019-01-02 Florian Weimer <fweimer@redhat.com>
579 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
582 2019-01-02 Florian Weimer <fweimer@redhat.com>
584 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
586 2019-01-01 Joseph Myers <joseph@codesourcery.com>
588 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
591 * sysdeps/unix/sysv/linux/netpacket/packet.h
592 (PACKET_IGNORE_OUTGOING): New macro.
594 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
597 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
599 (riscv_flush_icache): New syscall.
601 * manual/texinfo.tex: Update to version 2018-12-28.17 with
602 trailing whitespace removed.
603 * scripts/config.guess: Update to version 2019-01-01.
604 * scripts/config.sub: Update to version 2019-01-01.
605 * scripts/move-if-change: Update from gnulib.
607 * NEWS: Update copyright dates.
608 * catgets/gencat.c (print_version): Likewise.
609 * csu/version.c (banner): Likewise.
610 * debug/catchsegv.sh: Likewise.
611 * debug/pcprofiledump.c (print_version): Likewise.
612 * debug/xtrace.sh (do_version): Likewise.
613 * elf/ldconfig.c (print_version): Likewise.
614 * elf/ldd.bash.in: Likewise.
615 * elf/pldd.c (print_version): Likewise.
616 * elf/sotruss.sh: Likewise.
617 * elf/sprof.c (print_version): Likewise.
618 * iconv/iconv_prog.c (print_version): Likewise.
619 * iconv/iconvconfig.c (print_version): Likewise.
620 * locale/programs/locale.c (print_version): Likewise.
621 * locale/programs/localedef.c (print_version): Likewise.
622 * login/programs/pt_chown.c (print_version): Likewise.
623 * malloc/memusage.sh (do_version): Likewise.
624 * malloc/memusagestat.c (print_version): Likewise.
625 * malloc/mtrace.pl: Likewise.
626 * manual/libc.texinfo: Likewise.
627 * nptl/version.c (banner): Likewise.
628 * nscd/nscd.c (print_version): Likewise.
629 * nss/getent.c (print_version): Likewise.
630 * nss/makedb.c (print_version): Likewise.
631 * posix/getconf.c (main): Likewise.
632 * scripts/test-installation.pl: Likewise.
633 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
635 * All files with FSF copyright notices: Update copyright dates
636 using scripts/update-copyrights.
637 * locale/programs/charmap-kw.h: Regenerated.
638 * locale/programs/locfile-kw.h: Likewise.
640 2018-12-31 Joseph Myers <joseph@codesourcery.com>
642 * timezone/zdump.c: Update from tzcode 2018i.
643 * timezone/zic.c: Likewise.
645 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
647 regex: improve Gnulib port to AIX
648 From the glibc point of view, this removes duplicate macro
649 definitions and is obviously safe.
650 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
651 * posix/regex_internal.h:
652 (__attribute__, __attribute_warn_unused_result__):
653 Remove; already defined elsewhere.
655 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
658 * malloc/malloc.c (_int_realloc): Always call memcpy for the
659 copying operation. (ncopies had the wrong type, resulting in an
660 integer wraparound and too few elements being copied.)
662 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
665 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
666 <asm/syscalls.h> exists with __has_include__ before including it.
668 2018-12-31 Joseph Myers <joseph@codesourcery.com>
670 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
673 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
675 * hurd/lookup-retry: Include <unistd.h>.
676 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
677 Release it on return. Handle "pid" magical lookup retry.
679 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
682 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
683 (t_fmt_ampm): Likewise.
684 * localedata/locales/aa_ER (t_fmt): Likewise.
685 (t_fmt_ampm): Likewise.
686 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
687 (t_fmt_ampm): Likewise.
688 * localedata/locales/aa_ET (t_fmt): Likewise.
689 (t_fmt_ampm): Likewise.
690 * localedata/locales/am_ET (t_fmt): Likewise.
691 (t_fmt_ampm): Likewise.
692 * localedata/locales/byn_ER (t_fmt): Likewise.
693 (t_fmt_ampm): Likewise.
694 * localedata/locales/om_ET (t_fmt): Likewise.
695 (t_fmt_ampm): Likewise.
696 * localedata/locales/sid_ET (t_fmt): Likewise.
697 (t_fmt_ampm): Likewise.
698 * localedata/locales/so_DJ (t_fmt): Likewise.
699 (t_fmt_ampm): Likewise.
700 * localedata/locales/so_ET (t_fmt): Likewise.
701 (t_fmt_ampm): Likewise.
702 * localedata/locales/so_SO (t_fmt): Likewise.
703 (t_fmt_ampm): Likewise.
704 * localedata/locales/ti_ER (t_fmt): Likewise.
705 (t_fmt_ampm): Likewise.
706 * localedata/locales/ti_ET (t_fmt): Likewise.
707 (t_fmt_ampm): Likewise.
708 * localedata/locales/tig_ER (t_fmt): Likewise.
709 (t_fmt_ampm): Likewise.
710 * localedata/locales/wal_ET (t_fmt): Likewise.
711 (t_fmt_ampm): Likewise.
713 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
714 * localedata/locales/ar_IN (t_fmt): Likewise.
715 * localedata/locales/bhb_IN (t_fmt): Likewise.
716 * localedata/locales/bho_IN (t_fmt): Likewise.
717 * localedata/locales/bi_VU (t_fmt): Likewise.
718 * localedata/locales/bn_BD (t_fmt): Likewise.
719 * localedata/locales/bn_IN (t_fmt): Likewise.
720 * localedata/locales/brx_IN (t_fmt): Likewise.
721 * localedata/locales/doi_IN (t_fmt): Likewise.
722 * localedata/locales/en_HK (t_fmt): Likewise.
723 (t_fmt_ampm): Likewise.
724 * localedata/locales/en_IN (t_fmt): Likewise.
725 * localedata/locales/en_PH (t_fmt): Likewise.
726 * localedata/locales/gu_IN (t_fmt): Likewise.
727 * localedata/locales/hi_IN (t_fmt): Likewise.
728 * localedata/locales/hif_FJ (t_fmt): Likewise.
729 * localedata/locales/hne_IN (t_fmt): Likewise.
730 * localedata/locales/kn_IN (t_fmt): Likewise.
731 * localedata/locales/kok_IN (t_fmt): Likewise.
732 * localedata/locales/ks_IN (t_fmt): Likewise.
733 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
734 * localedata/locales/mag_IN (t_fmt): Likewise.
735 * localedata/locales/mai_IN (t_fmt): Likewise.
736 * localedata/locales/mjw_IN (t_fmt): Likewise.
737 * localedata/locales/ml_IN (t_fmt): Likewise.
738 * localedata/locales/mni_IN (t_fmt): Likewise.
739 * localedata/locales/mr_IN (t_fmt): Likewise.
740 * localedata/locales/ms_MY (t_fmt): Likewise.
741 * localedata/locales/pa_IN (t_fmt): Likewise.
742 * localedata/locales/raj_IN (t_fmt): Likewise.
743 * localedata/locales/sa_IN (t_fmt): Likewise.
744 * localedata/locales/sat_IN (t_fmt): Likewise.
745 * localedata/locales/sd_IN (t_fmt): Likewise.
746 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
747 * localedata/locales/tcy_IN (t_fmt): Likewise.
748 * localedata/locales/the_NP (t_fmt): Likewise.
749 * localedata/locales/to_TO (t_fmt): Likewise.
750 * localedata/locales/ur_IN (t_fmt): Likewise.
752 * localedata/locales/hif_FJ (d_t_fmt): Set to
753 "%A %d %b %Y %I:%M:%S %p".
754 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
756 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
757 * localedata/locales/ar_BH (t_fmt): Likewise.
758 * localedata/locales/ar_DZ (t_fmt): Likewise.
759 * localedata/locales/ar_EG (t_fmt): Likewise.
760 * localedata/locales/ar_IQ (t_fmt): Likewise.
761 * localedata/locales/ar_JO (t_fmt): Likewise.
762 * localedata/locales/ar_KW (t_fmt): Likewise.
763 * localedata/locales/ar_LB (t_fmt): Likewise.
764 * localedata/locales/ar_LY (t_fmt): Likewise.
765 * localedata/locales/ar_OM (t_fmt): Likewise.
766 * localedata/locales/ar_QA (t_fmt): Likewise.
767 * localedata/locales/ar_SD (t_fmt): Likewise.
768 * localedata/locales/ar_SS (t_fmt): Likewise.
769 * localedata/locales/ar_SY (t_fmt): Likewise.
770 * localedata/locales/ar_TN (t_fmt): Likewise.
771 * localedata/locales/ar_YE (t_fmt): Likewise.
773 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
774 (t_fmt_ampm): Likewise.
775 * localedata/locales/gez_ET (t_fmt): Likewise.
776 (t_fmt_ampm): Likewise.
778 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
779 (t_fmt_ampm): Likewise.
780 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
782 * localedata/locales/zh_HK (t_fmt):
783 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
785 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
786 because this locale does not use the 12-hour clock.
787 (t_fmt): Set to "%Z %H:%M:%S".
788 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
790 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
791 because this locale does not use the 12-hour clock.
792 (t_fmt): Set to "%H:%M:%S %Z".
793 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
795 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
796 because this locale does not use the 12-hour clock.
797 (t_fmt): Set to "%T".
798 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
799 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
801 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
802 because this locale does not use the 12-hour clock.
803 (t_fmt): Set to "%H:%M:%S %Z".
804 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
806 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
807 because this locale does not use the 12-hour clock.
808 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
809 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
811 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
815 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
816 (t_fmt_ampm): Likewise.
817 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
818 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
819 (d_fmt): Set to "%-d.%-m.%y".
821 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
823 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
824 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
825 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
827 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
828 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
829 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
831 * support/blob_repeat.c (check_mul_overflow_size_t,
832 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
834 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
836 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
838 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
840 regex: simplify Gnulib port
841 This simplifies the code, by removing stuff intended for porting
842 to Gnulib but no longer needed there.
843 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
844 uses of libc_hidden_def, weak_alias.
845 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
846 _Restrict_ except for public-facing headers.
847 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
848 Remove; already defined elsewhere.
849 * posix/regex.c, posix/regex_internal.h:
850 Use __GNUC_PREREQ instead of rolling our own.
851 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
853 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
855 * benchtests/bench-strlen.c (generic_strlen): New function.
856 (memchr_strlen): New function.
858 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
860 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
861 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
862 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
864 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
868 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
870 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
871 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
872 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
873 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
874 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
875 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
876 <sysdeps/ieee754/flt-32/s_sincosf.c>.
878 2018-12-21 Joseph Myers <joseph@codesourcery.com>
881 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
882 PLT reference in libc.so.
883 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
884 _Q_lltoq and _Q_qtod PLT references in libc.so.
886 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
888 * benchtests/bench-memchr.c: Cleanup defines.
889 * benchtests/bench-memcmp.c: Likewise.
890 * benchtests/bench-memset.c: Likewise.
891 * benchtests/bench-memset-large.c: Likewise.
892 * benchtests/bench-memset-walk.c: Likewise.
893 * benchtests/bench-stpcpy.c: Likewise.
894 * benchtests/bench-stpncpy.c: Likewise.
895 * benchtests/bench-strcat.c: Likewise.
896 * benchtests/bench-strchr.c: Likewise.
897 * benchtests/bench-strcmp.c: Likewise.
898 * benchtests/bench-strcpy.c: Likewise.
899 * benchtests/bench-strcspn.c: Likewise.
900 * benchtests/bench-string.h: Likewise.
901 * benchtests/bench-strlen.c: Likewise.
902 * benchtests/bench-strncat.c: Likewise.
903 * benchtests/bench-strncmp.c: Likewise.
904 * benchtests/bench-strncpy.c: Likewise.
905 * benchtests/bench-strnlen.c: Likewise.
906 * benchtests/bench-strpbrk.c: Likewise.
907 * benchtests/bench-strrchr.c: Likewise.
908 * benchtests/bench-strspn.c: Likewise.
910 2018-12-21 Joseph Myers <joseph@codesourcery.com>
912 * stdlib/longlong.h: Update from GCC.
915 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
916 * configure: Regenerated.
917 * manual/install.texi (Tools for Compilation): Update minimum GCC
919 * INSTALL: Regenerated.
921 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
923 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
925 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
927 * malloc/malloc.c (mremap_chunk): Additional checks.
929 2018-12-21 Mao Han <han_mao@c-sky.com>
931 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
932 * scripts/build-many-glibcs.py: Add C-SKY targets.
933 * sysdeps/csky/Implies: New file.
934 * sysdeps/csky/Makefile: Likewise.
935 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
936 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
937 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
938 * sysdeps/csky/abiv2/memcmp.S: Likewise.
939 * sysdeps/csky/abiv2/memcpy.S: Likewise.
940 * sysdeps/csky/abiv2/memmove.S: Likewise.
941 * sysdeps/csky/abiv2/memset.S: Likewise.
942 * sysdeps/csky/abiv2/setjmp.S: Likewise.
943 * sysdeps/csky/abiv2/start.S: Likewise.
944 * sysdeps/csky/abiv2/strcmp.S: Likewise.
945 * sysdeps/csky/abiv2/strcpy.S: Likewise.
946 * sysdeps/csky/abiv2/strlen.S: Likewise.
947 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
948 * sysdeps/csky/abort-instr.h: Likewise.
949 * sysdeps/csky/atomic-machine.h: Likewise.
950 * sysdeps/csky/bits/endian.h: Likewise.
951 * sysdeps/csky/bits/fenv.h: Likewise.
952 * sysdeps/csky/bits/link.h: Likewise.
953 * sysdeps/csky/bits/setjmp.h: Likewise.
954 * sysdeps/csky/bsd-_setjmp.S: Likewise.
955 * sysdeps/csky/bsd-setjmp.S: Likewise.
956 * sysdeps/csky/configure: Likewise.
957 * sysdeps/csky/configure.ac: Likewise.
958 * sysdeps/csky/dl-machine.h: Likewise.
959 * sysdeps/csky/dl-procinfo.c: Likewise.
960 * sysdeps/csky/dl-procinfo.h: Likewise.
961 * sysdeps/csky/dl-sysdep.h: Likewise.
962 * sysdeps/csky/dl-tls.h: Likewise.
963 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
964 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
965 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
966 * sysdeps/csky/fpu/fegetenv.c: Likewise.
967 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
968 * sysdeps/csky/fpu/fegetmode.c: Likewise.
969 * sysdeps/csky/fpu/fegetround.c: Likewise.
970 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
971 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
972 * sysdeps/csky/fpu/fenv_private.h: Likewise.
973 * sysdeps/csky/fpu/fesetenv.c: Likewise.
974 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
975 * sysdeps/csky/fpu/fesetmode.c: Likewise.
976 * sysdeps/csky/fpu/fesetround.c: Likewise.
977 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
978 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
979 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
980 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
981 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
982 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
983 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
984 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
985 * sysdeps/csky/fpu_control.h: Likewise.
986 * sysdeps/csky/gccframe.h: Likewise.
987 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
988 * sysdeps/csky/ldsodefs.h: Likewise.
989 * sysdeps/csky/libc-tls.c: Likewise.
990 * sysdeps/csky/linkmap.h: Likewise.
991 * sysdeps/csky/machine-gmon.h: Likewise.
992 * sysdeps/csky/memusage.h: Likewise.
993 * sysdeps/csky/nofpu/Implies: Likewise.
994 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
995 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
996 * sysdeps/csky/nptl/Makefile: Likewise.
997 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
998 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
999 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1000 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1001 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1002 * sysdeps/csky/nptl/tls.h: Likewise.
1003 * sysdeps/csky/preconfigure: Likewise.
1004 * sysdeps/csky/sfp-machine.h: Likewise.
1005 * sysdeps/csky/sotruss-lib.c: Likewise.
1006 * sysdeps/csky/stackinfo.h: Likewise.
1007 * sysdeps/csky/sysdep.h: Likewise.
1008 * sysdeps/csky/tininess.h: Likewise.
1009 * sysdeps/csky/tst-audit.h: Likewise.
1010 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1011 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1012 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1013 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1014 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1015 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1016 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1017 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1018 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1019 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1020 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1021 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1022 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1023 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1024 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1025 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1026 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1027 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1028 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1029 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1030 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1031 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1032 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1033 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1034 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1035 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1036 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1037 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1038 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1040 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1041 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1042 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1043 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1044 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1045 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1046 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1047 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1048 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1049 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1050 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1051 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1052 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1053 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1055 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1057 * include/time.h (__difftime64): Add.
1058 * time/difftime.c (subtract): convert to 64-bit time.
1059 * time/difftime.c (__difftime64): Add.
1060 * time/difftime.c (__difftime): Wrap around __difftime64.
1062 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1064 * manual/examples/add.c: Remove redundant "if not".
1065 * manual/examples/argp-ex1.c: Likewise.
1066 * manual/examples/argp-ex2.c: Likewise.
1067 * manual/examples/argp-ex3.c: Likewise.
1068 * manual/examples/argp-ex4.c: Likewise.
1069 * manual/examples/atexit.c: Likewise.
1070 * manual/examples/db.c: Likewise.
1071 * manual/examples/dir.c: Likewise.
1072 * manual/examples/dir2.c: Likewise.
1073 * manual/examples/execinfo.c: Likewise.
1074 * manual/examples/filecli.c: Likewise.
1075 * manual/examples/filesrv.c: Likewise.
1076 * manual/examples/fmtmsgexpl.c: Likewise.
1077 * manual/examples/genpass.c: Likewise.
1078 * manual/examples/inetcli.c: Likewise.
1079 * manual/examples/inetsrv.c: Likewise.
1080 * manual/examples/isockad.c: Likewise.
1081 * manual/examples/longopt.c: Likewise.
1082 * manual/examples/memopen.c: Likewise.
1083 * manual/examples/memstrm.c: Likewise.
1084 * manual/examples/mkdirent.c: Likewise.
1085 * manual/examples/mkfsock.c: Likewise.
1086 * manual/examples/mkisock.c: Likewise.
1087 * manual/examples/mygetpass.c: Likewise.
1088 * manual/examples/pipe.c: Likewise.
1089 * manual/examples/popen.c: Likewise.
1090 * manual/examples/rprintf.c: Likewise.
1091 * manual/examples/search.c: Likewise.
1092 * manual/examples/select.c: Likewise.
1093 * manual/examples/setjmp.c: Likewise.
1094 * manual/examples/sigh1.c: Likewise.
1095 * manual/examples/sigusr.c: Likewise.
1096 * manual/examples/stpcpy.c: Likewise.
1097 * manual/examples/strdupa.c: Likewise.
1098 * manual/examples/strftim.c: Likewise.
1099 * manual/examples/subopt.c: Likewise.
1100 * manual/examples/swapcontext.c: Likewise.
1101 * manual/examples/termios.c: Likewise.
1102 * manual/examples/testopt.c: Likewise.
1103 * manual/examples/testpass.c: Likewise.
1104 * manual/examples/timeval_subtract.c: Likewise.
1106 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/x86/fpu/math_private.h: New file.
1109 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1111 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1116 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1118 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1119 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1120 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1121 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1123 (_dl_show_auxv): Give a special treatment to
1124 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1125 and AT_L3_CACHEGEOMETRY.
1126 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1127 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1128 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1129 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1131 2018-12-19 Andreas Schwab <schwab@suse.de>
1133 * nscd/connections.c (check_use): Don't abort on invalid len.
1135 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1137 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1138 values in the 64bit value cases.
1140 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1146 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1152 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1155 (__gmtime64_r): Add.
1157 (__gmtime64_r): Add.
1158 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1164 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1167 (__localtime64_r): Add.
1169 (__localtime64_r): Add.
1170 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1172 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1174 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1175 kernel_sigction definition.
1177 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1179 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1181 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1182 __syscall_rt_sigaction.
1183 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1184 (kernel_sigaction): Use Linux generic defintion.
1186 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1187 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1188 (__syscall_rt_sigaction): Remove implementation.
1189 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1191 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1192 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1193 INTERNAL_SYSCALL): Remove definitions.
1194 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1195 action and signal set size.
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1199 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1200 James Clarke <jrtc27@jrtc27.com>
1203 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1204 Define if SA_RESTORER is defined.
1205 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1206 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1208 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1209 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1211 (HAS_SA_RESTORER): Define.
1212 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1213 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1214 (HAS_SA_RESTORER): Define.
1215 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1216 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1217 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1218 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1221 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1223 * sysdeps/unix/sysv/linux/kernel-features.h
1224 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1225 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1226 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1227 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1228 (__ASSUME_ST_INO_64_BIT): Likewise.
1229 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1230 <kernel-features.h>.
1231 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1232 Remove conditional code.
1233 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1234 <kernel-features.h>.
1235 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1236 Remove conditional code.
1237 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1238 <kernel-features.h>.
1239 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1240 Remove conditional code.
1241 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1242 <kernel-features.h>.
1243 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1244 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1248 * sysdeps/s390/multiarch/ifunc-resolve.h
1249 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1250 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1251 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1252 Delete macro definition.
1253 (s390_libc_ifunc_init): Rename to
1254 s390_libc_ifunc_expr_stfle_init.
1255 * sysdeps/s390/bzero: Use
1256 s390_libc_ifunc_expr_stfle_init instead of
1257 s390_libc_ifunc_init.
1258 * sysdeps/s390/memcmp.c: Likewise.
1259 * sysdeps/s390/memcpy.c: Likewise.
1260 * sysdeps/s390/mempcpy.c: Likewise.
1261 * sysdeps/s390/memset.c: Likewise.
1263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1265 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1266 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1270 * sysdeps/s390/multiarch/Makefile
1271 (sysdep_routines): Remove wmemcmp variants.
1272 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1273 * sysdeps/s390/multiarch/ifunc-impl-list.c
1274 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1275 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1276 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1277 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1278 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1279 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1280 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1281 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1285 * sysdeps/s390/multiarch/Makefile
1286 (sysdep_routines): Remove wmemset variants.
1287 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1288 * sysdeps/s390/multiarch/ifunc-impl-list.c
1289 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1290 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1291 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1292 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1293 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1294 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1295 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1296 * sysdeps/s390/ifunc-wmemset.h: New file.
1298 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1300 * sysdeps/s390/multiarch/Makefile
1301 (sysdep_routines): Remove wmemchr variants.
1302 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1303 * sysdeps/s390/multiarch/ifunc-impl-list.c
1304 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1305 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1306 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1307 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1308 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1309 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1310 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1311 * sysdeps/s390/ifunc-wmemchr.h: New file.
1313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1315 * sysdeps/s390/multiarch/Makefile
1316 (sysdep_routines): Remove wcscspn variants.
1317 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1318 * sysdeps/s390/multiarch/ifunc-impl-list.c
1319 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1320 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1321 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1322 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1323 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1324 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1325 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1326 * sysdeps/s390/ifunc-wcscspn.h: New file.
1328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1330 * sysdeps/s390/multiarch/Makefile
1331 (sysdep_routines): Remove wcspbrk variants.
1332 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1333 * sysdeps/s390/multiarch/ifunc-impl-list.c
1334 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1335 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1336 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1337 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1338 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1339 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1340 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1341 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1345 * sysdeps/s390/multiarch/Makefile
1346 (sysdep_routines): Remove wcsspn variants.
1347 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1348 * sysdeps/s390/multiarch/ifunc-impl-list.c
1349 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1350 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1351 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1352 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1353 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1354 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1355 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1356 * sysdeps/s390/ifunc-wcsspn.h: New file.
1358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1360 * sysdeps/s390/multiarch/Makefile
1361 (sysdep_routines): Remove wcsrchr variants.
1362 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1363 * sysdeps/s390/multiarch/ifunc-impl-list.c
1364 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1365 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1366 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1367 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1368 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1369 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1370 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1371 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1373 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1375 * sysdeps/s390/multiarch/Makefile
1376 (sysdep_routines): Remove wcschrnul variants.
1377 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1378 * sysdeps/s390/multiarch/ifunc-impl-list.c
1379 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1380 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1381 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1382 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1383 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1384 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1385 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1386 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1390 * sysdeps/s390/multiarch/Makefile
1391 (sysdep_routines): Remove wcschr variants.
1392 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1393 * sysdeps/s390/multiarch/ifunc-impl-list.c
1394 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1395 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1396 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1397 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1398 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1399 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1400 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1401 * sysdeps/s390/ifunc-wcschr.h: New file.
1403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1405 * sysdeps/s390/multiarch/Makefile
1406 (sysdep_routines): Remove wcsncmp variants.
1407 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1408 * sysdeps/s390/multiarch/ifunc-impl-list.c
1409 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1410 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1411 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1412 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1413 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1414 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1415 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1416 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1420 * sysdeps/s390/multiarch/Makefile
1421 (sysdep_routines): Remove wcscmp variants.
1422 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1423 * sysdeps/s390/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1425 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1426 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1427 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1428 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1429 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1430 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1431 * sysdeps/s390/ifunc-wcscmp.h: New file.
1433 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1435 * sysdeps/s390/multiarch/Makefile
1436 (sysdep_routines): Remove wcsncat variants.
1437 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1438 * sysdeps/s390/multiarch/ifunc-impl-list.c
1439 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1440 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1441 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1442 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1443 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1444 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1445 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1446 * sysdeps/s390/ifunc-wcsncat.h: New file.
1448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1450 * sysdeps/s390/multiarch/Makefile
1451 (sysdep_routines): Remove wcscat variants.
1452 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1453 * sysdeps/s390/multiarch/ifunc-impl-list.c
1454 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1455 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1456 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1457 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1458 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1459 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1460 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1461 * sysdeps/s390/ifunc-wcscat.h: New file.
1463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1465 * sysdeps/s390/multiarch/Makefile
1466 (sysdep_routines): Remove wcpncpy variants.
1467 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1468 * sysdeps/s390/multiarch/ifunc-impl-list.c
1469 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1470 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1471 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1472 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1473 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1474 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1475 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1476 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1480 * sysdeps/s390/multiarch/Makefile
1481 (sysdep_routines): Remove wcsncpy variants.
1482 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1483 * sysdeps/s390/multiarch/ifunc-impl-list.c
1484 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1485 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1486 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1487 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1488 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1489 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1490 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1491 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1495 * sysdeps/s390/multiarch/Makefile
1496 (sysdep_routines): Remove wcpcpy variants.
1497 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1498 * sysdeps/s390/multiarch/ifunc-impl-list.c
1499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1500 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1501 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1502 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1503 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1504 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1505 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1506 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1510 * sysdeps/s390/multiarch/Makefile
1511 (sysdep_routines): Remove wcscpy variants.
1512 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1513 * sysdeps/s390/multiarch/ifunc-impl-list.c
1514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1515 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1516 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1517 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1518 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1519 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1520 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1521 * sysdeps/s390/ifunc-wcscpy.h: New file.
1523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1525 * sysdeps/s390/multiarch/Makefile
1526 (sysdep_routines): Remove wcsnlen variants.
1527 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1528 * sysdeps/s390/multiarch/ifunc-impl-list.c
1529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1530 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1531 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1532 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1533 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1534 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1535 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1536 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1538 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1540 * sysdeps/s390/multiarch/Makefile
1541 (sysdep_routines): Remove wcslen variants.
1542 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1543 * sysdeps/s390/multiarch/ifunc-impl-list.c
1544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1545 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1546 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1547 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1548 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1549 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1550 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1551 * sysdeps/s390/ifunc-wcslen.h: New file.
1553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1555 * sysdeps/s390/multiarch/Makefile
1556 (sysdep_routines): Remove memrchr variants.
1557 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1558 * sysdeps/s390/multiarch/ifunc-impl-list.c
1559 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1560 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1561 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1562 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1563 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1564 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1565 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1566 * sysdeps/s390/ifunc-memrchr.h: New file.
1568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1570 * sysdeps/s390/multiarch/Makefile
1571 (sysdep_routines): Remove memccpy variants.
1572 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1573 * sysdeps/s390/multiarch/ifunc-impl-list.c
1574 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1575 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1576 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1577 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1578 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1579 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1580 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1581 * sysdeps/s390/ifunc-memccpy.h: New file.
1583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1585 * sysdeps/s390/multiarch/Makefile
1586 (sysdep_routines): Remove rawmemchr variants.
1587 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1588 * sysdeps/s390/multiarch/ifunc-impl-list.c
1589 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1590 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1591 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1592 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1593 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1594 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1595 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1596 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1600 * sysdeps/s390/multiarch/Makefile
1601 (sysdep_routines): Remove memchr variants.
1602 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1603 * sysdeps/s390/multiarch/ifunc-impl-list.c
1604 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1605 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1606 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1607 * sysdeps/s390/multiarch/memchr.c: Move to ...
1608 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1609 * sysdeps/s390/ifunc-memchr.h: New file.
1610 * sysdeps/s390/s390-64/memchr.S: Move to ...
1611 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1612 for 31/64bit and ifunc handling.
1613 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1614 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1615 * sysdeps/s390/s390-32/memchr.S: Likewise.
1617 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1619 * sysdeps/s390/multiarch/Makefile
1620 (sysdep_routines): Remove strcspn variants.
1621 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1622 * sysdeps/s390/multiarch/ifunc-impl-list.c
1623 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1624 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1625 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1626 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1627 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1628 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1629 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1630 * sysdeps/s390/ifunc-strcspn.h: New file.
1632 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1634 * sysdeps/s390/multiarch/Makefile
1635 (sysdep_routines): Remove strpbrk variants.
1636 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1637 * sysdeps/s390/multiarch/ifunc-impl-list.c
1638 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1639 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1640 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1641 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1642 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1643 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1644 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1645 * sysdeps/s390/ifunc-strpbrk.h: New file.
1647 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1649 * sysdeps/s390/multiarch/Makefile
1650 (sysdep_routines): Remove strspn variants.
1651 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1652 * sysdeps/s390/multiarch/ifunc-impl-list.c
1653 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1654 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1655 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1656 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1657 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1658 * sysdeps/s390/multiarch/strspn.c: Move to ...
1659 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1660 * sysdeps/s390/ifunc-strspn.h: New file.
1662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1664 * sysdeps/s390/multiarch/Makefile
1665 (sysdep_routines): Remove strrchr variants.
1666 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1667 * sysdeps/s390/multiarch/ifunc-impl-list.c
1668 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1669 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1670 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1671 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1672 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1673 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1674 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1675 * sysdeps/s390/ifunc-strrchr.h: New file.
1677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1679 * sysdeps/s390/multiarch/Makefile
1680 (sysdep_routines): Remove strchrnul variants.
1681 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1682 * sysdeps/s390/multiarch/ifunc-impl-list.c
1683 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1684 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1685 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1686 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1687 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1688 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1689 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1690 * sysdeps/s390/ifunc-strchrnul.h: New file.
1692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1694 * sysdeps/s390/multiarch/Makefile
1695 (sysdep_routines): Remove strchr variants.
1696 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1697 * sysdeps/s390/multiarch/ifunc-impl-list.c
1698 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1699 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1700 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1701 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1702 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1703 * sysdeps/s390/multiarch/strchr.c: Move to ...
1704 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1705 * sysdeps/s390/ifunc-strchr.h: New file.
1707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1709 * sysdeps/s390/multiarch/Makefile
1710 (sysdep_routines): Remove strncmp variants.
1711 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1712 * sysdeps/s390/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1714 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1715 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1716 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1717 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1718 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1719 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1720 * sysdeps/s390/ifunc-strncmp.h: New file.
1722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1724 * sysdeps/s390/multiarch/Makefile
1725 (sysdep_routines): Remove strcmp variants.
1726 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1727 * sysdeps/s390/multiarch/ifunc-impl-list.c
1728 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1729 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1730 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1731 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1732 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1733 * sysdeps/s390/ifunc-strcmp.h: New file.
1734 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1735 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1736 for 31/64bit and ifunc handling.
1737 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1738 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1739 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1741 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1743 * sysdeps/s390/multiarch/Makefile
1744 (sysdep_routines): Remove strncat variants.
1745 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1746 * sysdeps/s390/multiarch/ifunc-impl-list.c
1747 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1748 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1749 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1750 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1751 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1752 * sysdeps/s390/multiarch/strncat.c: Move to ...
1753 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1754 * sysdeps/s390/ifunc-strncat.h: New file.
1756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1758 * sysdeps/s390/multiarch/Makefile
1759 (sysdep_routines): Remove strcat variants.
1760 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1761 * sysdeps/s390/multiarch/ifunc-impl-list.c
1762 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1763 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1764 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1765 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1766 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1767 * sysdeps/s390/multiarch/strcat.c: Move to ...
1768 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1769 * sysdeps/s390/ifunc-strcat.h: New file.
1771 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1773 * sysdeps/s390/multiarch/Makefile
1774 (sysdep_routines): Remove stpncpy variants.
1775 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1776 * sysdeps/s390/multiarch/ifunc-impl-list.c
1777 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1778 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1779 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1780 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1781 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1782 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1783 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1784 * sysdeps/s390/ifunc-stpncpy.h: New file.
1786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1788 * sysdeps/s390/multiarch/Makefile
1789 (sysdep_routines): Remove strncpy variants.
1790 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1791 * sysdeps/s390/multiarch/ifunc-impl-list.c
1792 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1793 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1794 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1795 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1796 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1797 * sysdeps/s390/ifunc-strncpy.h: New file.
1798 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1799 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1800 and adjust ifunc handling.
1801 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1802 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1803 and adjust ifunc handling.
1804 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1805 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1807 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1809 * sysdeps/s390/multiarch/Makefile
1810 (sysdep_routines): Remove stpcpy variants.
1811 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1812 * sysdeps/s390/multiarch/ifunc-impl-list.c
1813 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1814 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1815 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1816 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1817 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1818 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1819 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1820 * sysdeps/s390/ifunc-stpcpy.h: New file.
1822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1824 * sysdeps/s390/multiarch/Makefile
1825 (sysdep_routines): Remove strcpy variants.
1826 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1827 * sysdeps/s390/multiarch/ifunc-impl-list.c
1828 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1829 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1830 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1831 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1832 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1833 * sysdeps/s390/ifunc-strcpy.h: New file.
1834 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1835 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1836 for 31/64bit and ifunc handling.
1837 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1838 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1839 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1843 * sysdeps/s390/multiarch/Makefile
1844 (sysdep_routines): Remove strnlen variants.
1845 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1846 * sysdeps/s390/multiarch/ifunc-impl-list.c
1847 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1848 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1849 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1850 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1851 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1852 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1853 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1854 * sysdeps/s390/ifunc-strnlen.h: New file.
1856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1858 * sysdeps/s390/multiarch/Makefile
1859 (sysdep_routines): Remove strlen variants.
1860 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1861 * sysdeps/s390/multiarch/ifunc-impl-list.c
1862 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1863 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1864 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1865 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1866 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1867 * sysdeps/s390/multiarch/strlen.c: Move to ...
1868 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1869 * sysdeps/s390/ifunc-strlen.h: New file.
1871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1873 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1874 * sysdeps/s390/multiarch/ifunc-impl-list.c
1875 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1876 * sysdeps/s390/ifunc-memmem.h: New file.
1877 * sysdeps/s390/memmem.c: Likewise.
1878 * sysdeps/s390/memmem-c.c: Likewise.
1879 * sysdeps/s390/memmem-vx.c: Likewise.
1881 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1883 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1884 * sysdeps/s390/multiarch/ifunc-impl-list.c
1885 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1886 * sysdeps/s390/ifunc-strstr.h: New file.
1887 * sysdeps/s390/strstr.c: Likewise.
1888 * sysdeps/s390/strstr-c.c: Likewise.
1889 * sysdeps/s390/strstr-vx.c: Likewise.
1891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1893 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1894 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1895 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1896 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1898 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1899 * sysdeps/s390/memmove-c.c: New file.
1900 * sysdeps/s390/memmove.c: Likewise.
1901 * sysdeps/s390/multiarch/ifunc-impl-list.c
1902 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1904 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1906 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1907 * sysdeps/s390/configure.ac: Add check for z13 support.
1908 * sysdeps/s390/configure: Regenerated.
1910 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1912 * sysdeps/s390/memcopy.h: New file.
1914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1916 * sysdeps/s390/s390-32/bcopy.S: Remove.
1917 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1919 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1921 * sysdeps/s390/ifunc-memcpy.h: New File.
1922 * sysdeps/s390/memcpy.S: Move to ...
1923 * sysdeps/s390/memcpy-z900.S ... here.
1924 Move implementations from memcpy-s390x.s to here.
1925 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1926 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1927 Remove memcpy/mempcpy variants.
1928 * sysdeps/s390/Makefile (sysdep_routines):
1929 Add memcpy/mempcpy variants.
1930 * sysdeps/s390/multiarch/ifunc-impl-list.c
1931 (__libc_ifunc_impl_list): Adjust ifunc variants for
1933 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1935 * sysdeps/s390/memcpy.c: ... here.
1936 Adjust ifunc variants for memcpy.
1937 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1938 * sysdeps/s390/mempcpy.c: ... here.
1939 Adjust ifunc variants for mempcpy.
1940 * sysdeps/s390/mempcpy.S: Delete file.
1942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1944 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1945 * sysdeps/s390/memcpy.S: ... here.
1946 Adjust to be usable for 31/64bit.
1947 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1948 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1949 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1950 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1951 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1952 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1953 Adjust to be usable for 31/64bit.
1954 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1955 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1956 * sysdeps/s390/multiarch/memcpy.c: ... here.
1957 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1961 * sysdeps/s390/ifunc-memcmp.h: New File.
1962 * sysdeps/s390/memcmp.S: Move to ...
1963 * sysdeps/s390/memcmp-z900.S ... here.
1964 Move implementations from memcmp-s390x.s to here.
1965 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1966 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1967 Remove memcmp variants.
1968 * sysdeps/s390/Makefile (sysdep_routines):
1969 Add memcmp variants.
1970 * sysdeps/s390/multiarch/ifunc-impl-list.c
1971 (__libc_ifunc_impl_list): Adjust ifunc variants for
1973 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1975 * sysdeps/s390/memcmp.c: ... here.
1976 Adjust ifunc variants for memcmp.
1978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1980 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1981 * sysdeps/s390/memcmp.S: ... here.
1982 Adjust to be usable for 31/64bit.
1983 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1984 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1985 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1987 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1988 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1989 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1990 Adjust to be usable for 31/64bit.
1991 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1992 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1993 * sysdeps/s390/multiarch/memcmp.c: ... here.
1994 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1996 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1998 * sysdeps/s390/s390-32/bzero.S: Delete file.
1999 * sysdeps/s390/s390-64/bzero.S: Likewise.
2000 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2001 * sysdeps/s390/bzero.c: New file.
2002 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2003 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2004 * sysdeps/s390/multiarch/ifunc-impl-list.c
2005 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2009 * sysdeps/s390/ifunc-memset.h: New File.
2010 * sysdeps/s390/memset.S: Move to ...
2011 * sysdeps/s390/memset-z900.S ... here.
2012 Move implementations from memset-s390x.s to here.
2013 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2014 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2015 Remove memset variants.
2016 * sysdeps/s390/Makefile (sysdep_routines):
2017 Add memset variants.
2018 * sysdeps/s390/multiarch/ifunc-impl-list.c
2019 (__libc_ifunc_impl_list): Adjust ifunc variants for
2021 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2023 * sysdeps/s390/memset.c: ... here.
2024 Adjust ifunc variants for memset.
2026 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2028 * sysdeps/s390/s390-64/memset.S: Move to ...
2029 * sysdeps/s390/memset.S: ... here.
2030 Adjust to be usable for 31/64bit.
2031 * sysdeps/s390/s390-32/memset.S: Delete File.
2032 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2033 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2035 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2036 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2037 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2038 Adjust to be usable for 31/64bit.
2039 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2040 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2041 * sysdeps/s390/multiarch/memset.c: ... here.
2042 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2044 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2046 * sysdeps/s390/multiarch/ifunc-resolve.h
2047 (s390_libc_ifunc_init, s390_libc_ifunc,
2048 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2052 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2053 * sysdeps/s390/configure.ac: Add check for z10 support.
2054 * sysdeps/s390/configure: Regenerated.
2056 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2058 * sysdeps/i386/atomic-machine.h: Merged with ...
2059 * sysdeps/x86_64/atomic-machine.h: To ...
2060 * sysdeps/x86/atomic-machine.h: This. New file.
2062 2018-12-18 Florian Weimer <fweimer@redhat.com>
2064 Rewrite locale/gen-translit.pl in Python.
2065 * locale/Makefile (generated): Add C-translit.h.
2066 (before-compile): Add $(objpfx)C-translit.h.
2067 (C-translit.h): Move to $(objpfx). Create target directory.
2068 Build using Python script.
2069 * locale/gen-translit.py: New file.
2070 * locale/gen-translit.pl: Remove file.
2071 * locale/C-translit.h.in: Change comment character to '#' for
2072 easier parsing without a C preprocessor.
2073 * locale/C-translit.h: Remove generated file.
2074 * manual/install.texi (Tools for Compilation): Do not mention
2076 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2077 Remove locale/C-translit.h.
2078 * scripts/update-copyrights: Likewise.
2079 * INSTALL: Regenerate.
2081 2018-12-18 Florian Weimer <fweimer@redhat.com>
2084 * localedata/locales/bi_VU: Remove executable bit from file.
2086 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2089 (__localtime64): Add.
2090 * manual/maint.texi: Document Y2038 symbol handling.
2092 (__localtime64): Add.
2093 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2095 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2097 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2100 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2101 to allow extra macros from first or second sources.
2102 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2103 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2104 (tests-special): Add $(objpfx)tst-mman-consts.out.
2105 ($(objpfx)tst-mman-consts.out): New makefile target.
2107 2018-12-17 Mao Han <han_mao@c-sky.com>
2109 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2110 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2111 without stat64 system call support.
2112 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2113 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2114 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2115 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2116 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2117 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2118 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2119 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2120 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2121 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2122 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2124 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2126 regex: fix storage-exhaustion error
2128 * posix/regexec.c (get_subexp):
2129 Do not continue if storage is exhausted.
2131 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2133 regex: fix heap-use-after-free error
2135 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2136 https://debbugs.gnu.org/32592
2137 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2138 call extend_buffers which reallocates the re_string_t internal buffer.
2139 Local variable 'buf' was not updated in such case, resulting in
2141 * posix/regexec.c (get_subexp): Update 'buf' after call to
2144 2018-12-15 Florian Weimer <fweimer@redhat.com>
2146 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2147 (minimum_stride_size): Use it.
2148 (support_blob_repeat_allocate): Likewise.
2150 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2157 2018-12-14 Florian Weimer <fweimer@redhat.com>
2159 * manual/process.texi (Process Creation Concepts): Remove
2160 documentation of process (ID) lifetime. List more process
2161 creation functions. Reference Process Identification section.
2162 (Process Identification): Add information about process ID
2163 lifetime. Describe Linux thread/task IDs.
2164 * manual/signal.texi (Signaling Another Process): Mention that the
2165 signal is always sent to the process.
2167 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2169 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2170 and tst-ldbl-efgcvt.
2171 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2172 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2173 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2174 (fcvt_tests, output_error, output_r_error, do_test): Use the
2175 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2176 select the type of floating-point variables and arguments; to
2177 produce extra tests for double and conversion specifiers for
2178 printf; and to set the names of called functions.
2179 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2180 in tst-efgcvt-template.c.
2181 * misc/tst-ldbl-efgcvt.c: Likewise.
2183 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2185 * nss/Makefile (tst-nss-test3.out): New rule.
2187 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2189 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2192 2018-12-13 fanjinke <fanjinke@hygon.cn>
2194 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2197 2018-12-13 Andreas Schwab <schwab@suse.de>
2200 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2201 (__pthread_rwlock_rdlock_full): Update expected value for
2202 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2203 * nptl/tst-rwlock-pwn.c: New file.
2204 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2206 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2208 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2211 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2213 * benchtests/scripts/compare_bench.py (do_compare): write to
2214 stderr in casestat is not present.
2215 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2216 stderr in case timings field is not present. Also string showing
2217 the output filename goes into the stderr.
2219 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2221 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2222 and ZeroDivisorError exceptions.
2223 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2224 argument to loop through user provided statistics.
2225 * benchtests/scripts/compare_bench.py (main): Include the --stats
2228 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2230 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2233 2018-12-12 Florian Weimer <fweimer@redhat.com>
2235 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2236 clause to copyright header.
2238 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2241 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2242 registers saved in the stack frame.
2243 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2244 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2246 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2248 * include/bits/monetary-ldbl.h: New file.
2249 * include/bits/printf-ldbl.h: Likewise.
2250 * include/bits/stdio-ldbl.h: Likewise.
2251 * include/bits/stdlib-ldbl.h: Likewise.
2252 * include/bits/syslog-ldbl.h: Likewise.
2253 * include/bits/wchar-ldbl.h: Likewise.
2255 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2257 * libio/libio.h: Remove redirection for _IO_vfprintf.
2259 2018-12-11 Andreas Schwab <schwab@suse.de>
2261 * Makerules: Remove all references to abilist-pattern.
2262 (update-all-abi): Simplify find expression.
2264 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2267 * math/auto-libm-test-in: Add new test case.
2268 * math/auto-libm-test-out-pow: Regenerated.
2269 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2271 2018-12-10 DJ Delorie <dj@redhat.com>
2274 * support/test-container.c: Move postclean step to before we
2277 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2279 * scripts/gen-as-const.py (main): Handle --python option.
2280 * scripts/gen-py-const.awk: Remove.
2281 * Makerules (py-const-script): Use gen-as-const.py.
2282 ($(py-const)): Likewise.
2283 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2284 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2285 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2286 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2287 ~PTHREAD_MUTEX_NO_ELISION_NP.
2288 * manual/README.pretty-printers: Update reference to
2291 * scripts/glibcextract.py: New file.
2292 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2293 or tempfile. Import glibcexctract.
2294 (compute_c_consts): Remove. Moved to glibcextract.py.
2295 (gen_test): Update reference to compute_c_consts.
2297 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2298 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2299 * sysdeps/unix/sysv/linux/Makefile
2300 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2301 Redirect stderr as well as stdout.
2303 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2306 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2307 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2308 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2309 ALWAYS_USE_VSYSCALL.
2310 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2311 ALWAYS_USE_VSYSCALL.
2312 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2313 ALWAYS_USE_VSYSCALL.
2315 2018-12-10 Florian Weimer <fweimer@redhat.com>
2318 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2319 offset instead of count for clarity. Fix typo in comment.
2320 (__old_getdents64): Keep track of previous offset. Use it to call
2322 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2323 that d_off is never zero.
2325 2018-12-10 Andreas Schwab <schwab@suse.de>
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2328 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2330 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2331 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2333 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2335 * timezone/private.h: Update from tzcode 2018g.
2336 * timezone/tzfile.h: Likewise.
2337 * timezone/tzselect.ksh: Likewise.
2338 * timezone/zdump.c: Likewise.
2339 * timezone/zic.c: Likewise.
2341 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2344 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2345 (do_test): Adjust buffer size and fix format.
2347 2018-12-07 DJ Delorie <dj@redhat.com>
2350 * malloc/tst-tcfree3.c: New.
2351 * malloc/Makefile: Add it.
2353 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2355 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2357 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2359 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2360 used as a mask for the mode argument of __vfscanf_internal and
2361 __vfwscanf_internal.
2362 * stdio-common/vfscanf-internal.c
2363 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2364 (__strtof128_internal): Define to __wcstof128_internal.
2365 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2366 __strtof128_internal or __wcstof128_internal when the format of
2367 long double is the same as _Float128.
2369 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2371 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2372 * posix/confstr.c (confstr): Rename to __confstr.
2373 (__confstr): Add hidden def.
2374 (confstr): Add weak alias for __confstr.
2375 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2378 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2380 * NEWS: Mention getcpu.
2381 * include/sched.h (__getcpu): New libc_hidden_proto.
2382 * manual/resource.texi: Document getcpu.
2383 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2384 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2385 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2386 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2387 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2388 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2389 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2390 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2391 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2392 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2393 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2394 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2395 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2397 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2398 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2399 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2408 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2417 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2418 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2421 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2423 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2425 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2427 2018-12-07 Florian Weimer <fweimer@redhat.com>
2430 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2431 * posix/Versions (GLIBC_2.29): Export
2432 posix_spawn_file_actions_addfchdir_np.
2433 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2434 * posix/spawn_faction_destroy.c
2435 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2436 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2437 and the field action.fchdir_action.
2438 * posix/tst-spawn-chdir.c (add_chdir): New function.
2439 (do_test): Add do_fchdir loop. Call add_chdir.
2440 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2441 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2442 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2443 posix_spawn_file_actions_addfchdir_np.
2444 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2446 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2448 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2449 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2451 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2453 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2455 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2457 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2459 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2461 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2462 (GLIBC_2.29): Likewise.
2463 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2464 (GLIBC_2.29): Likewise.
2465 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2466 (GLIBC_2.29): Likewise.
2467 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2468 (GLIBC_2.29): Likewise.
2469 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2472 (GLIBC_2.29): Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2474 (GLIBC_2.29): Likewise.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2476 (GLIBC_2.29): Likewise.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2478 (GLIBC_2.29): Likewise.
2479 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2481 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2483 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2485 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2488 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2490 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2492 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2495 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2497 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2498 trailing whitespace removed.
2499 * scripts/config.guess: Update to version 2018-11-28.
2500 * scripts/config.sub: Update to version 2018-11-28.
2501 * scripts/install-sh: Update to version 2018-03-11.20.
2502 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2503 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2505 2018-12-07 Florian Weimer <fweimer@redhat.com>
2509 * inet/tst-if_index-long.c: New file.
2510 * inet/Makefile (tests): Add tst-if_index-long.
2512 2018-12-07 Florian Weimer <fweimer@redhat.com>
2514 * support/check.h (support_record_failure_is_failed): Declare.
2515 * support/descriptors.h: New file.
2516 * support/support_descriptors.c: Likewise.
2517 * support/tst-support_descriptors.c: Likewise.
2518 * support/support_record_failure.c
2519 (support_record_failure_is_failed): New function.
2520 * support/Makefile (libsupport-routines): Add support_descriptors.
2521 (tests): Add tst-support_descriptors.
2523 2018-12-05 Zack Weinberg <zackw@panix.com>
2524 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2526 * stdio-common/vfprintf-internal.c
2527 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2528 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2530 and __no_long_double.
2531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2532 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2533 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2534 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2535 and __nldbl_*syslog* functions.
2536 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2537 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2538 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2539 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2540 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2541 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2542 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2543 (__nldbl_vwprintf, __nldbl_wprintf):
2544 Directly call the appropriate __v*printf_internal routine, passing
2545 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2547 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2548 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2549 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2550 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2551 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2552 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2553 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2554 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2555 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2556 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2557 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2558 (__nldbl_syslog, __nldbl_vsyslog):
2559 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2560 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2562 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2565 2018-12-05 Zack Weinberg <zackw@panix.com>
2566 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2569 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2570 Moved here from debug/vsprintf_chk.c.
2571 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2572 and completion logic for the strfile to match exactly what
2573 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2574 _IO_str_init_static_internal instead of maxlen-1.
2575 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2576 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2577 __vsprintf_internal.
2579 * debug/vsprintf_chk.c (__vsprintf_chk)
2580 * debug/sprintf_chk.c (__sprintf_chk):
2581 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2582 'flags' argument is positive, and slen as maxlen. No need to lock
2583 the FILE and/or construct a temporary FILE. Minimize and normalize
2584 header inclusions and variable names. Do not libc_hidden_def anything.
2586 * debug/asprintf_chk.c (__asprintf_chk)
2587 * debug/dprintf_chk.c (__dprintf_chk)
2588 * debug/fprintf_chk.c (__fprintf_chk)
2589 * debug/fwprintf_chk.c (__fwprintf_chk)
2590 * debug/printf_chk.c (__printf_chk)
2591 * debug/snprintf_chk.c (__snprintf_chk)
2592 * debug/swprintf_chk.c (__swprintf_chk)
2593 * debug/vasprintf_chk.c (__vasprintf_chk)
2594 * debug/vdprintf_chk.c (__vdprintf_chk)
2595 * debug/vfprintf_chk.c (__vfprintf_chk)
2596 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2597 * debug/vprintf_chk.c (__vprintf_chk)
2598 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2599 * debug/vswprintf_chk.c (__vswprintf_chk)
2600 * debug/vwprintf_chk.c (__vwprintf_chk)
2601 * debug/wprintf_chk.c (__wprintf_chk):
2602 Directly call the corresponding vxxprintf_internal function, passing
2603 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2604 the FILE and/or construct a temporary FILE. Minimize and normalize
2605 header inclusions and variable names. Do not libc_hidden_def anything.
2607 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2608 __obstack_vprintf_internal.
2609 (__obstack_vprintf_chk): Convert into a wrapper that calls
2610 __obstack_vprintf_internal (these two functions already had the
2611 same code) and move to new file...
2612 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2614 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2615 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2616 * debug/Makefile (routines): Add vobprintf_chk.
2618 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2619 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2620 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2621 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2622 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2623 (__nldbl___obstack_vfprintf_chk):
2624 Directly call the corresponding vxxprintf_internal function,
2625 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2626 duplicate comparison of slen with 0 or maxlen from the corresponding
2627 non-__nldbl function.
2629 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2630 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2631 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2632 Remove libc_hidden_proto.
2634 * stdio-common/vfprintf-internal.c
2635 (__vfprintf_internal, __vfwprintf_internal):
2636 Do not check _IO_FLAGS2_FORTIFY.
2637 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2638 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2639 a comment explaining why it has the maxlen argument.
2640 (_IO_acquire_lock_clear_flags2_fct): Remove.
2641 (_IO_acquire_lock_clear_flags2): Remove.
2642 (_IO_release_lock): Remove conditional statement which will
2644 (_IO_acquire_lock): Remove variable which is now unused.
2645 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2646 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2648 * stdio-common/Makefile (tests): Add tst-bz11319 and
2649 tst-bz11319-fortify2.
2650 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2651 * stdio-common/tst-bz11319-fortify2.c: New file.
2652 * stdio-common/tst-bz11319.c: Likewise.
2654 2018-12-05 Zack Weinberg <zackw@panix.com>
2655 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2657 * misc/syslog.c: Include libioP.h, not iolibio.h.
2658 (__vsyslog_internal): New function with the former body of
2659 __vsyslog_chk; takes mode_flags argument same as
2660 __v*printf_internal. Call __vfprintf_internal directly.
2662 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2663 Remove libc_hidden_def.
2664 (__syslog, __syslog_chk): Use __vsyslog_internal.
2665 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2667 * include/sys/syslog.h: Add multiple inclusion guard.
2668 Add prototype for __vsyslog_internal.
2669 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2672 Use __vsyslog_internal.
2674 2018-12-05 Zack Weinberg <zackw@panix.com>
2675 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2677 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2678 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2679 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2681 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2682 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2684 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2685 Include wctype.h here if COMPILE_WPRINTF is defined.
2686 Define __vfprintf_internal or __vfwprintf_internal, depending
2688 Temporarily, on entry to this function, update mode_flags
2689 according to the environmental settings corresponding to
2690 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2691 Throughout, check mode_flags instead of __ldbl_is_dbl and
2692 _IO_FLAGS2_FORTIFY on the destination FILE.
2693 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2694 Include vfprintf-internal.c. Don't include wctype.h.
2695 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2696 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2698 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2699 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2701 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2703 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2704 and add mode_flags argument; use __vfprintf_internal.
2705 (__vdprintf): New function. Alias vdprintf to this.
2706 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2707 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2708 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2709 (__obstack_printf): Use __obstack_printf_internal.
2710 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2711 public aliases __vsnprintf and vsnprintf.
2712 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2714 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2715 public aliases _IO_vsprintf and vsprintf.
2716 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2717 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2718 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2719 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2720 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2722 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2723 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2724 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2725 * stdio-common/printf.c: Use __vfprintf_internal.
2727 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2728 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2729 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2731 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2732 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2733 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2734 __vfwprintf_internal.
2736 * libio/libio.h: Remove libc_hidden_proto and declaration for
2738 Remove declaration of _IO_vfwprintf.
2739 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2741 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2743 * include/stdio.h: Add prototype for __vasprintf.
2744 (__vsnprintf): Remove declaration, because there are no more
2746 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2747 declaration, because there are no more internal calls.
2749 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2750 __vsnprintf_internal, instead of _IO_vsnprintf.
2751 * argp/argp-help.c (__argp_error, __argp_failure): Use
2752 __vasprintf_internal, instead of _IO_vasprintf.
2753 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2754 redefine, because there are no more internal calls.
2756 2018-12-05 Zack Weinberg <zackw@panix.com>
2757 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2759 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2760 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2761 Include libio/strfile.h instead of libioP.h.
2762 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2763 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2764 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2765 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2766 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2767 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2768 necessary. Do not set __no_long_double. Normalize variable names.
2769 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2770 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2771 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2772 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2773 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2774 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2775 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2776 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2777 Do not set __no_long_double. Normalize variable names.
2779 2018-12-05 Zack Weinberg <zackw@panix.com>
2780 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2782 * stdio-common/isoc99_scanf.c
2783 * stdio-common/isoc99_fscanf.c
2784 * stdio-common/isoc99_sscanf.c
2785 * stdio-common/isoc99_vscanf.c
2786 * stdio-common/isoc99_vfscanf.c
2787 * stdio-common/isoc99_vsscanf.c
2788 * wcsmbs/isoc99_wscanf.c
2789 * wcsmbs/isoc99_fwscanf.c
2790 * wcsmbs/isoc99_swscanf.c
2791 * wcsmbs/isoc99_vwscanf.c
2792 * wcsmbs/isoc99_vfwscanf.c
2793 * wcsmbs/isoc99_vswscanf.c:
2794 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2795 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2796 No need to lock and unlock the FILE passed to that function.
2798 * stdio-common/vfscanf-internal.c
2799 (__vfscanf_internal, __vfwscanf_internal):
2800 Don't look at _IO_FLAGS2_SCANF_STD.
2801 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2802 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2803 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2805 2018-12-05 Zack Weinberg <zackw@panix.com>
2806 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2808 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2809 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2810 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2811 * libio/strfile.h: Add multiple inclusion guard.
2812 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2814 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2815 consistency with the other version of this file.
2816 (ldbl_compat_symbol): New macro.
2817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2820 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2821 Define __vfscanf_internal or __vfwscanf_internal, depending on
2822 COMPILE_WSCANF; don't define any other public symbols.
2823 Remove errval and code to set errp.
2824 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2825 as the mode_flags argument.
2826 (encode_error, conv_error, input_error): Don't set errval.
2827 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2828 Include vfscanf-internal.c.
2829 * stdio-common/vfscanf.c: New file defining the public entry
2830 point vfscanf, which calls __vfscanf_internal.
2831 * stdio-common/vfwscanf.c: New file defining the public entry
2832 point vfwscanf, which calls __vfwscanf_internal.
2834 * stdio-common/iovfscanf.c: New file.
2835 * stdio-common/iovfwscanf.c: Likewise.
2837 * stdio-common/Makefile (routines): Add vfscanf-internal,
2838 vfwscanf-internal, iovfscanf, iovfwscanf.
2839 * stdio-common/Versions: Mention GLIBC_2.29, so that
2840 it can be used in SHLIB_COMPAT expressions.
2841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2842 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2843 Call __vfscanf_internal, instead of _IO_vfscanf.
2844 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2846 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2849 * libio/iovsscanf.c: Clean up includes, when possible. Use
2850 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2851 __vfscanf_internal or __vfwscanf_internal directly.
2852 * libio/iovswscanf.c: Likewise.
2853 * libio/swscanf.c: Likewise.
2854 * libio/vscanf.c: Likewise.
2855 * libio/vwscanf.c: Likewise.
2856 * libio/wscanf.c: Likewise.
2857 * stdio-common/isoc99_fscanf.c: Likewise.
2858 * stdio-common/isoc99_scanf.c: Likewise.
2859 * stdio-common/isoc99_sscanf.c: Likewise.
2860 * stdio-common/isoc99_vfscanf.c: Likewise.
2861 * stdio-common/isoc99_vscanf.c: Likewise.
2862 * stdio-common/isoc99_vsscanf.c: Likewise.
2863 * stdio-common/scanf.c: Likewise.
2864 * stdio-common/sscanf.c: Likewise.
2865 * wcsmbs/isoc99_fwscanf.c: Likewise.
2866 * wcsmbs/isoc99_swscanf.c: Likewise.
2867 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2868 * wcsmbs/isoc99_vswscanf.c: Likewise.
2869 * wcsmbs/isoc99_vwscanf.c: Likewise.
2870 * wcsmbs/isoc99_wscanf.c: Likewise.
2872 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2875 (__tz_compute): Replace time_t with __time64_t.
2876 (__tz_convert): Replace time_t* with __time64_t.
2877 (__offtime): Replace time_t* with __time64_t.
2879 (__gmtime_r): Adjust call to __tz_convert.
2882 (__localtime_r): Likewise.
2883 (localtime): Likewise.
2884 * time/offtime.c: Replace time_t with __time64_t.
2885 * time/tzset.c: Likewise.
2887 2018-12-04 Joseph Myers <joseph@codesourcery.com>
2889 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2890 dynamic linker unless [$(run-built-tests) = yes].
2892 2018-12-03 DJ Delorie <dj@delorie.com>
2894 * support/test-container.c (check_for_unshare_hints): New.
2895 (main): Call it if unshare fails. Add support for "su" scriptlet
2898 2018-12-03 Joseph Myers <joseph@codesourcery.com>
2900 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2901 'START' to indicate that start text should be output.
2902 (gen_test): Likewise.
2903 (main): Generate 'START' for first symbol or '--' line, or at end
2904 of input if not previously generated.
2906 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2909 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2910 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2911 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2912 ALWAYS_USE_VSYSCALL.
2914 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2917 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2920 2018-12-03 Carlos O'Donell <carlos@redhat.com>
2923 * locale/programs/localedef.c: Declare boolean hard_links default true.
2924 (options): Add --no-hard-links option.
2925 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2926 * locale/programs/localedef.h: Declare prototype for hard_links.
2927 * locale/programs/locfile.c (write_locale_data): Don't use hard
2928 links if hard_links is false.
2930 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2932 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2934 (__cache_sysconf): Likewise.
2935 (init_cacheinfo): Likewise.
2936 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2937 populate COMMON_CPUID_INDEX_80000007 and
2938 COMMON_CPUID_INDEX_80000008.
2939 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2940 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2941 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2942 (init_cpu_features): Use _Static_assert on
2943 index_arch_Fast_Unaligned_Load.
2944 __get_cpuid_registers and __get_arch_feature. Updated for
2945 cpu_features_basic. Set stepping in cpu_features.
2946 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2947 (FEATURE_INDEX_2): New.
2948 (FEATURE_INDEX_MAX): Changed to enum.
2949 (COMMON_CPUID_INDEX_D_ECX_1): New.
2950 (COMMON_CPUID_INDEX_80000007): Likewise.
2951 (COMMON_CPUID_INDEX_80000008): Likewise.
2952 (cpuid_registers): Likewise.
2953 (cpu_features_basic): Likewise.
2954 (CPU_FEATURE_USABLE): Likewise.
2955 (bit_arch_XXX_Usable): Likewise.
2956 (cpu_features): Use cpuid_registers and cpu_features_basic.
2957 (bit_arch_XXX): Reweritten.
2958 (bit_cpu_XXX): Likewise.
2959 (index_cpu_XXX): Likewise.
2960 (reg_XXX): Likewise.
2961 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2963 (CHECK_CPU_FEATURE): New.
2964 (CHECK_CPU_FEATURE_USABLE): Likewise.
2965 (cpu_kinds): Likewise.
2966 (do_test): Print vendor, family, model and stepping. Check
2967 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2968 (TEST_FUNCTION): Removed.
2969 Include <support/test-driver.c> instead of
2970 "../../test-skeleton.c".
2971 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2972 Check POPCNT instead of POPCOUNT.
2973 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2975 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2977 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2978 there is no element in `consts'.
2980 2018-12-01 Florian Weimer <fweimer@redhat.com>
2982 * support/support_capture_subprocess.c
2983 (support_capture_subprocess): Check that pipe descriptors have
2984 expected values. Close original pipe descriptors in subprocess.
2986 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2989 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2990 attr with __pthread_default_barrierattr.
2991 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2992 attr with __pthread_default_condattr.
2993 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2994 attr with __pthread_default_mutexattr.
2995 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2996 attr with __pthread_default_rwlockattr.
2998 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3000 * manual/tunables.texi (POSIX Thread Tunables): New node.
3001 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3002 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3003 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3004 __pthread_tunables_init.
3005 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3006 (max_adaptive_count): Define.
3007 * nptl/pthread_mutex_conf.c: New file.
3008 * nptl/pthread_mutex_conf.h: New file.
3009 * sysdeps/generic/adaptive_spin_count.h: New file.
3010 * sysdeps/nptl/dl-tunables.list: New file.
3011 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3012 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3013 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3016 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3019 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3020 * stdlib/on_exit.c (__on_exit): Likewise.
3021 * stdlib/Makefile (tests): Add tst-bz20544.
3022 * stdlib/tst-bz20544.c: New test.
3024 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3027 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3028 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3031 2018-11-30 Florian Weimer <fweimer@redhat.com>
3033 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3034 Extend error logging.
3035 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3038 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3040 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3041 __sigismember instead of sigismember.
3042 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3043 cancel_handler): New definitions.
3044 (do_system): Use posix_spawn instead of fork and execl and remove
3046 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3047 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3048 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3049 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3050 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3051 * sysdeps/unix/sysv/linux/system.c: Likewise.
3055 * NEWS: Add new semantic for atfork with popen and system.
3056 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3059 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3062 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3063 modification order when accessing reloc_result->addr.
3064 * include/link.h (reloc_result): Add field init.
3065 * nptl/Makefile (tests): Add tst-audit-threads.
3066 (modules-names): Add tst-audit-threads-mod1 and
3067 tst-audit-threads-mod2.
3068 Add rules to build tst-audit-threads.
3069 * nptl/tst-audit-threads-mod1.c: New file.
3070 * nptl/tst-audit-threads-mod2.c: Likewise.
3071 * nptl/tst-audit-threads.c: Likewise.
3072 * nptl/tst-audit-threads.h: Likewise.
3074 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3076 * scripts/gen-as-const.py: New file.
3077 * scripts/gen-as-const.awk: Remove.
3078 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3080 ($(objpfx)test-as-const-%.c): Likewise.
3082 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3084 * elf/dl-exception.c: Include <_itoa.h>.
3086 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3088 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3089 returned by __f_setlk.
3091 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3092 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3094 * elf/Makefile (tests-internal): Add tst-create_format1.
3095 * elf/dl-exception.c (_dl_exception_create_format): Support
3097 * elf/tst-create_format1.c: New file.
3099 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3101 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3102 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3104 * argp/argp-help.c (__argp_failure): Likewise.
3106 2018-11-29 Mao Han <han_mao@c-sky.com>
3108 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3109 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3110 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3111 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3112 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3113 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3114 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3115 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3116 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3117 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3118 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3119 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3120 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3121 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3122 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3123 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3124 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3125 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3126 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3127 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3128 (R_CKCORE_TLS_TPOFF32): New defines.
3130 2018-11-29 Florian Weimer <fweimer@redhat.com>
3132 * posix/Makefile (before-compile): Remove testcases.h and
3134 (generated): Add testcases.h and ptestcases.h.
3135 (testcases.h, ptestcases.h): Move to $(objpfx).
3136 (runtests.o): Add dependency on testcases.h.
3137 (runptests.o): Add dependency on ptestcases.h.
3138 * posix/testcases.h, posix/ptestcases.h: Remove files.
3139 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3140 not touch posix/testcases.h and posix/ptestcases.h.
3142 2018-11-28 Florian Weimer <fweimer@redhat.com>
3144 support: Add signal support to support_capture_subprocess_check.
3145 * support/capture_subprocess.h (support_capture_subprocess_check):
3146 Adjust comment and rename parameter.
3147 * support/support_capture_subprocess_check.c
3148 (print_actual_status): New function.
3149 (support_capture_subprocess_check): Support negative
3150 status_or_signal. Call print_actual_status.
3151 * support/tst-support_capture_subprocess.c (do_test): Call
3152 support_capture_subprocess_check.
3153 * libio/tst-vtables-common.c (termination_status)
3154 (init_termination_status): Remove.
3155 (check_for_termination): Adjust support_capture_subprocess_check
3157 (do_test): Remove call to init_termination_status.
3159 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3161 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3162 source directory instead of a copy.
3163 (CommandList.create_copy_dir): Remove.
3165 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3167 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3169 2018-11-28 Florian Weimer <fweimer@redhat.com>
3171 * support/support.h (support_quote_string): Do not use str
3174 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3176 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3177 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3179 2018-11-27 Florian Weimer <fweimer@redhat.com>
3181 * support/support.h (support_quote_string): Declare.
3182 * support/support_quote_string.c: New file.
3183 * support/tst-support_quote_string.c: Likewise.
3184 * support/Makefile (libsupport-routines): Add
3185 support_quote_string.
3186 (tests): Add tst-support_quote_string.
3188 2018-11-27 Florian Weimer <fweimer@redhat.com>
3192 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3193 descriptor leak in case of ENODEV error.
3195 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3198 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3199 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3200 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3202 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3204 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3205 Error for unknown lines.
3207 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3209 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3210 Touch additional files.
3212 2018-11-26 Florian Weimer <fweimer@redhat.com>
3215 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3218 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3221 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3222 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3223 SHARED. Include sysdep.h.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3225 ALWAYS_USE_VSYSCALL.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3227 ALWAYS_USE_VSYSCALL.
3229 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3232 * nptl/Makefile (tests-static): Add tst-cond11-static.
3234 * nptl/tst-cond11-static.c: New File.
3235 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3236 tst-affinity-static.
3238 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3240 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3241 (USE_VSYSCALL): Likewise.
3242 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3243 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3245 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3250 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3253 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3254 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3257 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3259 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3260 (tst-cet-legacy-1a-ARGS): New.
3261 ($(objpfx)tst-cet-legacy-1a): New target.
3262 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3264 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3266 * conform/conformtest.py (CompileSubTest.__init__): Set
3267 self.run_early to False.
3268 (ExecuteSubTest.__init__): Likewise.
3269 (HeaderTests.run): Try running all non-optional, non-XFAILed
3270 compilation tests in a single execution of the compiler.
3272 * conform/conformtest.py (CompileSubTest): New class.
3273 (ExecuteSubTest): Likewise.
3274 (ElementTest.run): Rename to gen_subtests. Append tests to
3275 self.subtests instead of running them.
3276 (ConstantTest.run): Likewise.
3277 (SymbolTest.run): Likewise.
3278 (TypeTest.run): Likewise.
3279 (TagTest.run): Likewise.
3280 (FunctionTest.run): Likewise.
3281 (VariableTest.run): Likewise.
3282 (MacroFunctionTest.run): Likewise.
3283 (MacroStrTest.run): Likewise.
3284 (HeaderTests.handle_test_line): Generate subtests for tests.
3285 (HeaderTests.run): Run subtests for tests.
3287 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3289 * math/Versions (GLIBC_2.29): Add pow.
3290 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3292 * math/w_pow.c: New file.
3293 * sysdeps/i386/fpu/w_pow.c: New file.
3294 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3296 and add necessary aliases.
3297 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3298 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3299 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3300 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3301 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3302 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3303 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3304 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3305 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3306 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3307 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3308 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3309 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3310 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3311 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3316 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3317 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3318 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3321 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3323 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3325 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3326 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3327 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3329 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3331 * math/Versions (GLIBC_2.29): Add log2.
3332 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3334 * math/w_log2.c: New file.
3335 * sysdeps/i386/fpu/w_log2.c: New file.
3336 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3337 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3338 and add necessary aliases.
3339 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3340 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3341 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3342 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3343 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3344 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3345 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3346 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3347 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3348 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3349 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3350 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3351 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3352 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3353 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3358 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3359 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3360 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3361 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3362 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3363 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3366 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3368 * math/Versions (GLIBC_2.29): Add log.
3369 * math/w_log_compat.c (__log_compat): Change to versioned compat
3371 * math/w_log.c: New file.
3372 * sysdeps/i386/fpu/w_log.c: New file.
3373 * sysdeps/ia64/fpu/e_log.S: Update.
3374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3375 and add necessary aliases.
3376 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3377 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3378 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3379 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3380 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3381 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3382 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3383 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3384 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3385 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3386 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3387 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3388 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3389 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3390 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3395 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3396 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3397 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3398 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3399 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3400 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3401 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3402 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3404 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3405 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3406 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3407 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3409 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3411 * math/Versions (GLIBC_2.29): Add exp and exp2.
3412 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3413 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3414 * math/w_exp_compat.c (__exp_compat): Likewise.
3415 * math/w_exp.c: New file.
3416 * math/w_exp2.c: New file.
3417 * sysdeps/i386/fpu/w_exp.c: New file.
3418 * sysdeps/i386/fpu/w_exp2.c: New file.
3419 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3420 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3422 and add necessary aliases.
3423 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3424 and add necessary aliases.
3425 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3426 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3427 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3428 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3429 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3430 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3431 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3432 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3433 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3434 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3435 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3436 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3437 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3438 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3439 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3440 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3441 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3446 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3447 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3448 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3449 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3450 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3451 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3452 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3453 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3454 (__ieee754_exp): Rename to __exp.
3455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3456 (__ieee754_exp): Rename to __exp.
3457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3458 (__ieee754_exp): Rename to __exp.
3459 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3461 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3463 2018-11-20 DJ Delorie <dj@redhat.com>
3465 * malloc/malloc.c (tcache_entry): Add key field.
3466 (tcache_put): Set it.
3467 (tcache_get): Likewise.
3468 (_int_free): Check for double free in tcache.
3469 * malloc/tst-tcfree1.c: New.
3470 * malloc/tst-tcfree2.c: New.
3471 * malloc/Makefile: Run the new tests.
3472 * manual/probes.texi: Document memory_tcache_double_free probe.
3474 * dlfcn/dlerror.c (check_free): Prevent double frees.
3476 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3478 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3480 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3482 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3483 in tests. Use names for format arguments.
3484 (ConstantTest.run): Likewise.
3485 (SymbolTest.run): Likewise.
3486 (TypeTest.run): Likewise.
3487 (TagTest.run): Likewise.
3488 (FunctionTest.run): Likewise.
3489 (VariableTest.run): Likewise.
3490 (MacroFunctionTest.run): Likewise.
3491 (MacroStrTest.run): Likewise.
3492 (HeaderTests.__init__): Set self.num_tests.
3493 (HeaderTests.handle_test_line): Set test.num. Increment
3496 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3498 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3499 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3502 2018-11-19 Mao Han <han_mao@c-sky.com>
3504 * scripts/config.guess: Update to version 2018-08-29.
3505 * scripts/config.sub: Update to version 2018-08-29.
3507 2018-11-19 Florian Weimer <fweimer@redhat.com>
3509 support: Print timestamps in timeout handler.
3510 * support/support_test_main.c (print_timestamp): New function.
3511 (signal_handler): Use it to print the termination time and the
3512 time of the last write to standard output.
3514 2018-11-16 Zack Weinberg <zackw@panix.com>
3515 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3517 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3518 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3520 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3521 and add flags argument. Check flags instead of __ldbl_is_dbl when
3522 deciding whether to set is_long_double.
3523 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3524 passing zero for flags argument.
3525 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3527 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3528 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3529 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3530 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3531 variable names. Remove libc_hidden_def/libc_hidden_proto from
3532 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3533 longer called from within the library.
3534 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3535 for __nldbl___vstrfmon_l, declare it explicitly.
3537 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3539 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3541 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3543 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3544 F_SETLK64, F_SETLKW64, respectively.
3545 * sysdeps/mach/hurd/f_setlk.c: New file.
3546 * sysdeps/mach/hurd/f_setlk.h: New file.
3547 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3549 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3550 (__libc_fcntl): Move non-flock operations to...
3551 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3552 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3554 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3556 mktime: DEBUG_MKTIME cleanup
3557 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3558 And it’s no longer needed now that glibc and Gnulib both have
3559 their own testing mechanisms for mktime.
3560 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3562 mktime: fix non-EOVERFLOW errno handling
3564 mktime was not properly reporting failures when the underlying
3565 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3566 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3567 The problem could happen on non-glibc platforms, with Gnulib.
3568 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3569 (tm_diff): ... this simpler function, which does not change errno.
3570 All callers changed to deal with errno themselves.
3571 (ranged_convert, __mktime_internal): Return failure immediately if
3572 the underlying function reports any failure other than EOVERFLOW.
3573 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3576 mktime: fix bug with Y2038 DST transition
3578 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3579 mishandle a DST transition that jumps over the Y2038 boundary.
3580 No such DST transitions are known so this is only a theoretical
3581 bug, but we might as well do things right.
3583 mktime: make more room for overflow
3585 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3586 This is so that we can add tm_diff results to a previous guess,
3587 which will be useful in a later patch.
3589 mktime: simplify offset guess
3591 * time/mktime.c (__mktime_internal): Omit excess precision.
3593 mktime: new test for mktime failure
3595 Based on a test suggested by Albert Aribaud in:
3596 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3597 * time/Makefile (tests): Add bug-mktime4.
3598 * time/bug-mktime4.c: New file.
3600 mktime: fix EOVERFLOW bug
3602 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3603 Include libc-config.h, not config.h, for __set_errno.
3604 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3606 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3608 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3609 __attribute_copy__ to copy attributes from name. Drop static qualifier
3610 to avoid warnings about leaf attribute not having effect on static
3613 2018-11-13 Florian Weimer <fweimer@redhat.com>
3615 * malloc/malloc.c (fastbin_push_entry): New function.
3616 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3617 (REMOVE_FB): Remove macro.
3618 (_int_malloc): Use fastbin_pop_entry and reindent.
3619 (_int_free): Use fastbin_push_entry.
3620 (malloc_consolidate): Use atomic_exchange_acquire.
3622 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3625 alias attribute, not with strong_alias.
3627 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3628 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3629 with additional parameter thread.
3630 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3631 in terms of __hidden_ver2.
3632 (hidden_tls_def): New macro.
3633 (libc_hidden_tls_def): Likewise.
3634 (rtld_hidden_tls_def): Likewise.
3635 (libm_hidden_tls_def): Likewise.
3636 (libmvec_hidden_tls_def): Likewise.
3637 (libresolv_hidden_tls_def): Likewise.
3638 (librt_hidden_tls_def): Likewise.
3639 (libdl_hidden_tls_def): Likewise.
3640 (libnss_files_hidden_tls_def): Likewise.
3641 (libnsl_hidden_tls_def): Likewise.
3642 (libnss_nisplus_hidden_tls_def): Likewise.
3643 (libutil_hidden_tls_def): Likewise.
3644 (libutil_hidden_tls_def): Likweise.
3645 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3646 libc_hidden_tls_def.
3647 (__sim_disabled_exceptions_thread): Likewise.
3648 (__sim_round_mode_thread): Likewise.
3650 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3651 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3652 copy attributes from name.
3654 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3656 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3657 Use __attribute_copy__ to copy attributes from name.
3659 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3660 with __hidden_ver1 call.
3661 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3662 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3663 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3664 (__cosf): Do not declare here.
3665 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3666 (__sincosf): Do not declare here.
3667 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3668 (__sinf): Do not declare here.
3670 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3671 (__BIG_ENDIAN): Likewise.
3672 (__BYTE_ORDER): Likewise.
3673 (strong_alias): Likewise.
3674 (_strong_alias): Likewise.
3676 2018-11-12 Florian Weimer <fweimer@redhat.com>
3678 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3679 function. Move after the definition of in_smallbin_range. Do not
3680 use __builtin_expect for paths that lead to a noreturn function.
3681 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3682 because it is unclear whether this is in fact an unlikely
3684 (_int_malloc, _int_free): Adjust.
3685 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3687 * malloc/arena.c (heap_trim): Likewise.
3689 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3691 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3692 it, free it if needed.
3693 (reauthenticate): Test and use ccwdir.
3694 (child_init_port): In non-resetids case, test and use ccwdir.
3695 (child_chdir): New nested function to set ccwdir.
3696 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3697 * hurd/hurd/port.h (_hurd_port_move): New function.
3698 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3699 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3700 * hurd/Versions (_hurd_port_move): Export function.
3701 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3703 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3704 of dtablesize for allocating dtable_cloexec.
3706 2018-11-09 Martin Sebor <msebor@redhat.com>
3708 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3709 it's already defined.
3710 (_strong_alias): Use __attribute_copy__.
3711 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3712 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3713 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3714 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3715 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3716 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3717 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3718 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3719 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3720 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3721 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3722 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3723 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3724 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3725 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3726 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3727 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3728 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3729 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3731 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3733 * misc/tst-efgcvt.c: Include support/check.h and
3734 support/test-driver.c. Do not include test-skeleton.c.
3735 (error_count): Remove.
3736 (output_error): Replace increments to error_count with calls to
3737 support_record_failure.
3738 (output_r_error): Likewise.
3739 (special): Likewise.
3740 (do_test): Unconditionally return zero.
3741 (TEST_FUNCTION): Remove.
3743 2018-11-09 Joseph Myers <joseph@codesourcery.com>
3745 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3747 ($(linknamespace-header-tests)): Likewise.
3749 * conform/conformtest.py: New file.
3750 * conform/conformtest.pl: Remove.
3751 * conform/GlibcConform.pm: Likewise.
3752 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3753 (KEYWORDS_C99): Likewise.
3754 (KEYWORDS): Likewise.
3755 * conform/Makefile ($(conformtest-header-tests)): Use
3756 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3757 option. Use --header instead of --headers.
3758 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3760 * conform/data/spawn.h-data: Likewise.
3761 * conform/data/fcntl.h-data (openat): Add space after function
3763 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3764 (wcscasecmp_l): Likewise.
3765 * conform/data/termios.h-data (c_cc): Add space after element
3768 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3770 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3771 instead of manually comparing and reporting mismatching strings.
3772 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3773 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3775 2018-11-08 Joseph Myers <joseph@codesourcery.com>
3777 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3778 __ASSUME_SOCKETCALL.
3779 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3780 (__ASSUME_SOCKETCALL): Remove.
3781 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3782 (__ASSUME_SOCKETCALL): Likewise.
3783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3784 (__ASSUME_SOCKETCALL): Likewise.
3785 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3786 (__ASSUME_SOCKETCALL): Likewise.
3787 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3788 (__ASSUME_SOCKETCALL): Likewise.
3789 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3790 (__ASSUME_SOCKETCALL): Likewise.
3791 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3792 (__ASSUME_SOCKETCALL): Likewise.
3794 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3797 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3798 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3799 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3800 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3801 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3804 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3807 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3809 2018-11-07 Joseph Myers <joseph@codesourcery.com>
3812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3813 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3815 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3817 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3819 * support/support_test_compare_string.c
3820 (support_test_compare_string): Fix printf format.
3822 2018-11-07 Florian Weimer <fweimer@redhat.com>
3824 Implement TEST_COMPARE_STRING.
3825 * support/check.h (TEST_COMPARE_STRING): Define.
3826 (support_test_compare_string): Declare.
3827 * support/Makefile (libsupport-routines): Add
3828 support_test_compare_string.
3829 (tests): Add tst-test_compare_string.
3830 * support/support_test_compare_string.c: New file.
3831 * support/tst-test_compare_string.c: Likewise.
3833 2018-11-07 Andreas Schwab <schwab@suse.de>
3836 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3837 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3840 2018-11-06 Joseph Myers <joseph@codesourcery.com>
3843 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3844 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3845 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3846 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3849 2018-11-06 Florian Weimer <fweimer@redhat.com>
3852 * posix/Makefile (routines): Add spawn_faction_addchdir.
3853 (tests): Add tst-spawn-chdir.
3854 * posix/Versions (GLIBC_2.29): Add
3855 posix_spawn_file_actions_addchdir_np.
3856 * posix/spawn_faction_addchdir.c: New file.
3857 * posix/spawn_faction_destroy.c
3858 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3859 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3860 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3862 * posix/tst-spawn-chdir.c: New file.
3863 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3864 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3865 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3866 posix_spawn_file_actions_addchdir_np.
3867 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3869 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3871 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3872 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3874 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3876 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3878 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3880 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3882 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3884 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3885 (GLIBC_2.29): Likewise.
3886 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3887 (GLIBC_2.29): Likewise.
3888 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3889 (GLIBC_2.29): Likewise.
3890 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3891 (GLIBC_2.29): Likewise.
3892 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3895 (GLIBC_2.29): Likewise.
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3897 (GLIBC_2.29): Likewise.
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3899 (GLIBC_2.29): Likewise.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3901 (GLIBC_2.29): Likewise.
3902 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3904 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3908 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3911 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3913 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3915 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3918 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3920 * misc/Makefile (tests): Add tst-ldbl-error.
3921 * misc/tst-ldbl-error.c: New file.
3923 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3925 * misc/Makefile (tests): Add tst-ldbl-warn.
3926 * misc/tst-ldbl-warn.c: New file.
3928 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3930 * argp/Makefile (tests): Add tst-ldbl-argp.
3931 * argp/tst-ldbl-argp.c: New file.
3933 2018-11-05 Arjun Shankar <arjun@redhat.com>
3935 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3936 __gconv_path_elem and call __gconv_get_path unconditionally.
3938 2018-11-05 Andreas Schwab <schwab@suse.de>
3941 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3942 creating the first helper thread failed.
3944 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3946 * sysdeps/mach/hurd/msync.c: New file.
3948 2018-11-02 Florian Weimer <fweimer@redhat.com>
3950 * support/shell-container.c (copy_func): Call
3951 support_copy_file_range instead of copy_file_range to support
3952 cross-device copies.
3954 2018-11-02 Florian Weimer <fweimer@redhat.com>
3956 * support/test-container.c: Include <libc-pointer-arith.h> for
3959 2018-11-01 Zong Li <zong@andestech.com>
3961 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3962 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3963 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3964 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3966 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3967 variable to avoid overlap arguments.
3969 2018-11-01 Joseph Myers <joseph@codesourcery.com>
3971 * posix/bug-regex22.c (main): Use puts with distinct error
3972 messages for unexpected success of re_compile_pattern, not printf
3973 with NULL argument to %s.
3975 * stdio-common/bug22.c: Include <libc-diag.h>.
3976 (do_test): Disable -Wformat-overflow= warnings around fprintf
3977 calls outputting more than INT_MAX characters.
3978 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3979 around printf call with NULL %s argument.
3982 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3983 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3985 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3986 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3987 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3988 (__ASSUME_SENDTO_SYSCALL): Likewise.
3989 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3990 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3992 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3993 (__ASSUME_CONNECT_SYSCALL): Likewise.
3994 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3995 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3996 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3998 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4000 [__LINUX_KERNEL_VERSION >= 0x040400]
4001 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4005 (setsockopt): Likewise.
4007 2018-11-01 Fredrik Noring <noring@nocrew.org>
4009 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4010 with the ISA override.
4012 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4014 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4017 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4019 * manual/errno.texi (EIEIO): Document how translators should
4020 translate the error message.
4021 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4022 printing trailing whitespaces refused by git.
4023 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4024 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4025 * hurd/Makefile (user-interfaces): Add pci.
4027 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4029 * conform/linknamespace.py: New file.
4030 * conform/linknamespace.pl: Remove file.
4031 * conform/Makefile ($(linknamespace-header-tests)): Use
4032 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4035 2018-10-30 Florian Weimer <fweimer@redhat.com>
4037 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4040 2018-10-30 Florian Weimer <fweimer@redhat.com>
4042 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4044 2018-10-30 Florian Weimer <fweimer@redhat.com>
4046 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4047 support_blob_repeat.
4049 2018-10-30 Florian Weimer <fweimer@redhat.com>
4051 Avoid spurious test failures in stdlib/test-bz22786.
4052 * support/Makefile (libsupport-routines): Add blob_repeat.
4053 (tests): Add tst-support_blob_repeat.
4054 * support/blob_repeat.h: New file.
4055 * support/blob_repeat.c: Likewise.
4056 * support/tst-support_blob_repeat.c: Likewise.
4057 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4058 support_blob_repeat_allocate.
4060 2018-10-30 Andreas Schwab <schwab@suse.de>
4063 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4064 Don't use tail call.
4065 * elf/tst-unwind-main.c: New file.
4066 * elf/Makefile (tests): Add tst-unwind-main.
4067 (CFLAGS-tst-unwind-main.c): Define.
4069 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4072 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4074 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4076 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4078 * conform/glibcconform.py: Do not import shutil.
4079 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4082 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4083 critic_missing for versions before 3.4.
4084 * configure: Regenerated.
4085 * manual/install.texi (Tools for Compilation): Document
4086 requirement for Python to build glibc.
4087 * INSTALL: Regenerated.
4088 * Rules [PYTHON]: Make code unconditional.
4089 * benchtests/Makefile [PYTHON]: Likewise.
4090 * conform/Makefile [PYTHON]: Likewise.
4091 * manual/Makefile [PYTHON]: Likewise.
4092 * math/Makefile [PYTHON]: Likewise.
4094 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4096 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4097 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4098 answer to interrupt_operation, return EIEIO instead of EINTR.
4099 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4100 _hurd_intr_rpc_msg_about_to global point to start of controlled
4101 assembly snippet. Make it check canceled flag.
4102 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4103 the _hurd_intr_rpc_msg_about_to point.
4104 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4105 issue, remove cancel flag check.
4107 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4109 * scripts/build-many-glibcs.py: Remove compatibility for missing
4110 os.cpu_count and re.fullmatch.
4112 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4115 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4116 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4117 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4119 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4121 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4124 2018-10-25 Florian Weimer <fweimer@redhat.com>
4128 XFAIL siginfo_t si_band conform test on sparc64.
4129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4130 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4131 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4132 (conformtest-xfail-conds): Add sparc64-linux.
4133 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4135 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4137 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4139 * elf/elf.h (NT_MIPS_DSP): New macro.
4140 (NT_MIPS_FP_MODE): Likewise.
4142 2018-10-25 Zong Li <zong@andestech.com>
4144 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4145 name by adding the file extension (.so).
4147 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4149 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4150 (test-xfail-ISO11/threads.h/linknamespace,
4151 test-xfail-ISO11/threads.h/conform): Add.
4153 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4155 * math/gen-libm-test.py: Import os.
4156 (ALL_FLOATS_MANUAL): New constant.
4157 (ALL_FLOATS_SUFFIX): Likewise.
4158 (Ulps.all_functions): New function.
4159 (real_all_ulps): Likewise.
4160 (generate_err_table_sub): Likewise.
4161 (generate_err_table): Likewise.
4162 (main): Handle -s and -m options.
4163 * manual/libm-err-tab.pl: Remove.
4164 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4165 instead of libm-err-tab.pl.
4166 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4168 * manual/install.texi (Tools for Compilation): Document
4169 requirement for Python to build manual.
4170 * INSTALL: Regenerated.
4172 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4174 * bits/time64.h: New file.
4175 * include/time.h: Replace internal_time_t with __time64_t.
4176 * posix/bits/types (__time64_t): Add.
4177 * stdlib/Makefile: Add bits/time64.h to includes.
4178 * time/tzfile.c: Replace internal_time_t with __time64_t.
4180 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4182 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4183 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4184 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4185 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4186 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4188 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4189 * posix/spawn_faction_addclose.c
4190 (__posix_spawn_file_actions_addclose): Add hidden definition.
4191 * posix/spawn_faction_adddup2.c
4192 (__posix_spawn_file_actions_adddup2): Likewise.
4193 * posix/spawn_faction_destroy.c
4194 (__posix_spawn_file_actions_destroy): Likewise.
4195 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4197 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4198 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4199 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4201 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4202 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4205 2018-10-24 Andreas Schwab <schwab@suse.de>
4208 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4210 * elf/cache.c (print_cache): Likewise.
4212 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4214 * bits/timesize.h: New file.
4215 * stdlib/Makefile (headers): Add bits/timesize.h.
4216 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4217 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4218 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4219 (__SEM_PAD_AFTER_TIME): Likewise.
4220 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4221 (__SHM_PAD_AFTER_TIME): Likewise.
4222 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4223 (__MSQ_PAD_BEFORE_TIME): Likewise.
4224 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4225 (__SEM_PAD_BEFORE_TIME): Likewise.
4226 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4227 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4228 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4229 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4230 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4231 (__MSQ_PAD_BEFORE_TIME): Likewise.
4232 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4233 (__SEM_PAD_BEFORE_TIME): Likewise.
4234 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4235 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4237 (__MSQ_PAD_BEFORE_TIME): Likewise.
4238 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4239 (__SEM_PAD_BEFORE_TIME): Likewise.
4240 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4241 (__SHM_PAD_BEFORE_TIME): Likewise.
4242 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4243 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4244 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4246 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4248 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4249 USE_RDTSCP is defined.
4250 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4251 USE_RDTSCP is defined.
4253 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4255 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4259 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4260 independently of other flags.
4262 2018-10-23 Florian Weimer <fweimer@redhat.com>
4264 * time/tst-mktime2.c (N_STRINGS): Remove.
4265 (set_timezone): New function.
4266 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4267 (mktime_test1): Report localtime failure and check errno value.
4269 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4270 (do_test): Remove alarm call. Use set_timezone and array_length.
4272 2018-10-23 Andreas Schwab <schwab@suse.de>
4274 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4275 (__start_context): Use END instead of PSEUDO_END.
4277 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4279 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4282 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4286 * wcsmbs/c32rtomb.c: New file.
4287 * wcsmbs/mbrtoc32.c: Likewise.
4288 * wcsmbs/tst-c32-state.c: Likewise.
4289 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4290 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4291 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4292 (tests): Add tst-c32-state.
4293 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4296 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4298 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4299 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4301 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4304 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4305 pair and return 0 in that case, and use saved character to
4306 interpret following character.
4307 * wcsmbs/tst-c16-surrogate.c: New file.
4308 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4309 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4310 Depend on $(gen-locales)
4312 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4315 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4316 (struct siginfo_t): Use correct type for si_band.
4318 2018-10-19 Florian Weimer <fweimer@redhat.com>
4321 * resource/bits/types/struct_rusage.h (struct rusage): Update
4322 comment on struct. Remove extraneous field comment.
4324 2018-10-18 David S. Miller <davem@davemloft.net>
4326 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4327 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4328 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4329 sysdep_routines in subdir elf.
4330 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4331 version for __vdso_clock_gettime.
4332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4334 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4335 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4337 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4339 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4341 * sysdeps/i386/init-arch.h: Removed.
4342 * sysdeps/i386/i586/init-arch.h: Likewise.
4343 * sysdeps/i386/i686/init-arch.h: Likewise.
4344 * sysdeps/i386/i686/hp-timing.h: Likewise.
4345 * sysdeps/x86_64/hp-timing.h: Likewise.
4346 * sysdeps/i386/isa.h: New file.
4347 * sysdeps/i386/i586/isa.h: Likewise.
4348 * sysdeps/i386/i686/isa.h: Likewise.
4349 * sysdeps/x86_64/isa.h: Likewise.
4350 * sysdeps/x86/hp-timing.h: New file.
4351 * sysdeps/x86/init-arch.h: Include <isa.h>.
4353 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4355 * math/libm-test-pow.inc (pow_test_data): Do not allow
4356 divide-by-zero exception for pow(+/- 0, -Inf).
4358 2018-10-17 Zack Weinberg <zackw@panix.com>
4360 * manual/job.texi (Job Control is Optional): Remove node, as
4361 job control has not been optional in quite some time.
4362 (Job Control): Mention briefly that systems older than
4363 POSIX.1-2001 might not support job control.
4364 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4365 defined on systems conforming to POSIX.1-2001.
4367 2018-10-17 Arjun Shankar <arjun@redhat.com>
4370 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4372 * (__gconv_read_conf): Mark function static.
4373 * (once): New static variable.
4374 * (__gconv_load_conf): New function.
4375 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4376 * iconv/gconv_db.c (once): Remove static variable.
4377 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4379 * (__gconv_find_transform): Likewise.
4380 * iconv/tst-iconv-mt.c: New test.
4381 * iconv/Makefile: Add tst-iconv_mt.
4383 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4387 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4388 (shmatt_t): Define as __syscall_ulong_t.
4389 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4390 and [__SHM_PAD_AFTER_TIME].
4391 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4392 Define shm_segsz and associated padding based on
4393 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4394 Use __syscall_ulong_t instead of unsigned long int.
4395 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4397 [__USE_MISC] (struct shm_info): Likewise.
4398 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4399 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4400 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4401 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4403 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4404 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4405 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4406 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4407 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4408 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4412 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4413 (SHMLBA): Remove macro.
4414 (__getpagesize): Remove function declaration.
4415 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4417 (SHMLBA): Remove macro.
4418 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4420 (SHMLBA): Remove macro.
4421 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4423 (SHMLBA): Remove macro.
4424 (__getpagesize): Remove function declaration.
4425 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4427 (SHMLBA): Remove macro.
4428 (__getshmlba): Remove function declaration.
4429 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4430 (SHMLBA): Remove macro.
4431 (__getpagesize): Remove function declaration.
4432 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4433 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4435 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4436 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4437 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4438 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4439 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4440 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4441 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4443 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4446 * nptl/tst-mutex10.c: New File.
4447 * nptl/Makefile (tests): Add tst-mutex10.
4448 (tst-mutex10-ENV): New variable.
4449 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4450 Ensure that elision path is used if elision is available.
4451 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4453 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4455 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4456 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4457 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4458 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4460 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4461 (__pthread_mutex_cond_lock_adjust): Likewise.
4462 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4464 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4465 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4466 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4467 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4469 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4470 Use atomic_load_relaxed and atomic_store_relaxed.
4471 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4472 Use atomic_store_relaxed.
4474 2018-10-17 Andreas Schwab <schwab@suse.de>
4476 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4477 * crypt/badsalttest.c (TIMEOUT): Likewise.
4478 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4479 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4480 * io/test-lfs.c (TIMEOUT): Likewise.
4481 * libio/tst-atime.c (TIMEOUT): Likewise.
4482 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4483 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4484 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4485 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4486 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4487 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4488 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4489 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4490 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4491 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4492 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4493 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4494 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4495 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4496 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4497 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4498 * nptl/tst-once2.c (TIMEOUT): Likewise.
4499 * nptl/tst-once3.c (TIMEOUT): Likewise.
4500 * nptl/tst-once4.c (TIMEOUT): Likewise.
4501 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4502 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4503 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4504 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4505 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4506 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4507 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4508 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4509 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4510 * posix/tst-chmod.c (TIMEOUT): Likewise.
4511 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4512 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4513 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4514 * posix/tst-regex2.c (TIMEOUT): Likewise.
4515 * posix/tst-waitid.c (TIMEOUT): Likewise.
4516 * rt/tst-aio.c (TIMEOUT): Likewise.
4517 * rt/tst-aio10.c (TIMEOUT): Likewise.
4518 * rt/tst-aio4.c (TIMEOUT): Likewise.
4519 * rt/tst-aio5.c (TIMEOUT): Likewise.
4520 * rt/tst-aio6.c (TIMEOUT): Likewise.
4521 * rt/tst-aio64.c (TIMEOUT): Likewise.
4522 * rt/tst-aio7.c (TIMEOUT): Likewise.
4523 * rt/tst-aio9.c (TIMEOUT): Likewise.
4524 * rt/tst-clock.c (TIMEOUT): Likewise.
4525 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4526 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4527 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4528 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4529 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4530 * rt/tst-timer4.c (TIMEOUT): Likewise.
4531 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4532 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4533 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4534 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4535 * time/tst-ftime.c (TIMEOUT): Likewise.
4536 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4538 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4540 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4541 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4544 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4548 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4549 instead of <bits/wordsize.h>.
4550 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4551 and [__SEM_PAD_AFTER_TIME].
4552 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4553 __syscall_ulong_t instead of unsigned long int.
4554 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4555 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4556 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4557 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4558 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4559 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4560 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4561 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4562 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4563 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4564 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4566 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4568 regex: simplify by using intprops.h
4570 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4571 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4572 intprops.h defines them.
4574 regex: __builtin_expect → __glibc_unlikely
4576 This refactoring was prompted by a problem when the regex code is
4577 used as part of Gnulib and when the builder’s compiler does not grok
4578 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4579 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4580 Although this refactoring does not fix the problem directly,
4581 we might as well have Gawk use the now-preferred glibc style for when
4582 __builtin_expect is unavailable.
4583 * posix/regex_internal.h (BE): Remove.
4584 All uses replaced by __glibc_unlikely or __glibc_likely.
4586 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4590 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4591 instead of <bits/wordsize.h>.
4592 (msgqnum_t): Define as __syscall_ulong_t.
4593 (msglen_t): Likewise.
4594 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4595 and [__MSQ_PAD_AFTER_TIME].
4596 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4597 __syscall_ulong_t instead of unsigned long int.
4598 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4599 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4600 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4602 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4603 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4604 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4605 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4607 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4608 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4610 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4613 (struct shmid_ds): Condition padding after time fields on
4615 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4616 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4617 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4619 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4620 (struct semid_ds): Condition padding after time fields on
4622 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4623 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4624 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4625 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4627 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4628 (struct msqid_ds): Condition padding after time fields on
4630 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4631 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4632 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4633 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4635 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4637 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4639 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4641 * libio/tst-readline.c (TIMEOUT): Define.
4643 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4645 mktime fix for Gnulib + coreutils
4647 This fix affects only Gnulib. Problem discovered when
4648 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4650 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4651 Do not define since it is not used. Defining an unused static
4652 function prompts a warning from GCC when Coreutils is configured
4653 with --enable-gcc-warnings.
4655 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4657 * benchtests/scripts/compare_bench.py (main): set float type on
4660 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4663 * localedata/locales/kl_GL (mon): Update, the relative case.
4664 (alt_mon): Add, fill with month names in the nominative case.
4665 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4666 (d_fmt): Set to "%b %d %Y".
4668 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4670 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4671 <bits/mman-linux.h>.
4672 (PROT_READ): Don't define here.
4673 (PROT_WRITE): Likewise.
4674 (PROT_EXEC): Likewise.
4675 (PROT_NONE): Likewise.
4676 (PROT_GROWSDOWN): Likewise.
4677 (PROT_GROWSUP): Likewise.
4678 (MAP_SHARED): Likewise.
4679 (MAP_PRIVATE): Likewise.
4680 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4681 [__USE_MISC] (MAP_FILE): Likewise.
4682 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4683 [__USE_MISC] (MAP_ANON): Likewise.
4684 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4685 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4686 (MCL_CURRENT): Likewise.
4687 (MCL_FUTURE): Likewise.
4688 (MCL_ONFAULT): Likewise.
4689 [__USE_MISC] (MADV_NORMAL): Likewise.
4690 [__USE_MISC] (MADV_RANDOM): Likewise.
4691 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4692 [__USE_MISC] (MADV_WILLNEED): Likewise.
4693 [__USE_MISC] (MADV_DONTNEED): Likewise.
4694 [__USE_MISC] (MADV_FREE): Likewise.
4695 [__USE_MISC] (MADV_REMOVE): Likewise.
4696 [__USE_MISC] (MADV_DONTFORK): Likewise.
4697 [__USE_MISC] (MADV_DOFORK): Likewise.
4698 [__USE_MISC] (MADV_HWPOISON): Likewise.
4699 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4700 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4701 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4702 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4703 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4704 (__MAP_ANONYMOUS): New macro.
4705 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4706 <bits/mman-linux.h> inclusion.
4707 (MAP_FIXED): Likewise.
4708 (MS_SYNC): Likewise.
4709 (MS_ASYNC): Likewise.
4710 (MS_INVALIDATE): Likewise.
4711 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4712 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4713 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4714 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4715 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4716 [__USE_MISC] (MADV_DODUMP): Likewise.
4717 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4718 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4723 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4724 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4725 Add test-nldbl-redirect.
4726 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4727 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4728 $(objpfx)libnldbl_nonshared.a.
4730 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4732 * support/support.h (support_objdir_elf_ldso): New variable.
4733 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4734 * support/Makefile (CFLAGS-support_paths.c): Add definition
4735 for OBJDIR_ELF_LDSO_PATH.
4736 * support/test-container.c (main): Search for the ld.so
4737 which is also used by the testsuite.
4739 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4742 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4743 should be "sap" rather than "sab".
4744 (day): Fix spelling of Sunday, should be "sapaat" rather than
4747 2018-10-02 Joseph Myers <joseph@codesourcery.com>
4749 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4751 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4754 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4755 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4756 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4758 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4760 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4762 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4764 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4766 (CFLAGS-elision-unlock.c): Likewise.
4767 (CFLAGS-elision-timed.c): Likewise.
4768 (CFLAGS-elision-trylock.c): Likewise.
4769 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4771 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4774 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4775 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4776 new fd_to_filename interface.
4777 * libio/freopen64.c (freopen64): Likewise.
4778 * libio/tst-memstream.h: New file.
4779 * libio/tst-memstream4.c: Likewise.
4780 * libio/tst-wmemstream4.c: Likewise.
4781 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4782 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4783 and remove internal dynamic allocation.
4785 2018-10-01 Joseph Myers <joseph@codesourcery.com>
4787 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4788 (MREMAP_MAYMOVE): Do not define here.
4789 [__USE_GNU] (MREMAP_FIXED): Likewise.
4790 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4791 (MREMAP_MAYMOVE): Define here instead.
4792 [__USE_GNU] (MREMAP_FIXED): Likewise.
4793 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4794 (MREMAP_MAYMOVE): Remove.
4795 [__USE_GNU] (MREMAP_FIXED): Likewise.
4797 2018-09-28 Joseph Myers <joseph@codesourcery.com>
4799 * math/fromfp.h: Do not include <math_private.h>.
4800 * math/s_cacosh_template.c: Likewise.
4801 * math/s_casin_template.c: Likewise.
4802 * math/s_casinh_template.c: Likewise.
4803 * math/s_ccos_template.c: Likewise.
4804 * math/s_cproj_template.c: Likewise.
4805 * math/s_fdim_template.c: Likewise.
4806 * math/s_fmaxmag_template.c: Likewise.
4807 * math/s_fminmag_template.c: Likewise.
4808 * math/s_iseqsig_template.c: Likewise.
4809 * math/s_ldexp_template.c: Likewise.
4810 * math/s_nextdown_template.c: Likewise.
4811 * math/w_log1p_template.c: Likewise.
4812 * math/w_scalbln_template.c: Likewise.
4813 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4814 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4815 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4816 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4817 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4818 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4819 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4820 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4821 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4822 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4823 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4824 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4825 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4826 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4827 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4828 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4829 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4832 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4833 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4834 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4835 * sysdeps/ieee754/k_standardf.c: Likewise.
4836 * sysdeps/ieee754/k_standardl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4839 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4846 * sysdeps/ieee754/s_signgam.c: Likewise.
4847 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4848 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4849 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4850 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4851 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4852 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4853 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4854 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4855 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4856 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4857 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4858 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4859 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4860 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4861 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4862 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4863 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4864 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4865 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4866 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4867 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4868 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4869 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4870 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4871 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4872 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4873 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4874 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4875 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4876 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4877 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4878 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4879 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4880 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4881 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4882 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4883 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4885 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4887 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4890 * sysdeps/i386/dl-cet.c: Removed.
4891 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4893 (_dl_runtime_profile_shstk): Likewise.
4894 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4895 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4897 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4900 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4901 do_test_with_invalid_iov): New tests.
4902 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4903 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4904 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4906 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4907 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4908 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4910 2018-09-27 Joseph Myers <joseph@codesourcery.com>
4912 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4913 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4914 (MATH_REDIRECT_BINARY_ARGS): New macro.
4915 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4916 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4917 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4919 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4921 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4922 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4932 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4933 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4938 * sysdeps/generic/math_private_calls.h
4939 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4940 Do not declare and define as an inline function.
4941 * math/divtc3.c (__divtc3): Use copysign functions instead of
4942 __copysign variants.
4943 * math/multc3.c (__multc3): Likewise.
4944 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4945 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4946 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4947 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4949 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4950 (__ieee754_yn): Likewise.
4951 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4952 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4953 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4954 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4955 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4957 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4964 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4965 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4967 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4968 (__ieee754_ynf): Likewise.
4969 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4970 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4971 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4975 (__ieee754_ynl): Likewise.
4976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4980 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4981 (__ieee754_ynl): Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4985 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4987 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4989 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4991 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4992 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4993 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4995 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4996 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4997 using MATH_REDIRECT.
4998 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5000 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5003 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5004 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5011 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5012 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5013 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5014 (round): Redirect to __round.
5015 (__roundl): Call round instead of __round.
5016 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5018 [_ARCH_PWR5X] (__roundf): Likewise.
5019 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5020 functions instead of __round variants.
5021 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5022 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5024 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5028 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5031 (__ieee754_expl): Call roundl instead of __roundl.
5033 2018-09-27 Andreas Schwab <schwab@suse.de>
5036 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5037 (do_test): Make st1 static.
5039 2018-09-26 Andreas Schwab <schwab@suse.de>
5042 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5043 * elf/Makefile (tests): Add tst-unwind-ctor.
5044 (modules-names): Add tst-unwind-ctor-lib.
5045 ($(objpfx)tst-unwind-ctor): Depend on
5046 $(objpfx)tst-unwind-ctor-lib.so.
5048 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5050 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5051 file. Most contents moved from ....
5052 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5053 and include <bits/mman-map-flags-generic.h>.
5054 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5055 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5056 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5057 <bits/mman-map-flags-generic.h>.
5058 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5059 macros defined in <bits/mman-map-flags-generic.h>.
5060 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5061 <bits/mman-map-flags-generic.h>.
5062 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5063 defined in <bits/mman-map-flags-generic.h>.
5065 2018-09-26 Andreas Schwab <schwab@suse.de>
5067 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5070 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5071 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5072 Fangrui Song <maskray@google.com>
5075 * config.make.in (have-textrel_ifunc): New define.
5076 * configure.ac: Add check if linker supports textrel relocation with
5078 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5080 (CFLAGS-tst-ifunc-textrel.c): New rule.
5081 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5082 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5083 * elf/tst-ifunc-textrel.c: New file.
5085 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5087 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5088 <bits/procfs-prregset.h>.
5089 (prgregset_t): Define using __prgregset_t.
5090 (prfpregset_t): Define using __prfpregset_t.
5091 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5092 (sysdep_headers): Add bits/procfs-prregset.h.
5093 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5094 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5095 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5096 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5098 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5099 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5100 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5102 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5103 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5104 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5105 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5106 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5107 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5108 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5109 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5110 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5111 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5112 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5113 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5114 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5115 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5116 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5117 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5118 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5119 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5120 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5121 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5122 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5123 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5124 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5125 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5127 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5128 AArch64 version. Include <bits/procfs.h>.
5129 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5130 (sysdep_headers): Add bits/procfs.h.
5131 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5132 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5133 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5134 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5135 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5136 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5137 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5138 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5139 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5140 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5141 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5142 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5143 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5144 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5145 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5146 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5147 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5149 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5151 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5154 2018-09-25 Arjun Shankar <arjun@redhat.com>
5156 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5157 (__gconv_max_path_elem_len): Likewise.
5158 (__gconv_nmodules): Likewise.
5159 (__gconv_get_path): Likewise.
5160 (path_elem): Move to ...
5161 * iconv/gconv_conf.c: ... here.
5162 (__gconv_get_path): Mark function static.
5163 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5164 * iconv/gconv_open.c: ... here.
5166 2018-09-24 Andreas Schwab <schwab@suse.de>
5168 * scripts/haveversions.awk: New file.
5169 * Makerules ($(common-objpfx)Versions.def)
5170 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5171 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5173 * Makeconfig ($(common-objpfx)Versions.def)
5174 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5175 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5177 ($(common-objpfx)Versions.mk): New rule. Include it.
5178 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5179 Emit error if build-obsolete-nsl = yes.
5180 * manual/install.texi (Configuring and compiling): Describe
5181 --enable-obsolete-nsl as unavaiable after version 2.28.
5182 * INSTALL: Regenerate.
5184 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5186 * NEWS: Add note about new TLE support on powerpc64le.
5187 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5188 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5190 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5191 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5192 * sysdeps/powerpc/powerpc32/sysdep.h,
5193 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5194 ABORT_TRANSACTION): Remove macros.
5195 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5196 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5197 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5199 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5200 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5202 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5204 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5207 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5208 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5209 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5210 which is the same as in it_IT.
5211 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5212 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5214 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5216 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5217 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5218 using MATH_REDIRECT.
5219 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5221 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5223 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5225 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5231 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5232 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5233 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5234 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5235 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5236 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5237 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5239 (ceil): Redirect to __ceil.
5240 (floor): Redirect to __floor.
5241 (trunc): Redirect to __trunc.
5242 (__truncl): Call trunc instead of __trunc.
5243 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5245 [_ARCH_PWR5X] (__truncf): Likewise.
5246 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5247 trunc functions instead of __trunc variants.
5248 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5250 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5257 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5258 [__i586__ || __pentium__].
5259 [__i486__]: Handle explicitly.
5260 (HAS_CPUID): Define to 1 if above macros are undefined.
5261 (HAS_I586): Likewise.
5262 (HAS_I686): Likewise.
5264 2018-09-20 Florian Weimer <fweimer@redhat.com>
5266 * misc/tst-gethostid.c: New file.
5267 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5268 (tst-gethostid): Link with -ldl.
5270 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5272 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5273 value from gethostbyname_r.
5275 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5277 * stdlib/tst-setcontext9.c (f1): Rename to...
5279 (f1b): New function implementing lower half of f1 in alternate stack.
5281 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5283 Fix mktime localtime offset confusion
5285 * include/time.h (__mktime_internal): The localtime offset is now
5286 of type long int instead of time_t. This is the longstanding type
5287 in glibc, and it is more than enough to represent difference
5288 between localtime and gmtime even if it is 32 bits and time_t is
5289 64. Changing it now will let us avoid an unnecessary change when
5290 time_t is widened to 64 bits on 32-bit platforms.
5291 * time/mktime-internal.h (mktime_offset_t): Now long int.
5293 Merge mktime, timegm from upstream Gnulib
5294 [BZ #23603][BZ #16346]
5295 This fixes some obscure problems with integer overflow.
5296 Although it looks scary, it is almost all a byte-for-byte copy
5297 from Gnulib, and the Gnulib code has been tested reasonably well.
5298 * include/intprops.h: New file, copied from Gnulib.
5299 * include/verify.h, time/mktime-internal.h:
5300 New tiny files, simplified from Gnulib.
5301 * time/mktime.c: Copy from Gnulib. This has the following changes:
5302 Do not include config.h if DEBUG_MKTIME is nonzero.
5303 Include stdbool.h, intprops.h, verify.h.
5304 Include string.h only if needed.
5305 Include stdlib.h on MS-Windows.
5306 Include mktime-internal.h.
5307 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5308 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5309 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5310 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5311 simplify later conditionals; default the others to zero. Use
5312 these conditionals to express only the code needed on the current
5313 platform. In uses of these conditionals, explicitly spell out how
5314 _LIBC affects things, so it’s easier to review from a glibc
5316 (WRAPV): Remove; no longer needed now that we have
5317 systematic overflow checking.
5318 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5319 compartmentalize tzset issues. Move system-dependent tzsettish
5320 code here from mktime.
5321 (verify): Remove; now done by verify.h. All uses changed.
5322 (long_int): Use a more-conservative definition, to avoid
5324 (SHR): Remove, replacing with ...
5325 (shr): New function, which means we needn’t worry about side
5326 effects in args, and conversion analysis is simpler.
5327 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5328 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5329 (time_t_avg, time_t_add_ok): Remove.
5330 (mktime_min, mktime_max): New constants.
5331 (leapyear, isdst_differ): Use bool for booleans.
5332 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5333 Use long_int, not time_t, for mktime differences.
5334 (long_int_avg): New function, replacing time_t_avg.
5335 INT_ADD_WRAPV replaces time_t_add_ok.
5336 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5338 (convert_time): New function.
5339 (ranged_convert): Use it.
5340 (__mktime_internal): Last arg now points to mktime_offset_t, not
5341 time_t. All uses changed. This is a no-op on glibc, where
5342 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5343 offset guess. Directly check for integer overflow instead of
5344 using a heuristic that works only 99.9...% of the time.
5345 Access *OFFSET only once, to avoid an unlikely race if the
5346 compiler delays a load and if this cascades into a signed integer
5348 (mktime): Move tzsettish code to my_tzset, and move
5349 localtime_offset to within mktime so that it doesn’t
5350 need a separate ifdef.
5351 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5352 instead of localtime.
5353 * time/timegm.c: Copy from Gnulib. This has the following changes:
5354 Include mktime-internal.h.
5355 [!_LIBC]: Include config.h and time.h. Do not include
5356 timegm.h or time_r.h. Make __mktime_internal a macro,
5357 and include mktime-internal.h to get its declaration.
5358 (timegm): Temporary is now mktime_offset_t, not time_t.
5359 This affects only Gnulib.
5361 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5364 * string/test-strstr.c (pr23637): New function.
5365 (test_main): Add tests with longer needles.
5366 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5367 * string/strstr.c (AVAILABLE): Likewise.
5369 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5371 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5373 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5375 * NEWS: Mention pow improvements.
5376 * math/Makefile (type-double-routines): Add e_pow_log_data.
5377 * sysdeps/generic/math_private.h (__exp1): Remove.
5378 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5379 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5380 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5382 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5383 (exp_inline): Remove.
5384 (__ieee754_exp): Only single double input is handled.
5385 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5386 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5387 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5388 (__pow_log_data): Define.
5389 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5390 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5391 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5394 (CFLAGS-e_pow-fma4.c): Likewise.
5396 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5398 Simplify tzfile fstat failure code
5400 * time/tzfile.c (__tzfile_read): Simplify slightly.
5402 Fix tzfile low-memory assertion failure
5404 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5405 when registering time zone abbreviations.
5407 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5409 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5410 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5411 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5412 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5413 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5414 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5415 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5416 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5417 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5421 (__ceill): Call ceil instead of __ceil.
5422 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5424 (__floorl): Call floor instead of __floor.
5426 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5428 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5429 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5430 using MATH_REDIRECT.
5431 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5433 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5436 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5440 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5445 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5446 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5449 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5450 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5451 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5453 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5454 functions instead of __ceil variants.
5455 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5460 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5461 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5463 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5464 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5467 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5469 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5470 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5471 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5472 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5473 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5474 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5475 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5476 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5477 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5478 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5479 (ILL_BADIADDR): Remove constant.
5480 (TRAP_BRANCH): Likewise.
5481 (TRAP_HWBKPT): Likewise.
5483 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5486 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5487 Remove [_MIPS_SIM = _ABIN32] conditional case.
5488 (struct elf_prpsinfo): Likewise.
5491 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5492 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5493 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5495 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5496 elf_prpsinfo): Likewise.
5497 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5498 elf_prpsinfo): Likewise.
5499 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5502 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5503 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5504 using MATH_REDIRECT.
5505 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5507 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5508 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5509 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5510 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5513 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5514 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5517 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5518 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5519 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5520 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5521 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5522 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5523 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5524 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5525 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5530 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5531 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5532 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5533 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5535 * math/e_scalbf.c (invalid_fn): Likewise.
5536 * math/e_scalbl.c (invalid_fn): Likewise.
5537 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5539 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5541 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5542 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5545 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5549 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5550 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5552 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5553 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5555 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5556 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5557 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5558 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5559 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5560 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5561 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5562 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5563 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5564 && !NO_MATH_REDIRECT] (floor): Likewise.
5565 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5567 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5570 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5571 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5574 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5579 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5580 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5583 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5584 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5585 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5587 [_ARCH_PWR5X] (__floorf): Likewise.
5588 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5590 [__SSE4_1__] (__floorf): Likewise.
5591 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5592 instead of __floor variants.
5593 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5594 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5595 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5596 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5597 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5598 * math/w_tgamma_compat.c (__tgamma): Likewise.
5599 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5600 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5601 * math/w_tgammal_compat.c (__tgammal): Likewise.
5602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5605 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5606 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5607 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5608 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5610 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5611 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5613 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5621 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5622 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5623 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5624 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5626 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5628 * elf/Makefile (modules-names-tests): New variable.
5630 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5632 * NEWS: Mention log2 improvements.
5633 * math/Makefile (type-double-routines): Add e_log2_data.
5634 * sysdeps/i386/fpu/e_log2_data.c: New file.
5635 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5636 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5637 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5638 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5639 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5640 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5642 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5644 * NEWS: Mention log improvement.
5645 * math/Makefile (type-double-routines): Add e_log_data.
5646 * sysdeps/i386/fpu/e_log_data.c: New file.
5647 * sysdeps/ia64/fpu/e_log_data.c: New file.
5648 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5649 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5650 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5651 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5652 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5653 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5655 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5656 Xuepeng Guo <xuepeng.guo@intel.com>
5659 * sysdeps/i386/start.S: Include <sysdep.h>
5660 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5661 enabled. Add cfi_undefined (eip).
5663 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5665 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5667 (EXTRACT_WORDS64): Likewise.
5668 (INSERT_WORDS64): Likewise.
5669 (GET_FLOAT_WORD): Likewise.
5670 (SET_FLOAT_WORD): Likewise.
5672 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5674 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5675 build, but not for second build if --full-gcc. Use
5676 --enable-languages=all for second build if --full-gcc.
5677 (get_parser): Add --full-gcc option.
5678 (main): Update call to Context.
5680 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5683 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5684 Single Quotation Mark).
5685 (thousands_sep): Likewise.
5686 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5687 * localedata/locales/it_IT (thousands_sep): Use ".".
5688 (grouping): Use "3;3".
5690 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5692 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5693 x86_64 and i686 configs using --enable-obsolete-rpc
5694 --enable-obsolete-nsl.
5696 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5698 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5700 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5702 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5703 Increment size of new_argv by one.
5705 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5708 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5709 * localedata/locales/ar_IN (d_fmt): Likewise.
5710 * localedata/locales/bhb_IN (d_fmt): Likewise.
5711 * localedata/locales/bho_IN (d_fmt): Likewise.
5712 * localedata/locales/bn_BD (d_fmt): Likewise.
5713 * localedata/locales/bn_IN (d_fmt): Likewise.
5714 * localedata/locales/doi_IN (d_fmt): Likewise.
5715 * localedata/locales/gu_IN (d_fmt): Likewise.
5716 * localedata/locales/hi_IN (d_fmt): Likewise.
5717 * localedata/locales/hne_IN (d_fmt): Likewise.
5718 * localedata/locales/kn_IN (d_fmt): Likewise.
5719 * localedata/locales/mag_IN (d_fmt): Likewise.
5720 * localedata/locales/mai_IN (d_fmt): Likewise.
5721 * localedata/locales/mjw_IN (d_fmt): Likewise.
5722 * localedata/locales/ml_IN (d_fmt): Likewise.
5723 * localedata/locales/mni_IN (d_fmt): Likewise.
5724 * localedata/locales/mr_IN (d_fmt): Likewise.
5725 * localedata/locales/pa_IN (d_fmt): Likewise.
5726 * localedata/locales/raj_IN (d_fmt): Likewise.
5727 * localedata/locales/sat_IN (d_fmt): Likewise.
5728 * localedata/locales/sd_IN (d_fmt): Likewise.
5729 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5730 * localedata/locales/ta_IN (d_fmt): Likewise.
5731 * localedata/locales/ta_LK (d_fmt): Likewise.
5732 * localedata/locales/tcy_IN (d_fmt): Likewise.
5733 * localedata/locales/ur_IN (d_fmt): Likewise.
5735 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5736 * localedata/locales/ks_IN (d_fmt): Likewise.
5737 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5739 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5740 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5741 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5742 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5744 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5746 * NEWS: Mention exp and exp2 improvements.
5747 * math/Makefile (libm-support): Remove t_exp.
5748 (type-double-routines): Add math_err and e_exp_data.
5749 * sysdeps/aarch64/libm-test-ulps: Update.
5750 * sysdeps/arm/libm-test-ulps: Update.
5751 * sysdeps/i386/fpu/e_exp_data.c: New file.
5752 * sysdeps/i386/fpu/math_err.c: New file.
5753 * sysdeps/i386/fpu/t_exp.c: Remove.
5754 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5755 * sysdeps/ia64/fpu/math_err.c: New file.
5756 * sysdeps/ia64/fpu/t_exp.c: Remove.
5757 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5758 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5759 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5761 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5762 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5763 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5764 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5765 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5766 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5767 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5768 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5769 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5770 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5774 2018-09-05 Joseph Myers <joseph@codesourcery.com>
5776 * sysdeps/alpha/fpu/math_private.h: Remove.
5778 * sysdeps/generic/math_private.h
5779 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5780 Move this inline function ....
5781 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5782 * include/math.h [!_ISOMAC]: To here....
5784 2018-09-04 Joseph Myers <joseph@codesourcery.com>
5786 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5788 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5789 * include/fenv.h [!_ISOMAC]: ... to here.
5790 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5791 (feraiseexcept): Likewise.
5792 * math/fromfp.h: Do not include <fenv_private.h>.
5793 * math/s_cexp_template.c: Likewise.
5794 * math/s_csin_template.c: Likewise.
5795 * math/s_csinh_template.c: Likewise.
5796 * math/s_ctan_template.c: Likewise.
5797 * math/s_ctanh_template.c: Likewise.
5798 * math/s_iseqsig_template.c: Likewise.
5799 * math/w_acos_compat.c: Likewise.
5800 * math/w_acosf_compat.c: Likewise.
5801 * math/w_acosl_compat.c: Likewise.
5802 * math/w_asin_compat.c: Likewise.
5803 * math/w_asinf_compat.c: Likewise.
5804 * math/w_asinl_compat.c: Likewise.
5805 * math/w_j0_compat.c: Likewise.
5806 * math/w_j0f_compat.c: Likewise.
5807 * math/w_j0l_compat.c: Likewise.
5808 * math/w_j1_compat.c: Likewise.
5809 * math/w_j1f_compat.c: Likewise.
5810 * math/w_j1l_compat.c: Likewise.
5811 * math/w_jn_compat.c: Likewise.
5812 * math/w_jnf_compat.c: Likewise.
5813 * math/w_log10_compat.c: Likewise.
5814 * math/w_log10f_compat.c: Likewise.
5815 * math/w_log10l_compat.c: Likewise.
5816 * math/w_log2_compat.c: Likewise.
5817 * math/w_log2f_compat.c: Likewise.
5818 * math/w_log2l_compat.c: Likewise.
5819 * math/w_log_compat.c: Likewise.
5820 * math/w_logf_compat.c: Likewise.
5821 * math/w_logl_compat.c: Likewise.
5822 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5823 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5827 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5828 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5829 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5830 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5831 * sysdeps/ieee754/k_standardl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5834 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5844 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5845 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5846 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5849 * math/w_ilogb_template.c: Include <fenv.h> instead of
5851 * math/w_llogb_template.c: Likewise.
5852 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5853 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5855 2018-09-03 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5858 * math/fromfp.h: Include <fenv_private.h>.
5859 * math/math-narrow.h: Likewise.
5860 * math/s_cexp_template.c: Likewise.
5861 * math/s_csin_template.c: Likewise.
5862 * math/s_csinh_template.c: Likewise.
5863 * math/s_ctan_template.c: Likewise.
5864 * math/s_ctanh_template.c: Likewise.
5865 * math/s_iseqsig_template.c: Likewise.
5866 * math/w_acos_compat.c: Likewise.
5867 * math/w_acosf_compat.c: Likewise.
5868 * math/w_acosl_compat.c: Likewise.
5869 * math/w_asin_compat.c: Likewise.
5870 * math/w_asinf_compat.c: Likewise.
5871 * math/w_asinl_compat.c: Likewise.
5872 * math/w_ilogb_template.c: Likewise.
5873 * math/w_j0_compat.c: Likewise.
5874 * math/w_j0f_compat.c: Likewise.
5875 * math/w_j0l_compat.c: Likewise.
5876 * math/w_j1_compat.c: Likewise.
5877 * math/w_j1f_compat.c: Likewise.
5878 * math/w_j1l_compat.c: Likewise.
5879 * math/w_jn_compat.c: Likewise.
5880 * math/w_jnf_compat.c: Likewise.
5881 * math/w_llogb_template.c: Likewise.
5882 * math/w_log10_compat.c: Likewise.
5883 * math/w_log10f_compat.c: Likewise.
5884 * math/w_log10l_compat.c: Likewise.
5885 * math/w_log2_compat.c: Likewise.
5886 * math/w_log2f_compat.c: Likewise.
5887 * math/w_log2l_compat.c: Likewise.
5888 * math/w_log_compat.c: Likewise.
5889 * math/w_logf_compat.c: Likewise.
5890 * math/w_logl_compat.c: Likewise.
5891 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5892 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5893 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5894 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5919 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5920 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5921 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5923 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5924 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5925 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5926 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5927 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5928 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5929 * sysdeps/ieee754/k_standardl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5955 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5960 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5961 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5966 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5967 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5968 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5969 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5970 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5971 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5972 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5973 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5974 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5975 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5976 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5977 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5978 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5979 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5980 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5981 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5982 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5983 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5984 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5985 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5986 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5987 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5988 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5989 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5990 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5991 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5992 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5993 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5994 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5995 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5996 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5997 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5998 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5999 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6000 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6002 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6005 * include/stdio.h (__libc_fatal): Mention newline in comment.
6006 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6007 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6009 * nss/nsswitch.c (__nss_next2): Likewise.
6010 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6011 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6012 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6013 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6014 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6015 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6016 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6017 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6018 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6019 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6020 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6021 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6022 (__netlink_assert_response): Likewise.
6024 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6026 * conform/glibcconform.py: New file.
6027 * conform/list-header-symbols.py: Likewise.
6028 * conform/list-header-symbols.pl: Remove.
6029 * conform/Makefile (tests-special): Only add linknamespace tests
6031 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6033 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6036 * support/Makefile (libsupport-routines): Add
6037 support_copy_file_range and xcopy_file_range.
6038 * support/support.h: Include <sys/types.h>.
6039 (support_copy_file_range): New prototype.
6040 * support/support_copy_file_range.c: New file. Copied and
6041 modified from io/copy_file_range-compat.c.
6042 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6043 instead of copy_file_range.
6044 * support/xcopy_file_range.c: New file.
6045 * support/xunistd.h (xcopy_file_range): New prototype.
6047 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6049 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6050 xpthread_create and xpthread_join.
6052 2018-08-30 Florian Weimer <fweimer@redhat.com>
6054 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6056 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6058 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6061 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6063 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6064 and minus_oflow as non-finite.
6066 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6068 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6069 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6070 moved to fenv_private.h except for ...
6071 (TOINT_INTRINSICS): Kept in math_private.h.
6072 (roundtoint): Likewise.
6073 (converttoint): Likewise.
6074 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6075 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6076 * sysdeps/arm/math_private.h: Remove.
6077 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6079 * sysdeps/generic/math_private.h: ... this file. Include
6080 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6081 Include <fenv_private.h>. Remove functions and macros moved to
6083 * sysdeps/i386/fpu/math_private.h: Remove.
6084 * sysdeps/mips/math_private.h: Move to ....
6085 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6086 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6087 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6088 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6089 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6090 * sysdeps/powerpc/fpu/math_private.h: Do not include
6092 * sysdeps/riscv/rvf/math_private.h: Move to ....
6093 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6094 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6096 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6097 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6098 * sysdeps/sparc/fpu/math_private.h: Remove.
6099 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6100 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6101 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6103 * sysdeps/x86_64/fpu/math_private.h: Do not include
6104 <sysdeps/i386/fpu/fenv_private.h>.
6106 2018-08-28 Florian Weimer <fweimer@redhat.com>
6109 * posix/tst-regcomp-truncated.c: New file.
6110 * posix/Makefile (tests): Add it.
6111 (tst-regcomp-truncated.out): Depend on generated locales.
6113 2018-08-28 Florian Weimer <fweimer@redhat.com>
6115 * support/test-container.c (main): Treat unshare failure with
6116 EPERM as an unsupported test.
6118 2018-08-28 Florian Weimer <fweimer@redhat.com>
6121 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6122 * nscd/netgroupcache.c
6123 (addgetnetgrentX): Add tofreep parameter. Do not free
6124 heap-allocated buffer.
6125 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6126 (addgetnetgrentX_ignore): New function.
6127 (addgetnetgrent): Call it.
6128 (readdgetnetgrent): Likewise.
6130 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6132 * string/memmem.c: Use memcmp for first match.
6134 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6137 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6139 2018-08-27 DJ Delorie <dj@redhat.com>
6141 * support/Makefile (others): Don't list programs explicitly as a
6142 dependency of "others".
6144 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6146 * sysdeps/generic/math-tests-trap-force.h: New file.
6147 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6148 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6149 * sysdeps/powerpc/math-tests.h: Remove file.
6150 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6152 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6153 Torvald Riegel <triegel@redhat.com>
6156 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6157 Update r to include the set wake-request flag if waiters are
6158 remaining after spinning.
6160 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6164 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6167 regex: fix uninitialized memory access
6168 I introduced this bug into gnulib in commit
6169 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6170 eventually it was merged into glibc. The bug was found by
6171 project-repo <bugs@feusi.co> and reported here:
6172 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6173 Diagnosis and draft fix reported by Assaf Gordon here:
6174 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6175 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6176 * posix/regex_internal.c (build_wcs_upper_buffer):
6177 Fix bug when mbrtowc returns 0.
6179 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6181 * po/be.po: Update translation.
6183 2018-08-24 DJ Delorie <dj@delorie.com>
6185 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6188 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6191 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6192 create temporary files in source tree.
6194 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6196 * sysdeps/generic/math-tests-trap.h: New file.
6197 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6198 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6199 * sysdeps/aarch64/math-tests.h: Remove file.
6200 * sysdeps/arm/math-tests.h: Likewise.
6201 * sysdeps/riscv/math-tests.h: Likewise.
6202 * sysdeps/aarch64/math-tests-trap.h: New file.
6203 * sysdeps/arm/math-tests-trap.h: Likewise.
6204 * sysdeps/riscv/math-tests-trap.h: Likewise.
6206 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6208 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6209 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6210 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6211 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6212 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6213 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6218 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6220 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6221 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6222 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6223 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6224 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6225 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6227 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6229 * sysdeps/generic/math-tests-exceptions.h: New file.
6230 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6231 (EXCEPTION_TESTS_float): Do not define here.
6232 (EXCEPTION_TESTS_double): Likewise.
6233 (EXCEPTION_TESTS_long_double): Likewise.
6234 (EXCEPTION_TESTS_float128): Likewise.
6235 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6237 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6238 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6239 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6240 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6241 * sysdeps/mips/math-tests.h: Likewise.
6242 * sysdeps/nios2/math-tests.h: Likewise.
6243 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6244 (EXCEPTION_TESTS_float): Do not define here.
6245 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6246 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6247 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6249 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6251 * NEWS: Move optimized sinf entry to 2.29.
6253 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6255 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6257 2018-08-22 DJ Delorie <dj@redhat.com>
6259 * Makefile (testroot.pristine): New rules to initialize the
6260 test-in-container "testroot".
6261 * Makerules (all-testsuite): Add tests-container.
6262 * Rules (tests-expected): Add tests-container.
6263 (binaries-all-tests): Likewise.
6264 (tests-container): New, run these tests in the testroot container.
6265 * support/Makefile (others): Add *-container, support_paths.c,
6266 xmkdirp, and links-dso-program.
6267 * support/links-dso-program-c.c: New.
6268 * support/links-dso-program.cc: New.
6269 * support/test-container.c: New.
6270 * support/shell-container.c: New.
6271 * support/echo-container.c: New.
6272 * support/true-container.c: New.
6273 * support/xmkdirp.c: New.
6274 * support/xsymlink.c: New.
6275 * support/support_paths.c: New.
6276 * support/support.h: Add support paths prototypes.
6277 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6279 * nss/tst-nss-test3.c: Convert to test-in-container.
6280 * nss/tst-nss-test3.root/: New.
6282 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6284 regex: port Gnulib code to z/OS POSIX environment
6285 Problem reported by Arnold Robbins in:
6286 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6287 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6290 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6292 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6293 (ROUNDING_TESTS_double): Remove.
6294 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6295 (ROUNDING_TESTS_double): Remove.
6296 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6297 (ROUNDING_TESTS_double): Remove.
6298 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6299 (ROUNDING_TESTS_float): Remove.
6300 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6301 (ROUNDING_TESTS_float): Remove.
6302 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6303 (ROUNDING_TESTS_float): Remove.
6304 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6306 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6307 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6309 * sysdeps/generic/math-tests-rounding.h: New file.
6310 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6311 (ROUNDING_TESTS_float): Do not define here.
6312 (ROUNDING_TESTS_double): Likewise.
6313 (ROUNDING_TESTS_long_double): Likewise.
6314 (ROUNDING_TESTS_float128): Likewise.
6315 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6316 (ROUNDING_TESTS_double): Undefine before defining.
6317 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6318 (ROUNDING_TESTS_double): Undefine before defining.
6319 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6320 (ROUNDING_TESTS_double): Undefine before defining.
6321 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6322 (ROUNDING_TESTS_float): Undefine before defining.
6323 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6324 (ROUNDING_TESTS_float): Undefine before defining.
6325 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6326 (ROUNDING_TESTS_float): Undefine before defining.
6327 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6328 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6330 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6331 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6332 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6333 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6334 (ROUNDING_TESTS_float): Do not define here.
6335 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6336 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6337 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6338 (ROUNDING_TESTS_float): Likewise.
6339 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6340 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6341 * sysdeps/mips/math-tests.h [__mips_soft_float]
6342 (ROUNDING_TESTS_float): Likewise.
6343 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6344 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6345 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6346 (ROUNDING_TESTS_double): Likewise.
6347 (ROUNDING_TESTS_long_double): Likewise.
6349 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6351 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6352 (PF_XDP): New macro.
6353 (AF_XDP): New macro.
6354 (SOL_XDP): New macro.
6356 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6358 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6359 (TCP_INQ): Likewise.
6360 (TCP_CM_INQ): Likewise.
6361 (TCP_REPAIR_ON): Likewise.
6362 (TCP_REPAIR_OFF): Likewise.
6363 (TCP_REPAIR_OFF_NO_WP): Likewise.
6364 (struct tcp_zerocopy_receive): New type.
6366 2018-08-21 Florian Weimer <fweimer@redhat.com>
6368 * support/support.h (support_descriptor_supports_holes): Declare.
6369 * support/Makefile (libsupport-routines): Add
6370 support_descriptor_supports_holes.
6371 * support/support_descriptor_supports_holes.c: New file.
6372 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6373 and stop testing if holes are not supported.
6374 * io/test-lfs.c (do_prepare): Likewise.
6375 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6377 * timezone/tst-tzset.c (create_tz_file): Likewise.
6378 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6380 (do_prepare): Set it.
6381 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6383 2018-08-21 Florian Weimer <fweimer@redhat.com>
6386 * Makeconfig (+cflags): Do not sort (and deduplicate).
6388 2018-08-21 Florian Weimer <fweimer@redhat.com>
6390 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6391 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6393 2018-08-20 Florian Weimer <fweimer@redhat.com>
6395 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6396 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6398 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6400 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6401 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6402 and ssi_arch members.
6404 * elf/elf.c (NT_VMCOREDD): New macro.
6405 (AT_MINSIGSTKSZ): Likewise.
6407 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6410 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6411 s_cosf-ppc64 and s_cosf-power8.
6412 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6413 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6415 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6422 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6423 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6425 2018-08-17 Florian Weimer <fweimer@redhat.com>
6427 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6429 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6431 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6433 2018-08-16 Florian Weimer <fweimer@redhat.com>
6435 * configure.ac: Add --with-nonshared-cflags option.
6436 * config.make.in (extra-nonshared-cflags): Set variable.
6437 * Makeconfig (CFLAGS-.oS): Use it.
6438 * manual/install.texi (Configuring and compiling): Document
6439 --with-nonshared-cflags.
6440 * configure: Regenerate.
6441 * INSTALL: Likewise.
6443 2018-08-16 Florian Weimer <fweimer@redhat.com>
6445 * Makeconfig (ASFLAGS): Always append required assembler flags.
6447 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6449 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6450 (malloc_consolidate): Likewise.
6452 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6454 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6456 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6458 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6461 * benchtests/bench-strlen.c: Print performance numbers in json.
6463 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6465 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6466 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6467 only for little endian.
6468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6469 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6470 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6471 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6472 Add check for little endian.
6473 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6474 (__strcmp_power9): Add check for little endian.
6475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6476 Add check for little endian.
6477 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6478 (__strncmp_power9): Add check for little endian.
6479 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6480 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6481 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6483 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6485 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6487 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6488 [!STRLEN](STRLEN): Set to __strlen.
6489 * sysdeps/aarch64/multiarch/strlen.c: New file.
6490 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6491 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6492 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6493 (__libc_ifunc_impl_list): Add strlen.
6494 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6495 strlen_generic and strlen_asimd.
6497 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6499 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6500 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6501 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6503 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6507 2018-08-14 Florian Weimer <fweimer@redhat.com>
6510 * include/stdio.h (__vfxprintf): Declare.
6511 * stdio-common/fxprintf.c (__vfxprintf): New function.
6512 (__fxprintf): Call it.
6513 * misc/err.c (convert_and_print): Remove function.
6514 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6515 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6516 * misc/Makefile (tests): Add tst-warn-wide.
6517 * misc/tst-warn-wide.c: New file.
6519 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6520 Szabolcs Nagy <szabolcs.nagy@arm.com>
6522 * NEWS: Mention sinf, cosf, sincosf.
6523 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6524 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6525 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6526 constants rather than including generic sincosf.h.
6527 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6528 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6529 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6530 (reduced_cos): Remove.
6531 (sinf_poly): New function.
6532 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6534 2018-08-14 Florian Weimer <fweimer@redhat.com>
6538 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6539 processing, bail out if no room, and close the stream before
6541 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6542 (tst-nss-files-alias-leak): Link with libdl.
6543 (tst-nss-files-alias-leak.out): Depend on nss_files.
6545 * nss/tst-nss-files-alias-leak.c: New file.
6547 2018-08-14 Florian Weimer <fweimer@redhat.com>
6549 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6550 server_user, stat_user.
6552 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6554 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6556 (io_pgetevents): New syscall.
6559 * manual/install.texi (Configuring and compiling): Do not list
6560 tools used for testing pretty printers here.
6561 (Tools for Compilation): List Python, PExpect and GDB here.
6562 Update descriptions of uses of Perl and Python.
6563 * INSTALL: Regenerate.
6565 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6568 2018-08-13 Florian Weimer <fweimer@redhat.com>
6570 * misc/error.c (error): Add missing va_end call.
6571 (error_at_line): Likewise.
6573 2018-08-13 Florian Weimer <fweimer@redhat.com>
6575 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6577 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6579 * benchtests/scripts/benchout.schema.json (properties): Add
6582 * benchtests/bench-skeleton.c (main): Add duration and
6583 iterations attributes.
6585 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6587 regex: Gnulib unibyte RRI uses bytes not chars
6588 Adjust the non-glibc code to agree with what Gawk needs for
6589 rational range interpretation (RRI) for regular expression ranges.
6590 In unibyte locales, Gawk wants ranges to use the underlying byte
6591 rather than the character code point. This change does not affect
6593 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6594 In unibyte locales, use the byte value rather than
6595 running it through btowc.
6597 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6599 * sysdeps/generic/math-tests-snan.h: New file.
6600 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6601 (SNAN_TESTS_float): Do not define here.
6602 (SNAN_TESTS_double): Likewise.
6603 (SNAN_TESTS_long_double): Likewise.
6604 (SNAN_TESTS_float128): Likewise.
6605 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6606 * sysdeps/i386/fpu/math-tests.h: Remove file.
6607 * sysdeps/ia64/math-tests-snan.h: New file.
6608 * sysdeps/ia64/math-tests.h: Remove file.
6609 * sysdeps/x86/math-tests.h: Likewise.
6610 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6612 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6613 Szabolcs Nagy <szabolcs.nagy@arm.com>
6615 * math/Makefile: Add s_sincosf_data.c.
6616 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6617 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6618 (sincosf_poly): Likewise.
6619 (reduce_small): Likewise.
6620 (reduce_large): Likewise.
6621 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6622 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6623 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6624 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6626 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6627 Szabolcs Nagy <szabolcs.nagy@arm.com>
6629 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6630 (converttoint): Use lround.
6631 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6632 document the semantics when TOINT_INTRINSICS is set.
6633 (converttoint): Likewise.
6634 (TOINT_RINT): Remove.
6635 (TOINT_SHIFT): Remove.
6636 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6639 2018-08-10 Florian Weimer <fweimer@redhat.com>
6642 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6644 (__old_getdents64): Use getdents64. Convert entries without
6646 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6647 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6648 tst-readdir64-compat.
6650 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6652 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6655 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6657 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6658 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6659 code to s390x-mcount.h and #include it.
6660 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6664 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6666 * stdlib/Versions: Remove __fentry__.
6667 * sysdeps/i386/Versions: Add __fentry__.
6668 * sysdeps/x86_64/Versions: Add __fentry__.
6670 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6672 * sysdeps/s390/Makefile: Register the new tests.
6673 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6674 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6675 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6676 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6677 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6678 * sysdeps/s390/tst-dl-runtime.c: New file.
6680 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6682 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6685 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6687 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6690 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6692 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6695 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6697 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6700 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6702 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6703 Use symbolic offsets for stack variables.
6705 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6707 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6708 Use symbolic offsets for stack variables.
6710 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6712 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6713 Use symbolic offsets for stack variables.
6715 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6717 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6718 Use symbolic offsets for stack variables.
6720 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6722 * math/gen-libm-test.py: New file.
6723 * math/gen-libm-test.pl: Remove.
6724 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6725 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6727 ($(libm-test-c-noauto-obj)): Likewise.
6728 ($(libm-test-c-auto-obj)): Likewise.
6729 ($(libm-test-c-narrow-obj)): Likewise.
6730 (regen-ulps): Likewise.
6731 * math/README.libm-test: Update references to gen-libm-test.pl.
6732 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6733 referencing gen-libm-test.pl.
6734 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6735 * math/libm-test-support.c: Likewise.
6736 * math/libm-test-support.h: Likewise.
6737 * sysdeps/generic/libm-test-ulps: Likewise.
6739 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6741 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6744 2018-08-08 Joseph Myers <joseph@codesourcery.com>
6746 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6747 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6749 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6751 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6753 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6754 __pthread_setspecific): Add hidden proto.
6755 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6756 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
6758 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6760 * benchtests/bench-string.h (buf1_size, buf2_size): New
6762 (init_sizes): New function.
6763 (test_init): Use it.
6764 (alloc_buf, exit_error): New functions.
6765 (alloc_bufs): Use ALLOC_BUF.
6766 (realloc_bufs): Remove.
6767 * benchtests/bench-memcmp.c (do_test): Adjust.
6768 * benchtests/bench-memset-large.c (do_test): Likewise.
6769 * benchtests/bench-memset-walk.c (do_test): Likewise.
6770 * benchtests/bench-memset.c (do_test): Likewise.
6771 * benchtests/bench-strncmp.c (do_test): Likewise.
6773 2018-08-06 Andreas Schwab <schwab@suse.de>
6775 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6776 of CONST_THREAD_AREA.
6778 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6780 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6781 (STATE_SAVE_MASK): Likewise.
6782 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6783 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6784 (STATE_SAVE_MASK): Likewise.
6785 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6786 instead of <cpu-features.h>.
6788 2018-08-03 DJ Delorie <dj@redhat.com>
6790 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
6791 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
6793 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6795 2018-08-03 Joseph Myers <joseph@codesourcery.com>
6797 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6799 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6800 * math/libm-test-logb.inc (logb_test_data): Likewise.
6802 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6804 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6805 * string/strstr.c (AVAILABLE): Likewise.
6807 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6809 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6811 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6813 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6815 2018-08-03 Carlos O'Donell <carlos@redhat.com>
6817 * po/be.po: Update translation.
6819 * po/be.po: Update translation.
6821 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6823 * sysdeps/x86/cpu-features-offsets.sym
6824 (rtld_global_ro_offsetof): Removed.
6825 (CPU_FEATURES_SIZE): Likewise.
6826 (CPUID_OFFSET): Likewise.
6827 (CPUID_SIZE): Likewise.
6828 (CPUID_EAX_OFFSET): Likewise.
6829 (CPUID_EBX_OFFSET): Likewise.
6830 (CPUID_ECX_OFFSET): Likewise.
6831 (CPUID_EDX_OFFSET): Likewise.
6832 (FAMILY_OFFSET): Likewise.
6833 (MODEL_OFFSET): Likewise.
6834 (FEATURE_OFFSET): Likewise.
6835 (FEATURE_SIZ): Likewise.
6836 (COMMON_CPUID_INDEX_1): Likewise.
6837 (COMMON_CPUID_INDEX_7): Likewise.
6838 (FEATURE_INDEX_1): Likewise.
6839 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6841 2018-08-02 Carlos O'Donell <carlos@redhat.com>
6843 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6844 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6845 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6846 (install-locales): Depend on install-locale-archive.
6847 (install-locale-archive): Define.
6848 (install-locale-files): Define.
6849 (build-one-locale): Define macro.
6850 * manual/install.texi (Running make install): Document.
6851 * manual/INSTALL: Regenerate.
6853 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6855 * benchtests/scripts/compare_strings.py: Import traceback.
6856 (parse_file): Pretty-print error.
6858 * NEWS: Mention the change.
6859 * elf/dl-tunables.list: Rename tune namespace to cpu.
6860 * sysdeps/powerpc/dl-tunables.list: Likewise.
6861 * sysdeps/x86/dl-tunables.list: Likewise.
6862 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6864 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6865 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6866 * manual/README.tunables: Likewise.
6867 * manual/tunables.texi: Likewise.
6868 * sysdeps/powerpc/cpu-features.c: Likewise.
6869 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6870 (init_cpu_features): Likewise.
6871 * sysdeps/x86/cpu-features.c: Likewise.
6872 * sysdeps/x86/cpu-features.h: Likewise.
6873 * sysdeps/x86/cpu-tunables.c: Likewise.
6874 * sysdeps/x86_64/Makefile: Likewise.
6875 * sysdeps/x86/dl-cet.c: Likewise.
6877 2018-08-02 Joseph Myers <joseph@codesourcery.com>
6880 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6881 [__mips_hard_float].
6882 (FE_UNDERFLOW): Likewise.
6883 (FE_OVERFLOW): Likewise.
6884 (FE_DIVBYZERO): Likewise.
6885 (FE_INVALID): Likewise.
6886 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6887 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6888 (FE_UPWARD): Likewise.
6889 (FE_DOWNWARD): Likewise.
6890 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6891 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6892 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6893 [__mips_hard_float].
6894 (FP_ROUNDMODE): Likewise.
6895 (FP_RND_NEAREST): Likewise.
6896 (FP_RND_ZERO): Likewise.
6897 (FP_RND_PINF): Likewise.
6898 (FP_RND_MINF): Likewise.
6899 (FP_EX_INVALID): Likewise.
6900 (FP_EX_OVERFLOW): Likewise.
6901 (FP_EX_UNDERFLOW): Likewise.
6902 (FP_EX_DIVZERO): Likewise.
6903 (FP_EX_INEXACT): Likewise.
6904 (FP_INIT_ROUNDMODE): Likewise.
6905 * sysdeps/mips/nofpu/fesetenv.c: New file.
6906 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6908 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6910 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6911 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6912 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6913 conditional on [FE_UPWARD].
6915 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6917 regex: fix memory leak in Gnulib
6918 Problem and fix reported by Assaf Gordon in:
6919 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6920 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6921 range_ends members too, as they are defined in 'struct
6922 re_charset_t' even if not _LIBC. This affects only Gnulib.
6924 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6926 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6928 (get_common_indices): This.
6929 (init_cpu_features): Updated.
6931 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6933 * sysdeps/generic/math-tests-snan-payload.h: New file.
6934 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6935 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6936 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6937 * sysdeps/generic/math-tests.h: Include
6938 <math-tests-snan-payload.h>.
6939 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6940 * sysdeps/hppa/math-tests.h: Remove file.
6941 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6942 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6943 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6946 * sysdeps/generic/math-tests-snan-cast.h: New file.
6947 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6948 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6949 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6950 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6952 2018-08-01 Carlos O'Donel <carlos@redhat.com>
6954 * version.h (RELEASE): Set to "development".
6955 (VERSION): Set to "2.28.9000".
6956 * NEWS (2.29): New section.
6958 * version.h (RELEASE): Set to "stable".
6959 (VERSION): Set to "2.28".
6960 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6961 * NEWS: Add the list of bugs fixed in 2.28.
6963 * po/ca.po: Update to latest version.
6964 * po/cs.po: Likewise
6965 * po/da.po: Likewise
6966 * po/el.po: Likewise
6967 * po/eo.po: Likewise
6968 * po/es.po: Likewise
6969 * po/fi.po: Likewise
6970 * po/fr.po: Likewise
6971 * po/gl.po: Likewise
6972 * po/hu.po: Likewise
6973 * po/ia.po: Likewise
6974 * po/id.po: Likewise
6975 * po/it.po: Likewise
6976 * po/ja.po: Likewise
6977 * po/ko.po: Likewise
6978 * po/lt.po: Likewise
6979 * po/nb.po: Likewise
6980 * po/nl.po: Likewise
6981 * po/pt_BR.po: Likewise
6982 * po/ru.po: Likewise
6983 * po/rw.po: Likewise
6984 * po/sk.po: Likewise
6985 * po/sl.po: Likewise
6986 * po/tr.po: Likewise
6987 * po/zh_CN.po: Likewise
6988 * po/zh_TW.po: Likewise
6990 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6992 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6994 (init): ... before initializing libpthread.
6996 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6997 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6998 (__mach_setup_tls): ... new function.
6999 (mach_setup_tls): New alias.
7000 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7001 __mach_setup_thread.
7002 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7003 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7004 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7005 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7007 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7009 * manual/install.texi: Update versions.
7010 * INSTALL: Regenerate.
7012 * manual/contrib.texi (Contributors): Update contributions.
7014 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7016 * po/be.po: Update translations.
7018 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7020 * sysdeps/sh/libm-test-ulps: Update.
7022 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7024 * po/bg.po: Update translations.
7025 * po/de.po: Likewise.
7026 * po/hr.po: Likewise.
7027 * po/pt_BR.po: Likewise.
7028 * po/sv.po: Likewise.
7029 * po/vi.po: Likewise.
7031 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7034 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7035 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7036 (CFLAGS-tst-cet-property-1.o): New.
7037 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7038 ($(objpfx)tst-cet-property-2): Likewise.
7039 ($(objpfx)tst-cet-property-2.out): Likewise.
7040 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7041 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7042 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7043 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7044 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7046 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7049 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7051 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7053 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7054 __sbrk): Do not set attribute_hidden.
7055 * sysdeps/mach/hurd/not-errno.h: New file.
7056 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7057 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7059 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7061 * po/uk.po: Update translations.
7062 * po/cs.po: Likewise.
7063 * po/pl.po: Likewise.
7065 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7067 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7068 parse beyond the note end.
7070 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7072 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7073 kernel does not support OFD locks.
7074 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7076 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7078 * sysdeps/mach/hurd/Versions (libc): Make __access and
7079 __access_noerrno external so they can override the ld symbols.
7080 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7081 __writev, __open64, __access_noerrno extern so they can be overrided.
7082 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7083 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7085 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7087 * po/libc.pot: Regenerate.
7089 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7091 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7093 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7096 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7098 (init_cpu_features): Call get_extended_indices for both Intel
7100 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7101 Remove "for AMD" comment.
7103 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7106 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7107 COMMON_CPUID_INDEX_80000001.
7109 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7111 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7112 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7114 2018-07-26 Florian Weimer <fweimer@redhat.com>
7116 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7117 aliases for symbols not in the implementation namespace.
7119 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7122 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7123 lowercase in LATIN script.
7124 * localedata/Makefile (test-input): Add en_US.UTF-8.
7125 * localedata/en_US.UTF-8.in: New file.
7126 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7127 and restore old tests.
7128 * posix/tst-regexloc.c (do_test): Add back range expression test.
7130 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7132 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7134 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7136 * nptl/threads.h: Move to ...
7137 * sysdeps/nptl/threads.h: ... here.
7138 * sysdeps/hurd/stdc-predef.h: New file.
7140 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7142 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7143 tst-cet-setcontext-1 if CET is enabled.
7144 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7145 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7147 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7149 * include/threads.h: Move to ...
7150 * sysdeps/nptl/threads.h: ... here.
7151 * sysdeps/htl/threads.h: New file.
7152 * conform/Makefile (linknamespace-libs-ISO11): Use
7153 static-thread-library instead of linking libpthread.
7154 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7156 2018-07-25 Florian Weimer <fweimer@redhat.com>
7158 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7159 nanoseconds into seconds.
7160 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7161 (do_test): Likewise.
7162 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7163 (do_test): Likewise. Avoid nanosecond overflow and spurious
7164 timeouts due to system load.
7165 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7166 (child_wait): Increment it.
7167 (do_test): Wait as long as necessary until all expected threads
7170 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7171 H.J. Lu <hongjiu.lu@intel.com>
7173 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7175 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7176 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7177 (__push___start_context): New.
7178 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7180 (__getcontext): Record the current shadow stack base. Save the
7181 caller's shadow stack pointer and base.
7182 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7183 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7184 (__push___start_context): New prototype.
7185 (__makecontext): Call __push___start_context to allocate a new
7186 shadow stack, push __start_context onto the new stack as well
7187 as the new shadow stack.
7188 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7190 (__setcontext): Restore the target shadow stack.
7191 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7193 (__swapcontext): Record the current shadow stack base. Save
7194 the caller's shadow stack pointer and base. Restore the target
7196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7197 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7198 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7200 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7202 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7203 tst-setcontext8 and tst-setcontext9.
7204 * stdlib/tst-setcontext6.c: New file.
7205 * stdlib/tst-setcontext7.c: Likewise.
7206 * stdlib/tst-setcontext8.c: Likewise.
7207 * stdlib/tst-setcontext9.c: Likewise.
7209 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7211 * stdlib/Makefile ((tests): Add tst-setcontext5.
7212 * stdlib/tst-setcontext5.c: New file.
7214 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7216 * stdlib/Makefile (tests): Add tst-setcontext4.
7217 * stdlib/tst-setcontext4.c: New file.
7219 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7221 * stdlib/Makefile (tests): Add tst-swapcontext1.
7222 * stdlib/tst-swapcontext1.c: New test.
7224 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7226 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7227 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7228 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7229 and tst-cet-legacy-4c.
7230 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7231 and tst-cet-legacy-mod-4.
7232 (CFLAGS-tst-cet-legacy-2.c): New.
7233 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7234 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7235 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7236 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7237 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7238 ($(objpfx)tst-cet-legacy-1): Likewise.
7239 ($(objpfx)tst-cet-legacy-2): Likewise.
7240 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7241 ($(objpfx)tst-cet-legacy-2a): Likewise.
7242 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7243 ($(objpfx)tst-cet-legacy-4): Likewise.
7244 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7245 ($(objpfx)tst-cet-legacy-4a): Likewise.
7246 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7247 (tst-cet-legacy-4a-ENV): Likewise.
7248 ($(objpfx)tst-cet-legacy-4b): Likewise.
7249 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7250 (tst-cet-legacy-4b-ENV): Likewise.
7251 ($(objpfx)tst-cet-legacy-4c): Likewise.
7252 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7253 (tst-cet-legacy-4c-ENV): Likewise.
7254 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7255 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7256 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7257 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7258 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7259 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7260 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7261 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7262 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7263 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7264 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7266 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7268 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7269 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7271 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7272 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7275 2018-07-25 Andreas Schwab <schwab@suse.de>
7278 * locale/weightwc.h (findidx): Handle the case where usrc is a
7279 prefix of cp but one character too short.
7281 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7283 * NEWS: Add ISO C threads addition.
7285 2018-07-24 Florian Weimer <fweimer@redhat.com>
7287 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7288 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7289 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7292 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7294 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7295 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7296 <sys/prctl.h> and <asm/prctl.h>.
7297 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7298 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7300 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7301 ARCH_CET_LEGACY_BITMAP.
7302 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7303 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7304 * sysdeps/x86/libc-start.c: Include <startup.h>.
7306 2018-07-24 Florian Weimer <fweimer@redhat.com>
7308 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7309 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7311 2018-07-24 Rical Jasan <rj@2c3t.io>
7312 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7313 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7316 * manual/debug.texi: Update adjacent chapter name.
7317 * manual/probes.texi: Likewise.
7318 * manual/threads.texi (ISO C Threads): New section.
7319 (POSIX Threads): Convert to a section.
7321 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7322 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7325 * nptl/Makefile (tests): Add new test files.
7326 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7327 * nptl/tst-cnd-basic.c: Likewise.
7328 * nptl/tst-cnd-broadcast.c: Likewise.
7329 * nptl/tst-cnd-timedwait.c: Likewise.
7330 * nptl/tst-mtx-basic.c: Likewise.
7331 * nptl/tst-mtx-recursive.c: Likewise.
7332 * nptl/tst-mtx-timedlock.c: Likewise.
7333 * nptl/tst-mtx-trylock.c: Likewise.
7334 * nptl/tst-thrd-basic.c: Likewise.
7335 * nptl/tst-thrd-detach.c: Likewise.
7336 * nptl/tst-thrd-sleep.c: Likewise.
7337 * nptl/tst-tss-basic.c: Likewise.
7339 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7342 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7343 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7345 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7346 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7347 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7348 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7349 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7350 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7351 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7352 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7355 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7356 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7364 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7365 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7366 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7367 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7370 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7371 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7372 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7373 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7374 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7375 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7376 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7378 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7379 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7380 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7381 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7382 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7383 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7384 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7385 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7386 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7387 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7388 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7389 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7396 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7397 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7398 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7399 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7402 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7403 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7406 * conform/data/threads.h-data (thread_local): New macro.
7407 (TSS_DTOR_ITERATIONS): Likewise.
7409 (tss_dtor_t): Likewise.
7410 (tss_create): New function.
7411 (tss_get): Likewise.
7412 (tss_set): Likewise.
7413 (tss_delete): Likewise.
7414 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7415 tss_get, and tss_set objects.
7416 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7417 * nptl/tss_create.c: New file.
7418 * nptl/tss_delete.c: Likewise.
7419 * nptl/tss_get.c: Likewise.
7420 * nptl/tss_set.c: Likewise.
7421 * sysdeps/nptl/threads.h (thread_local): New define.
7422 (TSS_DTOR_ITERATIONS): Likewise.
7423 (tss_t): New typedef.
7424 (tss_dtor_t): Likewise.
7425 (tss_create): New prototype.
7426 (tss_get): Likewise.
7427 (tss_set): Likewise.
7428 (tss_delete): Likewise.
7431 * conform/data/threads.h-data (cnd_t): New type.
7432 (cnd_init): New function.
7433 (cnd_signal): Likewise.
7434 (cnd_broadcast): Likewise.
7435 (cnd_wait): Likewise.
7436 (cnd_timedwait): Likewise.
7437 (cnd_destroy): Likewise.
7438 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7439 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7441 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7442 * nptl/cnd_broadcast.c: New file.
7443 * nptl/cnd_destroy.c: Likewise.
7444 * nptl/cnd_init.c: Likewise.
7445 * nptl/cnd_signal.c: Likewise.
7446 * nptl/cnd_timedwait.c: Likewise.
7447 * nptl/cnd_wait.c: Likewise.
7448 * sysdeps/nptl/threads.h (cnd_t): New type.
7449 (cnd_init): New prototype.
7450 (cnd_signa): Likewise.
7451 (cnd_broadcast): Likewise.
7452 (cnd_wait): Likewise.
7453 (cnd_timedwait): Likewise.
7454 (cnd_destroy): Likewise.
7457 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7458 (once_flag): New type.
7459 (call_once): New function.
7460 * nptl/Makefile (libpthread-routines): Add call_once object.
7461 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7462 * nptl/call_once.c: New file.
7463 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7464 (once_flag): New type.
7465 (call_once): New prototype.
7468 * conform/data/threads.h-data (mtx_plain): New constant.
7469 (mtx_recursive): Likewise.
7470 (mtx_timed): Likewise.
7472 (mtx_init): New function.
7473 (mtx_lock): Likewise.
7474 (mtx_timedlock): Likewise.
7475 (mtx_trylock): Likewise.
7476 (mtx_unlock): Likewise.
7477 (mtx_destroy): Likewise.
7478 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7479 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7480 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7481 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7482 * nptl/mtx_destroy.c: New file.
7483 * nptl/mtx_init.c: Likewise.
7484 * nptl/mtx_lock.c: Likewise.
7485 * nptl/mtx_timedlock.c: Likewise.
7486 * nptl/mtx_trylock.c: Likewise.
7487 * nptl/mtx_unlock.c: Likewise.
7488 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7489 (mtx_recursive): Likewise.
7490 (mtx_timed): Likewise.
7492 (mtx_init): New prototype.
7493 (mtx_lock): Likewise.
7494 (mtx_timedlock): Likewise.
7495 (mtx_trylock): Likewise.
7496 (mtx_unlock): Likewise.
7497 (mtx_destroy): Likewise.
7500 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7501 (linknamespace-libs-ISO11): Add libpthread.a.
7502 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7504 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7505 * nptl/Makefile (headers): Add threads.h.
7506 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7507 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7509 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7510 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7511 thrd_join, thrd_sleep, and thrd_yield symbols.
7512 * nptl/descr.h (struct pthread): Add c11 field.
7513 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7514 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7515 routine with expected function prototype.
7516 (__pthread_create_2_1): Add C11 threads check based on attribute
7518 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7519 * nptl/thrd_create.c: New file.
7520 * nptl/thrd_current.c: Likewise.
7521 * nptl/thrd_detach.c: Likewise.
7522 * nptl/thrd_equal.c: Likewise.
7523 * nptl/thrd_exit.c: Likewise.
7524 * nptl/thrd_join.c: Likewise.
7525 * nptl/thrd_priv.h: Likewise.
7526 * nptl/thrd_sleep.c: Likewise.
7527 * nptl/thrd_yield.c: Likewise.
7528 * include/threads.h: Likewise.
7530 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7532 * bits/indirect-return.h: New file.
7533 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7534 * sysdeps/x86/bits/indirect-return.h: Likewise.
7535 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7536 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7537 (swapcontext): Add __INDIRECT_RETURN.
7538 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7539 (prepare_test_buffer): Use it.
7541 2018-07-24 Andreas Schwab <schwab@suse.de>
7544 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7545 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7547 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7549 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7550 Redefine if shadow stack is enabled.
7551 (SYSCALL_ERROR_LABEL): Likewise.
7552 (__vfork): Pop shadow stack and jump back to to caller directly
7553 when shadow stack is in use.
7554 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7555 Redefine if shadow stack is enabled.
7556 (SYSCALL_ERROR_LABEL): Likewise.
7557 (__vfork): Pop shadow stack and jump back to to caller directly
7558 when shadow stack is in use.
7560 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7562 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7565 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7568 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7570 * scripts/build-many-glibcs.py (Context.checkout): Default
7571 binutils version to 2.31 branch.
7573 2018-07-20 Zong Li <zong@andestech.com>
7575 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7576 URL of gcc's tarball.
7578 2018-07-20 Florian Weimer <fweimer@redhat.com>
7581 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7582 not compare an extra byte after the end of the weights.
7584 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7586 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7588 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7590 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7591 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7592 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7593 list of libraries whose stack executability is expected.
7594 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7595 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7597 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7598 libc.so libpthread.so.
7600 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7602 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7604 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7606 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7608 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7610 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7612 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7613 library to improve command line parsing.
7614 (__main__): make schema file as optional parameter (--schema),
7615 defaulting to benchtests/scripts/benchout.schema.json.
7616 (main): move out of the parsing stuff to __main_ and leave it
7617 only as caller of main comparison functions.
7619 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7621 * NEWS: Add a note for Intel CET status.
7622 * manual/install.texi: Likewise.
7623 * INSTALL: Regenerated.
7625 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7628 * localedata/locales/oc_FR (mon): Rename to...
7629 (alt_mon): This, then update October (typo fix).
7630 (mon): New content (genitive case, month names preceded by
7634 * localedata/locales/oc_FR (abday): Update all items.
7635 (day): Update Wednesday and Saturday (typo fixes).
7636 (abmon): Update all items, except May.
7637 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7638 (LC_IDENTIFICATION): Bump the revision number and date.
7639 Keep the "category" entries in alphabetic order.
7640 (LC_ADDRESS): Remove no longer needed comment.
7641 (LC_COLLATE): Use “copy "ca_ES"”.
7642 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7645 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7647 * grp/tst_fgetgrent.c: Include <unistd.h>.
7648 (main): Use mkstemp instead of tmpnam.
7649 * io/test-utime.c (main): Likewise.
7650 * posix/annexc.c (macrofile): Change to modifiable array.
7651 (main): Remove macrofile here.
7652 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7654 (check_header): Do not remove macrofile here.
7655 * posix/bug-getopt1.c: Include <stdlib.h>.
7656 (do_test): Use mkstemp instead of tmpnam.
7657 * posix/bug-getopt2.c: Include <stdlib.h>.
7658 (do_test): Use mkstemp instead of tmpnam.
7659 * posix/bug-getopt3.c: Include <stdlib.h>.
7660 (do_test): Use mkstemp instead of tmpnam.
7661 * posix/bug-getopt4.c: Include <stdlib.h>.
7662 (do_test): Use mkstemp instead of tmpnam.
7663 * posix/bug-getopt5.c: Include <stdlib.h>.
7664 (do_test): Use mkstemp instead of tmpnam.
7665 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7666 (main): Use mkstemp instead of tmpnam.
7667 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7668 (main): Use mkstemp instead of tmpnam.
7669 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7670 (main): use mkstemp instead of tmpnam.
7671 * stdlib/isomac.c (macrofile): Change to modifiable array.
7672 (main): Remove macrofile here.
7673 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7675 (check_header): Do not remove macrofile here.
7677 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7679 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7680 glibc.tune.x86_shstk.
7682 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7684 * NEWS: Mention --enable-cet.
7685 * manual/install.texi: Document --enable-cet.
7686 * INSTALL: Regenerated.
7688 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7690 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7691 Add _CET_NOTRACK before indirect jump to jump table.
7693 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.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/strcat-sse2.S
7702 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7705 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7708 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7711 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7714 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7717 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7719 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7720 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7722 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7724 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7726 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7727 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7730 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7732 * sysdeps/i386/i686/multiarch/memset-sse2.S
7733 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7736 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7738 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7739 indirect jump to jump table.
7741 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7743 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7744 (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/multiarch/memcpy-ssse3-back.S
7751 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7755 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7757 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7758 _CET_NOTRACK before indirect jump to jump table.
7760 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7763 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7766 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7768 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7769 indirect jump to jump table.
7771 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7774 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7775 (LOCALES): Likewise.
7776 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7777 * localedata/locales/sah_RU: New file.
7778 * localedata/sah_RU.UTF-8.in: New file.
7780 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7782 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7784 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7785 _CET_ENDBR to indirect jump targets and adjust jump destination
7787 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7789 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7790 _CET_ENDBR to indirect jump targets and adjust jump destination
7792 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7794 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7795 _CET_ENDBR to indirect jump targets and adjust jump destination
7798 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7800 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7803 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7805 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7807 (_dl_tlsdesc_undefweak): Likewise.
7808 (_dl_tlsdesc_dynamic): Likewise.
7809 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7810 (_dl_tlsdesc_resolve_rel): Likewise.
7811 (_dl_tlsdesc_resolve_rela): Likewise.
7812 (_dl_tlsdesc_resolve_hold): Likewise.
7813 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7814 (_dl_tlsdesc_undefweak): Likewise.
7815 (_dl_tlsdesc_dynamic): Likewise.
7816 (_dl_tlsdesc_resolve_rela): Likewise.
7817 (_dl_tlsdesc_resolve_hold): Likewise.
7819 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7821 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7823 * sysdeps/x86_64/crti.S (_init): Likewise.
7826 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7829 * localedata/locales/os_RU (mon): Rename to...
7831 (mon): Import from CLDR (genitive case).
7833 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7835 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7836 cet-tunables.h> when CET is enabled.
7838 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7841 * configure.ac: Add --enable-cet.
7842 * configure: Regenerated.
7843 * elf/Makefille (all-built-dso): Add a comment.
7844 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7845 Include <dl-prop.h>.
7846 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7848 * elf/dl-open.c: Include <dl-prop.h>.
7849 (dl_open_worker): Call _dl_open_check.
7850 * elf/rtld.c: Include <dl-prop.h>.
7851 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7853 * sysdeps/generic/dl-prop.h: New file.
7854 * sysdeps/i386/dl-cet.c: Likewise.
7855 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7856 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7857 * sysdeps/x86/cet-tunables.h: Likewise.
7858 * sysdeps/x86/check-cet.awk: Likewise.
7859 * sysdeps/x86/configure: Likewise.
7860 * sysdeps/x86/configure.ac: Likewise.
7861 * sysdeps/x86/dl-cet.c: Likewise.
7862 * sysdeps/x86/dl-procruntime.c: Likewise.
7863 * sysdeps/x86/dl-prop.h: Likewise.
7864 * sysdeps/x86/libc-start.h: Likewise.
7865 * sysdeps/x86/link_map.h: Likewise.
7866 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7868 (_dl_runtime_profile): Likewise.
7869 (_dl_runtime_resolve_shstk): New.
7870 (_dl_runtime_profile_shstk): Likewise.
7871 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7873 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7874 (CFLAGS-.os): Likewise.
7875 (CFLAGS-.op): Likewise.
7876 (CFLAGS-.oS): Likewise.
7877 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7879 (tests-special): Add $(objpfx)check-cet.out.
7880 (cet-built-dso): New.
7881 (+$(cet-built-dso:=.note)): Likewise.
7882 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7883 ($(objpfx)check-cet.out): New.
7884 (generated): Add check-cet.out.
7885 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7887 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7888 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7889 (init_cpu_features): Call get_cet_status to check CET status
7890 and update dl_x86_feature_1 with CET status. Call
7891 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7892 (set_x86_shstk). Disable and lock CET in libc.a.
7893 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7894 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7895 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7896 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7897 (_CET_ENDBR): Define if not defined.
7898 (ENTRY): Add _CET_ENDBR.
7899 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7901 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7903 (_dl_runtime_profile): Likewise.
7905 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7908 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7909 restore r2 on longjmp.
7910 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7912 Added rules to build test tst-setjmp-bug21895-static.
7913 Added module setjmp-bug21895 and rules to build a shared object from it.
7914 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7915 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7917 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7919 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7920 * benchtests/bench-strstr.c: Likewise.
7921 * string/memmem.c (FASTSEARCH): Define.
7922 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7923 Add support for FASTSEARCH.
7924 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7925 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7926 (FASTSEARCH): Define.
7927 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7928 * string/test-strstr.c: Likewise.
7930 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7933 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7935 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7936 H.J. Lu <hongjiu.lu@intel.com>
7938 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7939 (__longjmp): Restore shadow stack pointer if shadow stack is
7940 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7941 isn't defined for __longjmp_cancel.
7942 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7943 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7944 and SHADOW_STACK_POINTER_OFFSET is defined.
7945 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7946 (setjmp): Save shadow stack pointer if shadow stack is enabled
7947 and SHADOW_STACK_POINTER_OFFSET is defined.
7948 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7949 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7950 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7951 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7953 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7954 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7955 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7956 Remove jmp_buf-ssp.sym.
7957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7959 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7960 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7961 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7963 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7964 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7965 (__longjmp): Restore shadow stack pointer if shadow stack is
7966 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7967 isn't defined for __longjmp_cancel.
7968 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7969 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7970 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7972 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7975 * nptl/pthread_create.c: Include <tls-setup.h>.
7976 (__pthread_create_2_1): Call tls_setup_tcbhead.
7977 * sysdeps/generic/tls-setup.h: New file.
7978 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7979 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7980 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7982 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7984 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7985 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7986 (X86_FEATURE_1_SHSTK): Likewise.
7987 (CET_ENABLED): Likewise.
7988 (IBT_ENABLED): Likewise.
7989 (SHSTK_ENABLED): Likewise.
7991 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7994 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7995 (LOCALES): Likewise.
7996 * localedata/dsb_DE.UTF-8.in: New file.
7997 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7999 2018-07-12 Florian Weimer <fweimer@redhat.com>
8001 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8002 __mprotect, not mprotect.
8004 2018-07-11 Florian Weimer <fweimer@redhat.com>
8006 * io/Makefile (headers): Add bits/statx.h.
8008 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8010 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8011 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8013 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8014 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8017 2018-07-10 Florian Weimer <fweimer@redhat.com>
8019 * io/Makefile (routines): Add statx.
8020 (tests-internal): Add tst-statx.
8021 * io/Versions (GLIBC_2.28): Export statx.
8022 * io/bits/statx.h: New file.
8023 * io/sys/stat.h [__USE_GNU]: Include it.
8024 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8025 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8027 * io/statx.c: New file.
8028 * io/statx_generic.: Likewise.
8029 * io/tst-statx.: Likewise.
8030 * include/bits/statx.h: Likewise.
8031 * sysdeps/unix/sysv/linux/kernel-features.h
8032 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8033 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8034 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8035 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8038 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8039 * sysdeps/unix/sysv/linux/statx.c: New file.
8040 * manual/filesys.texi: Note that statx is undocumented.
8041 * sysdeps/**/libc*.abilist: Update.
8043 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8045 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8046 a kernel issue which lead to test failure in some cases.
8048 2018-07-10 Florian Weimer <fweimer@redhat.com>
8051 * posix/regexec.c (check_node_accept_bytes): When comparing
8052 weights, do not compare an extra byte after the end of the
8055 2018-07-10 Florian Weimer <fweimer@redhat.com>
8057 * libio/readline.c: Fix copyright year.
8058 * libio/tst-readline.c Likewise.
8059 * nss/tst-nss-files-hosts-getent.c: Likewise.
8061 2018-07-06 Florian Weimer <fweimer@redhat.com>
8064 * nss/nss_files/files-XXX.c (internal_getent): Use
8065 __libc_readline_unlocked. Seek back to the start of the line if
8066 parsing failes with ERANGE.
8067 (get_contents_ret, get_contents): Remove.
8068 * nss/tst-nss-files-hosts-getent.c: New file.
8069 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8070 (tst-nss-files-hosts-getent): Link with -ldl.
8072 2018-07-06 Florian Weimer <fweimer@redhat.com>
8074 * include/stdio.h (__libc_readline_unlocked): Declare.
8075 (__ftello64, __fseeko64): Declare aliases.
8076 * libio/readline.c: New file.
8077 * libio/tst-readline.c: Likewise.
8078 (routines): Add readline.
8079 (tests-internal): Add tst-readlime.
8080 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8081 __libc_readline_unlocked.
8082 * libio/fseeko.c (__fseeko): Rename from fseeko.
8083 (fseeko): Add alias.
8084 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8085 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8086 (fseeko64): Add alias.
8087 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8088 * libio/ftello64.c (__ftello64): Rename from ftello64.
8089 (ftello64): Add alias.
8091 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8093 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8096 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8098 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8099 Use dl_hwcap without masking.
8100 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8103 2018-07-06 Florian Weimer <fweimer@redhat.com>
8105 * conform/conformtest.pl (checknamespace): Escape literal braces
8106 in regular expressions.
8108 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8110 * sysdeps/x86/cpu-features.c (get_common_indeces):
8111 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8112 * sysdeps/x86/cpu-features.c (init_cpu_features):
8113 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8115 2018-07-05 Florian Weimer <fweimer@redhat.com>
8117 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8119 (CFLAGS-elf-init.oS): Likewise.
8121 2018-07-05 Florian Weimer <fweimer@redhat.com>
8122 Carlos O'Donell <carlos@redhat.com>
8124 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8125 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8126 with stack protector enabled because there is no risk of infinite
8129 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8133 * libc-abis (ABSOLUTE): New ABI.
8134 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8135 * NEWS: Mention the new ABI.
8137 2018-07-05 Florian Weimer <fweimer@redhat.com>
8140 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8141 (RENAME_WHITEOUT): Define.
8142 [__USE_GNU] (renameat2): Declare.
8143 * stdio-common/Makefile (routines): Add renameat2.
8144 (tests): Add tst-renameat2.
8145 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8146 * stdio-common/renameat2.c: New file.
8147 * stdio-common/tst-renameat2.c: Likewise.
8148 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8149 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8151 * sysdeps/unix/sysv/linux/kernel-features.h
8152 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8154 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8156 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8157 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8158 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8159 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8160 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8161 * include/stdio.h (__renameat): Add alias for renameat.
8162 * stdio-common/renameat.c (__renameat): Rename from renameat.
8163 Add hidden definition and alias.
8164 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8165 * sysdeps/mach/hurd/renameat.c: Likewise.
8166 * sysdeps/**/libc*.abilist: Add renameat2.
8168 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8170 * posix/bug-regex33.c: Fix build after regex sync.
8172 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8175 * localedata/tst-langinfo-setlocale.c: New file.
8176 * localedata/tst-langinfo-setlocale-static.c: New file.
8177 * localedata/tst-langinfo-newlocale.c: New file.
8178 * localedata/tst-langinfo-newlocale-static.c: New file.
8179 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8180 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8181 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8182 (tests-static): Remove tst-langinfo-static. Add
8183 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8184 (tests-special): Remove $(objpfx)tst-langinfo.out,
8185 $(objpfx)tst-langinfo-static.out. Add
8186 $(objpfx)tst-langinfo-setlocale.out,
8187 $(objpfx)tst-langinfo-newlocale.out,
8188 $(objpfx)tst-langinfo-setlocale-static.out,
8189 $(objpfx)tst-langinfo-newlocale-static.out.
8190 ($(objpfx)tst-langinfo.out): Remove.
8191 ($(objpfx)tst-langinfo-static.out): Remove.
8192 ($(objpfx)tst-langinfo-newlocale.out): New target.
8193 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8194 (test-xfail-tst-langinfo-newlocale-static): Add.
8195 ($(objpfx)tst-langinfo-setlocale.out): New target.
8196 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8197 * localedata/tst-langinfo.c: Call test_locale.
8198 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8201 2018-07-04 Florian Weimer <fweimer@redhat.com>
8203 testrun.sh: Implement --tool=strace, --tool=valgrind
8204 * Makefile (testrun-script): Define variable.
8205 (testrun.sh): Use variable.
8206 * manual/install.texi (Tools for Compilation): make 4.0 or later
8208 * configure.ac: Check for make 4.0 or later.
8209 * INSTALL: Regenerate.
8210 * configure: Likewise.
8212 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8218 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8219 * posix/PCRE.tests: Remove invalid test.
8220 * posix/bug-regex28.c: Fix expected values for used syntax.
8221 * posix/bug-regex37.c: New file.
8222 * posix/bug-regex38.c: Likewise.
8223 * posix/regcomp.c: Sync with gnulib.
8224 * posix/regex.c: Likewise.
8225 * posix/regex.h: Likewise.
8226 * posix/regex_internal.c: Likewise.
8227 * posix/regex_internal.h: Likewise.
8228 * posix/regexec.c: Likewise.
8230 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8233 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8234 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8235 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8236 * localedata/unicode-gen/PropList.txt: likewise.
8237 * localedata/unicode-gen/UnicodeData.txt: likewise.
8238 * localedata/charmaps/UTF-8: Regenerate.
8239 * localedata/locales/i18n_ctype: likewise.
8240 * localedata/locales/tr_TR: likewise.
8241 * localedata/locales/translit_circle: likewise.
8242 * localedata/locales/translit_cjk_compat: likewise.
8243 * localedata/locales/translit_combining: likewise.
8244 * localedata/locales/translit_compat: likewise.
8245 * localedata/locales/translit_font: likewise.
8246 * localedata/locales/translit_fraction: likewise.
8248 2018-07-03 Florian Weimer <fweimer@redhat.com>
8251 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8252 * stdio-common/tst-printf.sh: Adjust expected output.
8255 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8257 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8260 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8262 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8263 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8264 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8265 * stdio-common/tst-printfsz-islongdouble.c: New file.
8266 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8267 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8268 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8269 [subdir == stdio-common] (tests-internal): Add
8270 test-printf-size-ieee128, and test-printf-size-ibm128.
8271 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8272 (CFLAGS-test-printf-size-ibm128.c): New variables.
8273 [subdir == stdio-common] (tests-special): Add
8274 $(objpfx)test-printf-size-ieee128.out and
8275 $(objpfx)test-printf-size-ibm128.out.
8276 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8277 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8278 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8279 __printf_sizeieee128.
8280 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8282 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8284 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8287 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8289 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8290 (exp2f_inline): Likewise.
8291 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8292 (__math_uflowf): Likewise.
8293 (__math_may_uflowf): Likewise.
8294 (__math_divzerof): Likewise.
8295 (__math_invalidf): Likewise.
8296 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8297 (__math_oflowf): Likewise.
8298 (__math_uflowf): Likewise.
8299 (__math_may_uflowf): Likewise.
8300 (__math_divzerof): Likewise.
8301 (__math_invalidf): Likewise.
8303 2018-06-29 DJ Delorie <dj@redhat.com>
8304 Carlos O'Donell <carlos@redhat.com>
8307 * include/libc-symbols.h: Comment the freeres framework.
8308 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8309 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8310 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8311 * dlfcn/dlerror.c: Include libc-symbols.h
8312 (__dlerror_main_freeres): New function.
8313 * dlfcn/dlfreeres.c: New file.
8314 * dlfcn/sdlfreeres.c: New file.
8315 * include/dlfcn.h: Declare __dlerror_main_freeres.
8316 * malloc/set-freeres.c: Declare __libdl_freeres, and
8317 __libpthread_freeres.
8318 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8319 the releavant libraries are loaded.
8320 * malloc/thread-freeres.c: Add comments.
8321 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8322 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8323 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8324 (__free_stacks): Rename to...
8325 (free_stacks): ...this. Mark static.
8326 (queue_stack): Call free_stacks.
8327 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8328 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8329 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8330 ptr_freeres element from struct.
8331 (pthread_functions): Remove .ptr_freeres from struct initializer.
8332 [SHARED] (nptl_freeres): Remove.
8333 * nptl/nptlfreeres.c: New file.
8335 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8336 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8338 (__free_stacks): Rename to...
8339 (__nptl_stacks_freeres): ...this.
8340 (__shm_directory_freeres): Declare.
8341 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8342 (__nptl_unwind_freeres): ...this.
8343 * resolv/res-close.c: Add comment.
8344 * resolv/resolv_conf.c: Include libc-symbols.h.
8345 * string/strerror_l.c: Include libc-symbols.h.
8346 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8347 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8348 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8349 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8351 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8353 * stdlib/tst-strfmon_l.c: Add tests for long double.
8355 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8358 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8359 * localedata/locales/dsb_DE: New file.
8361 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8364 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8366 (alt_mon): New entry, import from CLDR (nominative case).
8368 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8371 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8373 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8375 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8376 Use vector registers.
8378 * sysdeps/aarch64/multiarch/memmove_falkor.S
8379 (__memcpy_falkor): Use vector registers.
8381 2018-06-29 Martin Sebor <msebor@redhat.com>
8383 * manual/stdio.texi (Customizing Printf): Mention interaction
8386 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8389 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8390 `st_value' is 0 if `st_shndx' is SHN_ABS.
8391 * elf/tst-absolute-zero.c: New file.
8392 * elf/tst-absolute-zero-lib.c: New file.
8393 * elf/tst-absolute-zero-lib.lds: New file.
8394 * elf/Makefile (tests): Add `tst-absolute-zero'.
8395 (modules-names): Add `tst-absolute-zero-lib'.
8396 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8397 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8398 ($(objpfx)tst-absolute-zero: New dependency.
8400 2018-06-29 Zack Weinberg <zackw@panix.com>
8402 * configure.ac: New command-line option --disable-crypt.
8403 Force --disable-nss-crypt when --disable-crypt is given, with a
8404 warning if it was explicitly enabled.
8405 * configure: Regenerate.
8406 * config.make.in: New boolean substitution variable $(build-crypt).
8407 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8408 when $(build-crypt).
8409 * manual/install.texi: Document --disable-crypt.
8410 * INSTALL: Regenerate.
8412 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8414 * conform/Makefile: Only include libcrypt.a in
8415 linknamespace-libs-xsi and linknamespace-libs-XPG4
8416 when $(build-crypt).
8417 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8418 USE_CRYPT to 1 when $(build-crypt).
8419 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8420 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8421 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8423 2018-06-29 Zack Weinberg <zackw@panix.com>
8425 * crypt/crypt.h, posix/unistd.h: Update comments and
8426 prototypes for crypt and crypt_r.
8428 * manual/crypt.texi (Cryptographic Functions): New initial
8430 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8431 (Unpredictable Bytes): Improve initial exposition. Clarify error
8432 behavior of getentropy and getrandom.
8433 * manual/examples/genpass.c: Generate a salt using getentropy
8434 instead of the current time. Use hash $5$ (SHA-2-256).
8435 * manual/examples/testpass.c: Demonstrate validation against
8436 hashes generated with three different one-way functions.
8438 * manual/intro.texi: crypt.texi does not need an overview
8441 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8442 * manual/terminal.texi: Consistently refer to "passphrases"
8443 * instead of "passwords", and to the "user database" instead
8444 * of the "password database".
8445 * manual/users.texi: Similarly. Add notes about how actual
8446 passphrase hashes are now stored in the shadow database.
8447 Remove 20-year-old junk todo note.
8449 2018-06-29 Zack Weinberg <zackw@panix.com>
8451 * manual/crypt.texi: Use a normal top-level @node declaration.
8452 Move most of the introductory text to the 'crypt' section.
8453 Move the example programs below the @deftypefun for 'crypt_r'.
8454 Move the 'getpass' section...
8455 * manual/terminal.texi: ...here.
8457 2018-06-29 Zack Weinberg <zackw@panix.com>
8458 Florian Weimer <fweimer@redhat.com>
8460 * posix/unistd.h: Do not declare encrypt.
8461 (_XOPEN_CRYPT): Remove macro definition.
8462 (crypt): Declare only for _USE_MISC.
8463 * stdlib/stdlib.h: Do not declare setkey.
8464 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8465 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8467 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8468 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8469 into compat symbols. Don't define initial_perm if it's not
8471 * crypt/cert.c: Link explicitly with the expected versions for
8472 setkey and encrypt. If they are not available at all, mark
8473 the test as unsupported.
8475 * sunrpc/des_crypt.c: Unconditionally block linkage with
8476 cbc_crypt and ecb_crypt for new binaries.
8477 * sunrpc/des_soft.c: Unconditionally block linkage with
8478 des_setparity for new binaries.
8480 * manual/crypt.texi: Remove the entire "DES Encryption"
8481 section. Also remove the paragraph talking about FIPS 140-2
8482 from the introduction.
8483 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8484 of libgcrypt for "real" encryption, not DES.
8485 * manual/conf.texi (Constants for Sysconf): Mention that
8486 _XOPEN_CRYPT is no longer impelemented.
8488 * conform/data/unistd.h-data: Remove crypt function declaration.
8490 2018-06-29 Florian Weimer <fweimer@redhat.com>
8493 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8494 (disallow_malloc_check): Remove variable.
8495 (__malloc_check_init): Adjust.
8496 (malloc_set_state): Update comment.
8497 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8500 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8503 * localedata/locales/ast_ES (mon): Rename to...
8505 (mon): Import from CLDR (genitive case).
8507 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8508 Jakub Sitnicki <jkbs@redhat.com>
8511 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8514 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8516 * manual/llio.texi: Remove spurious space.
8518 2018-06-28 Florian Weimer <fweimer@redhat.com>
8521 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8524 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8526 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8527 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8528 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8529 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8530 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8531 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8532 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8534 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8537 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8538 Copy and null-terminate entries that are not terminated, in
8539 addition to empty ones.
8541 2018-06-27 Florian Weimer <fweimer@redhat.com>
8544 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8545 (extend_alloca_account): Remove.
8546 * manual/stdio.texi (Variable Arguments Output): Update comment.
8548 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8550 * nptl/sockperf.c: Remove file.
8552 2018-06-27 Florian Weimer <fweimer@redhat.com>
8555 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8556 scratch_buffer instead of extend_alloca.
8558 2018-06-27 Florian Weimer <fweimer@redhat.com>
8561 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8562 scratch_buffer instead of extend_alloca. Update comments.
8564 2018-06-27 Florian Weimer <fweimer@redhat.com>
8567 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8568 instead of extend_alloca.
8570 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8573 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8574 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8576 * scripts/test-installation.pl: Put temporary files in build
8577 directory, not /tmp.
8578 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8579 (CFLAGS-bug4.c): Likewise.
8580 (CFLAGS-bug5.c): Likewise.
8581 (CFLAGS-test-fseek.c): Likewise.
8582 (CFLAGS-test-popen.c): Likewise.
8583 (CFLAGS-test_rdwr.c): Likewise.
8584 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8586 * stdio-common/bug4.c (main): Likewise.
8587 * stdio-common/bug5.c (main): Likewise.
8588 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8589 * stdio-common/test-popen.c (do_test): Likewise.
8590 * stdio-common/test_rdwr.c (main): Likewise.
8592 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8594 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8595 (sem_open): Set sem.newsem.pad to zero for valgrind.
8597 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8600 * NEWS: Mention fcntl64 addition.
8601 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8602 * login/utmp_file.c: Likewise.
8603 * sysdeps/posix/fdopendir.c: Likewise.
8604 * sysdeps/posix/opendir.c: Likewise.
8605 * sysdeps/unix/pt-fcntl.c: Likewise.
8606 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8607 __fcntl64_nocancel_adjusted): New prototype.
8608 (__fcntl_nocancel_adjusted): Remove prototype.
8609 * io/Makefile (routines): Add fcntl64.
8610 (CFLAGS-fcntl64.c): New rule.
8611 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8612 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8613 * io/fcntl.h (fcntl64): Add prototype and redirect if
8614 __USE_FILE_OFFSET64 is defined.
8615 * io/fcntl64.c: New file.
8616 * manual/llio.text: Add a note for which commands fcntl acts a
8618 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8619 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8620 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8622 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8623 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8625 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8626 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8627 to __fcntl64_nocancel.
8628 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8629 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8630 to __fcntl64_nocancel.
8631 * sysdeps/generic/not-cancel.h: Likewise.
8632 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8633 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8635 (fcntl64): New symbol.
8636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8637 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8643 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8644 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8645 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8648 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8650 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8665 2018-06-26 Florian Weimer <fweimer@redhat.com>
8667 Run thread shutdown functions in an explicit order.
8668 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8670 (__libc_thread_freeres): Call thread shutdown functions
8672 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8673 * include/string.h (__strerror_thread_freeres): Declare.
8674 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8675 arena_thread_freeres. No longer static. Remove thread shutdown
8677 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8679 * resolv/res-close.c (__res_thread_freeres): Renamed from
8680 res_thread_freeres. No longer static. Remove thread shutdown
8682 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8683 * resolv/resolv_conf.c (freeres): Remove incorrect section
8684 attribute and use libc_freeres_fn.
8685 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8686 strerror_thread_freeres. No longer static. Remove thread
8687 shutdown hook registration.
8688 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8689 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8690 shutdown hook registration.
8691 * Makerules (shlib.lds): Do not provide section boundary symbols
8692 for __libc_thread_subfreeres.
8693 * manual/memory.texi (Basic Allocation): Update comment.
8695 2018-06-26 Florian Weimer <fweimer@redhat.com>
8697 Remove always-defined _RPC_THREAD_SAFE_ macro.
8698 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8699 Do not define _RPC_THREAD_SAFE_.
8700 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8702 * sunrpc/clnt_perr.c: Likewise.
8703 * sunrpc/clnt_raw.c: Likewise.
8704 * sunrpc/clnt_simp.c: Likewise.
8705 * sunrpc/key_call.c: Likewise.
8706 * sunrpc/rpc_common.c: Likewise.
8707 * sunrpc/rpc_main.c: Likewise.
8708 * sunrpc/rpc_thread.c: Likewise.
8709 * sunrpc/svc.c: Likewise.
8710 * sunrpc/svc_raw.c: Likewise.
8711 * sunrpc/svc_simple.c: Likewise.
8712 * sumrpc/svcauth_des.c: Likewise.
8714 2018-06-26 Florian Weimer <fweimer@redhat.com>
8716 * libio/Makefile (tests-internal): Add tst-vtables,
8717 tst-vtables-interposed.
8718 * libio/tst-vtables.c: New file.
8719 * libio/tst-vtables-common.c: Likewise.
8720 * libio/tst-vtables-interposed.c: Likewise.
8722 2018-06-26 Florian Weimer <fweimer@redhat.com>
8724 * support/support_test_main.c (support_test_main): Only call
8725 setvbuf if not disables.
8726 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8727 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8729 2018-06-26 Florian Weimer <fweimer@redhat.com>
8732 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8734 2018-06-25 Florian Weimer <fweimer@redhat.com>
8737 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8738 Use struct scratch_buffer instead of extend_alloca.
8740 2018-06-25 Florian Weimer <fweimer@redhat.com>
8743 * nss/getent.c (initgroups_keys): Use dynarray instead of
8746 2018-06-25 Florian Weimer <fweimer@redhat.com>
8749 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8750 Use struct scratch_buffer instead of extend_alloca.
8752 2018-06-25 Florian Weimer <fweimer@redhat.com>
8755 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8756 back to malloc directly, without stack allocations.
8758 2018-06-25 Florian Weimer <fweimer@redhat.com>
8761 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8764 2018-06-25 Florian Weimer <fweimer@redhat.com>
8767 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8769 * nscd/hstcache.c (addhstbyX): Likewise.
8770 * nscd/pwdcache.c (addpwbyX): Likewise.
8771 * nscd/servicescache.c (addservbyX): Likewise.
8773 2018-06-25 Florian Weimer <fweimer@redhat.com>
8776 * nscd/connections.c (read_cmdline): New function.
8777 (restart): Use it. Update comment.
8779 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8782 * localedata/locales/csb_PL (mon): Rename to...
8784 (abmon): Rename to...
8786 (mon): Add with proper genitive forms, copy from Wikipedia.
8789 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8792 * localedata/locales/csb_PL (mon): Fix typos:
8793 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8794 (yesstr): Add, value is "jo".
8795 (nostr): Add, value is "nié".
8797 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8799 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8800 all log1p and significand functions on m680x0.
8801 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8802 of s_significand.c..
8803 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8804 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8805 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8806 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8807 s_log1p.c and include it..
8809 2018-06-21 Vincent Chen <vincentc@andestech.com>
8811 * elf/elf.h (R_NDS32_NONE): New define.
8812 (R_NDS32_32_RELA): Likewise.
8813 (R_NDS32_COPY): Likewise.
8814 (R_NDS32_GLOB_DAT): Likewise.
8815 (R_NDS32_JUMP_SLOT): Likewise.
8816 (R_NDS32_RELATIVE): Likewise.
8817 (R_NDS32_TLS_TPOFF): Likewise.
8818 (R_NDS32_TLS_DESC): Likewise.
8820 2018-06-21 Mark Wielaard <mark@klomp.org>
8822 * elf/elf.h (R_BPF_MAP_FD): Removed.
8823 (R_BPF_64_64, R_BPF_64_32): New.
8825 2018-06-21 Florian Weimer <fweimer@redhat.com>
8828 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8829 Renamed from libc_feholdsetround_ctx.
8830 (default_libc_feresetround_ctx): Renamed from
8831 libc_feresetround_ctx.
8832 (default_libc_feholdsetround_noex_ctx): Renamed from
8833 libc_feholdsetround_noex_ctx.
8834 (default_libc_feresetround_noex_ctx): Renamed from
8835 libc_feresetround_noex_ctx.
8836 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8837 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8838 forwardning to the old implementations under the new names.
8839 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8840 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8841 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8842 (libc_feresetround_ctx): Forward to default implements for i386
8843 and MATH_SET_BOTH_ROUNDING_MODES.
8844 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8845 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8847 2018-06-20 Joseph Myers <joseph@codesourcery.com>
8849 * string/tst-cmp.c: Include <libc-diag.h>.
8850 (strncmp_max): Disable -Wstringop-overflow= around call to
8852 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8855 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8856 (main): Disable -Wunused-value around call to strpbrk.
8857 * string/bug-strspn1.c: Include <libc-diag.h>.
8858 (main): Disable -Wunused-value around call to strspn.
8860 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8861 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8863 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8864 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8866 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8868 * math/Makefile (libm-calls): Move s_significandF to...
8869 (gen-libm-calls): ... here.
8870 * math/s_significand_template.c: New file.
8871 * math/s_significand.c: Removed.
8872 * math/s_significandf.c: Removed.
8873 * math/s_significandl.c: Removed.
8874 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8875 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8877 * math/e_exp2_template.c (declare_mgen_finite_alias,
8878 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8879 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8880 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8882 2018-06-20 Florian Weimer <fweimer@redhat.com>
8884 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8886 2018-06-19 Joseph Myers <joseph@codesourcery.com>
8889 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8890 floating-point number to strtod functions rather than possibly
8891 negating result of those functions.
8892 * stdio-common/tst-scanf-round.c: New file.
8893 * stdio-common/Makefile (tests): Add tst-scanf-round.
8894 ($(objpfx)tst-scanf-round): Depend on $(libm).
8896 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8898 * sysdeps/mach/hurd/localplt.data: Move to...
8899 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8900 R_386_GLOB_DAT like on Linux i386.
8902 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8904 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8905 (SHM_STAT_ANY): New macro.
8906 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8907 (SHM_STAT_ANY): Likewise.
8908 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8909 (SHM_STAT_ANY): Likewise.
8910 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8911 (SHM_STAT_ANY): Likewise.
8912 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8913 (SHM_STAT_ANY): Likewise.
8914 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8915 (SHM_STAT_ANY): Likewise.
8916 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8917 (SHM_STAT_ANY): Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8919 (SHM_STAT_ANY): Likewise.
8920 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8921 (SHM_STAT_ANY): Likewise.
8922 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8923 (SHM_STAT_ANY): Likewise.
8924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8925 (SHM_STAT_ANY): Likewise.
8926 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8927 (SHM_STAT_ANY): Likewise.
8929 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8930 (SEM_STAT_ANY): New macro.
8931 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8932 (SEM_STAT_ANY): Likewise.
8933 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8934 (SEM_STAT_ANY): Likewise.
8935 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8936 (SEM_STAT_ANY): Likewise.
8937 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8938 (SEM_STAT_ANY): Likewise.
8939 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8940 (SEM_STAT_ANY): Likewise.
8941 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8942 (SEM_STAT_ANY): Likewise.
8943 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8944 (SEM_STAT_ANY): Likewise.
8945 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8946 (SEM_STAT_ANY): Likewise.
8947 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8948 (SEM_STAT_ANY): Likewise.
8950 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8951 (MSG_STAT_ANY): New macro.
8952 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8953 (MSG_STAT_ANY): Likewise.
8954 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8955 (MSG_STAT_ANY): Likewise.
8956 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8957 (MSG_STAT_ANY): Likewise.
8958 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8959 (MSG_STAT_ANY): Likewise.
8960 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8961 (MSG_STAT_ANY): Likewise.
8962 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8963 (MSG_STAT_ANY): Likewise.
8964 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8965 (MSG_STAT_ANY): Likewise.
8966 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8967 (MSG_STAT_ANY): Likewise.
8968 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8969 (MSG_STAT_ANY): Likewise.
8971 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8972 (MAP_TYPE): Change value to 0x2b.
8974 2018-06-18 Florian Weimer <fweimer@redhat.com>
8977 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8978 socket with SOCK_CLOEXEC.
8980 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8983 * sysdeps/powerpc/powerpc64/le/Makefile
8984 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8985 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8986 (gnulib-tests): Also add $(f128-loader-link) for
8987 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8989 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8991 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8992 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8994 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8995 (sendfile64): New strong alias.
8996 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8997 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8998 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
8999 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9001 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9002 ___pthread_get_cleanup_stack.
9003 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9004 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9005 * mach/shortcut.awk: Make syscall stubs include
9006 <mach-shortcuts-hidden.h> and add hidden definition.
9007 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9008 (__mach_msg): Add hidden prototype.
9009 * mach/msg.c: Include <mach.h>.
9010 (__mach_msg): Add hidden definition.
9011 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9012 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9013 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9014 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9015 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9016 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9017 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9018 prototype and definition.
9019 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9020 hidden target for _hurd_self_sigstate.
9022 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9025 * stdlib/tst-strtod-nan-sign-main.c: New file.
9026 * stdlib/tst-strtod-nan-sign.c: Likewise.
9027 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9028 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9029 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9030 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9031 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9033 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9039 2018-06-14 Florian Weimer <fweimer@redhat.com>
9042 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9043 that the result stays within the ISO-8859-1 range.
9044 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9045 characters are defined in IBM273.
9047 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9049 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9050 __mach_task_self): Remove attribute_hidden.
9052 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9054 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9055 ignore -Wrestrict for one test.
9057 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9058 Szabolcs Nagy <szabolcs.nagy@arm.com>
9060 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9062 2018-06-14 Florian Weimer <fweimer@redhat.com>
9064 * scripts/update-abilist.sh: Accept empty list of files to patch.
9066 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9068 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9069 test-xfail-check-abi-libmachuser): Add.
9070 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9071 __libc_read and __libc_write to __read and __write.
9072 * sysdeps/hurd/include/hurd/port.h: New file.
9073 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9074 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9075 __thread_switch, __evc_wait): Move declarations to...
9076 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9078 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9079 use PLT to call _hurd_self_sigstate.
9081 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9084 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9085 MAX_EXP as overflowing.
9086 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9088 (round_str): Output also whether result overflows in each rounding
9090 * stdlib/tst-strtod-round-data: Add more tests.
9091 * stdlib/tst-strtod-round-data.h: Regenerated.
9092 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9093 (TEST): Handle extra arguments for overflow flags.
9094 (struct test_overflow): New type.
9095 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9096 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9097 (test_in_one_mode): Take argument with overflow information.
9098 (do_test): Update calls to test_in_one_mode.
9100 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9102 * elf/dl-load (_dl_dst_substitute): Correct comment.
9103 (_dl_dst_count): Likewise.
9105 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9106 lll_futex_timed_wait.
9108 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9111 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9113 * math/test-nan-const.c: New file.
9114 * math/Makefile (tests): Add test-nan-const.
9115 (CFLAGS-test-nan-const.c): New variable.
9117 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9119 * benchtests/scripts/compare_strings.py (process_results): Add
9120 funcs argument. Compare only functions which are selected.
9121 (main): Check if base function is among selected functions.
9122 Pass selected functions to process_results.
9123 (__main__): Add -f/--functions argument.
9125 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9126 Hongbo Zhang <hongbo.zhang@linaro.org>
9128 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9129 __memcpy_falkor for phecda core.
9130 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9131 __memmove_falkor for phecda core.
9132 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9133 __memset_falkor for phecda core.
9134 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9136 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9137 macro to identify phecda core.
9139 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9140 Andreas Schwab <schwab@suse.de>
9141 Dmitry V. Levin <ldv@altlinux.org>
9142 Florian Weimer <fweimer@redhat.com>
9149 * elf/dl-dst.h: Remove DL_DST_COUNT.
9150 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9151 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9152 (is_dst): Comment. Support ELF gABI.
9153 (_dl_dst_count): Comment. Simplify and count DSTs.
9154 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9155 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9158 2018-06-12 Zack Weinberg <zackw@panix.com>
9160 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9161 * sysdeps/unix/sysv/linux/dl-sysdep.c
9162 Include not-cancel.h. Use __close_nocancel instead of __close,
9163 __open64_nocancel instead of __open, __read_nocancel instead of
9164 __libc_read, and __write_nocancel instead of __libc_write.
9166 * csu/check_fds.c (check_one_fd)
9167 * sysdeps/posix/fdopendir.c (__fdopendir)
9168 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9169 instead of __fcntl and/or __libc_fcntl.
9171 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9172 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9173 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9174 Use __open64_nocancel instead of __open_nocancel.
9176 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9177 hidden_proto declarations to the end and issue them if either
9178 IS_IN(libc) or IS_IN(rtld).
9179 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9180 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9181 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9182 read_nocancel, waitpid_nocancel, write_nocancel.
9184 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9185 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9186 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9188 * nptl/pt-fcntl.c: New file.
9189 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9190 (libpthread-routines): Add pt-fcntl.
9191 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9192 (__libc_fcntl): Remove attribute_hidden.
9193 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9194 __fcntl_nocancel_adjusted, not fcntl_common.
9195 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9196 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9197 to fcntl_nocancel.c.
9198 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9201 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9203 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9204 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9205 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9206 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9207 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9208 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9209 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9210 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9211 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9212 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9213 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9214 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9215 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9216 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9217 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9218 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9219 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9220 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9221 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9222 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9224 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9225 libpthread-routines.
9226 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9229 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9230 __libc_read, and __write instead of __libc_write. Define
9231 __open64 in addition to __open.
9233 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9237 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9238 to _private_tm[3] and add __glibc_reserved2.
9239 Add _Static_assert of offset of __private_ss == 0x30.
9240 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9241 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9243 2018-06-12 Florian Weimer <fweimer@redhat.com>
9245 x86: Make strncmp usable from rtld.
9246 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9247 __strncmp_ia32 if in libc (and not in rtld).
9248 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9249 strncmp if not in libc (and not to __strncmp_sse2).
9251 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9254 * localedata/locales/gd_GB (mon): Rename to...
9256 (mon): Import from CLDR (genitive case).
9257 * localedata/locales/hsb_DE (mon): Rename to...
9259 (mon): Import from CLDR (genitive case).
9260 * localedata/locales/wa_BE (mon): Rename to...
9262 (mon): Add, fill with the proper genitive forms, but CLDR data
9263 is incomplete; completed according to the comments in this file.
9264 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9266 * localedata/locales/wa_BE (country_name): Reword
9267 "Beljike" -> "Beldjike".
9269 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9272 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9273 cases of non-finite arguments.
9274 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9276 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9279 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9281 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9284 * include/unistd.h (__execvpex): New prototype.
9285 * posix/Makefile (tests): Add tst-spawn4.
9286 (tests-internal): Add tst-spawn4-compat.
9287 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9288 * posix/tst-spawn4-compat.c: New file.
9289 * posix/tst-spawn4.c: Likewise.
9290 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9291 binaries as shell scripts.
9292 * sysdeps/posix/spawni.c (__spawni): Likewise.
9294 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9297 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9298 ($(all-built-dso:=.dynsym): New target.
9299 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9300 ($(objpfx)check-initfini.out): New target.
9301 (generated): Add check-initfini.out.
9302 * scripts/check-initfini.awk: New file.
9303 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9305 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9307 * sysdeps/arm/crti.S (_init): Mark as hidden.
9309 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9311 * sysdeps/i386/crti.S (_init): Mark as hidden.
9313 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9315 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9317 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9319 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9321 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9323 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9325 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9327 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9329 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9331 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9333 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9335 * sysdeps/sh/crti.S (_init): Mark as hidden.
9337 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9339 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9342 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9344 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9345 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9346 and TF redirection to KFtype and KF only when the default
9347 long double type is not the IEEE 128-bit floating point type.
9349 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9353 (HWCAP_USCAT): Likewise.
9354 (HWCAP_ILRCPC): Likewise.
9355 (HWCAP_FLAGM): Likewise.
9356 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9358 (_dl_aarch64_cap_flags): Add new flag names.
9360 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9361 (MAP_FIXED_NOREPLACE): New macro.
9362 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9363 (MAP_FIXED_NOREPLACE): Likewise.
9364 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9365 (MAP_FIXED_NOREPLACE): Likewise.
9366 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9367 (MAP_FIXED_NOREPLACE): Likewise.
9368 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9369 (MAP_FIXED_NOREPLACE): Likewise.
9370 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9371 (MAP_FIXED_NOREPLACE): Likewise.
9372 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9373 (MAP_FIXED_NOREPLACE): Likewise.
9374 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9375 (MAP_FIXED_NOREPLACE): Likewise.
9376 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9377 (MAP_FIXED_NOREPLACE): Likewise.
9378 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9379 (MAP_FIXED_NOREPLACE): Likewise.
9380 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9381 (MAP_FIXED_NOREPLACE): Likewise.
9382 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9383 (MAP_FIXED_NOREPLACE): Likewise.
9384 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9385 (MAP_FIXED_NOREPLACE): Likewise.
9386 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9387 (MAP_FIXED_NOREPLACE): Likewise.
9388 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9389 (MAP_FIXED_NOREPLACE): Likewise.
9391 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9394 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9396 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9399 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9401 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9403 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9405 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9407 * benchtests/scripts/compare_string.py: (process_results) Catch
9408 exception in non-existent base_func and catch exception in
9409 non-existent attribute.
9410 (parse_file) Catch exception if input file does not exist.
9412 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9414 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9415 options to avoid diff calculation and omit header, respectively.
9416 (main): process --no-diff and --no-header
9418 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9419 H.J. Lu <hongjiu.lu@intel.com>
9421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9422 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9425 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9426 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9428 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9429 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9430 AVX unaligned load is fast and vzeroupper is preferred.
9431 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9432 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9433 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9434 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9435 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9436 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9437 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9438 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9439 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9440 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9443 2018-06-01 Florian Weimer <fweimer@redhat.com>
9445 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9446 configuring with --disable-multi-arch, building with
9447 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9450 2018-06-01 Florian Weimer <fweimer@redhat.com>
9452 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9453 results from building with “-march=x86-64 -mtune=generic
9454 -mfpmath=sse” and running on a Haswell-era CPU.
9456 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9459 * soft-fp/sqrttf2.c: Remove file.
9460 * soft-fp/sqrtdf2.c: Move to ....
9461 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9463 (__sqrtdf2): Make conditional on
9464 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9466 * soft-fp/sqrtsf2.c: Move to ....
9467 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9469 (__sqrtsf2): Make conditional on
9470 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9472 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9473 (gcc-double-routines): Remove sqrtdf2.
9474 (gcc-quad-routines): Remove sqrttf2.
9475 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9476 Do not filter out sqrtsf2 and sqrtdf2.
9477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9478 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9480 2018-06-01 Florian Weimer <fweimer@redhat.com>
9482 * sysdeps/generic/libcidn.abilist: Remove file.
9484 2018-06-01 Florian Weimer <fweimer@redhat.com>
9487 * libio/strfile.h (struct _IO_str_fields): Rename members to
9488 discourage their use and add comment.
9489 (_IO_STR_DYNAMIC): Remove unused macro.
9490 * libio/strops.c (_IO_str_init_static_internal): Do not use
9491 callback pointers. Call malloc and free.
9492 (_IO_str_overflow): Do not use callback pointers. Call malloc
9494 (enlarge_userbuf): Likewise.
9495 (_IO_str_finish): Call free.
9496 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9497 _allocate_buffer_unused.
9498 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9500 (enlarge_userbuf): Likewise.
9501 (_IO_wstr_finish): Call free.
9502 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9503 _allocate_buffer_unused, _free_buffer_unused.
9504 * libio/memstream.c (__open_memstream): Likewise.
9505 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9506 * libio/wmemstream.c (open_wmemstream): Likewise.
9508 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9510 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9513 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9515 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9516 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9517 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9519 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9521 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9523 2018-05-29 Florian Weimer <fweimer@redhat.com>
9525 * support/Makefile (libsupport-routines): Add
9526 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9527 xpthread_barrierattr_setpshared.
9528 * support/xpthread_barrierattr_destroy.c: New file.
9529 * support/xpthread_barrierattr_init.c: Likewise.
9530 * support/xpthread_barrierattr_setpshared.c: Likewise.
9532 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9535 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9536 _r_debug and update DT_DEBUG for debugger.
9538 2018-05-29 Florian Weimer <fweimer@redhat.com>
9540 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9541 (tst-strtod5i.out): Likewise.
9543 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9545 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9546 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9547 (sparc64-quad-routines): New variable. Moved from ....
9548 [$(subdir) = soft-fp] (sysdep_routines): Add
9549 $(sparc64-quad-routines). Moved from ....
9550 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9551 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9552 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9554 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9555 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9556 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9557 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9558 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9559 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9560 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9561 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9562 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9563 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9564 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9565 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9566 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9567 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9568 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9569 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9570 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9571 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9572 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9573 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9574 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9575 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9576 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9577 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9578 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9579 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9580 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9581 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9582 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9583 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9584 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9585 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9586 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9587 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9588 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9589 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9590 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9591 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9592 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9593 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9594 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9595 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9596 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9597 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9598 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9599 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9600 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9601 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9602 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9603 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9604 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9605 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9606 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9607 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9608 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9609 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9611 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9613 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9614 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9615 (sparc32-quad-routines): New variable. Moved from ....
9616 [$(subdir) = soft-fp] (sysdep_routines): Add
9617 $(sparc32-quad-routines). Moved from ....
9618 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9619 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9621 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9622 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9623 * sysdeps/sparc/sparc32/q_add.c: ... here.
9624 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9625 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9626 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9627 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9628 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9629 * sysdeps/sparc/sparc32/q_div.c: ... here.
9630 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9631 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9632 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9633 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9634 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9635 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9636 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9637 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9638 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9639 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9640 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9641 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9642 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9643 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9644 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9645 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9646 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9647 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9648 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9649 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9650 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9651 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9652 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9653 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9654 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9655 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9656 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9657 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9658 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9659 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9660 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9661 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9662 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9663 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9664 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9665 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9666 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9667 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9668 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9669 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9670 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9671 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9672 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9673 * sysdeps/sparc/sparc32/q_util.c: ... here.
9674 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9675 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9676 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9677 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9679 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9680 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9682 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9683 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9684 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9685 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9687 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9693 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9694 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9696 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9699 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9702 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9704 * sysdeps/sh/Implies: Remove sh/soft-fp.
9705 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9706 * sysdeps/sh/sfp-machine.h: ... here.
9708 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9710 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9711 (__mempcpy_erms): Skip zero length.
9712 (__memmove_erms): Likewise.
9713 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9714 (__memset_erms): Likewise.
9716 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9718 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9719 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9720 Add functions moved from ....
9721 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9722 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9723 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9725 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9726 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9727 * sysdeps/alpha/e_sqrtl.c: ... here.
9728 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9729 * sysdeps/alpha/local-soft-fp.h: ... here.
9730 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9731 * sysdeps/alpha/ots_add.c: ... here.
9732 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9733 * sysdeps/alpha/ots_cmp.c: ... here.
9734 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9735 * sysdeps/alpha/ots_cmpe.c: ... here.
9736 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9737 * sysdeps/alpha/ots_cvtqux.c: ... here.
9738 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9739 * sysdeps/alpha/ots_cvtqx.c: ... here.
9740 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9741 * sysdeps/alpha/ots_cvttx.c: ... here.
9742 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9743 * sysdeps/alpha/ots_cvtxq.c: ... here.
9744 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9745 * sysdeps/alpha/ots_cvtxt.c: ... here.
9746 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9747 * sysdeps/alpha/ots_div.c: ... here.
9748 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9749 * sysdeps/alpha/ots_mul.c: ... here.
9750 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9751 * sysdeps/alpha/ots_nintxq.c: ... here.
9752 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9753 * sysdeps/alpha/ots_sub.c: ... here.
9754 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9755 * sysdeps/alpha/sfp-machine.h: ... here.
9757 2018-05-23 Florian Weimer <fweimer@redhat.com>
9765 Switch to extern IDNA implementation (libidn2).
9766 * libidn: Remove subdirectory.
9767 * LICENSES: Do not mention licensing conditions for the removed
9769 * config.h.in (HAVE_LIBIDN): Remove.
9770 * include/dlfcn.h (__libc_dlopen): Update comment.
9771 * include/idna.h: Remove file.
9772 * inet/Makefile (routines): Add idna.
9773 (tests-static, tests-internal): Add tst-idna_name_classify.
9774 (LOCALES): Generate locales for tests.
9775 (tst-idna_name_classify.out): Depend on generated locales.
9776 * inet/idna_name_classify.c: New file.
9777 * inet/tst-idna_name_classify.c: Likewise.
9778 * inet/net-internal.h (__idna_to_dns_encoding)
9779 (__idna_from_dns_encoding): Declare.
9780 * inet/net-internal.h (enum idna_name_classification): Define.
9781 (__idna_name_classify): Declare.
9782 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9783 __idna_from_dns_encoding.
9784 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9785 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9786 name as a fallback in case of encoding errors.
9787 (getnameinfo): Use DEPRECATED_NI_IDN.
9788 * inet/idna.c: New file.
9789 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9790 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9791 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9792 (modules-names): Add tst-no-libidn2.
9793 (extra-test-objs): Add tst-no-libidn2.os.
9794 (LDFLAGS-tst-no-libidn2.so): Set soname.
9795 (LOCALES): Set, and generate locales.
9796 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9797 (tst-resolv-ai_idn-latin1): Likewise.
9798 (tst-resolv-ai_idn-nolibidn2): Likewise.
9799 (tst-resolv-ai_idn.out): Depend on locales.
9800 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9801 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9803 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9804 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9805 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9806 * resolv/tst-resolv-ai_idn.c: New file.
9807 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9808 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9809 * resolv/tst-no-libidn2.c: Likewise.
9810 * support/support_format_addrinfo.c (format_ai_flags): Do not
9811 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9812 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9813 (gaih_inet): Call __idna_to_dns_encoding and
9814 __idna_from_dns_encoding, and use the original (punycode) name if
9815 __idna_from_dns_encoding fails due to an encoding error.
9816 (getaddrinfo): Use DEPRECATED_AI_IDN.
9817 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9818 * sysdeps/unix/inet/configure: Remove file.
9819 * sysdeps/unix/inet/configure.ac: Likewise.
9821 2018-05-23 Florian Weimer <fweimer@redhat.com>
9823 Implement allocate_once.
9824 * include/allocate_once.h: New file.
9825 * misc/allocate_once.c: Likewise.
9826 * misc/tst-allocate_once.c: Likewise.
9827 * misc/Makefile (routines): Add allocate_once.
9828 (tests-internal): Add tst-allocate_once.
9829 (generated): Add tst-allocate_once.mtrace,
9830 tst-allocate_once-mem.out.
9831 (tests-special): Add tst-allocate_once-mem.out.
9832 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9833 (tst-allocate_once-mem.out): Call mtrace.
9834 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9836 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9839 * string/test-memcpy.c (do_test1): New function.
9840 (test_main): Call it.
9842 2018-05-23 Andreas Schwab <schwab@suse.de>
9846 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9847 (L(preloop_large)): Save initial destination pointer in %r11 and
9848 use it instead of %rax after the loop.
9849 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9851 2018-05-22 Joseph Myers <joseph@codesourcery.com>
9853 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9854 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9855 -I../soft-fp. Moved from ....
9856 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9857 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9858 * sysdeps/aarch64/e_sqrtl.c: ... here.
9859 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9860 * sysdeps/aarch64/sfp-machine.h: ... here.
9862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9863 -Wmaybe-uninitialized around access to fq[0].
9864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9868 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9869 aliases for non-libc case of versioned symbols.
9870 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9871 (llseek): Define as compat symbol if
9872 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9874 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9875 Make into a compat symbol, disabled for minimum symbol version
9876 GLIBC_2.28 and later.
9877 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9879 2018-05-22 Florian Weimer <fweimer@redhat.com>
9881 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9882 not add -mpreferred-stack-boundary=4.
9883 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9884 (stack-align-test-flags): Likewise.
9885 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9887 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9888 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9889 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9890 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9891 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9892 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9893 (CFLAGS-tst-align2.c): Likewise.
9895 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9897 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9898 (index_arch_Prefer_FSRM): Likewise.
9899 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9900 Also check Prefer_FSRM.
9901 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9902 Also return OPTIMIZE (erms) for Prefer_FSRM.
9904 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9906 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9907 (index_cpu_FSRM): Likewise.
9908 (reg_FSRM): Likewise.
9910 2018-05-18 Joseph Myers <joseph@codesourcery.com>
9912 * math/gen-tgmath-tests.py: Import sys.
9913 (Tests.__init__): Initialize macros_seen.
9914 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9915 if requested to do so for this macro.
9916 (Tests.add_all_tests): Take argument for macro for which to
9918 (Tests.check_macro_list): New function.
9919 (main): Handle check-list argument and argument specifying macro
9920 for which to generate tests.
9921 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9922 [PYTHON] (tgmath3-macro-tests): Likewise.
9923 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9924 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9926 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9927 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9929 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9931 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9933 [PYTHON] (tests-special): Add
9934 $(objpfx)test-tgmath3-macro-list.out.
9935 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9937 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9938 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9942 * time/tzset.c (SECSPERDAY): Cast to time_t.
9943 * time/tst-y2039.c: New file.
9944 * time/Makefile (tests): Add tst-y2039.
9946 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9948 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9949 (PREFETCH_ONE_SET): Remove duplicate line.
9951 2018-05-17 Florian Weimer <fweimer@redhat.com>
9953 * sysdeps/generic/math-type-macros-double.h: Include
9954 <math-nan-payload-double.h> after <libm-alias-double.h>.
9955 * sysdeps/generic/math-type-macros-float.h: Include
9956 <math-nan-payload-float.h> after <libm-alias-float.h>.
9957 * sysdeps/generic/math-type-macros-float128.h: Include
9958 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9959 * sysdeps/generic/math-type-macros-ldouble.h: Include
9960 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9962 2018-05-17 Andreas Schwab <schwab@suse.de>
9964 * resolv/res_send.c (__res_context_send): Don't set errno when
9965 returing error after malloc failure.
9967 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9969 * nptl/allocatestack.c (allocate_stack): Remove the
9970 !__ASSUME_PRIVATE_FUTEX paths.
9971 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9972 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9974 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9975 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9976 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9977 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9978 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9979 !__ASSUME_PRIVATE_FUTEX path.
9980 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9981 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9982 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9983 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9984 !__ASSUME_PRIVATE_FUTEX macros.
9985 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9986 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9987 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9988 * sysdeps/unix/sysv/linux/kernel-features.h
9989 (__ASSUME_PRIVATE_FUTEX): Removed.
9991 2018-05-17 Joseph Myers <joseph@codesourcery.com>
9993 * math/Makefile (libm-narrow-fns): Add div.
9994 (libm-test-funcs-narrow): Likewise.
9995 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9996 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9997 * math/gen-auto-libm-tests.c (test_functions): Add div.
9998 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9999 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10000 (NARROW_DIV_TRIVIAL): Likewise.
10001 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10003 (__ddivl): Likewise.
10004 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10006 (CFLAGS-nldbl-ddiv.c): New variable.
10007 (CFLAGS-nldbl-fdiv.c): Likewise.
10008 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10012 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10013 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10014 * math/auto-libm-test-in: Add tests of div.
10015 * math/auto-libm-test-out-narrow-div: New generated file.
10016 * math/libm-test-narrow-div.inc: New file.
10017 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10020 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10021 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10022 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10025 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10031 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10032 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10033 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10034 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10036 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10038 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10040 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10041 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10042 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10043 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10044 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10045 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10046 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10047 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10048 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10053 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10054 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10055 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10056 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10057 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10059 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10060 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10062 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10065 * nscd/nscd-client.h (sendfileall): Remove prototype.
10066 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10067 (handle_request): Use writeall instead of sendfileall.
10068 * nscd/aicache.c (addhstaiX): Likewise.
10069 * nscd/grpcache.c (cache_addgr): Likewise.
10070 * nscd/hstcache.c (cache_addhst): Likewise.
10071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10072 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10073 * nscd/pwdcache.c (cache_addpw): Likewise.
10074 * nscd/servicescache.c (cache_addserv): Likewise.
10075 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10076 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10080 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10082 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10083 Include <string/strncat.c>.
10084 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10086 (__GI___strncat): New hidden alias.
10088 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10090 * sysdeps/mips/mips32/libm-test-ulps: Update.
10091 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10093 2018-05-16 Florian Weimer <fweimer@redhat.com>
10095 * support/Makefile (libsupport-routines): Add support_quote_blob,
10096 support_test_compare_blob.
10097 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10098 * support/check.h (TEST_COMPARE_BLOB): Define.
10099 (support_test_compare_blob): Declare.
10100 * support/support.h (support_quote_blob): Declare.
10101 * support/support_quote_blob.c: New file.
10102 * support/support_test_compare_blob.c: Likewise.
10103 * support/tst-support_quote_blob.c: Likewise.
10104 * support/tst-test_compare_blob.c: Likewise.
10106 2018-05-16 Florian Weimer <fweimer@redhat.com>
10108 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10109 of <strtod_nan_double.h>.
10110 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10111 instead of SET_MANTISSA.
10112 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10113 of include <strtod_nan_float.h>.
10114 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10115 instead of <strtod_nan_ldouble.h>.
10116 * stdlib/strtod_nan_double.h: Move to ...
10117 * sysdeps/generic/math-nan-payload-double.h: ... here.
10118 (FLOAT): Remove definition.
10119 (SET_MANTISSA): Rename to ...
10120 (SET_NAN_PAYLOAD): ... this.
10121 * stdlib/strtod_nan_float.h: Move to ...
10122 * sysdeps/generic/math-nan-payload-float.h: ... here.
10123 (FLOAT): Remove definition.
10124 (SET_MANTISSA): Rename to ...
10125 (SET_NAN_PAYLOAD): ... this.
10126 * sysdeps/generic/math-type-macros-double.h: Include
10127 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10128 instead of <math-svid-compat.h>.
10129 * sysdeps/generic/math-type-macros-float.h: Include
10130 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10131 instead of <math-svid-compat.h>.
10132 * sysdeps/generic/math-type-macros-float128.h: Include
10133 <math-nan-payload-float128.h>.
10134 * sysdeps/generic/math-type-macros-ldouble.h: Include
10135 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10136 instead of <math-svid-compat.h>.
10137 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10138 check for definition.
10139 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10140 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10141 Include <ieee754_float128.h>.
10142 (FLOAT): Remove definition.
10143 (SET_MANTISSA): Rename to ...
10144 (SET_NAN_PAYLOAD): ... this.
10145 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10146 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10147 Do not include <float128_private.h>.
10148 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10150 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10151 (FLOAT): Remove definition.
10152 (SET_MANTISSA): Rename to ...
10153 (SET_NAN_PAYLOAD): ... this.
10154 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10155 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10156 (FLOAT): Remove definition.
10157 (SET_MANTISSA): Rename to ...
10158 (SET_NAN_PAYLOAD): ... this.
10159 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10160 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10161 (FLOAT): Remove definition.
10162 (SET_MANTISSA): Rename to ...
10163 (SET_NAN_PAYLOAD): ... this.
10164 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10165 of "../stdlib/strtod_nan_double.h".
10166 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10167 of "../stdlib/strtod_nan_float.h".
10168 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10169 instead of "../stdlib/strtod_nan_ldouble.h".
10170 * manual/arith.texi (Parsing of Floats): Adjust comment.
10172 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10174 * math/Makefile (libm-narrow-fns): Add mul.
10175 (libm-test-funcs-narrow): Likewise.
10176 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10177 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10178 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10179 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10180 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10181 (NARROW_MUL_TRIVIAL): Likewise.
10182 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10183 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10185 (__dmull): Likewise.
10186 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10188 (CFLAGS-nldbl-dmul.c): New variable.
10189 (CFLAGS-nldbl-fmul.c): Likewise.
10190 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10192 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10194 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10195 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10196 * math/auto-libm-test-in: Add tests of mul.
10197 * math/auto-libm-test-out-narrow-mul: New generated file.
10198 * math/libm-test-narrow-mul.inc: New file.
10199 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10202 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10203 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10204 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10210 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10211 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10212 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10213 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10214 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10215 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10216 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10218 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10219 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10221 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10222 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10223 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10224 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10225 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10226 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10228 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10229 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10230 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10235 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10236 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10238 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10244 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10246 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10247 with *%eax in call.
10249 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10251 * sysdeps/i386/ldsodefs.h: Removed.
10252 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10253 * sysdeps/x86/ldsodefs.h: This.
10254 (La_i86_regs): New.
10255 (La_i86_retval): Likewise.
10256 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10257 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10259 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10261 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10264 2018-05-13 Alan Modra <amodra@gmail.com>
10266 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10267 R_PARISC_TLS_DTPOFF32 reloc addend.
10269 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10271 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10272 * math/math.h: Restrict the prototype definition for the functions
10273 issignaling(_Float128) and iszero(_Float128); and template
10274 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10275 __HAVE_FLOAT128_UNLIKE_LDBL.
10276 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10277 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10278 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10279 __f128() constants; define the type _Float128 as long double;
10280 and reuse long double in __CFLOAT128.
10282 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10284 * sysdeps/generic/math_private.h: Do not include
10286 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10288 * math/fromfp.h: Include <math-barriers.h>.
10289 * math/math-narrow.h: Likewise.
10290 * math/s_nextafter.c: Likewise.
10291 * math/s_nexttowardf.c: Likewise.
10292 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10293 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10294 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10295 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10296 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10297 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10298 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10311 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10313 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10314 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10315 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10316 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10317 * sysdeps/ieee754/k_standardl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10335 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10338 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10339 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10341 2018-05-11 Florian Weimer <fweimer@redhat.com>
10343 Use 64-bit epoch values in the time zone file parser.
10344 * include/time.h (internal_time_t): Define.
10345 (__tzfile_compute): Use it.
10346 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10348 (transitions): Switch to internal_time_t.
10349 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10351 (__tzfile_compute): Use internal_time_t for timer argument. Check
10352 for truncation before calling __offtime.
10354 2018-05-11 Florian Weimer <fweimer@redhat.com>
10357 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10358 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10360 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10361 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10362 export without --enable-obsolete-rpc.
10363 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10364 symbol. This should not have been exported, ever.
10366 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10369 * localedata/locales/gd_GB (abmon): Fix typo in May:
10370 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10372 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10374 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10375 Use multiple registers to copy data in loop tail.
10377 * sysdeps/aarch64/multiarch/memmove_falkor.S
10378 (__memmove_falkor): Use multiple registers to move data in
10381 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10383 * math/math-underflow.h: New file.
10384 * sysdeps/generic/math_private.h: Do not include <float.h>.
10385 (fabs_tg): Remove macro. Moved to math-underflow.h.
10386 (min_of_type_f): Likewise.
10387 (min_of_type_): Likewise.
10388 (min_of_type_l): Likewise.
10389 (min_of_type_f128): Likewise.
10390 (min_of_type): Likewise.
10391 (math_check_force_underflow): Likewise.
10392 (math_check_force_underflow_nonneg): Likewise.
10393 (math_check_force_underflow_complex): Likewise.
10394 * math/e_exp2_template.c: Include <math-underflow.h>.
10395 * math/k_casinh_template.c: Likewise.
10396 * math/s_catan_template.c: Likewise.
10397 * math/s_catanh_template.c: Likewise.
10398 * math/s_ccosh_template.c: Likewise.
10399 * math/s_cexp_template.c: Likewise.
10400 * math/s_clog10_template.c: Likewise.
10401 * math/s_clog_template.c: Likewise.
10402 * math/s_csin_template.c: Likewise.
10403 * math/s_csinh_template.c: Likewise.
10404 * math/s_csqrt_template.c: Likewise.
10405 * math/s_ctan_template.c: Likewise.
10406 * math/s_ctanh_template.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10427 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10430 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10432 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10433 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10475 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10484 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10485 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10487 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10492 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10494 * sysdeps/generic/math-barriers.h: New file.
10495 * sysdeps/generic/math_private.h [!math_opt_barrier]
10496 (math_opt_barrier): Move to math-barriers.h.
10497 [!math_opt_barrier] (math_force_eval): Likewise.
10498 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10499 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10501 (math_force_eval): Likewise.
10502 * sysdeps/alpha/fpu/math-barriers.h: New file.
10503 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10505 (math_force_eval): Likewise.
10506 * sysdeps/x86/fpu/math-barriers.h: New file.
10507 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10509 (math_force_eval): Likewise.
10510 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10511 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10512 multiple-include guard for rename.
10513 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10514 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10516 (math_force_eval): Likewise.
10518 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10522 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10524 * stdlib/Makefile (test-bz22786): New test.
10525 * stdlib/test-bz22786.c: New test.
10527 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10529 * include/math-narrow-eval.h: New file. Contents moved from ....
10530 * sysdeps/generic/math_private.h: ... here.
10531 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10532 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10533 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10534 * stdlib/strtod_l.c: Likewise.
10535 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10536 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10537 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10550 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10551 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10552 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10553 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10554 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10559 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10560 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10561 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10562 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10563 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10565 2018-05-08 Andreas Schwab <schwab@suse.de>
10567 * sysdeps/nptl/internaltypes.h: Fix comment.
10569 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10571 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10572 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10575 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10577 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10578 of I into loop header.
10579 * benchtests/bench-memmove-walk.c
10580 (test_main): Likewise.
10582 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10585 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10586 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10588 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10591 * elf/dl-load.c (open_verify): Fix stack overflow.
10592 * elf/Makefile (tst-big-note): New test.
10593 * elf/tst-big-note-lib.S: New.
10594 * elf/tst-big-note.c: New.
10596 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10598 * scripts/abilist.awk: Ignore absolute symbols.
10599 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10600 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10601 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10602 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10603 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10604 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10605 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10606 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10607 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10608 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10609 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10610 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10611 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10622 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10623 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10624 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10625 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10626 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10627 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10629 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10640 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10642 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10668 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10671 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10672 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10673 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10674 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10675 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10687 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10688 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10692 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10706 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10722 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10723 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10725 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10734 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10736 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10737 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10739 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10743 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10744 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10752 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10755 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10765 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10769 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10770 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10771 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10772 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10775 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10776 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10778 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10780 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10781 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10842 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10843 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10845 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10846 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10847 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10848 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10849 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10850 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10851 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10852 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10853 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10854 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10860 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10863 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10865 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10866 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10867 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10868 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10869 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10870 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10871 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10873 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10874 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10876 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10877 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10880 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10881 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10882 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10886 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10913 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10930 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10933 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10934 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10935 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10938 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10940 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10942 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10943 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10944 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10946 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10947 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10952 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10955 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10956 Use atomic_load_acquire to load __tid.
10958 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10960 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10961 Restore the pointer into %rdx, after syscall and use %rdx,
10962 instead of %rsi, to restore context.
10964 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10966 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10967 Pop the pointer into %rdx after syscall and use %rdx, instead
10968 of %rsi, to restore context.
10970 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10972 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10973 handlers after setjmp.
10974 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10976 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10977 <libc-pointer-arith.h>.
10978 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10979 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10980 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10981 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10982 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10983 * sysdeps/x86/__longjmp_cancel.S: New file.
10984 * sysdeps/x86/longjmp.c: Likewise.
10985 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10987 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10989 * NEWS: Add ustat.h deprecation entry.
10990 * bits/ustat.h: Remove file.
10991 * misc/sys/ustat.h: Likewise.
10992 * misc/ustat.h: Likewise.
10993 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10994 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10995 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10996 compatibility mode.
10997 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10998 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10999 generic Linux implementation.
11001 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11003 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11004 * math/w_expl_compat.c: Likewise.
11005 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11007 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11009 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11011 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11013 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11014 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11015 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11017 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11020 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11021 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11024 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11026 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11028 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11029 * math/w_asin_template.c: Likewise.
11030 * math/w_atanh_template.c: Likewise.
11032 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11034 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11035 to powerpc/powerpc64/be for big-endian.
11036 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11039 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11040 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11041 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11042 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11043 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11044 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11045 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11046 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11047 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11048 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11049 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11050 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11051 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11052 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11053 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11054 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11055 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11056 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11057 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11058 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11059 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11060 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11061 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11062 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11063 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11064 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11065 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11066 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11067 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11068 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11069 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11070 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11072 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11073 adjusted to imply powerpc64 and older processors on powerpc64/be.
11074 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11075 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11076 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11077 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11078 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11079 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11080 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11081 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11082 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11083 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11084 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11085 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11086 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11087 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11088 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11089 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11090 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11091 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11092 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11093 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11094 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11095 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11096 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11097 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11098 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11099 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11100 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11101 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11102 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11103 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11104 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11106 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11107 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11108 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11109 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11111 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11112 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11113 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11114 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11116 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11117 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11118 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11119 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11120 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11121 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11122 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11123 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11124 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11125 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11126 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11128 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11129 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11130 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11131 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11132 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11133 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11134 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11135 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11136 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11137 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11138 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11140 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11141 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11142 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11143 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11144 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11145 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11146 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11147 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11148 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11149 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11150 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11151 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11153 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11154 and adjusted to imply olders processors.
11155 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11156 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11157 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11158 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11159 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11160 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11161 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11162 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11163 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11164 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11165 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11184 powerpc64 and adjusted.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11190 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11192 * sysdeps/tile: Remove.
11193 * sysdeps/unix/sysv/linux/tile: Likewise.
11194 * README (tilegx-*-linux-gnu): Remove from list of supported
11196 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11197 contribution of support for generic Linux kernel syscall
11199 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11200 tilegx configurations.
11201 (Config.install_linux_headers): Do not handle tile.
11202 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11204 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11205 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11206 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11207 conditional undefine and redefine.
11208 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11210 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11211 conditional undefine and redefine.
11213 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11215 * signal/tst-sigaction.c: New file to test BZ #23069.
11216 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11218 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11221 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11222 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11223 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11224 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11226 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11228 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11229 _DIRENT_MATCHES_DIRENT64 is not defined.
11230 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11231 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11233 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11234 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11236 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11238 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11239 version to GCC 8 branch.
11241 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11243 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11244 (check_no_hidden): Use type of original function when declaring
11247 * sysdeps/unix/sysv/linux/sys/ptrace.h
11248 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11249 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11250 (struct __ptrace_seccomp_metadata): New type.
11251 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11252 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11253 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11254 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11255 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11256 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11257 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11258 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11260 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11262 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11263 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11264 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11265 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11266 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11268 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11270 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11272 * dirent/versionsort.c (versionsort): Likewise.
11273 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11274 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11275 * dirent/versionsort64.c (versionsort64): Likewise.
11276 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11277 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11278 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11279 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11280 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11281 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11282 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11283 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11284 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11285 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11288 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11291 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11293 * elf/elf.h (NT_PPC_PKEY): New macro.
11295 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11298 * localedata/locales/hr_HR: fix thousands_sep and
11301 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11303 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11304 (XTABS): Define to TAB3.
11306 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11308 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11310 * dirent/scandir-tail-common.c: New file.
11311 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11312 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11313 * dirent/scandir.c: Use scandir-tail-common.c.
11314 * dirent/scandirat.c: Likewise.
11315 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11316 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11317 if _DIRENT_MATCHES_DIRENT64 is defined.
11318 * dirent/scandirat64.c (scandirat64): Likewise.
11319 * include/dirent.h (__scandir_tail): Only define iff
11320 _DIRENT_MATCHES_DIRENT64 is not defined.
11321 (__scandir64_tail): Define regardless.
11322 (__scandirat, scandirat64): Remove libc_hidden_proto.
11323 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11324 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11327 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11329 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11331 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11333 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11335 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11337 (_dl_aarch64_cap_flags): Add asimdfhm.
11339 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11341 * sysdeps/nios2/libm-test-ulps: Update.
11343 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11345 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11346 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11348 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11350 (_DIRENT_MATCHES_DIRENT64): Undef
11351 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11352 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11353 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11354 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11355 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11356 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11357 use getdents64 syscalls as base.
11358 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11359 symbol if required.
11360 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11362 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11363 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11365 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11367 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11369 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11370 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11372 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11374 * scripts/test_printers_common.py (init_test): Disable lock elision.
11376 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11378 * math/test-tgmath.c (count_double, count_float,
11379 count_ldouble, count_cdouble, count_cfloat,
11380 count_cldouble): Use volatile int.
11382 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11384 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11385 (conformtest-xfail-conds): Add i386-gnu.
11386 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11388 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11389 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11390 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11391 msqid_ds.msg_lrpid): Likewise.
11392 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11394 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11395 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11396 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11397 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11399 (struct statvfs64): Likewise.
11400 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11402 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11403 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11404 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11405 instead of wait_queue.
11406 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11407 instead of vm_area_struct.
11408 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11409 struct sched_param definition to it.
11410 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11411 * bits/types/struct_sched_param.h: New file.
11412 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11413 <bits/types/struct_sched_param.h> instead of <sched.h>.
11414 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11415 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11416 generic version but include <bits/pthreadtypes.h> to make struct
11417 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11418 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11420 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11421 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11422 [__USE_XOPEN] (OFDEL): New macro.
11423 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11424 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11425 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11427 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11428 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11429 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11431 * sysdeps/i386/sys/ucontext.h: Likewise.
11432 * sysdeps/m68k/sys/ucontext.h: Likewise.
11433 * sysdeps/mips/sys/ucontext.h: Likewise.
11434 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11435 * sysdeps/mach/hurd/i386/Makefile
11436 (test-xfail-POSIX/fcntl.h/conform): Add.
11437 (test-xfail-POSIX/signal.h/conform): Add.
11438 (test-xfail-POSIX/semaphore.h/conform): Add.
11439 (test-xfail-POSIX/regex.h/conform): Add.
11440 (test-xfail-POSIX/aio.h/conform): Add.
11441 (test-xfail-POSIX/mqueue.h/conform): Add.
11442 (test-xfail-POSIX/sys/types.h/conform): Add.
11443 (test-xfail-UNIX98/fcntl.h/conform): Add.
11444 (test-xfail-UNIX98/netdb.h/conform): Add.
11445 (test-xfail-UNIX98/signal.h/conform): Add.
11446 (test-xfail-UNIX98/semaphore.h/conform): Add.
11447 (test-xfail-UNIX98/regex.h/conform): Add.
11448 (test-xfail-UNIX98/aio.h/conform): Add.
11449 (test-xfail-UNIX98/ftw.h/conform): Add.
11450 (test-xfail-UNIX98/mqueue.h/conform): Add.
11451 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11452 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11453 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11454 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11455 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11456 (test-xfail-UNIX98/sys/types.h/conform): Add.
11457 (test-xfail-UNIX98/stdlib.h/conform): Add.
11458 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11459 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11460 (test-xfail-POSIX2008/netdb.h/conform): Add.
11461 (test-xfail-POSIX2008/signal.h/conform): Add.
11462 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11463 (test-xfail-POSIX2008/regex.h/conform): Add.
11464 (test-xfail-POSIX2008/aio.h/conform): Add.
11465 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11466 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11467 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11468 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11469 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11470 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11471 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11472 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11473 (test-xfail-XOPEN2K/signal.h/conform): Add.
11474 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11475 (test-xfail-XOPEN2K/regex.h/conform): Add.
11476 (test-xfail-XOPEN2K/aio.h/conform): Add.
11477 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11478 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11479 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11480 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11481 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11482 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11483 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11484 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11485 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11486 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11487 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11488 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11489 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11490 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11491 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11492 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11493 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11494 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11495 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11496 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11497 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11498 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11499 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11500 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11501 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11502 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11503 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11505 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11506 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11508 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11510 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11511 --enable-obsolete for powerpc-linux-gnuspe.
11513 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11515 * conform/data/sys/un.h-data: Allow sun_ prefix.
11516 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11518 * sysdeps/mach/include/mach.h: Likewise.
11519 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11520 * sysdeps/mach/include/mach_error.h: Likewise.
11522 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11524 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11525 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11526 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11527 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11529 2018-04-16 Andreas Schwab <schwab@suse.de>
11532 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11534 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11536 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11537 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11539 2018-04-12 DJ Delorie <dj@redhat.com>
11541 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11544 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11546 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11547 (struct kernel_sigaction): Use the same definition on 31bit as is used
11550 2018-04-09 Florian Weimer <fweimer@redhat.com>
11553 * resolv/res_send.c (send_dg): Use designated initializers instead
11554 of assignment to zero-initialize other fields of struct mmsghdr.
11556 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11558 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11559 __READDIR_ALIAS): Undefine after usage.
11560 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11561 __READDIR_R_ALIAS): Likewise.
11562 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11563 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11564 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11565 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11567 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11568 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11569 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11570 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11571 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11573 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11574 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11575 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11576 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11577 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11578 * sysdeps/unix/sysv/linux/readdir.c: New file.
11579 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11580 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11581 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11583 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11585 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11587 * manual/charset.texi (Converting a Character): Fix typo.
11589 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11593 * sysdeps/arm/libm-test-ulps: Update.
11595 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11596 as base implementation.
11597 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11598 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11600 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11601 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11602 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11603 remove unrequired definitions and update comments.
11604 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11605 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11606 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11607 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11608 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11609 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11610 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11611 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11612 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11613 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11614 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11615 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11616 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11617 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11618 and RESET_SA_RESTORER hooks.
11620 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11622 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11624 2018-04-05 Florian Weimer <fweimer@redhat.com>
11626 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11627 integer overflow, memory leak on error, and indeterminate errno
11628 value. Add a null wide character to terminate the result string.
11629 * manual/charset.texi (Converting a Character): Mention embedded
11630 null bytes in the mbrtowc input string. Explain what happens in
11631 the -2 result case. Do not claim that mbrtowc is simple or
11632 obvious to use. Adjust the description of the code example. Use
11633 @code, not @var, for concrete variables.
11635 2018-04-05 Florian Weimer <fweimer@redhat.com>
11637 * manual/examples/mbstouwcs.c: New file.
11638 * manual/charset.texi (Converting a Character): Include it.
11640 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11642 * include/dirent.h (dirfd): Add hidden proto.
11643 * dirent/dirfd.c (dirfd): Add hidden def.
11644 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11645 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11647 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11649 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11650 sin, cos and sincos to 1 ULP.
11652 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11655 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11657 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11658 * elf/tst-absolute-sym.c: New file.
11659 * elf/tst-absolute-sym-lib.c: New file.
11660 * elf/tst-absolute-sym-lib.lds: New file.
11661 * elf/Makefile (tests): Add `tst-absolute-sym'.
11662 (modules-names): Add `tst-absolute-sym-lib'.
11663 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11664 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11665 ($(objpfx)tst-absolute-sym): New dependency.
11668 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11670 (SYMBOL_ADDRESS): New macro.
11671 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11672 SYMBOL_ADDRESS for symbol address calculation.
11673 * elf/dl-runtime.c (_dl_fixup): Likewise.
11674 (_dl_profile_fixup): Likewise.
11675 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11676 * elf/rtld.c (dl_main): Likewise.
11677 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11678 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11679 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11680 (elf_machine_rela): Likewise.
11681 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11682 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11684 (elf_machine_rela): Likewise.
11685 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11686 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11687 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11688 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11690 (elf_machine_reloc): Likewise.
11691 (elf_machine_got_rel): Likewise.
11692 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11693 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11698 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11701 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11703 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11708 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11709 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11711 2018-04-04 Zack Weinberg <zackw@panix.com>
11713 * sysdeps/generic/internal-signals.h: Include signal.h,
11714 sigsetops.h, and stdbool.h.
11715 (__libc_signal_block_all): Actually block all signals.
11716 (__libc_signal_block_app): Likewise.
11717 (__libc_signal_restore_set): Actually restore the signal mask.
11719 2018-04-04 Florian Weimer <fweimer@redhat.com>
11721 inet: Actually build and run tst-deadline.
11722 * inet/Makefile (tests-internal): Add tst-deadline and do not
11723 overwrite the variable.
11724 (tests-static-internal): Remove variable.
11726 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11729 * bits/uio-ext.h (RWF_APPEND): New.
11730 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11731 * manual/llio.texi: Document RWF_APPEND.
11732 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11733 (RWF_SUPPORTED): Add RWF_APPEND.
11735 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11738 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11739 check for internal nptl signals.
11740 * nptl/sigaction.c (__sigaction): Likewise.
11741 * signal/sigaddset.c (sigaddset): Likewise.
11742 * signal/sigdelset.c (sigdelset): Likewise.
11743 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11744 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11746 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11747 to filter out internal nptl signals.
11748 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11749 also check realtime signals using standard macros.
11750 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11751 __is_internal_signal, __libc_signal_block_all,
11752 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11753 * sysdeps/nptl/sigfillset.c: Remove file.
11754 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11755 Change return to bool.
11756 (__clear_internal_signals): Remove SIGTIMER clean since it is
11757 equal to SIGCANEL on Linux.
11758 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11759 signal set was constructed using standard functions.
11761 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11763 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11764 ifname is too long.
11765 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11766 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
11767 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11769 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
11770 * signal/sigaddset.c: Include <sigsetopts.h>.
11771 * signal/sigdelset.c: Likewise.
11773 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11777 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11778 logic as sin and cos.
11780 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11782 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11783 inputs. Return correct sign.
11784 (do_sincos): Remove small input check before do_sin, let do_sin set
11789 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11791 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11792 (do_cos_slow): Likewise.
11793 (do_sin_slow): Likewise.
11794 (reduce_and_compute): Likewise.
11799 (sloww1): Likewise.
11800 (sloww2): Likewise.
11802 (bslow1): Likewise.
11803 (bslow2): Likewise.
11804 (cslow2): Likewise.
11806 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11808 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11809 (do_cos): Remove corp parameter and calculations.
11810 (do_sin): Likewise.
11811 (do_sincos): Remove cor variable.
11812 (__sin): Use do_sincos for huge inputs.
11814 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11815 (reduce_and_compute_sincos): Remove unused function.
11817 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11819 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11820 reduce_sincos, improve accuracy to 136 bits.
11821 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11822 (__sin): Use improved reduction and simplified do_sincos calculation.
11824 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11826 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11828 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11829 (do_sincos_2): Likewise.
11830 (__sin): Remove middle range reduction case.
11832 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11835 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11837 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11841 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11843 2018-04-03 Joseph Myers <joseph@codesourcery.com>
11845 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11848 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11850 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11851 Remove definitions.
11852 (opendir_oflags): Use O_DIRECTORY regardless.
11853 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11854 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11856 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11858 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11859 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11861 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11862 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11863 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11864 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
11865 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11866 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
11868 * htl/Makefile: Bump licence to LGPL 2.1+.
11869 * htl/alloca_cutoff.c: Likewise.
11870 * htl/cthreads-compat.c: Likewise.
11871 * htl/lockfile.c: Likewise.
11872 * htl/pt-alloc.c: Likewise.
11873 * htl/pt-cancel.c: Likewise.
11874 * htl/pt-cleanup.c: Likewise.
11875 * htl/pt-create.c: Likewise.
11876 * htl/pt-dealloc.c: Likewise.
11877 * htl/pt-detach.c: Likewise.
11878 * htl/pt-exit.c: Likewise.
11879 * htl/pt-getattr.c: Likewise.
11880 * htl/pt-initialize.c: Likewise.
11881 * htl/pt-internal.h: Likewise.
11882 * htl/pt-join.c: Likewise.
11883 * htl/pt-self.c: Likewise.
11884 * htl/pt-setcancelstate.c: Likewise.
11885 * htl/pt-setcanceltype.c: Likewise.
11886 * htl/pt-sigmask.c: Likewise.
11887 * htl/pt-spin-inlines.c: Likewise.
11888 * htl/pt-testcancel.c: Likewise.
11889 * htl/pt-yield.c: Likewise.
11890 * htl/tests/test-1.c: Likewise.
11891 * htl/tests/test-10.c: Likewise.
11892 * htl/tests/test-11.c: Likewise.
11893 * htl/tests/test-12.c: Likewise.
11894 * htl/tests/test-13.c: Likewise.
11895 * htl/tests/test-14.c: Likewise.
11896 * htl/tests/test-15.c: Likewise.
11897 * htl/tests/test-16.c: Likewise.
11898 * htl/tests/test-17.c: Likewise.
11899 * htl/tests/test-2.c: Likewise.
11900 * htl/tests/test-3.c: Likewise.
11901 * htl/tests/test-4.c: Likewise.
11902 * htl/tests/test-5.c: Likewise.
11903 * htl/tests/test-6.c: Likewise.
11904 * htl/tests/test-7.c: Likewise.
11905 * htl/tests/test-8.c: Likewise.
11906 * htl/tests/test-9.c: Likewise.
11907 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11908 * sysdeps/htl/bits/cancelation.h: Likewise.
11909 * sysdeps/htl/bits/pthread-np.h: Likewise.
11910 * sysdeps/htl/bits/pthread.h: Likewise.
11911 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11912 * sysdeps/htl/bits/semaphore.h: Likewise.
11913 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11914 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11915 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11916 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11917 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11918 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11919 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11920 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11921 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11922 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11923 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11924 * sysdeps/htl/old_pt-atfork.c: Likewise.
11925 * sysdeps/htl/pt-atfork.c: Likewise.
11926 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11927 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11928 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11929 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11930 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11931 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11932 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11933 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11934 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11935 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11936 * sysdeps/htl/pt-attr-init.c: Likewise.
11937 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11938 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11939 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11940 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11941 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11942 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11943 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11944 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11945 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11946 * sysdeps/htl/pt-attr.c: Likewise.
11947 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11948 * sysdeps/htl/pt-barrier-init.c: Likewise.
11949 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11950 * sysdeps/htl/pt-barrier.c: Likewise.
11951 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11952 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11953 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11954 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11955 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11956 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11957 * sysdeps/htl/pt-cond-init.c: Likewise.
11958 * sysdeps/htl/pt-cond-signal.c: Likewise.
11959 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11960 * sysdeps/htl/pt-cond-wait.c: Likewise.
11961 * sysdeps/htl/pt-cond.c: Likewise.
11962 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11963 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11964 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11965 * sysdeps/htl/pt-condattr-init.c: Likewise.
11966 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11967 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11968 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11969 * sysdeps/htl/pt-equal.c: Likewise.
11970 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11971 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11972 * sysdeps/htl/pt-getschedparam.c: Likewise.
11973 * sysdeps/htl/pt-getspecific.c: Likewise.
11974 * sysdeps/htl/pt-init-specific.c: Likewise.
11975 * sysdeps/htl/pt-key-create.c: Likewise.
11976 * sysdeps/htl/pt-key-delete.c: Likewise.
11977 * sysdeps/htl/pt-key.h: Likewise.
11978 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11979 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11980 * sysdeps/htl/pt-mutex-init.c: Likewise.
11981 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11982 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11983 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11984 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11985 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11986 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11987 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11988 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11989 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11990 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11991 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11992 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11993 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11994 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11995 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11996 * sysdeps/htl/pt-mutexattr.c: Likewise.
11997 * sysdeps/htl/pt-once.c: Likewise.
11998 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11999 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12000 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12001 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12002 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12003 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12004 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12005 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12006 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12007 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12008 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12009 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12010 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12011 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12012 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12013 * sysdeps/htl/pt-setschedparam.c: Likewise.
12014 * sysdeps/htl/pt-setschedprio.c: Likewise.
12015 * sysdeps/htl/pt-setspecific.c: Likewise.
12016 * sysdeps/htl/pt-spin.c: Likewise.
12017 * sysdeps/htl/pt-startup.c: Likewise.
12018 * sysdeps/htl/pthread.h: Likewise.
12019 * sysdeps/htl/sem-close.c: Likewise.
12020 * sysdeps/htl/sem-destroy.c: Likewise.
12021 * sysdeps/htl/sem-getvalue.c: Likewise.
12022 * sysdeps/htl/sem-init.c: Likewise.
12023 * sysdeps/htl/sem-open.c: Likewise.
12024 * sysdeps/htl/sem-post.c: Likewise.
12025 * sysdeps/htl/sem-timedwait.c: Likewise.
12026 * sysdeps/htl/sem-trywait.c: Likewise.
12027 * sysdeps/htl/sem-unlink.c: Likewise.
12028 * sysdeps/htl/sem-wait.c: Likewise.
12029 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12030 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12031 * sysdeps/mach/htl/pt-block.c: Likewise.
12032 * sysdeps/mach/htl/pt-spin.c: Likewise.
12033 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12034 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12035 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12036 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12037 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12038 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12039 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12040 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12041 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12042 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12043 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12044 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12045 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12046 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12047 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12048 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12049 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12050 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12051 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12052 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12053 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12054 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12055 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12056 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12057 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12058 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12059 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12060 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12061 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12062 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12063 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12064 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12065 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12066 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12067 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12068 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12069 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12070 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12071 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12072 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12073 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12074 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12075 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12077 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12078 * README: Remove the mention of out-of-tree patches needed for
12081 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12082 (UTIME_NOW, UTIME_OMIT): Define macros.
12084 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12085 instead of pthread_detach.
12086 (__cthread_fork): Call __pthread_create instead of pthread_create.
12087 (__cthread_keycreate): Call __pthread_key_create instead of
12088 pthread_key_create.
12089 (__cthread_getspecific): Call __pthread_getspecific instead of
12090 pthread_getspecific.
12091 (__cthread_setspecific): Call __pthread_setspecific instead of
12092 pthread_setspecific.
12093 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12094 __pthread_mutex_unlock instead of pthread_mutex_lock and
12095 pthread_mutex_unlock.
12096 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12097 ___pthread_get_cleanup_stack.
12098 (__pthread_get_cleanup_stack): New strong alias.
12099 * htl/pt-create.c: Include <pthreadP.h>.
12100 (entry_point): Call __pthread_exit instead of pthread_exit.
12101 (pthread_create): Rename to __pthread_create.
12102 (pthread_create): New strong alias.
12103 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12104 (pthread_detach): New strong alias.
12105 (__pthread_detach): Call __pthread_cond_broadcast instead of
12106 pthread_cond_broadcast.
12107 * htl/pt-exit.c: Include <pthreadP.h>.
12108 (__pthread_exit): Call __pthread_setcancelstate and
12109 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12110 __pthread_get_cleanup_stack.
12111 * htl/pt-testcancel.c: Include <pthreadP.h>.
12112 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12113 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12114 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12115 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12116 pthread_attr_getstacksize.
12117 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12118 Rename to __pthread_attr_getstackaddr.
12119 (pthread_attr_getstackaddr): New strong alias.
12120 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12121 Rename to __pthread_attr_getstacksize.
12122 (pthread_attr_getstacksize): New strong alias.
12123 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12124 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12125 (pthread_attr_setstack): New strong alias.
12126 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12127 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12128 pthread_attr_getstacksize, pthread_attr_setstacksize and
12129 pthread_attr_setstackaddr.
12130 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12131 Rename to __pthread_attr_setstackaddr.
12132 (pthread_attr_setstackaddr): New strong alias.
12133 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12134 Rename to __pthread_attr_setstacksize.
12135 (pthread_attr_setstacksize): New strong alias.
12136 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12137 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12139 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12140 (__pthread_key_create): New hidden def.
12141 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12142 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12143 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12144 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12145 __pthread_setspecific, __pthread_setcancelstate,
12146 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12147 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12148 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12150 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12151 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12152 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12153 (pthread_attr_setstackaddr): New strong alias.
12154 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12155 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12156 (pthread_attr_setstacksize): New strong alias.
12157 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12158 (call_exit): Call __pthread_exit instead of pthread_exit.
12159 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12160 (_pthread_mutex_init): New hidden definition.
12161 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12162 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12163 instead of pthread_attr_init and pthread_attr_setstack.
12165 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12166 __vm_deallocate instead of vm_allocate and vm_deallocate.
12167 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12169 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12171 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12173 * hurd/siginfo.c: Include <libioP.h>.
12174 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12175 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12177 * mach/devstream.c: Include <libioP.h>.
12178 (dealloc_ref): Call __mach_port_deallocate instead of
12179 mach_port_deallocate.
12180 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12181 Call __mach_port_deallocate instead of mach_port_deallocate.
12182 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12184 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12186 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12187 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12188 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12190 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12192 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12193 instead of sysconf.
12194 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12195 __clock_gettime instead of clock_gettime.
12196 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12197 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12198 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12199 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12200 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12202 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12203 __clock_gettime and __nanosleep instead of clock_gettime and
12205 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12206 __hurd_catch_signal.
12207 (hurd_catch_signal): New strong alias.
12208 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12209 __hurd_catch_signal instead of hurd_catch_signal.
12210 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12211 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12212 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12213 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12214 (_hurd_thread_sigstate): Add hidden def.
12215 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12217 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12218 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12219 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12220 __hurd_file_name_path_lookup.
12221 (hurd_file_name_path_lookup): New strong alias.
12222 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12223 hurd_file_name_path_lookup.
12224 * mach/errstring.c (mach_error_type): Add hidden def.
12225 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12226 * mach/mutex-init.c (__mutex_init): Add hidden def.
12227 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12228 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12229 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12230 * sysdeps/mach/hurd/getcwd.c
12231 (_hurd_canonicalize_directory_name_internal): Rename to
12232 __hurd_canonicalize_directory_name_internal.
12233 (_hurd_canonicalize_directory_name_internal): New strong alias.
12234 (__canonicalize_directory_name_internal, __getcwd): Call
12235 __hurd_canonicalize_directory_name_internal instead of
12236 _hurd_canonicalize_directory_name_internal.
12237 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12238 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12240 * sysdeps/hurd/include/hurd.h: New file.
12241 * sysdeps/hurd/include/hurd/fd.h: New file.
12242 * sysdeps/hurd/include/hurd/signal.h: New file.
12243 * sysdeps/mach/include/lock-intern.h: New file.
12244 * sysdeps/mach/include/mach.h: New file.
12245 * sysdeps/mach/include/mach/mig_support.h: New file.
12246 * sysdeps/mach/include/mach_error.h: New file.
12247 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12249 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12250 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12251 _HEADER_H_HIDDEN_DEF macro.
12252 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12253 _hurd_fd_error_signal): Add hidden prototype.
12254 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12256 * libio/iolibio.h (_IO_puts): New hidden prototype.
12257 * libio/ioputs.c (_IO_puts): New hidden def.
12258 * sysdeps/mach/hurd/localplt.data: New file.
12260 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12261 Amos Jeffries <squid3@treenet.co.nz>
12262 David Michael <fedora.dm0@gmail.com>
12263 Marco Gerards <marco@gnu.org>
12264 Marcus Brinkmann <marcus@gnu.org>
12265 Neal H. Walfield <neal@gnu.org>
12266 Pino Toscano <toscano.pino@tiscali.it>
12267 Richard Braun <rbraun@sceen.net>
12268 Roland McGrath <roland@gnu.org>
12269 Samuel Thibault <samuel.thibault@ens-lyon.org>
12270 Thomas DiModica <ricinwich@yahoo.com>
12271 Thomas Schwinge <tschwinge@gnu.org>
12273 * htl: New directory.
12274 * sysdeps/htl: New directory.
12275 * sysdeps/hurd/htl: New directory.
12276 * sysdeps/i386/htl: New directory.
12277 * sysdeps/mach/htl: New directory.
12278 * sysdeps/mach/hurd/htl: New directory.
12279 * sysdeps/mach/hurd/i386/htl: New directory.
12280 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12281 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12282 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12284 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12286 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12287 signals in thread created for runing timers.
12289 2018-04-01 Florian Weimer <fweimer@redhat.com>
12291 * support/support_format_addrinfo.c (support_format_addrinfo):
12292 Include unknown error number in formatted result.
12294 2018-03-29 Florian Weimer <fweimer@redhat.com>
12296 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12299 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12302 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12303 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12304 (__ASSUME_CLONE_BACKWARDS): Define.
12306 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12310 early when linux sentinel value is set.
12312 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12314 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12316 2018-03-27 Andreas Schwab <schwab@suse.de>
12319 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12320 allocation of private copy of nsaddr_list fails.
12322 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12325 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12326 * sysdeps/unix/sysv/linux/umount.c: ... here.
12327 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12328 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12329 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12330 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12332 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12333 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12335 2018-03-26 Andreas Schwab <schwab@suse.de>
12337 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12338 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12339 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12340 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12341 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12342 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12343 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12344 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12345 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12346 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12347 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12348 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12349 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12350 (R_RISCV_NUM): Define.
12352 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12354 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12355 TLS declaration of errno.
12356 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12358 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12359 (ARCH_SETUP_TLS): Likewise.
12360 * sysdeps/mach/hurd/libc-start.h: New file copied from
12361 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12362 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12363 instead of __libc_setup_tls.
12364 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12365 __libc_setup_tls before initializing libpthread and running _hurd_init
12366 which starts the signal thread.
12367 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12369 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12371 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12374 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12375 after it is defined.
12377 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12378 Max Horn <max@quendi.de>
12382 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12384 * string/test-memmove.c (do_test2): New testcase.
12386 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12388 * sysdeps/generic/frame.h: Remove file.
12389 * sysdeps/arm/frame.h: Likewise.
12390 * sysdeps/hppa/frame.h: Likewise.
12391 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12393 (GET_FRAME): Likewise.
12394 (GET_STACK): Likewise.
12395 (CALL_SIGHANDLER): Likewise.
12396 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12398 (GET_FRAME): Likewise.
12399 (GET_STACK): Likewise.
12400 (CALL_SIGHANDLER): Likewise.
12401 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12402 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12403 (GET_FRAME): Likewise.
12404 (GET_STACK): Likewise.
12405 (CALL_SIGHANDLER): Likewise.
12406 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12407 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12408 (GET_FRAME): Likewise.
12409 (GET_STACK): Likewise.
12410 (ADVANCE_STACK_FRAME): Likewise.
12411 (CALL_SIGHANDLER): Likewise.
12412 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12413 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12414 (GET_FRAME): Likewise.
12415 (GET_STACK): Likewise.
12416 (CALL_SIGHANDLER): Likewise.
12417 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12418 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12419 (GET_FRAME): Likewise.
12420 (GET_STACK): Likewise.
12421 (CALL_SIGHANDLER): Likewise.
12422 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12423 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12424 (GET_FRAME): Likewise.
12425 (GET_STACK): Likewise.
12426 (CALL_SIGHANDLER): Likewise.
12427 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12428 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12429 (GET_FRAME): Likewise.
12430 (GET_STACK): Likewise.
12431 (CALL_SIGHANDLER): Likewise.
12432 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12433 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12434 (GET_FRAME): Likewise.
12435 (GET_STACK): Likewise.
12436 (CALL_SIGHANDLER): Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12438 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12439 (GET_FRAME): Likewise.
12440 (GET_STACK): Likewise.
12441 (CALL_SIGHANDLER): Likewise.
12442 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12443 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12444 (GET_FRAME): Likewise.
12445 (GET_STACK): Likewise.
12446 (CALL_SIGHANDLER): Likewise.
12447 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12448 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12449 (GET_FRAME): Likewise.
12450 (GET_STACK): Likewise.
12451 (CALL_SIGHANDLER): Likewise.
12452 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12453 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12454 (GET_FRAME): Likewise.
12455 (GET_STACK): Likewise.
12456 (CALL_SIGHANDLER): Likewise.
12457 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12458 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12459 (FIRST_FRAME_POINTER): Likewise.
12460 (ADVANCE_STACK_FRAME): Likewise.
12461 (GET_STACK): Likewise.
12462 (GET_FRAME): Likewise.
12463 (CALL_SIGHANDLER): Likewise.
12464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12465 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12466 (ADVANCE_STACK_FRAME): Likewise.
12467 (GET_STACK): Likewise.
12468 (GET_FRAME): Likewise.
12469 (CALL_SIGHANDLER): Likewise.
12470 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12471 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12472 (GET_FRAME): Likewise.
12473 (GET_STACK): Likewise.
12474 (CALL_SIGHANDLER): Likewise.
12475 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12476 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12477 (GET_FRAME): Likewise.
12478 (GET_STACK): Likewise.
12479 (CALL_SIGHANDLER): Likewise.
12481 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12483 * sysdeps/x86_64/backtrace.c: Move to ....
12484 * debug/backtrace.c: ... here.
12485 * sysdeps/aarch64/backtrace.c: Remove file.
12486 * sysdeps/alpha/backtrace.c: Likewise.
12487 * sysdeps/hppa/backtrace.c: Likewise.
12488 * sysdeps/ia64/backtrace.c: Likewise.
12489 * sysdeps/mips/backtrace.c: Likewise.
12490 * sysdeps/nios2/backtrace.c: Likewise.
12491 * sysdeps/riscv/backtrace.c: Likewise.
12492 * sysdeps/sh/backtrace.c: Likewise.
12493 * sysdeps/tile/backtrace.c: Likewise.
12495 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12498 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12501 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12504 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12505 possibly overflowing computations.
12507 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12509 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12510 values from Linux-specific section now that it is in the GNU section.
12511 * sysdeps/gnu/errlist.c: Regenerate.
12513 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12515 * math/Makefile (libm-narrow-fns): Add sub.
12516 (libm-test-funcs-narrow): Likewise.
12517 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12518 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12519 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12520 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12521 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12522 (NARROW_SUB_TRIVIAL): Likewise.
12523 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12525 (__dsubl): Likewise.
12526 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12528 (CFLAGS-nldbl-dsub.c): New variable.
12529 (CFLAGS-nldbl-fsub.c): Likewise.
12530 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12532 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12534 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12535 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12536 * math/auto-libm-test-in: Add tests of sub.
12537 * math/auto-libm-test-out-narrow-sub: New generated file.
12538 * math/libm-test-narrow-sub.inc: New file.
12539 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12542 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12543 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12544 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12553 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12554 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12555 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12556 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12558 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12579 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12586 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12589 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12591 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12593 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12595 2018-03-18 Richard Braun <rbraun@sceen.net>
12597 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12600 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12602 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12603 (__libc_cleanup_fct): Define function.
12604 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12605 __libc_cleanup_end): Rewrite implementation using
12606 __attribute__ ((__cleanup__)).
12607 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12608 * hurd/Makefile (routines): Add hurdlock.
12609 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12611 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12612 * hurd/hurdpid.c: Include <lowlevellock.h>
12613 (_S_msg_proc_newids): Use lll_wait to synchronize.
12614 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12615 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12616 * mach/Makefile (lock-headers): Remove machine-lock.h.
12617 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12619 (__spin_lock_t): New type.
12620 (__SPIN_LOCK_INITIALIZER): New macro.
12621 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12622 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12623 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12624 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12625 (__mutex_init): Initialize with lll.
12626 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12627 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12629 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12630 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12631 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12632 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12633 (__setpgid): Use lll for synchronization.
12634 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12635 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12636 instead of <cthreads.h>.
12637 (_IO_lock_inexpensive): New macro
12638 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12639 (__libc_lock_self0): New declaration.
12640 (__libc_lock_owner_self): New macro.
12641 (__libc_key_t): Remove type.
12642 (_LIBC_LOCK_INITIALIZER): New macro.
12643 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12644 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12645 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12646 __libc_lock_define_initialized_recursive,
12647 __rtld_lock_define_initialized_recursive,
12648 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12649 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12650 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12651 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12652 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12653 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12654 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12656 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12657 * hurd/hurdlock.c: New file.
12658 * hurd/hurdlock.h: New file.
12659 * mach/lowlevellock.h: New file
12661 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12663 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12664 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12665 when opening a symlink with O_NOFOLLOW.
12666 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12667 path when flags contains O_NOFOLLOW.
12668 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12669 if flags contains O_DIRECTORY and the result is a directory.
12670 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12671 oneself when the pointer given in D is nul (as set by ext2fs).
12672 * sysdeps/mach/hurd/mlockall.c: New file.
12673 * sysdeps/mach/hurd/munlockall.c: New file.
12675 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12677 * hurd/hurdsig.c: Include <pthread.h>.
12678 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12679 get the signal thread stack layout.
12680 * hurd/Makefile (headers): Remove threadvar.h.
12681 (inline-headers): Remove threadvar.h.
12682 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12683 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12684 __hurd_threadvar_max, __hurd_errno_location.
12685 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12686 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12687 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12688 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12689 unless TLS is not initialized yet, in which case we do not need a
12690 critical section yet anyway.
12691 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12693 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12695 (__hurd_threadvar_index): Remove enum.
12696 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12697 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12699 (__hurd_reply_port0): New variable declaration.
12700 (__hurd_local_reply_port): New macro.
12701 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12702 (interrupted_reply_port_location): Add thread_t parameter. Use it
12703 with THREAD_TCB to access thread-local variables.
12704 (_hurdsig_abort_rpcs): Pass ss->thread to
12705 interrupted_reply_port_location.
12706 (_hurd_internal_post_signal): Likewise.
12707 (_hurdsig_init): Use presence of cthread_fork instead of
12708 __hurd_threadvar_stack_mask to start signal thread by hand.
12709 Remove signal thread threadvar initialization.
12710 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12711 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12712 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12714 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12716 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12717 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12718 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12719 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12720 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12721 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12722 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12724 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12725 <hurd/threadvar.h>.
12726 [IS_IN(rtld)] (rtld_errno): New variable.
12727 [IS_IN(rtld)] (__errno_location): New weak function.
12728 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12729 * sysdeps/mach/hurd/errno.c: Remove file.
12730 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12731 (__fork): Remove THREADVAR_SPACE macro and its use.
12732 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12734 (init): Do not initialize threadvar.
12735 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12737 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12738 __hurd_local_reply_port instead of threadvar.
12739 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12740 _hurd_sigstate fields.
12741 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12742 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12743 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12744 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12745 instead of threadvar.
12746 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12747 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12748 (use_threadvar, global_reply_port): Remove variables.
12749 (__hurd_reply_port0): New variable.
12750 (__mig_get_reply_port): Use __hurd_local_reply_port and
12751 __hurd_reply_port0 instead of threadvar.
12752 (__mig_dealloc_reply_port): Likewise.
12753 (__mig_init): Do not initialize threadvar.
12754 * sysdeps/mach/hurd/profil.c: Fix comment.
12755 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12756 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12757 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12758 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12759 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12760 __cthread_setspecific.
12761 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12762 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12763 __cthread_t instead of cthread_fork, cthread_detach,
12764 pthread_getattr_np, pthread_attr_getstack.
12765 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12766 __cthread_keycreate.
12767 (cthread_getspecific): Rename to __cthread_getspecific.
12768 (cthread_setspecific): Rename to __cthread_setspecific.
12769 (__libc_getspecific): Use __cthread_getspecific instead of
12770 cthread_getspecific.
12771 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12772 __cthread_keycreate instead of cthread_keycreate.
12773 (__libc_setspecific): Use __cthread_setspecific instead of
12774 cthread_setspecific.
12775 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12778 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12779 testing whether it is defined.
12781 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12783 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12785 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12786 * sysdeps/mach/i386/thread_state.h
12787 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12789 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12791 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12793 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12794 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12796 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12798 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12799 descriptor instead of creating a new one.
12800 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12802 * mach/setup-thread.c: Include <ldsodefs.h>.
12803 (__mach_setup_thread): Call _dl_allocate_tls, pass
12804 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12805 MACHINE_THREAD_STATE_FLAVOR, before getting
12806 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12807 MACHINE_THREAD_STATE_FLAVOR with the result.
12808 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12809 MACHINE_THREAD_STATE_FIX_NEW.
12810 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12811 too. Add original thread parameter.
12813 2018-03-16 Joseph Myers <joseph@codesourcery.com>
12815 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12816 Remove inline function.
12818 * sysdeps/i386/fpu/libm-test-ulps: Update.
12819 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12821 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12823 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12826 2018-03-15 Joseph Myers <joseph@codesourcery.com>
12828 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12829 (__sincos_code): Remove define and undefine.
12830 [__FAST_MATH__] (__sincos): Remove inline function.
12831 [__FAST_MATH__] (__sincosf): Remove inline function.
12832 [__FAST_MATH__] (__sincosl): Remove inline function.
12833 (__atan2l): Remove inline functions.
12834 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12835 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12837 (floor): Remove inline function.
12839 [__FAST_MATH__] (__ldexp_code): Remove macro.
12840 [__FAST_MATH__] (ldexp): Remove inline function.
12841 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12842 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12843 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12844 [__USE_ISOC99] (__lrint_code): Remove macro.
12845 [__USE_ISOC99] (__llrint_code): Likewise.
12846 [__USE_ISOC99] (lrintf): Remove inline function.
12847 [__USE_ISOC99] (lrint): Likewise.
12848 [__USE_ISOC99] (lrintl): Likewise.
12849 [__USE_ISOC99] (llrint): Likewise.
12850 [__USE_ISOC99] (llrintf): Likewise.
12851 [__USE_ISOC99] (llrintl): Likewise.
12853 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12855 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12856 (__ieee754_sqrtf): Remove.
12857 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12858 (__ieee754_sqrtf): Remove.
12859 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12860 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12862 (__ieee754_sqrtf): Remove.
12863 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12864 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12867 (__ieee754_sqrt): Remove.
12868 (__ieee754_sqrtf): Remove.
12869 (__ieee754_sqrtl): Remove.
12870 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12871 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12872 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12873 (__ieee754_sqrtf): Remove.
12874 (__ieee754_sqrtl): Remove.
12876 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12878 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12879 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12880 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12881 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12882 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12883 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12884 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12885 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12887 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12888 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12889 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12890 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12891 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12892 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12893 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12894 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12895 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12896 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12897 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12898 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12899 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12900 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12901 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12903 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12904 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12905 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12911 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12912 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12916 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12917 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12918 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12919 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12921 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12923 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12924 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12925 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12926 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12928 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12930 * include/math.h (sqrt): Declare with asm redirect.
12933 (sqrtf128): Likewise.
12934 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12935 nonlib and libnldbl with -fmath-errno.
12936 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12937 * math/w_sqrt_template.c: Likewise.
12938 * math/w_sqrtf_compat.c: Likewise.
12939 * math/w_sqrtl_compat.c: Likewise.
12940 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12941 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12942 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12945 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12947 * benchtests/Makefile: Define _ISOMAC.
12948 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12949 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12950 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12951 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12952 * benchtests/bench-timing.h: Define attribute_hidden.
12954 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12956 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12959 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12962 * localedata/locales/cs_CZ (mon): Rename to...
12964 (mon): Import from CLDR (genitive case).
12966 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12969 * localedata/locales/el_CY (abmon): Rename to...
12970 (ab_alt_mon): This.
12971 (abmon): Import from CLDR (abbreviated genitive case).
12972 * localedata/locales/el_GR (abmon): Rename to...
12973 (ab_alt_mon): This.
12974 (abmon): Import from CLDR (abbreviated genitive case).
12976 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12979 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12981 2018-03-15 Robert Buj <robert.buj@gmail.com>
12984 * localedata/locales/ca_ES (abmon): Rename to...
12985 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12986 (mon): Rename to...
12988 (abmon): Import from CLDR (genitive case, month names preceded by
12991 (abday): Synchronize with CLDR.
12992 (d_t_fmt): Likewise.
12996 (LC_TIME): Improve indentation.
12997 (LC_TELEPHONE): Likewise.
12998 (LC_NAME): Likewise.
12999 (LC_ADDRESS): Likewise.
13001 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13003 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13004 (lrintf): Remove definitions used only with old GCC.
13005 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13006 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13007 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13008 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13009 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13010 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13011 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13012 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13013 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13014 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13015 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13016 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13017 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13018 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13019 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13020 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13021 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13022 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13023 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13024 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13025 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13026 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13027 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13028 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13029 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13030 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13031 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13032 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13034 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13036 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13037 instruction to unbreak builds with binutils 2.26 and older.
13039 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13041 * sysdeps/aarch64/strncmp.S (count): New macro.
13042 (strncmp): Store misaligned length in SRC1 in COUNT.
13043 (mutual_align): Adjust.
13044 (misaligned8): Load dword at a time when it is safe.
13046 2018-03-12 Zack Weinberg <zackw@panix.com>
13050 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13051 if the _IO_EOF_SEEN bit is already set; update commentary.
13052 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13053 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13055 * support/support_openpty.c, support/tty.h: New files.
13056 * support/Makefile (libsupport-routines): Add support_openpty.
13058 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13060 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13061 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13063 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13065 * po/pt_BR.po: Update translations.
13067 2018-03-12 David Michael <fedora.dm0@gmail.com>
13069 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13070 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13071 get a port to the startup server.
13073 2018-03-11 Zack Weinberg <zackw@panix.com>
13075 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13076 before nldbl-compat.h.
13078 2018-03-10 Zack Weinberg <zackw@panix.com>
13080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13081 math.h or math_private.h.
13083 * sysdeps/alpha/fpu/s_isnan.c
13084 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13085 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13086 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13087 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13089 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13090 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13091 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13092 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13098 Include math_private.h.
13100 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13101 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13102 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13103 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13104 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13105 * sysdeps/powerpc/power7/fpu/s_logb.c:
13106 Include math.h and math_private.h.
13108 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13109 uses of $at in .set noat / .set at.
13111 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13113 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13114 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13115 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13119 2018-03-09 Florian Weimer <fweimer@redhat.com>
13121 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13124 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13127 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13128 Add nop before __startcontext, add explaining comments.
13130 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13133 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13135 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13137 Do not build hardware transactional code for __SPE__.
13138 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13139 (__lll_trylock_elision): Likewise.
13140 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13141 (__lll_unlock_elision): Likewise.
13143 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13144 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13145 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13146 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13147 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13148 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13149 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13150 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13151 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13152 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13153 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13154 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13155 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13156 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13157 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13159 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13160 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13161 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13162 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13163 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13164 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13165 (__ASSUME_CLONE_BACKWARDS): Define.
13166 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13167 __clone2 if __NR_clone2 is defined.
13168 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13169 (__ASSUME_CLONE_BACKWARDS): Likewise.
13170 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13171 (__ASSUME_CLONE_BACKWARDS): Likewise.
13172 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13173 (__ASSUME_CLONE2): Likewise.
13174 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13175 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13176 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13177 variants and the define architecture can use.
13178 (__ASSUME_CLONE_DEFAULT): Define as default.
13179 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13180 (__ASSUME_CLONE_BACKWARDS): Likewise.
13181 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13182 (__ASSUME_CLONE_BACKWARDS): Likewise.
13183 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13184 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13186 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13188 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13190 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13193 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13194 (do_test_limit): Likewise.
13196 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13197 for every implementation.
13198 (do_test): Likewise.
13200 * benchtests/bench-strncmp.c: Convert output to json.
13202 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13204 * io/futimens.c: Add missing start-of-file descriptive comment.
13205 * io/utime.c: Likewise.
13206 * misc/futimesat.c: Likewise.
13207 * misc/utimes.c: Likewise.
13208 * sysdeps/mach/hurd/futimesat.c: Likewise.
13209 * sysdeps/mach/hurd/utimes.c: Likewise.
13210 * sysdeps/posix/utime.c: Likewise.
13211 * sysdeps/posix/utimes.c: Likewise.
13212 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13213 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13214 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13215 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13217 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13219 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13221 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13222 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13223 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13224 (__futimens): Move implementation to...
13225 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13226 utime_tvalue_from_tspec): ... new helper functions.
13227 (hurd_futimens): New function.
13228 * sysdeps/mach/hurd/futimesat.c: New file.
13229 * sysdeps/mach/hurd/utimensat.c: New file.
13231 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13233 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13234 UTIME_OMIT): New macros.
13235 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13236 before reverting to converting time spec to time value and calling
13238 * sysdeps/mach/hurd/utime-helper.c: New file.
13239 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13240 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13241 reverting to utime_tvalue_from_tval and __file_utimes.
13242 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13243 (__lutimes): Just call hurd_futimens after lookup.
13244 * sysdeps/mach/hurd/utimes.c: Likewise.
13246 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13248 * bits/sigaction.h: Add include guard.
13249 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13250 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13251 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13252 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13253 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13255 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13256 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13257 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13259 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13261 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13262 -Wmaybe-uninitialized for -Os.
13263 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13266 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13268 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13269 __INO_T_MATCHES_INO64_T is defined.
13270 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13271 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13273 * dirent/alphasort64.c: Likewise.
13274 * dirent/scandir.c: Likewise.
13275 * dirent/scandir64-tail.c: Likewise.
13276 * dirent/scandir64.c: Likewise.
13277 * dirent/scandirat.c: Likewise.
13278 * dirent/scandirat64.c: Likewise.
13279 * dirent/versionsort.c: Likewise.
13280 * dirent/versionsort64.c: Likewise.
13281 * include/dirent.h: Likewise.
13283 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13284 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13285 for socketpair endpoint.
13286 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13287 WRITE_BUFFER_SIZE as buffer size for sending socket.
13288 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13289 issue on system where send is implemented with sendto syscall.
13290 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13291 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13292 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13293 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13296 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13297 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13298 sa_restorer for vDSO case.
13299 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13301 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13303 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13304 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13305 * hurd/hurd/ioctl.h: Include <mach/port.h>
13306 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13307 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13308 <mach/mach_types.h> and <mach/message.h>.
13309 (headers): Move mach/param.h to bits/mach/param.h.
13310 * sysdeps/mach/i386/mach/param.h: Move file to ...
13311 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13312 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13314 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13315 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13316 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13317 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13318 trivial, for C++ conformity.
13319 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13320 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13321 Process mig output through $(migheadersed).
13322 * hurd/Makefile (migheadersed): Define variable.
13323 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13324 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13326 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13327 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13328 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13329 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13330 <bits/types/sigset_t.h>.
13331 [!defined __USE_GNU]: Do not #error out.
13332 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13333 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13334 Include <stddef.h> and <bits/types/sigset_t.h>
13335 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13336 instead of sighandler_t.
13337 * stdlib/errno.h (error_t): Move definition to...
13338 * bits/types/error_t.h: ... new header.
13339 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13340 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13341 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13342 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13343 * hurd/hurd.h: Include <bits/types/error_t.h>
13344 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13345 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13346 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13347 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13348 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13349 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13350 * sysdeps/mach/hurd/futimens.c: New file.
13352 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13355 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13356 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13357 * nscd/gai.c (__nss_hosts_database): Readd definition.
13358 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13359 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13360 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13362 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13364 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13365 (ifunc_one): Likewise.
13367 2018-03-01 DJ Delorie <dj@delorie.com>
13370 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13373 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13375 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13376 `match_pid' parameter.
13377 (td_ta_thr_iter): Update accordingly.
13379 2018-03-01 Florian Weimer <fweimer@redhat.com>
13381 * nptl/Makefile (install-lib-ldscripts): Remove.
13382 (install): Remove rule.
13383 ($(inst_libdir)/libpthread.so): Likewise.
13385 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13388 * localedata/locales/an_ES: update month and day names,
13389 improve d_fmt, improve postal_fmt, add country_post,
13392 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13394 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13395 Ukrainian instead of Bulgarian.
13397 2018-03-01 Florian Weimer <fweimer@redhat.com>
13399 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13402 2018-03-01 Florian Weimer <fweimer@redhat.com>
13404 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13405 * nptl/Makefile (routines): Add pthread_atfork.
13406 (static-only-routines): Set to pthread_atfork.
13407 (libpthread-routines): Remove pthread_atfork.
13408 (libpthread-static-only-routines): Remove.
13409 (install): Update comment.
13410 (libpthread.so): Do not install libpthread_nonshared.a.
13411 (tests): Do not link with libpthread_nonshared.a.
13412 (generated): Remove libpthread_nonshared.a.
13413 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13414 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13415 with libpthread_nonshared.a.
13417 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13420 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13421 (libc_feholdexcept_setroundf128): New macro.
13422 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13425 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13427 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13428 * include/inttypes.h: New file.
13430 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13432 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13433 -Os in two more places.
13435 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13437 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13438 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13439 be sorted correctly at the moment because of a bug.
13441 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13443 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13444 treat ñ as a primary different character, sync the collation
13445 for Spanish with CLDR.
13446 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13447 * localedata/Makefile: Add new test files.
13448 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13449 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13451 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13452 * localedata/am_ET.UTF-8.in: New test file.
13453 * localedata/az_AZ.UTF-8.in: Likewise.
13454 * localedata/be_BY.UTF-8.in: Likewise.
13455 * localedata/ber_DZ.UTF-8.in: Likewise.
13456 * localedata/ber_MA.UTF-8.in: Likewise.
13457 * localedata/bg_BG.UTF-8.in: Likewise.
13458 * localedata/br_FR.UTF-8.in: Likewise.
13459 * localedata/cmn_TW.UTF-8.in: Likewise.
13460 * localedata/crh_UA.UTF-8.in: Likewise.
13461 * localedata/csb_PL.UTF-8.in: Likewise.
13462 * localedata/cv_RU.UTF-8.in: Likewise.
13463 * localedata/cy_GB.UTF-8.in: Likewise.
13464 * localedata/dz_BT.UTF-8.in: Likewise.
13465 * localedata/eo.UTF-8.in: Likewise.
13466 * localedata/es_ES.UTF-8.in: Likewise.
13467 * localedata/fa_IR.UTF-8.in: Likewise.
13468 * localedata/fi_FI.UTF-8.in: Likewise.
13469 * localedata/fil_PH.UTF-8.in: Likewise.
13470 * localedata/fur_IT.UTF-8.in: Likewise.
13471 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13472 * localedata/ha_NG.UTF-8.in: Likewise.
13473 * localedata/ig_NG.UTF-8.in: Likewise.
13474 * localedata/ik_CA.UTF-8.in: Likewise.
13475 * localedata/kk_KZ.UTF-8.in: Likewise.
13476 * localedata/ku_TR.UTF-8.in: Likewise.
13477 * localedata/ky_KG.UTF-8.in: Likewise.
13478 * localedata/ln_CD.UTF-8.in: Likewise.
13479 * localedata/mi_NZ.UTF-8.in: Likewise.
13480 * localedata/ml_IN.UTF-8.in: Likewise.
13481 * localedata/mn_MN.UTF-8.in: Likewise.
13482 * localedata/mr_IN.UTF-8.in: Likewise.
13483 * localedata/mt_MT.UTF-8.in: Likewise.
13484 * localedata/nb_NO.UTF-8.in: Likewise.
13485 * localedata/om_KE.UTF-8.in: Likewise.
13486 * localedata/os_RU.UTF-8.in: Likewise.
13487 * localedata/ps_AF.UTF-8.in: Likewise.
13488 * localedata/ro_RO.UTF-8.in: Likewise.
13489 * localedata/ru_RU.UTF-8.in: Likewise.
13490 * localedata/sc_IT.UTF-8.in: Likewise.
13491 * localedata/se_NO.UTF-8.in: Likewise.
13492 * localedata/sq_AL.UTF-8.in: Likewise.
13493 * localedata/sv_SE.UTF-8.in: Likewise.
13494 * localedata/szl_PL.UTF-8.in: Likewise.
13495 * localedata/tg_TJ.UTF-8.in: Likewise.
13496 * localedata/tk_TM.UTF-8.in: Likewise.
13497 * localedata/tt_RU.UTF-8.in: Likewise.
13498 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13499 * localedata/ug_CN.UTF-8.in: Likewise.
13500 * localedata/uz_UZ.UTF-8.in: Likewise.
13501 * localedata/vi_VN.UTF-8.in: Likewise.
13502 * localedata/yi_US.UTF-8.in: Likewise.
13503 * localedata/yo_NG.UTF-8.in: Likewise.
13504 * localedata/zh_CN.UTF-8.in: Likewise.
13505 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13506 file and fix bugs in the collation.
13507 * localedata/locales/az_AZ: Likewise.
13508 * localedata/locales/be_BY: Likewise.
13509 * localedata/locales/ber_DZ: Likewise.
13510 * localedata/locales/ber_MA: Likewise.
13511 * localedata/locales/bg_BG: Likewise.
13512 * localedata/locales/br_FR: Likewise.
13513 * localedata/locales/br_FR@euro: Likewise.
13514 * localedata/locales/ca_ES: Likewise.
13515 * localedata/locales/cns11643_stroke: Likewise.
13516 * localedata/locales/crh_UA: Likewise.
13517 * localedata/locales/cs_CZ: Likewise.
13518 * localedata/locales/csb_PL: Likewise.
13519 * localedata/locales/cv_RU: Likewise.
13520 * localedata/locales/cy_GB: Likewise.
13521 * localedata/locales/da_DK: Likewise.
13522 * localedata/locales/dz_BT: Likewise.
13523 * localedata/locales/en_CA: Likewise.
13524 * localedata/locales/eo: Likewise.
13525 * localedata/locales/es_CU: Likewise.
13526 * localedata/locales/es_EC: Likewise.
13527 * localedata/locales/es_ES: Likewise.
13528 * localedata/locales/es_US: Likewise.
13529 * localedata/locales/et_EE: Likewise.
13530 * localedata/locales/fa_IR: Likewise.
13531 * localedata/locales/fi_FI: Likewise.
13532 * localedata/locales/fil_PH: Likewise.
13533 * localedata/locales/fur_IT: Likewise.
13534 * localedata/locales/gez_ER@abegede: Likewise.
13535 * localedata/locales/ha_NG: Likewise.
13536 * localedata/locales/hr_HR: Likewise.
13537 * localedata/locales/hsb_DE: Likewise.
13538 * localedata/locales/hu_HU: Likewise.
13539 * localedata/locales/ig_NG: Likewise.
13540 * localedata/locales/ik_CA: Likewise.
13541 * localedata/locales/is_IS: Likewise.
13542 * localedata/locales/iso14651_t1_pinyin: Likewise.
13543 * localedata/locales/kk_KZ: Likewise.
13544 * localedata/locales/ku_TR: Likewise.
13545 * localedata/locales/ky_KG: Likewise.
13546 * localedata/locales/ln_CD: Likewise.
13547 * localedata/locales/lt_LT: Likewise.
13548 * localedata/locales/lv_LV: Likewise.
13549 * localedata/locales/mi_NZ: Likewise.
13550 * localedata/locales/ml_IN: Likewise.
13551 * localedata/locales/mn_MN: Likewise.
13552 * localedata/locales/mr_IN: Likewise.
13553 * localedata/locales/mt_MT: Likewise.
13554 * localedata/locales/nb_NO: Likewise.
13555 * localedata/locales/om_KE: Likewise.
13556 * localedata/locales/os_RU: Likewise.
13557 * localedata/locales/pl_PL: Likewise.
13558 * localedata/locales/ps_AF: Likewise.
13559 * localedata/locales/ro_RO: Likewise.
13560 * localedata/locales/ru_RU: Likewise.
13561 * localedata/locales/ru_UA: Likewise.
13562 * localedata/locales/sc_IT: Likewise.
13563 * localedata/locales/se_NO: Likewise.
13564 * localedata/locales/si_LK: Likewise.
13565 * localedata/locales/sq_AL: Likewise.
13566 * localedata/locales/sv_FI: Likewise.
13567 * localedata/locales/sv_FI@euro: Likewise.
13568 * localedata/locales/sv_SE: Likewise.
13569 * localedata/locales/szl_PL: Likewise.
13570 * localedata/locales/tg_TJ: Likewise.
13571 * localedata/locales/ti_ER: Likewise.
13572 * localedata/locales/tk_TM: Likewise.
13573 * localedata/locales/tl_PH: Likewise.
13574 * localedata/locales/tr_TR: Likewise.
13575 * localedata/locales/tt_RU: Likewise.
13576 * localedata/locales/tt_RU@iqtelif: Likewise.
13577 * localedata/locales/ug_CN: Likewise.
13578 * localedata/locales/uk_UA: Likewise.
13579 * localedata/locales/uz_UZ: Likewise.
13580 * localedata/locales/uz_UZ@cyrillic: Likewise.
13581 * localedata/locales/vi_VN: Likewise.
13582 * localedata/locales/yi_US: Likewise.
13583 * localedata/locales/yo_NG: Likewise.
13585 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13587 * gen-locales.mk: Make test files which contain @ modifiers in their
13589 * localedata/gen-locale.sh: Likewise.
13591 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13593 * posix/tst-fnmatch.input: Fix results for range expressions
13595 * posix/tst-regexloc.c: Do not use a range expression for
13596 de_DE.ISO-8859-1 locale.
13598 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13600 * posix/bug-regex5.c: Fix test case because with the new
13601 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13602 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13605 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13607 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13608 downloaded from ISO, the collation order of @-. and space has changed.
13609 Therefore, this test file needed to be adapted.
13610 * localedata/fr_CA.UTF-8.in: Likewise.
13611 * localedata/fr_FR.UTF-8.in: Likewise.
13612 * localedata/uk_UA.UTF-8.in: Likewise.
13614 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13616 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13617 order of ȥ in the new iso14651_t1_common file.
13618 * localedata/pl_PL.UTF-8.in: Likewise.
13620 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13622 * localedata/locales/iso14651_t1_common: Add sections for various
13623 scripts to the iso14651_t1_common file.
13625 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13627 * localedata/locales/iso14651_t1_common: Use the code point of a
13628 character in the fourth collation level instead of IGNORE for all
13629 entries which have IGNORE on all 4 levels.
13631 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13633 * localedata/locales/iso14651_t1_common: Add some convenient collation
13634 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13635 rules similar to those in CLDR.
13637 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13639 * localedata/locales/iso14651_t1_common: The new version of this
13640 file downloaded from ISO contained several syntax errors which
13641 are fixed by this patch.
13643 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13645 * localedata/locales/iso14651_t1_common: replace all <U.....>
13646 with <U000.....> because glibc understands only 4 digit or 8 digit
13648 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13650 * localedata/locales/iso14651_t1_common: Necessary changes
13651 to make the file downloaded from ISO usable by glibc.
13653 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13656 * localedata/locales/iso14651_t1_common: Update file to
13657 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13659 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13661 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13662 of <nptl/pthreadP.h>
13663 (thread_attr_compare): Move function to...
13664 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13665 * sysdeps/nptl/timer_routines.h: ... new header.
13666 * sysdeps/mach/hurd/gai_misc.h: New file.
13668 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13670 * string/strcoll_l.c: Include <libc-diag.h>.
13671 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13672 declarations of seq1 and seq2.
13675 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13676 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13678 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13682 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13683 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13684 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13685 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13686 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13687 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13689 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13692 macros used in __ptrace_request.
13694 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13697 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13700 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13704 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13707 * ctype/ctype.c (tolower): Use libc_hidden_def.
13708 (toupper): Likewise.
13709 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13710 [!_ISOMAC] (toupper): Likewise.
13712 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13714 * localedata/Makefile: Remove --quiet argument when
13717 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13720 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13722 * localedata/locales/pt_PT (LC_TIME): likewise
13724 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13727 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13728 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13729 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13731 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13735 * nptl/Makefile (routines): Remove unregister-atfork.
13736 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13737 (fork_handler_alloc): Remove function.
13738 (fork_handlers, fork_handler_init): New variables.
13739 (__fork_lock): Rename to atfork_lock.
13740 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13741 to use a dynamic array to add/remove atfork handlers.
13742 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13743 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13744 Remove declaration.
13745 (fork_handler): Remove next, refcntr, and need_signal member.
13746 (__run_fork_handler_type): New enum.
13747 (__run_fork_handlers): New prototype.
13748 * nptl/register-atfork.c: Remove file.
13749 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13751 * sysdeps/nptl/nptl-signals.h: Move to ...
13752 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13754 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13755 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13756 unnecessary check for SIGTIMER.
13757 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13758 remove unnecessary removal of SIGTIMER.
13759 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13760 include-signals.h rename.
13761 * nptl/pthreadP.h: Likewise.
13762 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13763 __is_internal_signal instead of __nptl_is_internal_signal.
13765 2018-02-22 Andrew Waterman <andrew@sifive.com>
13768 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13769 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13770 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13771 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13773 2018-02-22 DJ Delorie <dj@delorie.com>
13775 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13777 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13779 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13780 do_misaligned, not misaligned8.
13782 2018-02-22 Steve Ellcey <sellcey@cavium.com>
13784 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13785 Add memcpy_thunderx2.
13786 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13788 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13789 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13790 and IS_THUNDERX2PA checks.
13791 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13792 Use macro to set name appropriately.
13793 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13794 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13795 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13797 (IS_THUNDERX2): New macro.
13799 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13801 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13803 2018-02-21 Zack Weinberg <zackw@panix.com>
13805 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13806 Define here, unconditionally.
13807 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13808 * libio/libioP.h: Remove #if 0 blocks.
13809 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13810 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13811 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13813 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13814 Assume weak_alias is always defined.
13816 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13817 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13818 Remove #if 0 and #ifdef TODO blocks.
13819 Assume text_set_element is always defined.
13821 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13822 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13823 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13825 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13826 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13827 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13828 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13829 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13830 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13831 Reformat bit flags for _flags field to make occupancy clearer.
13833 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13834 Keep definitions consistent with those in libio/libio.h.
13836 * libio/libio.h (_IO_file_flags): Remove macro.
13837 All uses changed to _flags.
13839 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13840 (__HAVE_COLUMN, _IO_BE): Don't define.
13841 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13842 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13843 * libio/libioP.h (EOF): Don't define.
13844 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13845 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13846 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13847 testing _IO_UNIFIED_JUMPTABLES.
13849 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13850 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13851 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13852 (_IO_size_t): Delete; all uses changed to size_t.
13853 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13854 (_IO_off_t): Delete; all uses changed to off_t.
13855 (_IO_off64_t): Delete; all uses changed to off64_t.
13856 (_IO_pid_t): Delete; all uses changed to pid_t.
13857 (_IO_uid_t): Delete; all uses changed to uid_t.
13858 (_IO_wint_t): Delete; all uses changed to wint_t.
13859 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13860 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13861 (_IO_cookie_io_functions_t): Delete; all uses changed to
13862 cookie_io_functions_t.
13863 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13864 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13865 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13866 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13868 * libio/iofopncook.c: Remove unnecessary forward declarations.
13869 * libio/iolibio.h: Correct outdated commentary.
13870 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13871 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13872 Remove unnecessary casts.
13873 * stdio-common/getline.c: Use _IO_getdelim directly.
13874 Don't redefine ssize_t.
13875 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13876 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13877 Remove outdated comments.
13878 * stdio-common/vfscanf.c: Don't redefine va_list.
13880 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13881 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13882 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13883 which are always true, and __cplusplus, which is always false.
13885 2018-02-21 Joseph Myers <joseph@codesourcery.com>
13889 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13890 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13891 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13892 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13894 [!_ISOMAC] (putc_unlocked): Likewise.
13895 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13896 define inline if [__USE_EXTERN_INLINES].
13897 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13902 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13903 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13904 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13905 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13906 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13908 * time/tzfile.c (__tzfile_read): Likewise.
13910 2018-02-21 Mike FABIAN <mfabian@redhat.com>
13913 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13915 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13917 * io/fcntl.h: Fix a typo in a comment.
13919 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13922 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13923 define _DEFAULT_SOURCE.
13924 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13926 2018-02-21 Florian Weimer <fweimer@redhat.com>
13929 * elf/cache.c (save_cache): Call fsync on temporary file before
13931 (save_aux_cache): Call fdatasync on temporary file before renaming
13934 2018-02-21 Florian Weimer <fweimer@redhat.com>
13937 * include/caller.h: Remove file.
13938 * elf/dl-caller.c: Likewise.
13939 * elf/Makefile (dl-routines): Remove dl-caller.
13940 (shared-only-routines): Do not add dl-caller.
13941 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13943 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13945 (dl_open_worker): Do not call __check_caller.
13946 (_dl_open): Do not set caller_dl_open member.
13947 * elf/rtld.c (_rtld_global_ro): Do not initialize
13948 _dl_check_caller member.
13949 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13950 _dl_check_caller member.
13951 (_dl_check_caller): Remove declaration.
13952 * sysdeps/unix/sysv/linux/dl-execstack.c
13953 (_dl_make_stack_executable): Do not call __check_caller.
13955 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13957 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
13958 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
13960 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13962 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13965 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13968 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13969 of 199606L, 200112L, and 200809L.
13970 (_XOPEN_SOURCE): Document special values of 600 and 700.
13971 (_ISOC11_SOURCE): Document macro.
13972 (_ATFILE_SOURCE): Likewise.
13973 (_FORTIFY_SOURCE): Likewise.
13975 2018-02-19 Joseph Myers <joseph@codesourcery.com>
13979 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13980 and define as weak alias of __ferror_unlocked. Use
13982 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13984 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13985 function if [__USE_EXTERN_INLINES].
13986 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13989 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
13992 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13994 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13997 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13998 the GLIBC_2.1 version.
14000 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14003 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14004 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14005 intl/tst-gettext-de.po from po/de.po by removing the
14006 POT-Creation-Date line.
14007 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14009 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14012 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14014 * mach/Makefile (headers): Add mach/param.h.
14015 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14016 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14017 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14018 (__ptsname_r): Move implementation to...
14019 (__ptsname_internal): ... new function. Add filling the STP
14022 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14024 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14027 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14029 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14032 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14034 * nptl/Makefile (tst-mutex8-ENV): Delete.
14035 * nptl/tst-mutex8.c (check_type):
14036 Add runtime check if mutex will be elided.
14038 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14042 * manual/install.texi (Configuring and compiling): Describe
14043 passing CC and CFLAGS on configure command line, not as
14044 environment variables. Use @code markup on those variables.
14045 Specify what options go in CC and what go in CFLAGS. Note the
14046 requirement to compile with optimization.
14047 * INSTALL: Regenerated.
14050 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14051 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14052 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14053 __sigprocmask instead of sigprocmask.
14054 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14056 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14057 __sigsetjmp and sigprocmask.
14060 * include/argz.h (argz_next): Use libc_hidden_proto.
14061 (__argz_next): Likewise.
14062 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14063 (argz_next): Use libc_hidden_weak.
14066 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14068 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14072 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14074 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14078 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14079 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14080 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14081 (__feof_unlocked): New declaration, and inline function if
14082 [__USE_EXTERN_INLINES].
14083 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14084 instead of feof_unlocked.
14085 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14086 * nss/nsswitch.c (nss_parse_file): Likewise.
14087 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14089 * time/getdate.c (__getdate_r): Likewise.
14090 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14091 Define as macro to call __feof_unlocked.
14093 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14095 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14097 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14099 * math/Makefile: Remove mpexp.c and mplog.c
14100 * sysdeps/i386/fpu/mpexp.c: Delete file.
14101 * sysdeps/i386/fpu/mplog.c: Likewise.
14102 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14103 * sysdeps/ia64/fpu/mplog.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14105 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14106 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14107 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14108 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14109 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14110 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14111 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14112 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14113 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14114 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14115 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14116 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14117 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14118 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14119 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14121 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14123 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14125 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14127 * sysdeps/sh/libm-test-ulps: Update.
14129 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14131 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14134 2018-02-12 Zack Weinberg <zackw@panix.com>
14137 * posix/sys/types.h: Don't include sys/sysmacros.h.
14138 * misc/sys/sysmacros.h: Remove the conditional deprecation
14139 warnings for the macros defined by this header.
14141 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14143 * manual/probes.texi: Remove slowexp probes.
14144 * math/Makefile: Remove slowexp.
14145 * sysdeps/generic/math_private.h (__slowexp): Remove.
14146 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14147 document error bounds.
14148 * sysdeps/i386/fpu/slowexp.c: Remove.
14149 * sysdeps/ia64/fpu/slowexp.c: Remove.
14150 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14151 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14152 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14153 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14154 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14155 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14156 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14158 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14159 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14160 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14162 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14165 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14166 * benchtests/pow-inputs: Update comment for slow path cases.
14167 * manual/probes.texi (slowpow_p10): Delete removed probe.
14168 (slowpow_p10): Likewise.
14169 * math/Makefile: Remove halfulp.c and slowpow.c.
14170 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14171 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14172 (__halfulp): Remove.
14173 (__slowpow): Remove.
14174 * sysdeps/i386/fpu/halfulp.c: Delete file.
14175 * sysdeps/i386/fpu/slowpow.c: Likewise.
14176 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14177 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14179 improve comments and add error analysis.
14180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14181 (power1): Remove function:
14182 (log1): Remove error argument, add error analysis.
14183 (my_log2): Remove function.
14184 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14185 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14186 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14187 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14188 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14189 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14190 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14191 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14192 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14193 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14194 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14195 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14197 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14199 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14201 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14202 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14204 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14207 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14208 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14209 and PTRACE_SETHBPREGS.
14211 2018-02-10 Zack Weinberg <zackw@panix.com>
14214 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14216 * malloc/tst-malloc-stats-cancellation.c: New test case.
14217 * malloc/Makefile: Add new test case.
14219 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14221 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14223 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14225 * math/Makefile (libm-narrow-fns): Add add.
14226 (libm-test-funcs-narrow): Likewise.
14227 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14228 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14229 * math/gen-auto-libm-tests.c (test_functions): Add add.
14230 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14231 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14232 (NARROW_ADD_TRIVIAL): Likewise.
14233 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14235 (__daddl): Likewise.
14236 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14238 (CFLAGS-nldbl-dadd.c): New variable.
14239 (CFLAGS-nldbl-fadd.c): Likewise.
14240 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14244 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14245 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14246 * math/auto-libm-test-in: Add tests of add.
14247 * math/auto-libm-test-out-narrow-add: New generated file.
14248 * math/libm-test-narrow-add.inc: New file.
14249 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14252 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14253 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14254 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14263 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14264 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14265 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14266 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14268 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14296 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14297 (f128-pairs): New variable.
14298 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14299 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14301 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14302 Also make tests add $(f128-loader-link) to gnulib-tests.
14304 2018-02-09 DJ Delorie <dj@redhat.com>
14307 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14308 64-bit ELF type for 64-bit ELF objects.
14310 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14312 * math/libm-test-driver.c (snan_tests_arg): New variable.
14313 * math/libm-test-support.h (snan_tests_arg): New declaration.
14314 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14316 * math/Makefile (test-type-pairs): New variable.
14317 (test-type-pairs-f64xf128-yes): Likewise.
14318 (tests): Add test-narrow-macros.
14319 (libm-test-funcs-narrow): New variable.
14320 (libm-test-c-narrow): Likewise.
14321 (generated): Add $(libm-test-c-narrow).
14322 (libm-tests-base-narrow): New variable.
14323 (libm-tests-narrow): Likewise.
14324 (libm-tests): Add $(libm-tests-narrow).
14325 (libm-tests-for-type): Handle $(libm-tests-narrow).
14326 (libm-test-c-narrow-obj): New variable.
14327 ($(libm-test-c-narrow-obj)): New rule.
14328 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14329 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14330 $(o-iterator) to set dependencies and CFLAGS.
14331 * math/gen-auto-libm-tests.c: Document use for narrowing
14333 (output_for_one_input_case): Take argument NARROW.
14334 (generate_output): Likewise. Update call to
14335 output_for_one_input_case.
14336 (main): Take --narrow option. Update call to generate_output.
14337 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14338 (apply_lit): Update call to _apply_lit.
14339 (apply_arglit): New function.
14340 (parse_args): Handle "a" arguments.
14341 (parse_auto_input): Handle format names using ":".
14342 * math/README.libm-test: Document "a" parameter type.
14343 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14344 (ARG_TYPE_TRUE_MIN): Likewise.
14345 (ARG_TYPE_MAX): Likwise.
14346 (ARG_MIN_EXP): Likewise.
14347 (ARG_MAX_EXP): Likewise.
14348 (ARG_MANT_DIG): Likewise.
14349 (TEST_COND_arg_ibm128): Likewise.
14350 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14351 (TEST_COND_arg_fmt): New macro.
14352 (init_max_error): Update prototype.
14353 * math/libm-test-support.c (test_ibm128): New variable.
14354 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14355 instead of using [TEST_COND_ibm128] conditional.
14356 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14357 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14358 [TEST_NARROW] (TEST_MSG): New definition.
14359 (arg_plus_zero): New macro.
14360 (arg_minus_zero): Likewise.
14361 (arg_plus_infty): Likewise.
14362 (arg_minus_infty): Likewise.
14363 (arg_qnan_value_pl): Likewise.
14364 (arg_qnan_value): Likewise.
14365 (arg_snan_value_pl): Likewise.
14366 (arg_snan_value): Likewise.
14367 (arg_max_value): Likewise.
14368 (arg_min_value): Likewise.
14369 (arg_min_subnorm_value): Likewise.
14370 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14371 (RUN_TEST_LOOP_aa_f): New macro.
14372 (TEST_SUFF): New macro.
14373 (TEST_SUFF_STR): Likewise.
14374 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14375 (TEST_COND_any_ibm128): New macro.
14376 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14377 this_func. Update call to init_max_error.
14378 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14379 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14380 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14381 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14382 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14383 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14384 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14385 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14386 * math/test-math-vector.h (TEST_NARROW): Likewise.
14387 * math/test-arg-double.h: New file.
14388 * math/test-arg-float128.h: Likewise.
14389 * math/test-arg-float32x.h: Likewise.
14390 * math/test-arg-float64.h: Likewise.
14391 * math/test-arg-float64x.h: Likewise.
14392 * math/test-arg-ldouble.h: Likewise.
14393 * math/test-math-narrow.h: Likewise.
14394 * math/test-narrow-macros.c: Likewise.
14395 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14396 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14397 test-narrow-macros-ldbl-64.
14398 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14400 * math/bits/mathcalls-narrow.h: New file.
14401 * include/bits/mathcalls-narrow.h: Likewise.
14402 * math/math-narrow.h: Likewise.
14403 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14404 (__MATHCALL_NARROW_ARGS_2): Likewise.
14405 (__MATHCALL_NARROW_ARGS_3): Likewise.
14406 (__MATHCALL_NARROW_NORMAL): Likewise.
14407 (__MATHCALL_NARROW_REDIR): Likewise.
14408 (__MATHCALL_NARROW): Likewise.
14409 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14410 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14412 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14413 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14414 (libm-narrow-fns): New variable.
14415 (libm-narrow-types-basic): Likewise.
14416 (libm-narrow-types-ldouble-yes): Likewise.
14417 (libm-narrow-types-float128-yes): Likewise.
14418 (libm-narrow-types-float128-alias-yes): Likewise.
14419 (libm-narrow-types): Likewise.
14420 (libm-routines): Add narrowing functions.
14421 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14422 (libc_feholdexcept_setroundf128): New macro.
14423 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14424 * sysdeps/ieee754/float128/float128_private.h: Include
14425 <math/math-narrow.h>.
14426 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14427 Undefine and redefine.
14428 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14429 (libm_alias_float_ldouble): Undefine and redefine.
14430 (libm_alias_double_ldouble): Likewise.
14432 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14434 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14436 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14439 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14441 * manual/creature.texi: Convert references to gcc.info to gcc.
14442 * manual/stdio.texi: Likewise.
14443 * manual/string.texi: Likewise.
14445 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14448 * posix/bits/types.h (__int_least8_t): New typedef.
14449 (__uint_least8_t): Likewise.
14450 (__int_least16_t): Likewise.
14451 (__uint_least16_t): Likewise.
14452 (__int_least32_t): Likewise.
14453 (__uint_least32_t): Likewise.
14454 (__int_least64_t): Likewise.
14455 (__uint_least64_t): Likewise.
14456 * sysdeps/generic/stdint.h (int_least8_t): Define using
14458 (int_least16_t): Define using __int_least16_t.
14459 (int_least32_t): Define using __int_least32_t.
14460 (int_least64_t): Define using __int_least64_t.
14461 (uint_least8_t): Define using __uint_least8_t.
14462 (uint_least16_t): Define using __uint_least16_t.
14463 (uint_least32_t): Define using __uint_least32_t.
14464 (uint_least64_t): Define using __uint_least64_t.
14465 * wcsmbs/uchar.h: Include <bits/types.h>.
14466 (char16_t): Define using __uint_least16_t conditional only on
14468 (char32_t): Define using __uint_least32_t conditional only on
14470 * wcsmbs/test-char-types.c: New file.
14471 * wcsmbs/Makefile (tests): Add test-char-types.
14473 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14476 2018-02-07 Zack Weinberg <zackw@panix.com>
14478 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14479 Delete all contents except for definitions of _G_HAVE_MMAP and
14480 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14481 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14482 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14485 * libio/libio.h: Don't include bits/_G_config.h here.
14486 Include stddef.h with __need_wchar_t defined. Include
14487 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14488 Define _IO_iconv_t here, directly.
14489 Don't define _IO_HAVE_ST_BLKSIZE.
14490 * libio/libioP.h: Include _G_config.h here. Move include of
14491 shlib-compat.h up with rest of includes. Simplify conditionals
14492 controlling definition of _IO_JUMPS_OFFSET.
14494 * csu/init.c: Remove always-true #if around entire file.
14495 Don't include stdio.h. Set _IO_stdin_used to hardwired
14496 constant 0x20001, and update commentary.
14497 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14498 Replace all uses of _G_va_list with __gnuc_va_list.
14499 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14500 instead of #if _IO_HAVE_ST_BLKSIZE.
14501 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14502 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14505 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14506 multiple-include guard to match.
14507 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14509 Remove preprocessor conditionals that are always true and/or
14510 redundant to other preprocessor conditionals in the same nest.
14511 Include shlib-compat.h unconditionally.
14512 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14513 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14514 defined after including stdio.h.
14515 Use __BEGIN_DECLS/__END_DECLS.
14517 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14518 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14519 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14521 2018-02-07 Zack Weinberg <zackw@panix.com>
14523 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14524 New single-type headers split from _G_config.h.
14525 * libio/bits/types/cookie_io_functions_t.h
14526 * libio/bits/types/struct_FILE.h
14527 New single-type headers split from libio.h.
14529 * libio/Makefile: Install the above new headers. Don't install
14530 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14532 * libio/_G_config.h, libio/libio.h: Delete file.
14534 * libio/bits/libio.h: Remove improper-inclusion guard.
14535 Include stdio.h and don't repeat anything that it does.
14536 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14537 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14538 __io_read_fn as cookie_read_function_t,
14539 __io_write_fn as cookie_write_function_t,
14540 __io_seek_fn as cookie_seek_function_t,
14541 __io_close_fn as cookie_close_function_t,
14542 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14543 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14544 here, in the "compatibility defines" section. Remove an #if 0
14545 block. Use the "body" macros from bits/types/struct_FILE.h to
14546 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14547 and _IO_ferror_unlocked.
14548 Move prototypes of __uflow and __overflow...
14550 * libio/stdio.h: ...here. Don't include bits/libio.h.
14551 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14552 directly from stdarg.h. Include bits/types/__fpos_t.h,
14553 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14554 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14555 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14556 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14557 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14558 __ssize_t, not _IO_ssize_t. Unconditionally define
14559 BUFSIZ as 8192 and EOF as (-1).
14561 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14562 macros from bits/types/struct_FILE.h instead of _IO_* macros
14563 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14564 instead of _IO_ssize_t.
14565 * libio/bits/stdio2.h: Similarly.
14567 * libio/iolibio.h: Add multiple-include guard.
14568 Include bits/libio.h after stdio.h.
14569 * libio/libioP.h: Add multiple-include guard.
14570 Include stdio.h and bits/libio.h before iolibio.h.
14572 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14573 * include/bits/types/cookie_io_functions_t.h
14574 * include/bits/types/struct_FILE.h: New wrappers.
14576 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14577 Get definitions of _G_fpos_t and _G_fpos64_t from
14578 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14579 respectively. Remove improper-inclusion guards.
14581 * conform/data/stdio.h-data: Update expectations of va_list.
14582 * scripts/check-installed-headers.sh: Remove special case for
14583 libio.h and _G_config.h.
14585 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14589 * include/sys/sysmacros.h [!_ISOMAC]
14590 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14591 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14592 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14593 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14595 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14596 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14598 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14599 Undefine and redefine to add use __gnu_dev_ prefix.
14600 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14602 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14603 and define as hidden inline function.
14604 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14606 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14608 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14609 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14610 (gnu_dev_minor): Likewise.
14611 (gnu_dev_makedev): Likewise.
14612 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14614 * posix/wordexp.c (exec_comm_child): Likewise.
14615 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14616 instead of minor and __gnu_dev_major instead of major.
14617 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14618 __gnu_dev_major instead of major.
14619 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14620 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14621 instead of gnu_dev_minor.
14622 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14623 (SLAVE_P): Likewise.
14624 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14625 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14629 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14631 * locale/weightwc.h (findidx): Likewise.
14633 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14635 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14636 (slowlog_inexact): Likewise
14637 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14638 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14640 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14643 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14644 missing second underscore to parameter name.
14646 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14652 * bits/byteswap.h: Update file comment. Do not include
14653 <bits/byteswap-16.h>.
14654 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14656 (__bswap_16): Define as inline function.
14657 (__bswap_constant_32): Reformat definition.
14658 (__bswap_32): Always define as inline function, not macro, using
14659 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14660 otherwise __bswap_constant_32.
14661 (__bswap_constant_64): Reformat definition. Do not use
14662 __extension__ here.
14663 (__bswap_64): Always define as inline function, not macro. Use
14664 __extension__ on function definition. Use __builtin_bswap64 if
14665 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14666 * string/test-endian-file-scope.c: New file.
14667 * string/test-endian-sign-conversion.c: Likewise.
14668 * string/Makefile (headers): Remove bits/byteswap-16.h.
14669 (tests): Add test-endian-file-scope and
14670 test-endian-sign-conversion.
14671 (CFLAGS-test-endian-sign-conversion.c): New variable.
14672 * bits/byteswap-16.h: Remove file.
14673 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14674 * sysdeps/ia64/bits/byteswap.h: Likewise.
14675 * sysdeps/m68k/bits/byteswap.h: Likewise.
14676 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14677 * sysdeps/s390/bits/byteswap.h: Likewise.
14678 * sysdeps/tile/bits/byteswap.h: Likewise.
14679 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14680 * sysdeps/x86/bits/byteswap.h: Likewise.
14683 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14684 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14685 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14686 199901L] (__restrict): Define to restrict.
14689 * string/testcopy.c: Include <support/support.h>. Do not include
14690 <malloc.h>. Use <support/test-driver.c>.
14691 (main): Rename to do_test. Make static. Use xmalloc instead of
14695 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14696 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14697 (SSIZE_MAX): Define to INT_MAX.
14698 * posix/test-ssize-max.c: New file.
14699 * posix/Makefile (tests): Add test-ssize-max.
14702 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14703 <support/support.h>. Do not include <malloc.h>.
14704 (query_auxv): Use xmalloc instead of malloc.
14707 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14708 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14711 2018-02-06 Florian Weimer <fweimer@redhat.com>
14714 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14715 Use scratch_buffer instead of extend_alloca.
14717 2018-02-06 Zack Weinberg <zackw@panix.com>
14719 * libio/stdio.h: Don't define getc or putc as macros.
14720 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14721 not _IO_getc and _IO_putc.
14723 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14724 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14726 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14728 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14729 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14731 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14734 * elf/elf.h (NT_PRFPREG): New macro.
14735 (NT_S390_VXRS_LOW): Likewise.
14736 (NT_S390_VXRS_HIGH): Likewise.
14737 (NT_S390_GS_CB): Likewise.
14738 (NT_S390_GS_BC): Likewise.
14739 (NT_S390_RI_CB): Likewise.
14741 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14742 (MAP_SYNC): New macro.
14743 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14745 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14746 (MAP_SYNC): Likewise.
14747 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14748 (MAP_SYNC): Likewise.
14749 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14750 (MAP_SYNC): Likewise.
14751 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14752 (MAP_SYNC): Likewise.
14753 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14754 (MAP_SYNC): Likewise.
14755 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14756 (MAP_SYNC): Likewise.
14757 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14759 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14762 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14763 (MAP_SHARED_VALIDATE): New macro.
14764 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14765 (MAP_SHARED_VALIDATE): Likewise.
14767 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14769 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14770 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14771 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14773 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14775 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14776 (DT_NUM): Updated to 35.
14778 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14780 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14781 __builtin_expect with __glibc_likely and __glibc_unlikely.
14782 (elf_machine_rela): Likewise.
14783 (elf_machine_lazy_rel): Likewise.
14785 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
14788 __builtin_expect with __glibc_likely and __glibc_unlikely.
14789 (elf_machine_lazy_rel): Likewise.
14791 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14794 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14796 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
14798 2018-02-05 Andreas Schwab <schwab@suse.de>
14801 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14804 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14806 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14807 not check against PTHREAD_STACK_MIN.
14809 2018-02-02 Sean McKean <smckean83@gmail.com>
14812 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14814 2018-02-02 Florian Weimer <fweimer@redhat.com>
14817 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14818 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14819 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14820 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14821 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14822 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14823 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14824 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14825 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14826 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14827 * misc/tst-preadvwritev2.c (do_test): Call it.
14828 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14830 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14832 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14834 * benchtests/bench-memcmp.c: Print json instead of plain text.
14836 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14839 2018-02-01 Joseph Myers <joseph@codesourcery.com>
14841 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14843 (s390_sthyi): New syscall.
14845 * sysdeps/generic/ldbl-classify-compat.h: New file.
14846 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14847 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14848 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14849 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14850 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14851 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14852 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14853 <ldbl-classify-compat.h>.
14854 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14855 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14856 <ldbl-classify-compat.h>.
14857 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14858 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14859 <ldbl-classify-compat.h>.
14860 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14861 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14862 <ldbl-classify-compat.h>.
14863 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14865 <ldbl-classify-compat.h>.
14866 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14868 <ldbl-classify-compat.h>.
14869 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14870 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14871 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14872 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14873 * sysdeps/microblaze/math_private.h: Likewise.
14874 * sysdeps/nios2/math_private.h: Likewise.
14875 * sysdeps/sh/math_private.h: Likewise.
14877 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14878 * sysdeps/m68k/coldfire/math_private.h: ... here.
14879 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14880 * sysdeps/tile/math_private.h: Likewise.
14881 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14883 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14886 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14888 (libc_fetestexcept): Likewise.
14889 (libc_feupdateenv_test): Likewise.
14890 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14891 (libc_fetestexcept): Likewise.
14892 (libc_feupdateenv_test): Likewise.
14893 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14894 (libc_fetestexcept): Likewise.
14895 (libc_feupdateenv_test): Likewise.
14896 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14897 (libc_fetestexcept): Likewise.
14898 (libc_feupdateenv_test): Likewise.
14900 * sysdeps/generic/math_private.h
14901 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14902 New inline function.
14903 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14906 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14907 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14908 * sysdeps/generic/math_private.h
14909 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14911 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14913 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14915 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14917 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14919 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14921 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14922 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14923 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14924 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14925 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14926 (__fegetenv): Likewise.
14927 (fesetenv): Likewise.
14928 (__fesetenv): Likewise.
14929 (feupdateenv): Likewise.
14930 (__feupdateenv): Likewise.
14931 (fegetround): Likewise.
14932 (__fegetround): Likewise.
14933 (fesetround): Likewise.
14934 (__fesetround): Likewise.
14936 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14937 (feraiseexcept): New macro.
14938 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14939 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14941 (__feraiseexcept): Likewise.
14942 (feclearexcept): Likewise.
14943 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14944 (__feraiseexcept): Likewise.
14945 (feclearexcept): Likewise.
14946 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14947 (__feraiseexcept): Likewise.
14948 (feclearexcept): Likewise.
14949 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14950 (__feraiseexcept): Likewise.
14951 (feclearexcept): Likewise.
14952 (fetestexcept): Likewise.
14954 * sysdeps/m68k/coldfire/math-tests.h: New file.
14956 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14957 * sysdeps/m68k/bits/fenv.h: ... here.
14958 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14960 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14962 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14964 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14966 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14968 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14970 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14971 (__FE_UNDEFINED): New enum constant.
14972 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14974 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14976 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14978 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14979 to match generic bits/fenv.h.
14980 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14983 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14985 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14986 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14987 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14988 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14990 2018-02-01 Carlos O'Donell <carlos@redhat.com>
14991 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14992 Joseph Myers <joseph@codesourcery.com>
14995 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14996 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14997 computation using c.
14998 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14999 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15000 computation using c.
15002 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15004 * version.h (RELEASE): Set to "development".
15005 (VERSION): Set to "2.27.9000".
15006 * NEWS (2.28): New section.
15008 * version.h (RELEASE): Set to "stable".
15009 (VERSION): Set to "2.27".
15010 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15012 * NEWS: Add the list of bugs fixed in 2.27.
15014 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15016 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15017 against PTHREAD_STACK_MIN.
15019 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15021 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15023 (Rafal Luzynski, Andreas Schwab): Update.
15025 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15028 * NEWS: List the languages which actually use the alternative
15029 months feature in this release. Also explain that "alt_mon" and
15030 "ab_alt_mon" are optional.
15032 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15035 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15037 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15039 * manual/install.texi (Tools for Compilation): Update the newest
15040 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15041 * INSTALL: Regenerated.
15043 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15045 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15046 instead of __builtin_expect.
15048 2018-01-30 Florian Weimer <fweimer@redhat.com>
15050 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15052 * nss/tst-nss-getpwent.c (do_test): Likewise.
15054 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15057 * localedata/locales/hr_HR (mon): Rename to...
15059 (mon): Import from CLDR (genitive case).
15060 (d_t_fmt): Update the comment.
15062 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15064 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15065 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15066 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15068 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15070 * mach/Versions: Fix version when __mach_host_self_ was added.
15071 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15072 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15073 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15074 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15075 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15076 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15077 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15078 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15079 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15080 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15081 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15082 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15083 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15084 || to respect codestyle.
15085 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15086 (do_test_bz20181): Rename accordingly.
15087 * malloc/malloc.c: Include <assert.h>.
15088 (assert): Do not define.
15089 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15090 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15091 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15092 * sysdeps/mach/hurd/hp-timing.h: New file.
15093 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15095 2018-01-29 Darius Rad <darius@bluespec.com>
15097 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15099 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15101 * sysdeps/init_array/crti.S (.section .init_array): Add
15102 PREINIT_FUNCTION when defined.
15103 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15104 * config.h.in: Regenerate.
15105 * manual/platform.texi: Add RISC-V documenation for
15106 __riscv_flush_icache.
15107 * sysdeps/riscv/__longjmp.S: New file.
15108 * sysdeps/riscv/backtrace.c: Likewise.
15109 * sysdeps/riscv/bits/endian.h: Likewise.
15110 * sysdeps/riscv/bits/setjmp.h: Likewise.
15111 * sysdeps/riscv/bits/wordsize.h: Likewise.
15112 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15113 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15114 * sysdeps/riscv/dl-trampoline.S: Likewise.
15115 * sysdeps/riscv/gccframe.h: Likewise.
15116 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15117 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15118 * sysdeps/riscv/machine-gmon.h: Likewise.
15119 * sysdeps/riscv/memusage.h: Likewise.
15120 * sysdeps/riscv/setjmp.S: Likewise.
15121 * sysdeps/riscv/sys/asm.h: Likewise.
15122 * sysdeps/riscv/tls-macros.h: Likewise.
15123 * sysdeps/riscv/dl-tls.h: New file.
15124 * sysdeps/riscv/libc-tls.c: Likewise.
15125 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15126 * sysdeps/riscv/nptl/tls.h: Likewise.
15127 * sysdeps/riscv/stackinfo.h: Likewise.
15128 * sysdeps/riscv/bits/fenv.h: New file.
15129 * sysdeps/riscv/e_sqrtl.c: Likewise.
15130 * sysdeps/riscv/fpu_control.h: Likewise.
15131 * sysdeps/riscv/math-tests.h: Likewise.
15132 * sysdeps/riscv/nofpu/Implies: Likewise.
15133 * sysdeps/riscv/sfp-machine.h: Likewise.
15134 * sysdeps/riscv/tininess.h: Likewise.
15135 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15136 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15137 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15138 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15139 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15140 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15141 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15142 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15143 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15144 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15145 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15146 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15147 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15148 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15149 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15150 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15151 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15152 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15153 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15154 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15155 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15156 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15157 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15158 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15159 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15160 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15161 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15162 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15163 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15164 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15165 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15166 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15167 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15168 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15169 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15170 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15171 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15172 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15173 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15174 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15175 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15176 * sysdeps/riscv/rvf/math_private.h: Likewise.
15177 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15178 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15179 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15180 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15181 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15182 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15183 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15184 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15185 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15186 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15187 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15188 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15189 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15190 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15191 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15192 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15193 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15194 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15195 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15196 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15197 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15198 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15199 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15200 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15201 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15202 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15203 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15204 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15205 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15206 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15207 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15208 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15209 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15210 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15211 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15212 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15213 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15214 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15215 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15216 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15217 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15218 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15219 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15220 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15221 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15222 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15223 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15224 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15225 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15226 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15227 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15228 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15229 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15230 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15231 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15232 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15233 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15234 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15235 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15236 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15237 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15245 * sysdeps/riscv/Implies: New file.
15246 * sysdeps/riscv/Makefile: Likewise.
15247 * sysdeps/riscv/configure: Likewise.
15248 * sysdeps/riscv/configure.ac: Likewise.
15249 * sysdeps/riscv/nptl/Makefile: Likewise.
15250 * sysdeps/riscv/preconfigure: Likewise.
15251 * sysdeps/riscv/rv64/Implies-after: Likewise.
15252 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15253 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15254 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15255 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15256 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15257 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15258 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15259 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15260 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15261 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15262 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15263 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15264 (Config): Likewise.
15266 2018-01-29 Florian Weimer <fweimer@redhat.com>
15269 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15270 libnsl_hidden_proto.
15271 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15272 libnsl_hidden_proto.
15273 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15274 * nis/Makefile (libnsl-routines): Add nss-default only for
15275 build-obsolete-nsl.
15276 * nis/nis_defaults.c (__nis_default_ttl): Add
15277 libnsl_hidden_nolink_def.
15278 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15280 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15281 * nis/ypclnt.c (yp_maplist): Likewise.
15283 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15285 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15286 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15288 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15290 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15291 clean -dxfq for git updates when replacing sources.
15293 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15294 --disable-libcilkrts unconditionally, not just for the final GCC
15297 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15300 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15303 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15306 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15309 * localedata/locales/be_BY (mon): Rename to...
15310 (alt_mon): This, then synchronize with CLDR (nominative case).
15311 (abmon): Rename to...
15312 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15313 (mon): Import from CLDR (genitive case).
15315 * localedata/locales/be_BY@latin (mon): Rename to...
15317 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15319 * localedata/locales/be_BY@latin (lang_name): Reworded to
15320 "biełaruskaja mova".
15322 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15325 * localedata/locales/el_CY (mon): Renamed to...
15327 (mon): Import from CLDR (genitive case).
15328 * localedata/locales/el_GR: Likewise.
15330 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15333 * localedata/locales/ru_RU (mon): Rename to...
15335 (abmon): Rename to...
15336 (ab_alt_mon): This.
15337 (mon): Import from CLDR (genitive case).
15338 (abmon): Copy from the old content except the 5th month which is
15339 now in the genitive case, even when abbreviated.
15340 * localedata/locales/ru_UA: Likewise.
15341 * time/tst-strptime.c (day_tests): Add an actual example of
15342 a difference between %b and %Ob in Russian.
15344 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15346 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15347 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15349 * resolv/res-close.c: Include <stdlib.h>.
15350 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15351 <sys/wait.h>, <time.h>, <sys/uio.h>.
15352 (NOT_CANCEL_H): Add inclusion guard.
15353 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15354 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15355 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15357 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15358 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15359 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15361 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15362 timer_ptr2id to cast struct timer_node * to void *.
15363 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15364 --disable-libcilkrts to gcc configure.
15365 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15366 and make them the default for now.
15367 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15368 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15369 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15370 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15371 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15373 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15374 __task_terminate would ever return successfully.
15375 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15377 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15378 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15379 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15380 critical section to make code simpler and avoid warning.
15381 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15382 critical section to make code simpler and avoid warning.
15383 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15384 const char * instead of char *.
15385 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15386 __hurd_file_name_split, hurd_file_name_split,
15387 __hurd_directory_name_split, hurd_directory_name_split,
15388 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15389 hurd_file_name_path_lookup): Make lookup function parameter take a
15390 const char *name instead of char *name.
15391 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15392 __hurd_directory_name_split): Likewise.
15393 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15394 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15395 * sysdeps/mach/hurd/check_native.c: New file.
15396 * sysdeps/mach/hurd/check_pf.c: New file.
15397 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15398 (__freeifaddrs): Define macro to freeifaddrs.
15399 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15400 * sysdeps/mach/libmachuser.abilist: New file.
15401 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15402 (do_test_bz20181): Rename accordingly.
15403 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15404 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15406 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15407 version only if __USE_EXTERN_INLINES is defined.
15408 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15409 __hurd_sockfail): Likewise.
15410 (_hurd_fd_get): Always declare functions, and provide inline versions
15411 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15412 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15413 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15414 _hurd_port_set): Always declare functions, and provide inline versions
15415 only if __USE_EXTERN_INLINES and _LIBC are defined and
15417 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15418 _hurd_critical_section_unlock): Likewise.
15419 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15420 * __hurd_threadvar_location): Likewise.
15421 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15422 _hurd_userlink_clear): Likewise.
15423 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15424 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15425 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15426 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15427 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15428 __spin_lock_locked): Likewise.
15429 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15430 __spin_lock_locked): Likewise.
15431 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15432 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15433 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15434 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15435 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15436 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15437 _POSIX_NO_TRUNC): Define to 0.
15438 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15439 check size against PTHREAD_STACK_MIN.
15440 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15441 IS_IN(libpthread)]: Include <sigsetops.h>.
15442 * mach/Makefile (user-interfaces): Add mach/gnumach.
15443 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15444 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15445 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15446 instead of invalid -1.
15447 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15448 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15449 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15452 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15454 * hurd/fcntl-internal.h: New file.
15456 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15458 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15460 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15462 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15465 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15466 Build only shared objects.
15468 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15470 * README: Update for hppa.
15472 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15474 * sysdeps/sparc/fpu/libm-test-ulps: Update
15475 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15477 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15481 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15484 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15485 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15486 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15487 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15490 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15493 * bits/types/__cancel_jmp_buf_tag.h: New file.
15494 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15495 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15496 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15497 * nptl/Makefile (headers): Add
15498 bits/types/__cancel_jmp_buf_tag.h.
15499 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15500 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15501 * sysdeps/nptl/pthread.h: Include
15502 <bits/types/__cancel_jmp_buf_tag.h>.
15503 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15505 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15507 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15510 * localedata/locales/uk_UA (mon): Renamed to...
15512 (alt_digits): "0" removed and then renamed to...
15514 (date_fmt): Definition changed not to use the alternative
15517 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15519 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15520 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15521 * elf/elf.h (EF_RISCV_RVC): New define.
15522 (EF_RISCV_FLOAT_ABI): Likewise.
15523 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15524 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15525 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15526 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15527 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15529 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15531 2018-01-25 Andreas Schwab <schwab@suse.de>
15533 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15535 * sysdeps/gnu/configure: Regenerate.
15536 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15537 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15539 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15540 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15541 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15542 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15543 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15545 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15547 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15548 URL, and run autoconf, make it the default for now.
15550 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15552 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15553 soft-float ColdFire configuration.
15555 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15556 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15557 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15559 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15562 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15564 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15566 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15569 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15570 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15571 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15574 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15577 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15578 Rename to __reserved and add comment.
15579 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15580 Rename to __reserved.
15582 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15584 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15585 i686-gnu configurations.
15586 (Context.run_builds): Include mig, gnumach and hurd in components
15588 (Context.checkout): Add mig, gnumach and hurd to components.
15589 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15591 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15592 (Config.build): Install gnumach headers, build mig and install
15593 hurd headers for 'gnu' OS.
15594 (Config.install_gnumach_headers): New function.
15595 (Config.install_hurd_headers): Likewise.
15596 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15597 when building for 'gnu' OS.
15599 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15601 * manual/tunables.texi (Hardware Capability Tunables): Fix
15604 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15606 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15607 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15608 (ALTMON_11, ALTMON_12): Improve documentation.
15609 * manual/time.texi (strftime): Likewise.
15611 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15614 * localedata/locales/pl_PL: Alternative month names added,
15615 primary month names are genitive now.
15616 * time/tst-strptime.c (day_tests): Actually use a genitive case
15617 of a month name in Polish language.
15619 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15622 * manual/locale.texi: Document ALTMON_1..12 constants for
15623 nl_langinfo. Specify when to use ALTMON instead of MON.
15624 * manual/time.texi (strftime, strptime): Document GNU extension
15625 permitting O modifier with %B and %b. Specify when to use
15628 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15631 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15632 names, define them as the same as abbreviated month names explicitly.
15633 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15634 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15635 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15636 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15637 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15638 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15639 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15640 _NL_WABALTMON_12): New enum constants.
15641 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15642 wab_alt_mon, and ab_alt_mon_defined members.
15643 (time_output): Output ab_alt_mon and wab_alt_mon members.
15644 (time_read): Read them, initialize them as copies of abmon and wabmon
15645 respectively if they are missing, initialize ab_alt_mon_defined.
15646 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15647 * locale/programs/locfile-kw.h: Regenerate.
15648 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15649 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15651 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15652 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15653 (__strftime_internal): Handle %Ob and %Oh formats.
15654 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15655 (__strptime_internal): Handle %Ob and %Oh formats.
15656 * time/tst-strptime.c (day_tests): Add more tests to parse different
15657 forms of month names including the new %Ob format specifier.
15659 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15662 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15663 define them as the same as primary full month names explicitly.
15664 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15665 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15666 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15667 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15668 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15669 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15670 _NL_WALTMON_12): New enum constants.
15671 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15672 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15674 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15675 walt_mon, and alt_mon_defined members.
15676 (time_output): Output alt_mon and walt_mon members.
15677 (time_read): Read them, initialize them as copies of mon and wmon
15678 respectively if they are missing, initialize alt_mon_defined.
15679 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15680 * locale/programs/locfile-kw.h: Regenerate.
15681 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15682 * localedata/tst-langinfo.c (map): Add tests for the new constants
15683 ALTMON_1 .. ALTMON_12.
15684 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15686 * time/strftime_l.c (f_altmonth): New macro.
15687 (__strftime_internal): Handle %OB format.
15688 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15689 (__strptime_internal): Handle %OB format.
15690 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15691 of month names including the new %OB format specifier.
15693 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15696 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15697 from ABORT_TRANSACTION.
15698 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15699 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15700 ABORT_TRANSACTION_IMPL): Likewise.
15701 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15702 Linux code, but remove the code that aborts transactions.
15704 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15706 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15708 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15710 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15711 in date: "2004-14-09" should be "2004-09-14".
15712 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15713 "2003-15-09" should be "2003-09-15".
15715 2018-01-18 Arjun Shankar <arjun@redhat.com>
15721 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15723 (_int_memalign): check for integer overflow before calling
15725 * malloc/tst-malloc-too-large.c: New test.
15726 * malloc/Makefile: Add tst-malloc-too-large.
15728 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15730 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15731 in date: "2017-24-07" should be "2017-07-24".
15732 * localedata/locales/mai_IN: Likewise.
15733 * localedata/locales/mai_NP: Likewise.
15735 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15737 * po/ru.po: Update translations.
15739 2018-01-17 Joseph Myers <joseph@codesourcery.com>
15742 * sysdeps/hppa/backtrace.c: New file.
15744 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15747 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15748 align La_x86_64_retval to VEC_SIZE.
15750 2018-01-16 Joseph Myers <joseph@codesourcery.com>
15752 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15753 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15755 2018-01-16 Florian Weimer <fweimer@redhat.com>
15757 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15758 Move tst-thread-exit-clobber ...
15759 [$(CXX)] (tests-unsupported): ... to here.
15761 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15763 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15764 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15765 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15766 (_dl_aarch64_cap_flags): Update.
15767 (_DL_HWCAP_COUNT): Update.
15769 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15771 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15772 (_DL_HWCAP_LAST): Remove.
15773 (_DL_HWCAP_COUNT): Move to ...
15774 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15775 (_DL_HWCAP_COUNT): ... here.
15777 2018-01-16 Florian Weimer <fweimer@redhat.com>
15779 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15780 mode with GNU extensions.
15782 2018-01-15 Alan Hayward <alan.hayward@arm.com>
15784 * elf/elf.h (NT_ARM_SVE): Define.
15786 2018-01-15 Florian Weimer <fweimer@redhat.com>
15789 * nptl/tst-minstack-throw.cc: New file.
15790 * nptl/Makefile (tests): Add tst-minstack-throw.
15791 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15792 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15794 2018-01-15 Joseph Myers <joseph@codesourcery.com>
15796 * scripts/build-many-glibcs.py (Context.checkout): Default
15797 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15800 2018-01-13 Carlos O'Donell <carlos@redhat.com>
15803 * elf/elf.h (DF_1_STUB): Define.
15804 (DF_1_PIE): Define.
15806 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15809 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15810 Do not add 0.5 to integer or out-of-range arguments.
15812 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15814 * po/bg.po: Update translations.
15815 * po/cs.po: Likewise.
15816 * po/de.po: Likewise.
15817 * po/ko.po: Likewise.
15818 * po/pl.po: Likewise.
15819 * po/sv.po: Likewise.
15820 * po/uk.po: Likewise.
15821 * po/vi.po: Likewise.
15823 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15825 * aarch64/start.S (_start): Use __wrap_main.
15826 (__wrap_main): New local symbol.
15828 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15832 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15833 generic_getcwd if the path returned by getcwd syscall is not absolute.
15834 * io/tst-getcwd-abspath.c: New test.
15835 * io/Makefile (tests): Add tst-getcwd-abspath.
15837 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15839 * malloc/malloc.c (malloc_consolidate): Add size check.
15841 2018-01-12 Florian Weimer <fweimer@redhat.com>
15843 * support/write_message.c (write_message): Preserve errno.
15844 * support/check.c (print_failure): Likewise.
15845 * support/support_test_verify_impl.c (support_test_verify_impl):
15847 * support/support_test_compare_failure.c
15848 (support_test_compare_failure): Likewise.
15850 2018-01-12 Florian Weimer <fweimer@redhat.com>
15853 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15854 Prevent installation of libnsl.so.
15855 (libnsl-inhibit-o): Do not build (or install) static libraries.
15857 2018-01-12 Egmont Koblinger <egmont@gmail.com>
15860 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15861 before the day number which may produce a double space.
15862 (date_fmt): Likewise.
15864 2018-01-12 Joseph Myers <joseph@codesourcery.com>
15866 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15867 instead of fegetenv.
15869 2018-01-11 Joseph Myers <joseph@codesourcery.com>
15872 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15873 comment to say exceptions are discarded.
15874 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15876 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15879 2018-01-11 Florian Weimer <fweimer@redhat.com>
15881 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15884 2018-01-11 Florian Weimer <fweimer@redhat.com>
15887 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15888 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15890 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15893 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15894 negative arguments in test for NaN or infinity argument.
15896 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15898 * po/libc.pot: Regenerate.
15900 2018-01-10 Florian Weimer <fweimer@redhat.com>
15903 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15904 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15906 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15908 * hurd/hurd/fd.h: Include <fcntl.h>
15909 (__hurd_at_flags): New function.
15910 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15911 with call to __hurd_at_flags.
15912 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15913 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15915 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15916 (__access_noerrno): Use __faccessat_common instead of access_common.
15917 (__access): Likewise.
15918 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15919 with a call to __faccessat.
15920 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15921 (__faccessat_common): ... this. Move implementation of __access into it when
15922 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15923 reauthenticate_cwdir_at helper to implement AT mechanism.
15924 (__faccessat_noerrno): New function, just calls __faccessat_common.
15925 (__faccessat): New function, just calls __faccessat_common.
15926 (faccessat): Define weak alias.
15928 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15931 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15932 (CFLAGS-s_fmaxmagl.c): New variable.
15933 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15937 long int for arguments of possibly overflowing addition or
15939 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15941 2018-01-09 Joseph Myers <joseph@codesourcery.com>
15944 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15945 (CFLAGS-e_remainderl.c): New variable.
15948 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15950 (CFLAGS-s_cacoshl.c): Likewise.
15951 (CFLAGS-s_casinhl.c): Likewise.
15952 (CFLAGS-s_catanl.c): Likewise.
15953 (CFLAGS-s_catanhl.c): Likewise.
15954 (CFLAGS-s_cexpl.c): Likewise.
15955 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15956 (CFLAGS-s_csinhl.c): Likewise.
15957 (CFLAGS-s_clogl.c): Likewise.
15958 (CFLAGS-s_clog10l.c): Likewise.
15959 (CFLAGS-s_csinl.c): Likewise.
15960 (CFLAGS-s_csqrtl.c): Likewise.
15962 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
15963 2017-01-09 Svante Signell <svante.signell@gmail.com>
15965 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15966 (_hurd_exec_paths): New function.
15967 * hurd/hurd.h (_hurd_exec): Deprecate function.
15968 (_hurd_exec_paths): Declare function.
15969 * hurd/Versions: Export _hurd_exec_paths.
15970 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15971 (__execve): Use __getcwd to build absolute path, and use
15972 _hurd_exec_paths instead of _hurd_exec.
15973 * sysdeps/mach/hurd/spawni.c: Likewise.
15974 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15977 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15979 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15980 test instead of failing in case of ENOENT returned by posix_openpt.
15982 2018-01-08 Florian Weimer <fweimer@redhat.com>
15984 resolv: Support binary labels in test framework.
15985 * support/resolv_test.c (struct to_be_freed): Remove.
15986 (struct compressed_name): New.
15987 (allocate_compressed_name, ascii_tolower)
15988 (compare_compressed_name): New functions.
15989 (struct resolv_response_builder): Update type of
15990 compression_offsets for use with tsearch. Rempve to_be_freed.
15991 (response_push_pointer_to_free): Remove function.
15992 (resolv_response_add_name): Rewrite using struct compressed_name
15993 and tsearch instead of hsearch_r.
15994 (response_builder_allocate): Remove initialization of
15995 compression_offsets.
15996 (response_builder_free): Update for removal of to_be_freed. Use
15997 tdestroy instead of hdestroy_r.
15998 * resolv/Makefile (tests): Add tst-resolv-binary.
15999 (tst-resolv-binary): Link with -lresolv -lpthread.
16001 2018-01-08 Florian Weimer <fweimer@redhat.com>
16003 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16004 time. Pass positive flag instead of negative flag to
16005 support_test_compare_failure.
16006 (support_test_compare_failure): Change negative parameter to
16008 * support/support_test_compare_failure.c (report)
16009 (support_test_compare_failure): Likewise.
16010 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16011 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16013 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16016 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16017 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16018 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16020 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16022 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16025 Add s_sincosf-sse2 and s_sincosf-fma.
16026 (CFLAGS-s_sincosf-fma.c): New.
16027 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16028 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16029 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16030 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16031 __sincosf is defined.
16033 2018-01-08 Florian Weimer <fweimer@redhat.com>
16035 * nptl/tst-thread-exit-clobber.cc: New file.
16036 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16038 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16039 (tests): Add tst-thread-exit-clobber.
16040 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16042 2018-01-08 Florian Weimer <fweimer@redhat.com>
16044 * support/check.h (support_static_assert): Define.
16045 (TEST_COMPARE): Use it.
16047 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16049 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16050 [!__RLIM_T_MATCHES_RLIM64_T]
16051 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16052 __getrlimit64. Add libc_hidden_weak.
16054 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16056 * elf/elf.h (R_RISCV_NONE): New define.
16057 (R_RISCV_32): Likewise.
16058 (R_RISCV_64): Likewise.
16059 (R_RISCV_RELATIVE): Likewise.
16060 (R_RISCV_COPY): Likewise.
16061 (R_RISCV_JUMP_SLOT): Likewise.
16062 (R_RISCV_TLS_DTPMOD32): Likewise.
16063 (R_RISCV_TLS_DTPMOD64): Likewise.
16064 (R_RISCV_TLS_DTPREL32): Likewise.
16065 (R_RISCV_TLS_DTPREL64): Likewise.
16066 (R_RISCV_TLS_TPREL32): Likewise.
16067 (R_RISCV_TLS_TPREL64): Likewise.
16068 * Makerules (make-link-multidir): Make directories before linking into
16070 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16072 (VDSO_HASH_LINUX_4_15): Likewise.
16073 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16074 in subdirectories of lib.
16075 * nptl/Makefile (/librt.so): Always depend on
16076 "$(shared-thread-library)".
16078 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16080 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16081 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16082 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16084 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16085 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16087 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16088 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16089 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16090 * sysdeps/gnu/glob-lstat-compat.c: New file.
16091 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16092 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16094 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16096 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16097 Reserve 16 chars to reloc_addr before calling _itoa_word.
16099 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16102 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16103 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16105 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16106 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16108 * resource/tst-getrlimit.c: Add copyright header.
16110 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16111 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16113 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16114 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16115 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16116 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16118 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16119 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16120 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16121 RLIM64_INFINITY): Fix values to match the kernel ones.
16122 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16123 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16124 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16125 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16126 getrlimit64@@GLIBC_2_27.
16127 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16129 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16130 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16131 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16132 setrlimit, getrlimit64 and setrlimit64.
16134 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16137 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16138 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16140 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16142 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16143 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16144 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16146 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16150 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16151 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16155 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16156 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16157 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16158 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16160 2018-01-04 Florian Weimer <fweimer@redhat.com>
16163 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16164 Align the stack before calling exit.
16165 * stdlib/tst-makecontext-align.c: New file.
16166 * stdlib/Makefile (tests): Add tst-makecontext-align.
16168 2018-01-04 Florian Weimer <fweimer@redhat.com>
16170 Add support for calling dlvsym from libc.so.
16171 * include/dlfcn.h (__libc_dlvsym): Declare.
16172 * elf/Makefile (tests-static-internal): Add
16173 tst-libc_dlvsym-static.
16174 (tests-internal): Add tst-libc_dlvsym.
16175 (modules-names): Add tst-libc_dlvsym-dso.
16176 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16177 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16178 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16179 object tst-libc_dlvsym-dso.so needs to be built before running
16181 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16182 * elf/Versions: Export __libc_dlvsym.
16183 * elf/dl-libc.c (struct do_dlvsym_args): New.
16184 (do_dlvsym, __libc_dlvsym): New functions.
16185 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16186 (_dl_open_hook2): New variable.
16187 (__libc_register_dl_open_hook): Set it.
16188 * elf/tst-libc_dlvsym-dso.c: New file.
16189 * elf/tst-libc_dlvsym-static.c: Likewise.
16190 * elf/tst-libc_dlvsym.c: Likewise.
16191 * elf/tst-libc_dlvsym.h: Likewise.
16193 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16195 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16196 include <sys/mount.h>.
16198 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16200 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16201 Add __NO_MATH_ERRNO__ check.
16203 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16205 * sysdeps/mips/mips32/libm-test-ulps: Update.
16206 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16208 2018-01-02 Florian Weimer <fweimer@redhat.com>
16210 * misc/tst-pselect.c: Add copyright header.
16212 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16214 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16216 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16218 (settrlimit): Rename into setrlimit.
16219 (__sttrlimit): Rename into __setrlimit.
16221 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16222 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16223 never defined in that case.
16225 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16227 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16229 * sysdeps/arm/libm-test-ulps: Update.
16231 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16232 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16234 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16236 * NEWS: Add cosf and sincosf to list of optimized functions.
16238 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16241 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16242 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16243 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16244 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16246 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16249 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16251 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16252 making a copy of it.
16254 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16256 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16257 trailing whitespace removed.
16258 * scripts/config.guess: Update to version 2018-01-01.
16259 * scripts/config.sub: Update to version 2018-01-01.
16260 * scripts/move-if-change: Update from gnulib.
16262 * NEWS: Update copyright dates.
16263 * catgets/gencat.c (print_version): Likewise.
16264 * csu/version.c (banner): Likewise.
16265 * debug/catchsegv.sh: Likewise.
16266 * debug/pcprofiledump.c (print_version): Likewise.
16267 * debug/xtrace.sh (do_version): Likewise.
16268 * elf/ldconfig.c (print_version): Likewise.
16269 * elf/ldd.bash.in: Likewise.
16270 * elf/pldd.c (print_version): Likewise.
16271 * elf/sotruss.sh: Likewise.
16272 * elf/sprof.c (print_version): Likewise.
16273 * iconv/iconv_prog.c (print_version): Likewise.
16274 * iconv/iconvconfig.c (print_version): Likewise.
16275 * locale/programs/locale.c (print_version): Likewise.
16276 * locale/programs/localedef.c (print_version): Likewise.
16277 * login/programs/pt_chown.c (print_version): Likewise.
16278 * malloc/memusage.sh (do_version): Likewise.
16279 * malloc/memusagestat.c (print_version): Likewise.
16280 * malloc/mtrace.pl: Likewise.
16281 * manual/libc.texinfo: Likewise.
16282 * nptl/version.c (banner): Likewise.
16283 * nscd/nscd.c (print_version): Likewise.
16284 * nss/getent.c (print_version): Likewise.
16285 * nss/makedb.c (print_version): Likewise.
16286 * posix/getconf.c (main): Likewise.
16287 * scripts/test-installation.pl: Likewise.
16288 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16290 * All files with FSF copyright notices: Update copyright dates
16291 using scripts/update-copyrights.
16292 * locale/programs/charmap-kw.h: Regenerated.
16293 * locale/programs/locfile-kw.h: Likewise.
16295 2017-12-31 Zack Weinberg <zackw@panix.com>
16297 * libio/bits/libio-ldbl.h: Correct check for improper
16298 inclusion. Add own multiple include guard.
16300 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16301 Dmitry V. Levin <ldv@altlinux.org>
16305 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16306 string token expansion. Check for NULL pointer or empty string possibly
16307 returned by expand_dynamic_string_token.
16308 (decompose_rpath): Check for empty path after dynamic string
16311 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16314 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16316 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16317 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16318 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16319 and PTRACE_SYSCALL.
16320 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16321 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16325 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16327 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16328 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16329 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16330 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16332 bits/ptrace-shared.h.
16333 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16334 <bits/ptrace-shared.h>.
16335 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16336 __ptrace_peeksiginfo_flags, ptrace): Remove.
16337 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16341 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16343 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16346 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16347 end of the loop. Improve comments.
16349 2017-12-29 Zack Weinberg <zackw@panix.com>
16352 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16353 might be set on success.
16355 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16358 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16359 is unchanged on success.
16361 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16363 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16365 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16366 expand_dynamic_string_token): Likewise.
16367 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16370 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16373 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16374 is set and name contains ':', and all code depending on these checks.
16376 2017-12-24 Zack Weinberg <zackw@panix.com>
16378 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16379 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16381 * libio/libio.h: Rename the original version of this file to
16382 libio/bits/libio.h. Error out if not included by stdio.h or the
16384 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16385 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16386 if not included by bits/libio.h or the stub _G_config.h.
16387 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16388 sysdeps/unix/sysv/linux/bits. Error out if not included by
16389 bits/libio.h or the stub _G_config.h.
16390 * libio/stdio.h: Include bits/libio.h, not libio.h.
16391 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16392 well as libio.h and _G_config.h.
16394 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16395 * libio/strfile.h, stdio-common/vfscanf.c
16396 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16397 Include stdio.h, not _G_config.h nor libio.h.
16398 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16399 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16401 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16403 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16406 * stdlib/getrandom.c (getrandom): Fix comment.
16407 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16409 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16412 * manual/arith.texi (strtoul): Fix a typo.
16415 * manual/arith.texi (finite): Fix the description of the return
16418 2017-12-22 Eric Blake <ebb9@byu.net>
16420 Avoid gcc warnings on cygwin
16421 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16422 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16423 Avoid unused variable.
16425 2017-12-22 Florian Weimer <fweimer@redhat.com>
16427 * io/Makefile (routines): Add copy_file_range.
16428 (tests): Add tst-copy_file_range.
16429 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16430 * io/Versions (GLIBC_2.27): Export copy_file_range.
16431 * io/copy_file_range-compat.c: New file.
16432 * io/copy_file_range.c: Likewise.
16433 * io/tst-copy_file_range-compat.c: Likewise.
16434 * io/tst-copy_file_range.c: Likewise.
16435 * manual/llio.texi (Copying File Data): New section.
16436 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16437 * support/Makefile (libsupport-routines): Add support-xfstat,
16438 xftruncate, xlseek.
16439 * support/support-xfstat.c: New file.
16440 * support/xftruncate.c: Likewise.
16441 * support/xlseek.c: Likewise.
16442 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16443 * sysdeps/unix/sysv/linux/**.abilist: Update.
16444 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16446 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16448 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16449 disable-multi-arch variant to aarch64-linux-gnu.
16451 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16453 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16454 trailing whitespace removed.
16455 * scripts/config.guess: Update to version 2017-12-17.
16456 * scripts/config.sub: Update to version 2017-11-23.
16457 * scripts/install-sh: Update to version 2017-09-23.17.
16458 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16460 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16462 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16463 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16464 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16465 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16466 * sysdeps/tile/crtn.S: Likewise.
16467 * sysdeps/tile/dl-start.S (_start): Likewise.
16468 * sysdeps/tile/dl-trampoline.S: Likewise.
16469 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16470 * sysdeps/tile/start.S (_start): Likewise.
16471 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16472 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16473 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16474 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16475 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16476 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16477 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16479 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16481 * sysdeps/tile/preconfigure: Remove tilegx folder.
16482 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16483 * sysdeps/tile/Implies: ... here.
16484 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16485 * sysdeps/tile/Makefile: ... here.
16486 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16487 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16488 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16489 * sysdeps/tile/bits/wordsize.h: ... here.
16490 * sysdeps/tile/tilegx/*: Move to ...
16491 * sysdeps/tile/*: ... here.
16492 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16493 * sysdeps/tile/tilegx32/Implies: ... here.
16494 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16495 * sysdeps/tile/tilegx64/Implies: ... here.
16496 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16498 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16499 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16500 * sysdeps/unix/sysv/linux/tile/*: ... here.
16501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16502 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16504 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16506 * README: Remove tilepro-*-linux-gnu from supported architecture.
16507 * scripts/build-many-glibcs.py: Likewise.
16508 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16509 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16510 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16511 elf_machine_matches_host, elf_machine_dynamic,
16512 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16513 howto, elf_machine_rela): Likewise.
16514 * sysdeps/tile/dl-start.S (_start): Likewise.
16515 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16516 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16517 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16518 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16519 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16520 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16522 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16523 * sysdeps/tile/preconfigure: Likewise.
16524 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16525 POINTER_CHK_GUARD): Likewise.
16526 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16527 * sysdeps/tile/start.S (_start): Likewise.
16528 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16530 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16531 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16533 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16534 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16535 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16537 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16538 * sysdeps/tile/tilepro/Implies: Remove file.
16539 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16540 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16541 * sysdeps/tile/tilepro/memchr.c: Likewise.
16542 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16543 * sysdeps/tile/tilepro/memset.c: Likewise.
16544 * sysdeps/tile/tilepro/memusage.h: Likewise.
16545 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16546 * sysdeps/tile/tilepro/strchr.c: Likewise.
16547 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16548 * sysdeps/tile/tilepro/strlen.c: Likewise.
16549 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16550 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16551 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16552 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16553 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16555 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16557 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16566 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16567 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16568 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16569 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16570 tilepro mention in comment.
16572 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16573 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16574 * nptl/pthread_join_common.c: New file: common function used on
16575 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16576 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16577 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16578 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16579 (cleanup): Move definition to pthread_join_common.c.
16580 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16581 Remove superflous checks.
16582 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16585 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16587 * sysdeps/aarch64/libm-test-ulps: Update.
16589 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16591 * sysdeps/aarch64/memset.S (MEMSET): Define.
16593 2017-12-20 Florian Weimer <fweimer@redhat.com>
16596 nptl: Provide full implementation of pthread_self in libc.so.
16597 * nptl/Makefile (routines): Add pthread_self.
16598 (libpthread-routines): Replace pthread_self with
16599 compat-pthread_self.
16600 * nptl/forward.c (pthread_self): Remove.
16601 * nptl/nptl-init.c (pthread_functions): Do not initialize
16603 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16604 * nptl/compat-pthread_self.c: New file.
16605 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16606 Remove ptr_pthread_self.
16608 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16610 * posix/regcomp.c: Fix spelling in comments.
16611 * posix/regex.h: Likewise.
16612 * posix/regex_internal.c: Likewise.
16613 * posix/regexec.c: Likewise.
16615 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16618 * math/Makefile [C++] (tests): Add test for iseqsig.
16619 * math/math.h [C++] (iseqsig): New implementation, which does
16620 not rely on __MATH_TG/__builtin_types_compatible_p.
16621 * math/test-math-iseqsig.cc: New file.
16622 * sysdeps/powerpc/powerpc64le/Makefile
16623 (CFLAGS-test-math-iseqsig.cc): New variable.
16625 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16627 * elf/dl-load.c (is_trusted_path): Remove.
16628 (fillin_rpath): Remove check_trusted argument and its use,
16629 all callers changed.
16631 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16634 * Makeconfig (link-pie-before-libc): Replace -pie with
16635 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16636 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16637 (tst-dlopen-aout-no-pie): New.
16638 (LDFLAGS-tst-prelink): Removed.
16639 (tst-prelink-no-pie): New.
16640 (LDFLAGS-tst-main1): Removed.
16641 (tst-main1-no-pie): New.
16642 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16643 (tst-gmon-no-pie): New.
16645 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16647 * manual/install.texi: Document that --enable-static-pie
16649 * INSTALL: Regenerated.
16651 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16654 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16657 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16661 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16665 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16667 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16668 <errno.h>. Include "eexp.tbl".
16669 (half): New constant.
16671 (__ieee754_exp): Rewrite.
16672 (__slowexp): Remove prototype.
16673 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16674 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16675 * sysdeps/i386/fpu/slowexp.c: Likewise.
16676 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16677 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16678 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16679 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16680 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16681 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16682 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16684 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16685 (CPPFLAGS-slowexp.c): Remove variable.
16686 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16687 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16688 (CFLAGS-slowexp-fma.c): Remove variable.
16689 (CFLAGS-slowexp-fma4.c): Likewise.
16690 (CFLAGS-slowexp-avx.c): Likewise.
16691 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16694 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16695 * math/Makefile (type-double-routines): Remove slowexp.
16696 * manual/probes.texi (slowexp_p6): Remove.
16697 (slowexp_p32): Likewise.
16699 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16701 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16704 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16706 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16710 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16712 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16713 <errno.h>. Include "eexp.tbl".
16714 (half): New constant.
16716 (__ieee754_exp): Rewrite.
16717 (__slowexp): Remove prototype.
16718 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16719 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16720 * sysdeps/i386/fpu/slowexp.c: Likewise.
16721 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16722 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16726 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16727 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16729 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16730 (CPPFLAGS-slowexp.c): Remove variable.
16731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16732 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16733 (CFLAGS-slowexp-fma.c): Remove variable.
16734 (CFLAGS-slowexp-fma4.c): Likewise.
16735 (CFLAGS-slowexp-avx.c): Likewise.
16736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16740 * math/Makefile (type-double-routines): Remove slowexp.
16741 * manual/probes.texi (slowexp_p6): Remove.
16742 (slowexp_p32): Likewise.
16744 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16745 James Clarke <jrtc27@jrtc27.com>
16748 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16751 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16754 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16757 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16760 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16761 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16762 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16763 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16766 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16769 * bits/types/__cancel_jmp_buf_tag.h: New file.
16770 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16771 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16772 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16773 * nptl/Makefile (headers): Add
16774 bits/types/__cancel_jmp_buf_tag.h.
16775 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16776 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16777 * sysdeps/nptl/pthread.h: Include
16778 <bits/types/__cancel_jmp_buf_tag.h>.
16779 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16781 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16783 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16785 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16786 --enable-static-pie variants to x86_64, x32 and i686.
16788 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16791 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16792 argument for attrubutes. All callers changed.
16793 (__inline_mathop1): Likewise. All callers changed.
16794 (__inline_mathop): Likewise. All callers changed.
16795 [__USE_MISC] (scalbn): Use __inline_forward instead of
16796 __inline_forward_c.
16797 [__USE_ISOC99] (scalbln): Likewise.
16798 [__USE_ISOC99] (nearbyint): Likewise.
16799 [__USE_ISOC99] (lrint): Likewise.
16800 [__USE_MISC] (scalbnf): Likewise.
16801 [__USE_ISOC99] (scalblnf): Likewise.
16802 [__USE_ISOC99] (nearbyintf): Likewise.
16803 [__USE_ISOC99] (lrintf): Likewise.
16804 [__USE_MISC] (scalbnl): Likewise.
16805 [__USE_ISOC99] (scalblnl): Likewise.
16806 [__USE_ISOC99] (nearbyintl): Likewise.
16807 [__USE_ISOC99] (lrintl): Likewise.
16808 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16809 __inline_mathop and __m81_defun changed.
16811 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16812 CPU or FPU for ARM hard-float configurations.
16814 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16816 * nptl/tst-attr3.c: Include <libc-diag.h>.
16817 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16819 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16821 * string/tester.c (test_strncat): Also disable -Warray-bounds
16822 warnings for two tests.
16824 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16827 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16828 $(cc-pie-default) == yes.
16829 * config.make.in (cc-pie-default): New.
16830 * configure.ac (libc_cv_pie_default): Renamed to ...
16831 (libc_cv_cc_pie_default): This.
16832 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16833 * configure: Regenerated.
16835 2017-12-18 Florian Weimer <fweimer@redhat.com>
16838 ld.so: Harden dl-libc/libdl hooks.
16839 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16840 (rtld_active): New function.
16841 * dlfcn/dladdr.c (__dladdr): Call it.
16842 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16843 * dlfcn/dlclose.c (__dlcose): Likewise.
16844 * dlfcn/dlerror.c (__dlerror): Likewise.
16845 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16846 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16847 * dlfcn/dlopen.c (__dlopen): Likewise.
16848 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16849 * dlfcn/dlsym.c (__dlsym): Likewise.
16850 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16851 * libio/vtables.c (_IO_vtable_check): Likewise.
16852 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16853 (__libc_dlclose): Likewise.
16854 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16857 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16860 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16861 buffers for readlink input and output.
16863 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16866 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16867 inhibit_stack_protector.
16870 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16871 inhibit_stack_protector.
16873 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16876 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16877 code and invocation.
16879 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16881 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16883 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16886 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16888 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16890 * sysdeps/s390/fpu/libm-test-ulps: Update.
16892 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16896 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16898 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16899 constants to s_sincosf.h file.
16900 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16901 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16903 * sysdeps/ieee754/flt-32/s_sincosf.h:
16906 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16909 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16912 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16915 * INSTALL: Regenerated.
16916 * Makeconfig (real-static-start-installed-name): New.
16917 (pic-default): Updated for --enable-static-pie.
16918 (pie-default): New for --enable-static-pie.
16919 (default-pie-ldflag): Likewise.
16920 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16921 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16922 Replace $(static-start-installed-name) with
16923 $(real-static-start-installed-name).
16924 (+prectorT): Updated for --enable-static-pie.
16925 (+postctorT): Likewise.
16926 (CFLAGS-.o): Add $(pie-default).
16927 (CFLAGS-.op): Likewise.
16928 * NEWS: Mention --enable-static-pie.
16929 * config.h.in (ENABLE_STATIC_PIE): New.
16930 * configure.ac (--enable-static-pie): New configure option.
16931 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16932 (have-static-pie): Likewise.
16933 Enable static PIE if linker supports --no-dynamic-linker.
16934 (ENABLE_STATIC_PIE): New AC_DEFINE.
16935 (enable-static-pie): New LIBC_CONFIG_VAR.
16936 * configure: Regenerated.
16937 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16938 gr$(start-installed-name) for --enable-static-pie.
16939 (extra-objs): Likewise.
16940 (install-lib): Likewise.
16941 (extra-objs): Add static-reloc.o and static-reloc.os
16942 ($(objpfx)$(start-installed-name)): Also depend on
16943 $(objpfx)static-reloc.o.
16944 ($(objpfx)r$(start-installed-name)): New.
16945 ($(objpfx)g$(start-installed-name)): Also depend on
16946 $(objpfx)static-reloc.os.
16947 ($(objpfx)gr$(start-installed-name)): New.
16948 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16950 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16952 * csu/static-reloc.c: New file.
16953 * elf/Makefile (routines): Add dl-reloc-static-pie.
16954 (elide-routines.os): Likewise.
16955 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16956 (tst-tls1-static-non-pie-no-pie): New.
16957 * elf/dl-reloc-static-pie.c: New file.
16958 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16959 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16960 STATIC_PIE_BOOTSTRAP.
16961 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16962 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16963 (tests-static): Likewise.
16964 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16965 (tst-gmon-static-no-pie): New.
16966 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16967 (CRT-tst-gmon-static-pie): Likewise.
16968 (tst-gmon-static-pie-ENV): Likewise.
16969 (tests-special): Likewise.
16970 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16971 (clean-tst-gmon-static-pie-data): Likewise.
16972 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16973 * gmon/tst-gmon-static-pie.c: New file.
16974 * manual/install.texi: Document --enable-static-pie.
16975 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16976 (_dl_get_dl_main_map): Likewise.
16977 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16978 * sysdeps/x86_64/configure.ac: Likewise.
16979 * sysdeps/i386/configure: Regenerated.
16980 * sysdeps/x86_64/configure: Likewise.
16981 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16982 (ASFLAGS-.op): Likewise.
16984 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16986 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16987 * posix/tst-mmap-offset.c (fname): Use /tmp.
16988 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16990 2017-12-15 Steve Ellcey <sellcey@cavium.com>
16992 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16994 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16996 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16999 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17001 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17002 --with-float=hard for arm-linux-gnueabihf configurations.
17005 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17006 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17007 ($(mo-installed)): Use $(objpfx)%.mo.
17008 (realclean): Remove rule.
17010 * po/Makefile (linguas): Remove rule and dependencies.
17011 (linguas.mo): Likewise.
17012 (.PHONY): Do not depend on linguas and linguas.mo.
17013 (podir): Remove variable.
17014 (pofiles): Likewise.
17015 [$(pofiles)] (%.po): Remove rule.
17017 * sysdeps/sparc/sparc32/Makefile
17018 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17019 start-of-line whitespace in argument of echo.
17020 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17021 with whitespace. Generate __wrap_.udiv alias.
17022 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17023 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17024 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17025 * sysdeps/sparc/sparc32/urem.S: Likewise.
17027 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17029 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17030 for aligned inputs.
17032 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17034 * benchtests/bench-strcmp.c: Print output in JSON format.
17036 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17038 2017-12-14 Florian Weimer <fweimer@redhat.com>
17042 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17043 the expanded path string.
17045 2017-12-14 Florian Weimer <fweimer@redhat.com>
17049 * elf/dl-load.c (system_dirs): Update comment.
17050 (nsystem_dirs_len): Use array_length.
17051 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17053 2017-12-14 Florian Weimer <fweimer@redhat.com>
17055 Simplify compiling most of support/ outside of glibc.
17056 * support/check_addrinfo.c: Include <string.h>.
17057 * support/check_dns_packet.c: Likewise.
17058 * support/check_hostent.c: Likewise.
17059 * support/support_can_chroot.c: Include <support/xunistd.h>.
17060 * support/support_format_addrinfo.c: Include <stdlib.h>
17061 * support/support_format_dns_packet.c: Include <stdbool.h>.
17062 * support/support_format_hostent.c: Include <stdlib.h>.
17063 * support/support_format_netent.c: Likewise.
17064 * support/support_write_string.c: Include <support/xunistd.h>.
17065 * support/xdlfcn.c: Include <stddef.h>.
17067 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17069 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17071 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17072 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17075 (sysdeps_routines): Add memset-niagara7.
17076 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17078 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17080 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17081 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17082 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17083 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17084 Add niagara7 option.
17085 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17088 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17089 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17090 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17092 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17094 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17095 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17096 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17097 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17098 and __memmove_niagara7.
17099 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17100 Add niagara7 option.
17101 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17102 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17103 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17104 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17105 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17107 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17109 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17110 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17111 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17112 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17114 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17115 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17116 _dl_sparc_cap_flags array.
17117 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17119 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17121 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17122 time whenever possible.
17124 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17126 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17127 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17129 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17131 * soft-fp/fmadf4.c: Move to ....
17132 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17133 * soft-fp/fmasf4.c: Move to ....
17134 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17135 * soft-fp/fmatf4.c: Move to ....
17136 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17137 * sysdeps/ieee754/soft-fp/Makefile: New file.
17138 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17139 * sysdeps/arm/preconfigure: Regenerated.
17140 * sysdeps/arm/nofpu/Implies: New file.
17141 * sysdeps/arm/s_fma.c: Remove file.
17142 * sysdeps/arm/s_fmaf.c: Likewise.
17143 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17144 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17145 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17146 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17147 * sysdeps/microblaze/s_fma.c: Remove file.
17148 * sysdeps/microblaze/s_fmaf.c: Likewise.
17149 * sysdeps/mips/mips32/nofpu/Implies: New file.
17150 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17151 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17152 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17153 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17154 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17155 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17156 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17158 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17159 * sysdeps/nios2/s_fma.c: Remove file.
17160 * sysdeps/nios2/s_fmaf.c: Likewise.
17161 * sysdeps/sh/nofpu/Implies: New file.
17162 * sysdeps/sh/s_fma.c: Remove file.
17163 * sysdeps/sh/s_fmaf.c: Likewise.
17164 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17165 * sysdeps/tile/s_fma.c: Remove file.
17166 * sysdeps/tile/s_fmaf.c: Likewise.
17168 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17170 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17171 Add s_cosf-sse2 and s_cosf-fma.
17172 (CFLAGS-s_cosf-fma.c): New.
17173 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17174 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17175 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17177 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17179 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17181 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17183 * libio/Makefile (tests): Add tst-bz22415.
17184 (tst-bz22415-ENV): New rule.
17185 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17186 (tests-special): Add tst-bz22415-mem.out.
17187 ($(objpfx)tst-bz22415-mem.out): New rule.
17188 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17189 in case of a successful seek operation.
17190 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17191 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17192 buffer is required.
17193 * libio/tst-bz22415.c: New test.
17195 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17197 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17199 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17200 __IPC_64 to 0 to avoid IPC_64 being set.
17202 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17205 * math/bits/mathcalls.h (nextafter): Remove const.
17206 (nexttoward): Likewise.
17208 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17210 * configure.ac (--with-fp): Remove configure option.
17211 (with_fp_cond): New variable.
17212 (libc_cv_with_fp): New configure test. Use this variable instead
17214 * configure: Regenerated.
17215 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17216 * manual/install.texi (Configuring and compiling): Remove
17218 * INSTALL: Regenerated.
17219 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17220 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17221 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17222 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17223 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17224 use --without-fp to configure glibc.
17226 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17228 * manual/locale.texi (nl_langinfo): Fix a typo.
17230 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17233 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17235 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17237 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17238 (CFLAGS-argp-parse.c): Likewise.
17239 (CFLAGS-argp-fmtstream.c): Likewise.
17240 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17241 (CPPFLAGS-sha512-crypt.c): Likewise.
17242 (CPPFLAGS-md5-crypt.c): Likewise.
17243 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17244 (CFLAGS-stack_chk_fail_local.c): Likewise.
17245 (CFLAGS-backtrace.c): Likewise.
17246 (CFLAGS-sprintf_chk.c): Likewise.
17247 (CFLAGS-snprintf_chk.c): Likewise.
17248 (CFLAGS-vsprintf_chk.c): Likewise.
17249 (CFLAGS-vsnprintf_chk.c): Likewise.
17250 (CFLAGS-asprintf_chk.c): Likewise.
17251 (CFLAGS-vasprintf_chk.c): Likewise.
17252 (CFLAGS-obprintf_chk.c): Likewise.
17253 (CFLAGS-dprintf_chk.c): Likewise.
17254 (CFLAGS-vdprintf_chk.c): Likewise.
17255 (CFLAGS-printf_chk.c): Likewise.
17256 (CFLAGS-fprintf_chk.c): Likewise.
17257 (CFLAGS-vprintf_chk.c): Likewise.
17258 (CFLAGS-vfprintf_chk.c): Likewise.
17259 (CFLAGS-gets_chk.c): Likewise.
17260 (CFLAGS-fgets_chk.c): Likewise.
17261 (CFLAGS-fgets_u_chk.c): Likewise.
17262 (CFLAGS-fread_chk.c): Likewise.
17263 (CFLAGS-fread_u_chk.c): Likewise.
17264 (CFLAGS-swprintf_chk.c): Likewise.
17265 (CFLAGS-vswprintf_chk.c): Likewise.
17266 (CFLAGS-wprintf_chk.c): Likewise.
17267 (CFLAGS-fwprintf_chk.c): Likewise.
17268 (CFLAGS-vwprintf_chk.c): Likewise.
17269 (CFLAGS-vfwprintf_chk.c): Likewise.
17270 (CFLAGS-fgetws_chk.c): Likewise.
17271 (CFLAGS-fgetws_u_chk.c): Likewise.
17272 (CFLAGS-read_chk.c): Likewise.
17273 (CFLAGS-pread_chk.c): Likewise.
17274 (CFLAGS-pread64_chk.c): Likewise.
17275 (CFLAGS-recv_chk.c): Likewise.
17276 (CFLAGS-recvfrom_chk.c): Likewise.
17277 (CFLAGS-tst-longjmp_chk.c): Likewise.
17278 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17279 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17280 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17281 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17282 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17283 (CFLAGS-tst-chk1.c): Likewise.
17284 (CFLAGS-tst-chk2.c): Likewise.
17285 (CFLAGS-tst-chk3.c): Likewise.
17286 (CFLAGS-tst-chk4.cc): Likewise.
17287 (CFLAGS-tst-chk5.cc): Likewise.
17288 (CFLAGS-tst-chk6.cc): Likewise.
17289 (CFLAGS-tst-lfschk1.c): Likewise.
17290 (CFLAGS-tst-lfschk2.c): Likewise.
17291 (CFLAGS-tst-lfschk3.c): Likewise.
17292 (CFLAGS-tst-lfschk4.cc): Likewise.
17293 (CFLAGS-tst-lfschk5.cc): Likewise.
17294 (CFLAGS-tst-lfschk6.cc): Likewise.
17295 (CFLAGS-tst-ssp-1.c): Likewise.
17296 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17297 (CFLAGS-scandir64.c): Likewise.
17298 (CFLAGS-scandir-tail.c): Likewise.
17299 (CFLAGS-scandir64-tail.c): Likewise.
17300 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17301 (CFLAGS-dl-tunables.c): Likewise.
17302 (CFLAGS-dl-runtime.c): Likewise.
17303 (CFLAGS-dl-lookup.c): Likewise.
17304 (CFLAGS-dl-iterate-phdr.c): Likewise.
17305 (CFLAGS-vismain.c): Likewise.
17306 (CFLAGS-tst-linkall-static.c): Likewise.
17307 (CFLAGS-tst-linkall-static.c): Likewise.
17308 (CPPFLAGS-dl-load.c): Likewise.
17309 (CFLAGS-ldconfig.c): Likewise.
17310 (CFLAGS-dl-cache.c): Likewise.
17311 (CFLAGS-cache.c): Likewise.
17312 (CFLAGS-rtld.c): Likewise.
17313 (CFLAGS-multiload.c): Likewise.
17314 (CFLAGS-filtmod1.c): Likewise.
17315 (CFLAGS-tst-align.c): Likewise.
17316 (CFLAGS-tst-align2.c): Likewise.
17317 (CFLAGS-tst-alignmod.c): Likewise.
17318 (CFLAGS-tst-alignmod2.c): Likewise.
17319 (CPPFLAGS-tst-execstack.c): Likewise.
17320 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17321 (CFLAGS-tst-latepthreadmod.c): Likewise.
17322 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17323 (CFLAGS-getgrnam_r.c): Likewise.
17324 (CFLAGS-getgrent_r.c): Likewise.
17325 (CFLAGS-getgrent.c): Likewise.
17326 (CFLAGS-fgetgrent.c): Likewise.
17327 (CFLAGS-fgetgrent_r.c): Likewise.
17328 (CFLAGS-putgrent.c): Likewise.
17329 (CFLAGS-initgroups.c): Likewise.
17330 (CFLAGS-getgrgid.c): Likewise.
17331 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17332 (CFLAGS-getsgent.c): Likewise.
17333 (CFLAGS-fgetsgent.c): Likewise.
17334 (CFLAGS-fgetsgent_r.c): Likewise.
17335 (CFLAGS-putsgent.c): Likewise.
17336 (CFLAGS-getsgnam.c): Likewise.
17337 (CFLAGS-getsgnam_r.c): Likewise.
17338 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17339 (CFLAGS-iconv_charmap.c): Likewise.
17340 (CFLAGS-dummy-repertoire.c): Likewise.
17341 (CFLAGS-charmap.c): Likewise.
17342 (CFLAGS-linereader.c): Likewise.
17343 (CFLAGS-simple-hash.c): Likewise.
17344 (CFLAGS-gconv_conf.c): Likewise.
17345 (CFLAGS-iconvconfig.c): Likewise.
17346 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17347 (CFLAGS-gethstbyad.c): Likewise.
17348 (CFLAGS-gethstbynm_r.c): Likewise.
17349 (CFLAGS-gethstbynm.c): Likewise.
17350 (CFLAGS-gethstbynm2_r.c): Likewise.
17351 (CFLAGS-gethstbynm2.c): Likewise.
17352 (CFLAGS-gethstent_r.c): Likewise.
17353 (CFLAGS-gethstent.c): Likewise.
17354 (CFLAGS-rcmd.c): Likewise.
17355 (CFLAGS-getnetbynm_r.c): Likewise.
17356 (CFLAGS-getnetbynm.c): Likewise.
17357 (CFLAGS-getnetbyad_r.c): Likewise.
17358 (CFLAGS-getnetbyad.c): Likewise.
17359 (CFLAGS-getnetent_r.c): Likewise.
17360 (CFLAGS-getnetent.c): Likewise.
17361 (CFLAGS-getaliasent_r.c): Likewise.
17362 (CFLAGS-getaliasent.c): Likewise.
17363 (CFLAGS-getrpcent_r.c): Likewise.
17364 (CFLAGS-getrpcent.c): Likewise.
17365 (CFLAGS-getservent_r.c): Likewise.
17366 (CFLAGS-getservent.c): Likewise.
17367 (CFLAGS-getprtent_r.c): Likewise.
17368 (CFLAGS-getprtent.c): Likewise.
17369 (CFLAGS-either_ntoh.c): Likewise.
17370 (CFLAGS-either_hton.c): Likewise.
17371 (CFLAGS-getnetgrent.c): Likewise.
17372 (CFLAGS-getnetgrent_r.c): Likewise.
17373 (CFLAGS-tst-checks-posix.c): Likewise.
17374 (CFLAGS-tst-sockaddr.c): Likewise.
17375 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17376 (CFLAGS-tst-translit.c): Likewise.
17377 (CFLAGS-tst-gettext2.c): Likewise.
17378 (CFLAGS-tst-codeset.c): Likewise.
17379 (CFLAGS-tst-gettext3.c): Likewise.
17380 (CFLAGS-tst-gettext4.c): Likewise.
17381 (CFLAGS-tst-gettext5.c): Likewise.
17382 (CFLAGS-tst-gettext6.c): Likewise.
17383 * io/Makefile (CFLAGS-open.c): Likewise.
17384 (CFLAGS-open64.c): Likewise.
17385 (CFLAGS-creat.c): Likewise.
17386 (CFLAGS-creat64.c): Likewise.
17387 (CFLAGS-fcntl.c): Likewise.
17388 (CFLAGS-poll.c): Likewise.
17389 (CFLAGS-ppoll.c): Likewise.
17390 (CFLAGS-lockf.c): Likewise.
17391 (CFLAGS-statfs.c): Likewise.
17392 (CFLAGS-fstatfs.c): Likewise.
17393 (CFLAGS-statvfs.c): Likewise.
17394 (CFLAGS-fstatvfs.c): Likewise.
17395 (CFLAGS-fts.c): Likewise.
17396 (CFLAGS-fts64.c): Likewise.
17397 (CFLAGS-ftw.c): Likewise.
17398 (CFLAGS-ftw64.c): Likewise.
17399 (CFLAGS-lockf.c): Likewise.
17400 (CFLAGS-posix_fallocate.c): Likewise.
17401 (CFLAGS-posix_fallocate64.c): Likewise.
17402 (CFLAGS-fallocate.c): Likewise.
17403 (CFLAGS-fallocate64.c): Likewise.
17404 (CFLAGS-read.c): Likewise.
17405 (CFLAGS-write.c): Likewise.
17406 (CFLAGS-test-stat.c): Likewise.
17407 (CFLAGS-test-lfs.c): Likewise.
17408 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17409 (CFLAGS-fputc.c): Likewise.
17410 (CFLAGS-fputwc.c): Likewise.
17411 (CFLAGS-freopen64.c): Likewise.
17412 (CFLAGS-freopen.c): Likewise.
17413 (CFLAGS-fseek.c): Likewise.
17414 (CFLAGS-fseeko64.c): Likewise.
17415 (CFLAGS-fseeko.c): Likewise.
17416 (CFLAGS-ftello64.c): Likewise.
17417 (CFLAGS-ftello.c): Likewise.
17418 (CFLAGS-fwide.c): Likewise.
17419 (CFLAGS-genops.c): Likewise.
17420 (CFLAGS-getc.c): Likewise.
17421 (CFLAGS-getchar.c): Likewise.
17422 (CFLAGS-getwc.c): Likewise.
17423 (CFLAGS-getwchar.c): Likewise.
17424 (CFLAGS-iofclose.c): Likewise.
17425 (CFLAGS-iofflush.c): Likewise.
17426 (CFLAGS-iofgetpos64.c): Likewise.
17427 (CFLAGS-iofgetpos.c): Likewise.
17428 (CFLAGS-iofgets.c): Likewise.
17429 (CFLAGS-iofgetws.c): Likewise.
17430 (CFLAGS-iofputs.c): Likewise.
17431 (CFLAGS-iofputws.c): Likewise.
17432 (CFLAGS-iofread.c): Likewise.
17433 (CFLAGS-iofsetpos64.c): Likewise.
17434 (CFLAGS-iofsetpos.c): Likewise.
17435 (CFLAGS-ioftell.c): Likewise.
17436 (CFLAGS-iofwrite.c): Likewise.
17437 (CFLAGS-iogetdelim.c): Likewise.
17438 (CFLAGS-iogetline.c): Likewise.
17439 (CFLAGS-iogets.c): Likewise.
17440 (CFLAGS-iogetwline.c): Likewise.
17441 (CFLAGS-ioputs.c): Likewise.
17442 (CFLAGS-ioseekoff.c): Likewise.
17443 (CFLAGS-ioseekpos.c): Likewise.
17444 (CFLAGS-iosetbuffer.c): Likewise.
17445 (CFLAGS-iosetvbuf.c): Likewise.
17446 (CFLAGS-ioungetc.c): Likewise.
17447 (CFLAGS-ioungetwc.c): Likewise.
17448 (CFLAGS-oldfileops.c): Likewise.
17449 (CFLAGS-oldiofclose.c): Likewise.
17450 (CFLAGS-oldiofgetpos64.c): Likewise.
17451 (CFLAGS-oldiofgetpos.c): Likewise.
17452 (CFLAGS-oldiofsetpos64.c): Likewise.
17453 (CFLAGS-oldiofsetpos.c): Likewise.
17454 (CFLAGS-peekc.c): Likewise.
17455 (CFLAGS-putc.c): Likewise.
17456 (CFLAGS-putchar.c): Likewise.
17457 (CFLAGS-putwc.c): Likewise.
17458 (CFLAGS-putwchar.c): Likewise.
17459 (CFLAGS-rewind.c): Likewise.
17460 (CFLAGS-wfileops.c): Likewise.
17461 (CFLAGS-wgenops.c): Likewise.
17462 (CFLAGS-oldiofopen.c): Likewise.
17463 (CFLAGS-iofopen.c): Likewise.
17464 (CFLAGS-iofopen64.c): Likewise.
17465 (CFLAGS-oldtmpfile.c): Likewise.
17466 (CFLAGS-tst_putwc.c): Likewise.
17467 * locale/Makefile (CFLAGS-md5.c): Likewise.
17468 (CFLAGS-charmap.c): Likewise.
17469 (CFLAGS-locfile.c): Likewise.
17470 (CFLAGS-charmap-dir.c): Likewise.
17471 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17472 (CFLAGS-getpt.c): Likewise.
17473 (CFLAGS-pt_chown.c): Likewise.
17474 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17475 (CFLAGS-obstack.c): Likewise.
17476 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17477 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17478 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17479 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17480 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17481 (CFLAGS-test-tgmath.c): Likewise.
17482 (CFLAGS-test-tgmath2.c): Likewise.
17483 (CFLAGS-test-tgmath-ret.c): Likewise.
17484 (CFLAGS-test-powl.c): Likewise.
17485 (CFLAGS-test-snan.c): Likewise.
17486 (CFLAGS-test-signgam-finite.c): Likewise.
17487 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17488 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17489 (CFLAGS-test-signgam-uchar.c): Likewise.
17490 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17491 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17492 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17493 (CFLAGS-test-signgam-uint.c): Likewise.
17494 (CFLAGS-test-signgam-uint-init.c): Likewise.
17495 (CFLAGS-test-signgam-uint-static.c): Likewise.
17496 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17497 (CFLAGS-test-signgam-ullong.c): Likewise.
17498 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17499 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17500 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17501 (CFLAGS-test-math-cxx11.cc): Likewise.
17502 (CFLAGS-test-math-isinff.cc): Likewise.
17503 (CFLAGS-test-math-iszero.cc): Likewise.
17504 (CFLAGS-test-math-issignaling.cc): Likewise.
17505 (CFLAGS-test-math-iscanonical.cc): Likewise.
17506 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17507 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17508 (CFLAGS-test-flt-eval-method.c): Likewise.
17509 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17510 (CFLAGS-test-finite-macros.c): Likewise.
17511 * misc/Makefile (CFLAGS-select.c): Likewise.
17512 (CFLAGS-tsearch.c): Likewise.
17513 (CFLAGS-lsearch.c): Likewise.
17514 (CFLAGS-pselect.c): Likewise.
17515 (CFLAGS-readv.c): Likewise.
17516 (CFLAGS-writev.c): Likewise.
17517 (CFLAGS-preadv.c): Likewise.
17518 (CFLAGS-preadv64.c): Likewise.
17519 (CFLAGS-pwritev.c): Likewise.
17520 (CFLAGS-pwritev64.c): Likewise.
17521 (CFLAGS-preadv2.c): Likewise.
17522 (CFLAGS-preadv64v2.c): Likewise.
17523 (CFLAGS-pwritev2.c): Likewise.
17524 (CFLAGS-pwritev64v2.c): Likewise.
17525 (CFLAGS-usleep.c): Likewise.
17526 (CFLAGS-syslog.c): Likewise.
17527 (CFLAGS-error.c): Likewise.
17528 (CFLAGS-getpass.c): Likewise.
17529 (CFLAGS-mkstemp.c): Likewise.
17530 (CFLAGS-mkstemp64.c): Likewise.
17531 (CFLAGS-getsysstats.c): Likewise.
17532 (CFLAGS-getusershell.c): Likewise.
17533 (CFLAGS-err.c): Likewise.
17534 (CFLAGS-tst-tsearch.c): Likewise.
17535 (CFLAGS-msync.c): Likewise.
17536 (CFLAGS-fdatasync.c): Likewise.
17537 (CFLAGS-fsync.c): Likewise.
17538 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17539 (CFLAGS-unwind.c): Likewise.
17540 (CFLAGS-unwind-forcedunwind.c): Likewise.
17541 (CFLAGS-pthread_cancel.c): Likewise.
17542 (CFLAGS-pthread_setcancelstate.c): Likewise.
17543 (CFLAGS-pthread_setcanceltype.c): Likewise.
17544 (CFLAGS-cancellation.c): Likewise.
17545 (CFLAGS-libc-cancellation.c): Likewise.
17546 (CFLAGS-pthread_exit.c): Likewise.
17547 (CFLAGS-forward.c): Likewise.
17548 (CFLAGS-pthread_testcancel.c): Likewise.
17549 (CFLAGS-pthread_join.c): Likewise.
17550 (CFLAGS-pthread_timedjoin.c): Likewise.
17551 (CFLAGS-pthread_once.c): Likewise.
17552 (CFLAGS-pthread_cond_wait.c): Likewise.
17553 (CFLAGS-sem_wait.c): Likewise.
17554 (CFLAGS-sem_timedwait.c): Likewise.
17555 (CFLAGS-fcntl.c): Likewise.
17556 (CFLAGS-lockf.c): Likewise.
17557 (CFLAGS-pread.c): Likewise.
17558 (CFLAGS-pread64.c): Likewise.
17559 (CFLAGS-pwrite.c): Likewise.
17560 (CFLAGS-pwrite64.c): Likewise.
17561 (CFLAGS-wait.c): Likewise.
17562 (CFLAGS-waitpid.c): Likewise.
17563 (CFLAGS-sigwait.c): Likewise.
17564 (CFLAGS-msgrcv.c): Likewise.
17565 (CFLAGS-msgsnd.c): Likewise.
17566 (CFLAGS-tcdrain.c): Likewise.
17567 (CFLAGS-open.c): Likewise.
17568 (CFLAGS-open64.c): Likewise.
17569 (CFLAGS-pause.c): Likewise.
17570 (CFLAGS-recv.c): Likewise.
17571 (CFLAGS-send.c): Likewise.
17572 (CFLAGS-accept.c): Likewise.
17573 (CFLAGS-sendto.c): Likewise.
17574 (CFLAGS-connect.c): Likewise.
17575 (CFLAGS-recvfrom.c): Likewise.
17576 (CFLAGS-recvmsg.c): Likewise.
17577 (CFLAGS-sendmsg.c): Likewise.
17578 (CFLAGS-close.c): Likewise.
17579 (CFLAGS-read.c): Likewise.
17580 (CFLAGS-write.c): Likewise.
17581 (CFLAGS-nanosleep.c): Likewise.
17582 (CFLAGS-sigsuspend.c): Likewise.
17583 (CFLAGS-msync.c): Likewise.
17584 (CFLAGS-fdatasync.c): Likewise.
17585 (CFLAGS-fsync.c): Likewise.
17586 (CFLAGS-pt-system.c): Likewise.
17587 (CFLAGS-tst-cleanup2.c): Likewise.
17588 (CFLAGS-tst-cleanupx2.c): Likewise.
17589 (CFLAGS-flockfile.c): Likewise.
17590 (CFLAGS-ftrylockfile.c): Likewise.
17591 (CFLAGS-funlockfile.c): Likewise.
17592 (CFLAGS-tst-initializers1.c): Likewise.
17593 (CFLAGS-tst-initializers1-c89.c): Likewise.
17594 (CFLAGS-tst-initializers1-c99.c): Likewise.
17595 (CFLAGS-tst-initializers1-c11.c): Likewise.
17596 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17597 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17598 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17599 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17600 (CFLAGS-nscd_getgr_r.c): Likewise.
17601 (CFLAGS-nscd_gethst_r.c): Likewise.
17602 (CFLAGS-nscd_getai.c): Likewise.
17603 (CFLAGS-nscd_initgroups.c): Likewise.
17604 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17605 (CFLAGS-pause.c): Likewise.
17606 (CFLAGS-pread.c): Likewise.
17607 (CFLAGS-pread64.c): Likewise.
17608 (CFLAGS-pwrite.c): Likewise.
17609 (CFLAGS-pwrite64.c): Likewise.
17610 (CFLAGS-sleep.c): Likewise.
17611 (CFLAGS-wait.c): Likewise.
17612 (CFLAGS-waitid.c): Likewise.
17613 (CFLAGS-waitpid.c): Likewise.
17614 (CFLAGS-getopt.c): Likewise.
17615 (CFLAGS-wordexp.c): Likewise.
17616 (CFLAGS-sysconf.c): Likewise.
17617 (CFLAGS-pathconf.c): Likewise.
17618 (CFLAGS-fpathconf.c): Likewise.
17619 (CFLAGS-spawn.c): Likewise.
17620 (CFLAGS-spawnp.c): Likewise.
17621 (CFLAGS-spawni.c): Likewise.
17622 (CFLAGS-glob.c): Likewise.
17623 (CFLAGS-glob64.c): Likewise.
17624 (CFLAGS-getconf.c): Likewise.
17625 (CFLAGS-nanosleep.c): Likewise.
17626 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17627 (CFLAGS-getpwent.c): Likewise.
17628 (CFLAGS-getpw.c): Likewise.
17629 (CFLAGS-fgetpwent_r.c): Likewise.
17630 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17631 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17632 (CFLAGS-mq_timedreceive.c): Likewise.
17633 (CFLAGS-mq_timedsend.c): Likewise.
17634 (CFLAGS-clock_nanosleep.c): Likewise.
17635 (CFLAGS-librt-cancellation.c): Likewise.
17636 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17637 (CFLAGS-getspent.c): Likewise.
17638 (CFLAGS-fgetspent.c): Likewise.
17639 (CFLAGS-fgetspent_r.c): Likewise.
17640 (CFLAGS-putspent.c): Likewise.
17641 (CFLAGS-getspnam.c): Likewise.
17642 (CFLAGS-getspnam_r.c): Likewise.
17643 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17644 (CFLAGS-sigsuspend.c): Likewise.
17645 (CFLAGS-sigtimedwait.c): Likewise.
17646 (CFLAGS-sigwait.c): Likewise.
17647 (CFLAGS-sigwaitinfo.c): Likewise.
17648 (CFLAGS-sigreturn.c): Likewise.
17649 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17650 (CFLAGS-vfwprintf.c): Likewise.
17651 (CFLAGS-tmpfile.c): Likewise.
17652 (CFLAGS-tmpfile64.c): Likewise.
17653 (CFLAGS-tempname.c): Likewise.
17654 (CFLAGS-psignal.c): Likewise.
17655 (CFLAGS-vprintf.c): Likewise.
17656 (CFLAGS-cuserid.c): Likewise.
17657 (CFLAGS-errlist.c): Likewise.
17658 (CFLAGS-siglist.c): Likewise.
17659 (CFLAGS-scanf15.c): Likewise.
17660 (CFLAGS-scanf17.c): Likewise.
17661 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17662 (CFLAGS-msort.c): Likewise.
17663 (CFLAGS-qsort.c): Likewise.
17664 (CFLAGS-system.c): Likewise.
17665 (CFLAGS-fmtmsg.c): Likewise.
17666 (CFLAGS-strfmon.c): Likewise.
17667 (CFLAGS-strfmon_l.c): Likewise.
17668 (CFLAGS-strfromd.c): Likewise.
17669 (CFLAGS-strfromf.c): Likewise.
17670 (CFLAGS-strfroml.c): Likewise.
17671 (CFLAGS-tst-bsearch.c): Likewise.
17672 (CFLAGS-tst-qsort.c): Likewise.
17673 (CFLAGS-tst-makecontext2.c): Likewise.
17674 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17675 (CFLAGS-xnlm_prot.c): Likewise.
17676 (CFLAGS-xrstat.c): Likewise.
17677 (CFLAGS-xyppasswd.c): Likewise.
17678 (CFLAGS-xklm_prot.c): Likewise.
17679 (CFLAGS-xrex.c): Likewise.
17680 (CFLAGS-xsm_inter.c): Likewise.
17681 (CFLAGS-xmount.c): Likewise.
17682 (CFLAGS-xrusers.c): Likewise.
17683 (CFLAGS-xspray.c): Likewise.
17684 (CFLAGS-xnfs_prot.c): Likewise.
17685 (CFLAGS-xrquota.c): Likewise.
17686 (CFLAGS-xkey_prot.c): Likewise.
17687 (CFLAGS-auth_unix.c): Likewise.
17688 (CFLAGS-key_call.c): Likewise.
17689 (CFLAGS-pmap_rmt.c): Likewise.
17690 (CFLAGS-clnt_perr.c): Likewise.
17691 (CFLAGS-openchild.c): Likewise.
17692 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17693 (CFLAGS-msgsnd.c): Likewise.
17694 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17695 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17696 (CFLAGS-tzset.c): Likewise.
17697 (CFLAGS-getdate.c): Likewise.
17698 (CFLAGS-test_time.c): Likewise.
17699 (CPPFLAGS-tst-tzname.c): Likewise.
17700 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17701 (CFLAGS-zic.c): Likewise.
17702 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17703 (CFLAGS-wcswidth.c): Likewise.
17704 (CFLAGS-wcstol.c): Likewise.
17705 (CFLAGS-wcstoul.c): Likewise.
17706 (CFLAGS-wcstoll.c): Likewise.
17707 (CFLAGS-wcstoull.c): Likewise.
17708 (CFLAGS-wcstod.c): Likewise.
17709 (CFLAGS-wcstold.c): Likewise.
17710 (CFLAGS-wcstof128.c): Likewise.
17711 (CFLAGS-wcstof.c): Likewise.
17712 (CFLAGS-wcstol_l.c): Likewise.
17713 (CFLAGS-wcstoul_l.c): Likewise.
17714 (CFLAGS-wcstoll_l.c): Likewise.
17715 (CFLAGS-wcstoull_l.c): Likewise.
17716 (CFLAGS-wcstod_l.c): Likewise.
17717 (CFLAGS-wcstold_l.c): Likewise.
17718 (CFLAGS-wcstof128_l.c): Likewise.
17719 (CFLAGS-wcstof_l.c): Likewise.
17720 (CPPFLAGS-tst-wchar-h.c): Likewise.
17721 (CPPFLAGS-wcstold_l.c): Likewise.
17723 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17725 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17727 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17728 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17730 * manual/tunables.texi (Hardware Capability Tunables): Document
17731 glibc.tune.cached_memopt.
17732 * sysdeps/powerpc/cpu-features.c: New file.
17733 * sysdeps/powerpc/cpu-features.h: New file.
17734 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17735 _dl_powerpc_cpu_features.
17736 * sysdeps/powerpc/dl-tunables.list: New file.
17737 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17738 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17739 (INIT_ARCH): Initialize use_aligned_memopt.
17740 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17741 IS_IN(rtld))]: Restrict dl_platform_init availability and
17742 initialize CPU features used by tunables.
17743 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17744 Add memcpy-power8-cached.
17745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17746 __memcpy_power8_cached.
17747 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17751 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17753 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17754 (CFLAGS-noinl-tester.c): Likewise.
17755 (CFLAGS-tst-strlen.c): Likewise.
17756 (CFLAGS-stratcliff.c): Likewise.
17757 (CFLAGS-test-ffs.c): Likewise.
17758 (CFLAGS-tst-inlcall.c): Likewise.
17759 (CFLAGS-tst-xbzero-opt.c): Likewise.
17760 (CFLAGS-memcpy.c): Likewise.
17761 (CFLAGS-wordcopy.c): Likewise.
17763 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17765 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17766 Store r15 on stack and add cfi rule.
17767 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17770 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
17773 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17776 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17778 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17779 Add s_sinf-sse2 and s_sinf-fma.
17780 (CFLAGS-s_sinf-fma.c): New.
17781 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17782 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17783 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17785 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17787 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17789 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17792 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17793 part of result to imaginary part of argument if it is zero and the
17794 real part of the argument is not finite.
17795 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17796 of result to real part of argument if it is zero and the imaginary
17797 part of the argument is not finite.
17799 2017-12-07 Mike FABIAN <mfabian@redhat.com>
17802 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17803 and to the list of locales to be built for testing.
17804 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17805 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17806 and build the collation rules upon that.
17808 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17810 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17811 * manual/math.texi (Mathematics): Document support for _Float32.
17812 * math/Makefile (test-types): Add float32.
17813 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17814 * stdlib/Versions (GLIBC_2.27): Likewise.
17815 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17816 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17817 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17838 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17860 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17878 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17884 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17885 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17887 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17889 * stdlib/strtof.c: Include <bits/floatn.h>
17890 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17891 and later undefine as macro. Define as weak alias if
17893 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17894 and later undefine as macro. Define as weak alias if
17896 * stdlib/strtof_l.c: Include <bits/floatn.h>
17897 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17898 and later undefine as macro. Define as weak alias if
17900 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17901 and later undefine as macro. Define as weak alias if
17904 * stdlib/strfromf.c: Include <bits/floatn.h>.
17905 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17906 and later undefine as macro and define as weak alias.
17908 * math/test-float32.h: New file.
17910 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17911 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17912 (libm_alias_float_other_r): Create f32 alias.
17913 (libm_alias_float_r): Use semicolon before call to
17914 libm_alias_float_other_r.
17916 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17917 second argument to libm_alias_float_other.
17918 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17919 second argument to libm_alias_float_other.
17920 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17921 argument to libm_alias_float_other.
17924 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17925 real part of result for argument 0 + i * NaN.
17926 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17927 results for tests of 0 + i * NaN.
17929 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17931 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17933 2017-12-06 David S. Miller <davem@davemloft.net>
17935 * sysdeps/sparc/fpu/libm-test-ulps: Update
17936 exp_{downward,towardzero,upward} ulps.
17938 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17943 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17945 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17947 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17949 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17952 2017-12-06 Mike FABIAN <mfabian@redhat.com>
17955 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17956 and to the list of locales to be built for testing.
17957 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17958 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17959 and build the collation rules upon that.
17961 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17963 * NEWS: Add sinf to list of optimized functions.
17965 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17967 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17968 (__HAVE_FLOAT32X): Likewise.
17969 * manual/math.texi (Mathematics): Document support for _Float64
17971 * math/Makefile (test-types): Add float64 and float32x.
17972 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17974 * stdlib/Versions (GLIBC_2.27): Likewise.
17975 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17976 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17977 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17998 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18037 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18043 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18044 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18046 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18048 * bits/floatn-common.h: Include <bits/long-double.h>.
18049 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18050 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18051 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18052 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18053 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18054 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18055 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18056 (__builtin_huge_valf64): Use __builtin_huge_vall.
18057 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18058 (__builtin_inff64): Use __builtin_infl.
18059 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18060 (__builtin_nanf64): Use __builtin_nanl.
18061 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18062 (__builtin_nansf64): Use __builtin_nansl.
18064 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18065 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18066 Carlos O'Donnell <carlos@redhat.com>
18068 * elf/dl-tunables.list: Add elision parameters.
18069 * manual/tunables.texi: Add entries about elision tunable.
18070 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18071 Add callback functions to dynamically enable/disable elision.
18072 Add multiple callbacks functions to set elision parameters.
18073 Deleted __libc_enable_secure check.
18074 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18075 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18076 * configure: Regenerated.
18077 * configure.ac: Option enable_lock_elision was deleted.
18078 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18079 * config.make.in: Remove references to enable_lock_elision.
18080 * manual/install.texi: Elision configure option was removed.
18081 * INSTALL: Regenerated to remove enable_lock_elision.
18083 Disable elision so it can verify error case for destroying a mutex.
18084 * sysdeps/powerpc/nptl/elide.h:
18085 Cleanup ENABLE_LOCK_ELISION check.
18086 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18087 * sysdeps/s390/configure: Regenerated.
18088 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18089 * nptl/tst-mutex8.c:
18090 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18091 * sysdeps/powerpc/powerpc32/sysdep.h:
18092 Deleted all ENABLE_LOCK_ELISION checks.
18093 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18094 * sysdeps/powerpc/sysdep.h: Likewise.
18095 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18096 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18097 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18098 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18099 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18100 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18101 enable-lock-elision.
18103 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18105 * stdlib/strtod.c: Include <bits/floatn.h>.
18106 (BUILD_DOUBLE): New macro.
18107 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18108 (strtof64): Define and later undefine as macro. Define as weak
18109 alias if [!USE_WIDE_CHAR].
18110 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18111 (wcstof64): Define and later undefine as macro. Define as weak
18112 alias if [USE_WIDE_CHAR].
18113 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18114 (strtof32x): Define and later undefine as macro. Define as weak
18115 alias if [!USE_WIDE_CHAR].
18116 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18117 (wcstof32x): Define and later undefine as macro. Define as weak
18118 alias if [USE_WIDE_CHAR].
18119 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18120 (BUILD_DOUBLE): New macro.
18121 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18122 (strtof64_l): Define and later undefine as macro. Define as weak
18123 alias if [!USE_WIDE_CHAR].
18124 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18125 (wcstof64_l): Define and later undefine as macro. Define as weak
18126 alias if [USE_WIDE_CHAR].
18127 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18128 (strtof32x_l): Define and later undefine as macro. Define as weak
18129 alias if [!USE_WIDE_CHAR].
18130 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18131 (wcstof32x_l): Define and later undefine as macro. Define as weak
18132 alias if [USE_WIDE_CHAR].
18134 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18136 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18137 (reduced): Use ones as double instead of integer.
18139 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18141 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18143 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18145 * stdlib/strfromd.c: Include <bits/floatn.h>.
18146 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18147 and later undefine as macro and define as weak alias.
18148 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18151 * math/test-float32x.h: New file.
18152 * math/test-float64.h: Likewise.
18154 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18155 (libm_alias_double_other_r_f64): New macro.
18156 (libm_alias_double_other_r_f32x): Likewise.
18157 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18158 libm_alias_double_other_r_f32x.
18159 (libm_alias_double_r): Use semicolon before call to
18160 libm_alias_double_other_r.
18161 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18163 (libm_alias_double_other_r_f64): New macro.
18164 (libm_alias_double_other_r_f32x): Likewise.
18165 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18166 libm_alias_double_other_r_f32x.
18168 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18170 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18172 (SINF_FUNC): Likewise. Replace floor with simple casts.
18174 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18177 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18178 and to the list of locales to be built for testing.
18179 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18180 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18181 and build the collation rules upon that.
18183 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18185 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18186 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18187 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18188 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18189 instead of __insn__xxx.
18190 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18191 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18192 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18193 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18194 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18195 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18197 2017-12-05 Florian Weimer <fweimer@redhat.com>
18199 Linux: Implement interfaces for memory protection keys
18200 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18202 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18203 * support/xunistd.h (xsysconf): Declare.
18204 * support/xraise.c: New file.
18205 * support/xsigaction.c: Likewise.
18206 * support/xsignal.c: Likewise.
18207 * support/xsysconf.c: Likewise.
18208 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18209 pkey_set, pkey_get, pkey_mprotect.
18210 [misc] (tests): Add tst-pkey.
18211 (tst-pkey): Link with -lpthread.
18212 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18213 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18214 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18215 (PKEY_DISABLE_WRITE): Define.
18216 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18218 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18219 (SEGV_PKUERR): Add.
18220 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18221 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18222 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18223 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18225 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18226 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18227 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18228 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18229 * sysdeps/unix/sysv/linux/**.abilist: Update.
18231 2017-12-05 Florian Weimer <fweimer@redhat.com>
18233 * support/tst-test_compare.c (subprocess): Use long long instead
18234 of long argument for consistent type width across 32-bit and
18235 64-bit architectures.
18236 (do_test): Adjust expected output.
18238 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18240 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18241 (cosf): Define using libm_alias_float.
18242 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18243 (fabsf): Define using libm_alias_float.
18244 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18245 (fmaf): Define using libm_alias_float.
18246 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18247 (rintf): Define using libm_alias_float.
18248 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18249 (sinf): Define using libm_alias_float.
18250 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18251 <libm-alias-float.h>.
18252 (modff): Define using libm_alias_float.
18253 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18254 <libm-alias-float.h>.
18255 (logbf): Define using libm_alias_float.
18256 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18257 <libm-alias-float.h>.
18258 (ceilf): Define using libm_alias_float.
18259 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18260 <libm-alias-float.h>.
18261 (copysignf): Define using libm_alias_float.
18262 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18263 <libm-alias-float.h>.
18264 (floorf): Define using libm_alias_float.
18265 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18266 <libm-alias-float.h>.
18267 (llrintf): Define using libm_alias_float.
18268 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18269 <libm-alias-float.h>.
18270 (llroundf): Define using libm_alias_float.
18271 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18272 <libm-alias-float.h>.
18273 (lrintf): Define using libm_alias_float.
18274 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18275 <libm-alias-float.h>.
18276 (lroundf): Define using libm_alias_float.
18277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18278 <libm-alias-float.h>.
18279 (nearbyintf): Define using libm_alias_float.
18280 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18281 <libm-alias-float.h>.
18282 (rintf): Define using libm_alias_float.
18283 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18284 <libm-alias-float.h>.
18285 (roundf): Define using libm_alias_float.
18286 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18287 <libm-alias-float.h>.
18288 (truncf): Define using libm_alias_float.
18289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18290 Include <libm-alias-float.h>.
18291 (ceilf): Define using libm_alias_float.
18292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18293 Include <libm-alias-float.h>.
18294 (copysignf): Define using libm_alias_float.
18295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18296 Include <libm-alias-float.h>.
18297 (floorf): Define using libm_alias_float.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18299 Include <libm-alias-float.h>.
18300 (llrintf): Define using libm_alias_float.
18301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18302 Include <libm-alias-float.h>.
18303 (llroundf): Define using libm_alias_float.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18305 Include <libm-alias-float.h>.
18306 (logbf): Define using libm_alias_float.
18307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18308 Include <libm-alias-float.h>.
18309 (lrintf): Define using libm_alias_float.
18310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18311 Include <libm-alias-float.h>.
18312 (lroundf): Define using libm_alias_float.
18313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18314 Include <libm-alias-float.h>.
18315 (modff): Define using libm_alias_float.
18316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18317 Include <libm-alias-float.h>.
18318 (roundf): Define using libm_alias_float.
18319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18320 Include <libm-alias-float.h>.
18321 (truncf): Define using libm_alias_float.
18322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18323 <libm-alias-float.h>.
18324 (llrintf): Define using libm_alias_float.
18325 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18326 <libm-alias-float.h>.
18327 (llroundf): Define using libm_alias_float.
18328 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18329 <libm-alias-float.h>.
18330 (ceilf): Define using libm_alias_float.
18331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18332 <libm-alias-float.h>.
18333 (floorf): Define using libm_alias_float.
18334 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18335 <libm-alias-float.h>.
18336 (llroundf): Define using libm_alias_float.
18337 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18338 <libm-alias-float.h>.
18339 (lroundf): Define using libm_alias_float.
18340 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18341 <libm-alias-float.h>.
18342 (roundf): Define using libm_alias_float.
18343 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18344 <libm-alias-float.h>.
18345 (truncf): Define using libm_alias_float.
18346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18347 <libm-alias-float.h>.
18348 (copysignf): Define using libm_alias_float.
18349 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18350 <libm-alias-float.h>.
18351 (llrintf): Define using libm_alias_float.
18352 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18353 <libm-alias-float.h>.
18354 (llroundf): Define using libm_alias_float.
18355 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18356 <libm-alias-float.h>.
18357 (lrintf): Define using libm_alias_float.
18358 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18359 <libm-alias-float.h>.
18360 (lroundf): Define using libm_alias_float.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18362 <libm-alias-float.h>.
18363 (ceilf): Define using libm_alias_float.
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18365 <libm-alias-float.h>.
18366 (copysignf): Define using libm_alias_float.
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18368 <libm-alias-float.h>.
18369 (cosf): Define using libm_alias_float.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18371 <libm-alias-float.h>.
18372 (floorf): Define using libm_alias_float.
18373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18374 <libm-alias-float.h>.
18375 (llrintf): Define using libm_alias_float.
18376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18377 <libm-alias-float.h>.
18378 (llroundf): Define using libm_alias_float.
18379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18380 <libm-alias-float.h>.
18381 (logbf): Define using libm_alias_float.
18382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18383 <libm-alias-float.h>.
18384 (modff): Define using libm_alias_float.
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18386 <libm-alias-float.h>.
18387 (roundf): Define using libm_alias_float.
18388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18389 <libm-alias-float.h>.
18390 (sinf): Define using libm_alias_float.
18391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18392 <libm-alias-float.h>.
18393 (truncf): Define using libm_alias_float.
18394 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18395 <libm-alias-float.h>.
18396 (ceilf): Define using libm_alias_float.
18397 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18398 <libm-alias-float.h>.
18399 (copysignf): Define using libm_alias_float.
18400 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18401 <libm-alias-float.h>.
18402 (floorf): Define using libm_alias_float.
18403 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18404 <libm-alias-float.h>.
18405 (llrintf): Define using libm_alias_float.
18406 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18407 <libm-alias-float.h>.
18408 (llroundf): Define using libm_alias_float.
18409 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18410 <libm-alias-float.h>.
18411 (nearbyintf): Define using libm_alias_float.
18412 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18413 <libm-alias-float.h>.
18414 (rintf): Define using libm_alias_float.
18415 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18416 <libm-alias-float.h>.
18417 (roundf): Define using libm_alias_float.
18418 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18419 <libm-alias-float.h>.
18420 (truncf): Define using libm_alias_float.
18421 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18422 <libm-alias-float.h>.
18423 (ceilf): Define using libm_alias_float.
18424 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18425 <libm-alias-float.h>.
18426 (floorf): Define using libm_alias_float.
18427 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18428 <libm-alias-float.h>.
18429 (llroundf): Define using libm_alias_float.
18430 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18431 <libm-alias-float.h>.
18432 (roundf): Define using libm_alias_float.
18433 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18434 <libm-alias-float.h>.
18435 (truncf): Define using libm_alias_float.
18436 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18437 <libm-alias-float.h>.
18438 (copysignf): Define using libm_alias_float.
18439 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18440 <libm-alias-float.h>.
18441 (llrintf): Define using libm_alias_float.
18442 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18443 <libm-alias-float.h>.
18444 (llroundf): Define using libm_alias_float.
18445 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18446 <libm-alias-float.h>.
18447 (cosf): Define using libm_alias_float.
18448 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18449 <libm-alias-float.h>.
18450 (llrintf): Define using libm_alias_float.
18451 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18452 <libm-alias-float.h>.
18453 (llroundf): Define using libm_alias_float.
18454 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18455 <libm-alias-float.h>.
18456 (sinf): Define using libm_alias_float.
18458 2017-12-04 Florian Weimer <fweimer@redhat.com>
18460 * support/check.h (TEST_COMPARE): Define.
18461 (support_test_compare_failure): Declare.
18462 * support/Makefile (libsupport-routines): Add
18463 support_test_compare_failure.
18464 (tests): Add tst-test_compare.
18465 * support /support_test_compare_failure.c: New file.
18466 * support/tst-test_compare.c: Likewise.
18468 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18471 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18472 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18473 available, this rewrite of the collation rules does reproduce
18474 the test file in the same order.
18476 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18479 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18480 digraphs in the month and day names. Using single code points for
18481 digraphs is deprecated. While there are dedicated Unicode
18482 codepoints, for the digraphs, these are included for backwards
18483 compatibility and modern texts use a sequence of Basic Latin
18484 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18485 This makes the month and day names agree exactly with CLDR now,
18486 CLDR does not use the single code points for the digraphs either.
18488 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18490 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18492 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18494 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18497 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18499 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18500 Define only for libc.so.
18502 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18505 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18506 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18507 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18510 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18513 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18515 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18518 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18519 PREINIT_FUNCTION_WEAK is nonzero.
18520 (gmon_initializer): New function. Put procedure label for it in
18521 .init_array section.
18522 (_init): Don't call PREINIT_FUNCTION.
18523 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18524 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18525 value when map argument is null.
18527 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18528 depi instruction from PIC pc-relative sequence.
18529 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18530 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18531 (elf_machine_load_address): Likewise.
18532 (elf_machine_runtime_setup): Likewise.
18534 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18536 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18537 <libm-alias-double.h>.
18538 (logb): Define using libm_alias_double.
18539 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18540 <libm-alias-double.h>.
18541 (copysign): Define using libm_alias_double.
18542 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18543 <libm-alias-double.h>.
18544 (llrint): Define using libm_alias_double.
18545 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18546 <libm-alias-double.h>.
18547 (llround): Define using libm_alias_double.
18548 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18549 <libm-alias-double.h>.
18550 (lrint): Define using libm_alias_double.
18551 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18552 <libm-alias-double.h>.
18553 (lround): Define using libm_alias_double.
18554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18555 Include <libm-alias-double.h>.
18556 (copysign): Define using libm_alias_double.
18557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18558 Include <libm-alias-double.h>.
18559 (llrint): Define using libm_alias_double.
18560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18561 Include <libm-alias-double.h>.
18562 (llround): Define using libm_alias_double.
18563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18564 <libm-alias-double.h>.
18565 (logb): Define using libm_alias_double.
18566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18567 Include <libm-alias-double.h>.
18568 (lrint): Define using libm_alias_double.
18569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18570 Include <libm-alias-double.h>.
18571 (lround): Define using libm_alias_double.
18572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18573 <libm-alias-double.h>.
18574 (llrint): Define using libm_alias_double.
18575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18576 <libm-alias-double.h>.
18577 (llround): Define using libm_alias_double.
18578 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18579 <libm-alias-double.h>.
18580 (llround): Define using libm_alias_double.
18581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18582 <libm-alias-double.h>.
18583 (lround): Define using libm_alias_double.
18584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18585 <libm-alias-double.h>.
18586 (copysign): Define using libm_alias_double.
18587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18588 <libm-alias-double.h>.
18589 (llrint): Define using libm_alias_double.
18590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18591 <libm-alias-double.h>.
18592 (llround): Define using libm_alias_double.
18593 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18594 <libm-alias-double.h>.
18595 (lrint): Define using libm_alias_double.
18596 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18597 <libm-alias-double.h>.
18598 (lround): Define using libm_alias_double.
18599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18600 <libm-alias-double.h>.
18601 (copysign): Define using libm_alias_double.
18602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18603 <libm-alias-double.h>.
18604 (llrint): Define using libm_alias_double.
18606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18607 <libm-alias-double.h>.
18608 (llround): Define using libm_alias_double.
18609 (lround): Likewise.
18610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18611 <libm-alias-double.h>.
18612 (logb): Define using libm_alias_double.
18613 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18614 <libm-alias-double.h>.
18615 (copysign): Define using libm_alias_double.
18616 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18617 <libm-alias-double.h>.
18618 (llrint): Define using libm_alias_double.
18620 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18621 <libm-alias-double.h>.
18622 (llround): Define using libm_alias_double.
18623 (lround): Likewise.
18624 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18625 <libm-alias-double.h>.
18626 (llround): Define using libm_alias_double.
18627 (lround): Likewise.
18628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18629 <libm-alias-double.h>.
18630 (copysign): Define using libm_alias_double.
18631 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18632 <libm-alias-double.h>.
18633 (llrint): Define using libm_alias_double.
18635 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18636 <libm-alias-double.h>.
18637 (llround): Define using libm_alias_double.
18638 (lround): Likewise.
18639 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18640 <libm-alias-double.h>.
18641 (llrint): Define using libm_alias_double.
18643 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18644 <libm-alias-double.h>.
18645 (llround): Define using libm_alias_double.
18646 (lround): Likewise.
18648 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18651 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18652 compat symbol based on llround.
18654 * sysdeps/powerpc/power7/fpu/s_logb.c
18655 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18656 symbol based on __logb, not on logb.
18657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18658 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18660 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18662 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18663 (rint): Define using libm_alias_double.
18664 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18665 <libm-alias-double.h>.
18666 (modf): Define using libm_alias_double.
18667 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18668 <libm-alias-double.h>.
18669 (ceil): Define using libm_alias_double.
18670 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18671 <libm-alias-double.h>.
18672 (floor): Define using libm_alias_double.
18673 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18674 <libm-alias-double.h>.
18675 (nearbyint): Define using libm_alias_double.
18676 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18677 <libm-alias-double.h>.
18678 (rint): Define using libm_alias_double.
18679 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18680 <libm-alias-double.h>.
18681 (round): Define using libm_alias_double.
18682 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18683 <libm-alias-double.h>.
18684 (trunc): Define using libm_alias_double.
18685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18686 <libm-alias-double.h>.
18687 (ceil): Define using libm_alias_double.
18688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18689 Include <libm-alias-double.h>.
18690 (floor): Define using libm_alias_double.
18691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18692 <libm-alias-double.h>.
18693 (modf): Define using libm_alias_double.
18694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18695 Include <libm-alias-double.h>.
18696 (round): Define using libm_alias_double.
18697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18698 Include <libm-alias-double.h>.
18699 (trunc): Define using libm_alias_double.
18700 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18701 <libm-alias-double.h>.
18702 (ceil): Define using libm_alias_double.
18703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18704 <libm-alias-double.h>.
18705 (floor): Define using libm_alias_double.
18706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18707 <libm-alias-double.h>.
18708 (round): Define using libm_alias_double.
18709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18710 <libm-alias-double.h>.
18711 (trunc): Define using libm_alias_double.
18712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18713 <libm-alias-double.h>.
18714 (ceil): Define using libm_alias_double.
18715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18716 <libm-alias-double.h>.
18717 (floor): Define using libm_alias_double.
18718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18719 <libm-alias-double.h>.
18720 (modf): Define using libm_alias_double.
18721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18722 <libm-alias-double.h>.
18723 (round): Define using libm_alias_double.
18724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18725 <libm-alias-double.h>.
18726 (trunc): Define using libm_alias_double.
18727 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18728 <libm-alias-double.h>.
18729 (ceil): Define using libm_alias_double.
18730 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18731 <libm-alias-double.h>.
18732 (floor): Define using libm_alias_double.
18733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18734 <libm-alias-double.h>.
18735 (nearbyint): Define using libm_alias_double.
18736 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18737 <libm-alias-double.h>.
18738 (rint): Define using libm_alias_double.
18739 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18740 <libm-alias-double.h>.
18741 (round): Define using libm_alias_double.
18742 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18743 <libm-alias-double.h>.
18744 (trunc): Define using libm_alias_double.
18745 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18746 <libm-alias-double.h>.
18747 (ceil): Define using libm_alias_double.
18748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18749 <libm-alias-double.h>.
18750 (floor): Define using libm_alias_double.
18751 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18752 <libm-alias-double.h>.
18753 (round): Define using libm_alias_double.
18754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18755 <libm-alias-double.h>.
18756 (trunc): Define using libm_alias_double.
18758 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18759 (fabs): Define using libm_alias_double.
18760 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18761 (fma): Define using libm_alias_double.
18762 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18763 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18764 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18765 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18767 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18769 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18771 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18772 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18773 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18776 due redirect macro.
18778 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18780 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18782 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18784 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18785 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18786 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18787 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18790 (libm-sysdep_routines): Add s_nearbyintf-generic and
18791 s_nearbyint-generic.
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18805 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18816 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18827 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18838 (sysdep_calls): New rule.
18839 (sysdep_routines): Use sysdep_calls as base.
18840 (libm-sysdep_routines): Add generic rule for symbols shared with
18841 libc. Add s_copysign-generic and s_copysign-generic objects.
18842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18851 2017-12-01 Mike FABIAN <mfabian@redhat.com>
18854 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18855 the list of locales to be built for testing.
18856 * localedata/is_IS.UTF-8.in: New file.
18857 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18860 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18862 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18863 <libm-alias-float.h>.
18864 (fabsf): Define using libm_alias_float.
18866 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18868 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18870 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18872 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18873 <libm-alias-float.h>.
18874 (fabsf): Define using libm_alias_float.
18875 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18876 <libm-alias-float.h>.
18877 (lrintf): Define using libm_alias_float.
18878 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18879 <libm-alias-float.h>.
18880 (rintf): Define using libm_alias_float.
18882 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18883 <libm-alias-double.h>.
18884 (fabs): Define using libm_alias_double.
18885 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18886 <libm-alias-double.h>.
18887 (lrint): Define using libm_alias_double.
18888 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18889 <libm-alias-double.h>.
18890 (rint): Define using libm_alias_double.
18892 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18893 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18894 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18895 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18896 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18897 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18898 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18899 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18900 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18901 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18902 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18903 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18904 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18905 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18906 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18907 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18908 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18909 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18911 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18912 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18913 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18915 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18916 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18917 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18919 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18920 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18921 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18922 s_expm1_template.c.
18923 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18924 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18925 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18927 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18928 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18929 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18930 s_floor_template.c.
18931 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18932 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18933 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18934 s_frexp_template.c.
18935 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18936 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18937 s_lrint_template.c.
18938 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18939 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18940 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18942 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18943 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18944 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18945 s_nearbyint_template.c.
18946 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18947 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18948 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18949 s_remquo_template.c.
18950 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18951 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18952 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18954 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18955 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18956 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18958 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18959 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18960 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18961 s_sincos_template.c.
18962 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18963 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18964 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18966 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18967 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18968 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18970 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18971 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18972 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18973 s_trunc_template.c.
18974 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18975 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18976 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18977 s_atan.c instead of including s_atan.c.
18978 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18979 s_atanf.c instead of including s_atanf.c.
18980 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18981 s_atanl.c instead of including s_atanl.c.
18982 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18983 instead of s_atan.c.
18984 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18985 instead of s_atanf.c.
18986 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18987 instead of s_atanl.c.
18989 * scripts/update-copyrights: Do not handle intl/plural.c
18992 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18995 * configure.ac (BISON): Require to be present.
18996 * configure: Regenerated.
18997 * intl/Makefile (generated): Add plural.c.
18998 [$(BISON) != no]: Make code unconditional.
18999 (plural.c): Change rule to $(objpfx)plural.c.
19000 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19001 * intl/plural.c: Remove.
19002 * manual/install.texi (Tools for Compilation): Document bison as
19004 * INSTALL: Regenerated.
19006 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19008 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19009 <libm-alias-double.h>.
19010 (llrint): Define using libm_alias_double.
19011 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19012 <libm-alias-float.h>.
19013 (llrintf): Define using libm_alias_float.
19014 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19015 <libm-alias-ldouble.h>.
19016 (llrintl): Define using libm_alias_ldouble.
19018 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19019 declare_mgen_alias instead of weak_alias.
19020 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19021 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19022 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19024 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19026 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19028 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19029 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19030 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19032 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19033 Add submul_1-generic.
19034 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19035 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19036 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19038 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19039 Add addmul_1-generic.
19040 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19041 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19042 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19044 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19046 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19047 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19048 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19050 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19052 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19053 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19054 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19056 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19058 According to CLDR, collation rules for Serbian and Bosnian
19059 should be the same as for Croatian.
19062 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19063 and to the list of locales to be built for testing.
19064 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19065 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19066 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19067 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19069 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19071 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19072 to make test case pass.
19073 * localedata/hr_HR.UTF-8.in: Add more test strings.
19075 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19077 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19079 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19081 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19082 the list of locales to built for testing.
19083 * localedata/hr_HR.UTF-8.in: New file.
19085 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19088 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19090 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19091 CLDR (except use ligatures for the digraphs, CLDR does not use
19092 the ligatures), add first_workday, some fixes in the date and time
19094 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19096 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19097 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19098 Add int_p_cs_precedes and int_n_cs_precedes.
19099 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19100 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19102 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19103 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19105 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19106 and lang_lib. Change postal_fmt.
19108 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19110 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19112 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19113 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19114 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19115 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19116 * sysdeps/generic/setjmpP.h: New file.
19117 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19118 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19119 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19120 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19121 Add jmp_buf-ssp.sym.
19122 (tests): Add tst-saved_mask-1.
19124 2017-11-30 Arjun Shankar <arjun@redhat.com>
19128 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19129 instead of request2size.
19131 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19134 (__lllrint): Remove alias.
19135 (lllrint): Likewise.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19137 (__lllrintf): Likewise.
19138 (lllrintf): Likewise.
19140 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19141 <libm-alias-float.h>.
19142 (copysignf): Define using libm_alias_float.
19143 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19144 <libm-alias-float.h>.
19145 (fabsf): Define using libm_alias_float.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19147 Include <libm-alias-float.h>.
19148 (copysignf): Define using libm_alias_float.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19150 <libm-alias-float.h>.
19151 (fabsf): Define using libm_alias_float.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19153 <libm-alias-float.h>.
19154 (fdimf): Define using libm_alias_float.
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19156 <libm-alias-float.h>.
19157 (fmaf): Define using libm_alias_float.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19159 <libm-alias-float.h>.
19160 (llrintf): Define using libm_alias_float.
19161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19162 Include <libm-alias-float.h>.
19163 (nearbyintf): Define using libm_alias_float.
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19165 <libm-alias-float.h>.
19166 (rintf): Define using libm_alias_float.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19168 <libm-alias-float.h>.
19169 (llrintf): Define using libm_alias_float.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19171 <libm-alias-float.h>.
19172 (lrintf): Define using libm_alias_float.
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19174 <libm-alias-float.h>.
19175 (nearbyintf): Define using libm_alias_float.
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19177 <libm-alias-float.h>.
19178 (rintf): Define using libm_alias_float.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19180 <libm-alias-float.h>.
19181 (ceilf): Define using libm_alias_float.
19182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19183 <libm-alias-float.h>.
19184 (floorf): Define using libm_alias_float.
19185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19186 <libm-alias-float.h>.
19187 (fmaf): Define using libm_alias_float.
19188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19189 <libm-alias-float.h>.
19190 (lrintf): Define using libm_alias_float.
19191 (llrintf): Likewise.
19192 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19193 <libm-alias-float.h>.
19194 (nearbyintf): Define using libm_alias_float.
19195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19196 <libm-alias-float.h>.
19197 (rintf): Define using libm_alias_float.
19198 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19199 <libm-alias-float.h>.
19200 (truncf): Define using libm_alias_float.
19201 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19202 <libm-alias-float.h>.
19203 (copysignf): Define using libm_alias_float.
19204 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19205 <libm-alias-float.h>.
19206 (fabsf): Define using libm_alias_float.
19207 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19208 <libm-alias-float.h>.
19209 (lrintf): Define using libm_alias_float.
19210 (llrintf): Likewise.
19211 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19212 <libm-alias-float.h>.
19213 (nearbyintf): Define using libm_alias_float.
19214 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19215 <libm-alias-float.h>.
19216 (rintf): Define using libm_alias_float.
19218 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19220 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19221 <libm-alias-double.h>.
19222 (copysign): Define using libm_alias_double.
19223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19224 <libm-alias-double.h>.
19225 (fabs): Define using libm_alias_double.
19226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19227 Include <libm-alias-double.h>.
19228 (copysign): Define using libm_alias_double.
19229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19230 <libm-alias-double.h>.
19231 (fabs): Define using libm_alias_double.
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19233 <libm-alias-double.h>.
19234 (fdim): Define using libm_alias_double.
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19236 <libm-alias-double.h>.
19237 (fma): Define using libm_alias_double.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19239 <libm-alias-double.h>.
19240 (llrint): Define using libm_alias_double.
19241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19242 Include <libm-alias-double.h>.
19243 (nearbyint): Define using libm_alias_double.
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19245 <libm-alias-double.h>.
19246 (rint): Define using libm_alias_double.
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19248 <libm-alias-double.h>.
19249 (fabs): Define using libm_alias_double.
19250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19251 <libm-alias-double.h>.
19252 (llrint): Define using libm_alias_double.
19253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19254 <libm-alias-double.h>.
19255 (nearbyint): Define using libm_alias_double.
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19257 <libm-alias-double.h>.
19258 (rint): Define using libm_alias_double.
19259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19260 <libm-alias-double.h>.
19261 (ceil): Define using libm_alias_double.
19262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19263 <libm-alias-double.h>.
19264 (floor): Define using libm_alias_double.
19265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19266 <libm-alias-double.h>.
19267 (fma): Define using libm_alias_double.
19268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19269 <libm-alias-double.h>.
19270 (lrint): Define using libm_alias_double.
19271 (llrint): Likewise.
19272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19273 <libm-alias-double.h>.
19274 (nearbyint): Define using libm_alias_double.
19275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19276 <libm-alias-double.h>.
19277 (rint): Define using libm_alias_double.
19278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19279 <libm-alias-double.h>.
19280 (trunc): Define using libm_alias_double.
19281 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19282 <libm-alias-double.h>.
19283 (copysign): Define using libm_alias_double.
19284 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19285 <libm-alias-double.h>.
19286 (fabs): Define using libm_alias_double.
19287 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19288 <libm-alias-double.h>.
19289 (lrint): Define using libm_alias_double.
19290 (llrint): Likewise.
19291 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19292 <libm-alias-double.h>.
19293 (nearbyint): Define using libm_alias_double.
19294 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19295 <libm-alias-double.h>.
19296 (rint): Define using libm_alias_double.
19299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19301 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19303 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19304 SPARC --disable-multi-arch glibc variants.
19306 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19307 <libm-alias-float.h>.
19308 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19310 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19311 <libm-alias-float.h>.
19312 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19314 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19315 <libm-alias-float.h>.
19316 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19318 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19319 <libm-alias-float.h>.
19320 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19322 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19323 <libm-alias-float.h>.
19324 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19326 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19327 <libm-alias-float.h>.
19328 (ceilf): Define using libm_alias_float.
19329 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19330 <libm-alias-float.h>.
19331 (floorf): Define using libm_alias_float.
19332 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19333 <libm-alias-float.h>.
19334 (fmaf): Define using libm_alias_float.
19335 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19336 <libm-alias-float.h>.
19337 (nearbyintf): Define using libm_alias_float.
19338 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19339 <libm-alias-float.h>.
19340 (rintf): Define using libm_alias_float.
19341 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19342 <libm-alias-float.h>.
19343 (truncf): Define using libm_alias_float.
19344 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19345 (copysignf): Define using libm_alias_float.
19346 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19347 (cosf): Define using libm_alias_float.
19348 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19349 (fabsf): Define using libm_alias_float.
19350 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19351 (fmaxf): Define using libm_alias_float.
19352 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19353 (fminf): Define using libm_alias_float.
19354 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19355 (llrintf): Define using libm_alias_float.
19356 [!__ILP32__] (lrintf): Likewise.
19357 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19358 (sincosf): Define using libm_alias_float.
19359 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19360 (sinf): Define using libm_alias_float.
19361 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19362 (lrintf): Define using libm_alias_float.
19364 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19365 <libm-alias-double.h>.
19366 (atan): Define using libm_alias_double.
19367 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19368 <libm-alias-double.h>.
19369 (ceil): Define using libm_alias_double.
19370 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19371 <libm-alias-double.h>.
19372 (floor): Define using libm_alias_double.
19373 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19374 <libm-alias-double.h>.
19375 (fma): Define using libm_alias_double.
19376 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19377 <libm-alias-double.h>.
19378 (nearbyint): Define using libm_alias_double.
19379 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19380 <libm-alias-double.h>.
19381 (rint): Define using libm_alias_double.
19382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19383 <libm-alias-double.h>.
19384 (sin): Define using libm_alias_double.
19386 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19387 <libm-alias-double.h>.
19388 (tan): Define using libm_alias_double.
19389 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19390 <libm-alias-double.h>.
19391 (trunc): Define using libm_alias_double.
19392 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19393 (copysign): Define using libm_alias_double.
19394 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19395 (fabs): Define using libm_alias_double.
19396 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19397 (fmax): Define using libm_alias_double.
19398 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19399 (fmin): Define using libm_alias_double.
19400 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19401 (llrint): Define using libm_alias_double.
19402 [!__ILP32__] (lrint): Likewise.
19403 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19404 (lrint): Define using libm_alias_double.
19406 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19409 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19419 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19429 (libm-sysdep_routines): Add s_nearbyint-generic and
19430 s_nearbyintf-generic objects.
19431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19432 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19433 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19434 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19435 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19436 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19439 Add s_finitef-generic and s_finite-generic objects.
19440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19448 Add s_isinff-generic and s_isinf-generic objects.
19449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19456 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19457 Add s_isnanf-generic and s_isnan-generic objects.
19458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19465 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19469 (sysdep_routines): Use sysdep_calls as base.
19470 (libm-sysdep_routines): Add generic rule for symbols shared with
19471 libc. Add s_signbit-generic and s_signbitf-generic objects.
19472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19479 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19481 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19482 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19483 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19484 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19485 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19486 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19487 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19488 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19489 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19490 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19491 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19492 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19493 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19494 libm_alias_float_r.
19495 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19496 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19498 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19499 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19500 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19501 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19502 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19503 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19504 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19505 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19506 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19507 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19509 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19511 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19512 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19513 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19514 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19515 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19516 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19517 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19518 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19519 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19520 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19521 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19522 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19523 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19524 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19525 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19526 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19527 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19528 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19529 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19531 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19532 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19533 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19534 * sysdeps/ia64/fpu/w_lgammaf_main.c
19535 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19536 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19538 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19539 Alexandre Oliva <aoliva@redhat.com>
19542 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19543 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19545 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19547 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19548 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19549 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19550 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19551 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19552 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19553 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19554 instead of “ifdef DIACRIT_BACKWARD”.
19556 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19558 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19559 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19560 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19561 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19562 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19563 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19570 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19571 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19572 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19573 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19574 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19575 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19577 ($(have-as-vis3) == yes): Remove conditional.
19578 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19594 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19595 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19597 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19599 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19600 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19601 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19602 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19603 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19604 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19605 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19606 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19607 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19608 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19609 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19610 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19611 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19612 libm_alias_double_r.
19613 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19615 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19616 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19617 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19618 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19619 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19620 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19621 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19622 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19623 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19624 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19625 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19627 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19629 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19630 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19631 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19632 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19633 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19634 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19635 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19636 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19637 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19638 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19639 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19640 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19641 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19642 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19643 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19644 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19645 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19646 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19648 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19649 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19650 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19651 * sysdeps/ia64/fpu/w_lgamma_main.c
19652 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19653 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19655 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19657 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19658 address of $global$ into %dp register earlier. Use pc-relative
19659 instruction sequence for PIC case.
19661 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19663 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19664 (asinhf): Define using libm_alias_float.
19665 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19666 (atanf): Define using libm_alias_float.
19667 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19668 (cbrtf): Define using libm_alias_float.
19669 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19670 (ceilf): Define using libm_alias_float.
19671 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19672 (copysignf): Define using libm_alias_float.
19673 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19674 (expm1f): Define using libm_alias_float.
19675 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19676 (fabsf): Define using libm_alias_float.
19677 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19678 (floorf): Define using libm_alias_float.
19679 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19680 (fmaxf): Define using libm_alias_float.
19681 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19682 (fminf): Define using libm_alias_float.
19683 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19684 (frexpf): Define using libm_alias_float.
19685 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19686 (llrintf): Define using libm_alias_float.
19687 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19688 (logbf): Define using libm_alias_float.
19689 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19690 (lrintf): Define using libm_alias_float.
19691 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19692 (nearbyintf): Define using libm_alias_float.
19693 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19694 (remquof): Define using libm_alias_float.
19695 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19696 (rintf): Define using libm_alias_float.
19697 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19698 (truncf): Define using libm_alias_float.
19699 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19700 <libm-alias-float.h>.
19701 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19703 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19704 <libm-alias-float.h>.
19705 (expf): Define using libm_alias_float, or libm_alias_float_other
19707 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19708 <libm-alias-float.h>.
19709 (log2f): Define using libm_alias_float, or libm_alias_float_other
19711 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19712 <libm-alias-float.h>.
19713 (logf): Define using libm_alias_float, or libm_alias_float_other
19715 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19716 <libm-alias-float.h>.
19717 (powf): Define using libm_alias_float, or libm_alias_float_other
19719 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19720 <libm-alias-float.h>.
19721 (cosf): Define using libm_alias_float.
19722 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19723 <libm-alias-float.h>.
19724 (sincosf): Define using libm_alias_float.
19725 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19726 <libm-alias-float.h>.
19727 (sinf): Define using libm_alias_float.
19728 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19729 (fmaxf): Define using libm_alias_float.
19730 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19731 (fminf): Define using libm_alias_float.
19732 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19733 <libm-alias-float.h>.
19734 (fmaf): Define using libm_alias_float.
19736 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19737 (asinh): Define using libm_alias_double.
19738 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19739 (atan): Define using libm_alias_double.
19740 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19741 (cbrt): Define using libm_alias_double.
19742 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19743 (ceil): Define using libm_alias_double.
19744 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19745 (copysign): Define using libm_alias_double.
19746 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19747 (expm1): Define using libm_alias_double.
19748 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19749 (fabs): Define using libm_alias_double.
19750 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19751 (fdim): Define using libm_alias_double.
19752 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19753 (floor): Define using libm_alias_double.
19754 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19755 (fmax): Define using libm_alias_double.
19756 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19757 (fmin): Define using libm_alias_double.
19758 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19759 (frexp): Define using libm_alias_double.
19760 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19761 (llrint): Define using libm_alias_double.
19762 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19763 (logb): Define using libm_alias_double.
19764 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19765 (lrint): Define using libm_alias_double.
19766 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19767 (nearbyint): Define using libm_alias_double.
19768 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19769 (remquo): Define using libm_alias_double.
19770 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19771 (rint): Define using libm_alias_double.
19772 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19773 (trunc): Define using libm_alias_double.
19774 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19775 (fmax): Define using libm_alias_double.
19776 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19777 (fmin): Define using libm_alias_double.
19778 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19779 (fma): Define using libm_alias_double.
19781 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19784 * elf/dl-hwcaps.c (ROUND): Removed.
19785 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19786 and ELF_NOTE_NEXT_OFFSET.
19787 * elf/dl-load.c (ROUND): Removed.
19788 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19789 * elf/readelflib.c (ROUND): Removed.
19790 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19791 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19792 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19793 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19795 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19797 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19798 [!__fmaf] (fmaf): Define using libm_alias_float.
19800 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19801 [!__fma] (fma): Define using libm_alias_double.
19802 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19804 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19807 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19808 and implement the collation rules for cs from CLDR on top of that.
19809 * Makefile: Add cs_CZ.UTF-8 to test-input.
19810 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19812 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19814 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19816 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19817 Icarus Sparry <icarus.w.sparry@intel.com>
19819 * benchtests/Makefile:Add BENCHSET to allow subsets of
19820 benchmarks to be run.
19821 * benchtests/README: Add documentation for: Running subsets of
19824 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19826 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19827 range of tests names.
19829 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19830 result from property and remove "max", min" and "mean" from
19831 required properties based on benchtests/bench-skeleton.c.
19833 2017-11-28 Florian Weimer <fweimer@redhat.com>
19836 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19837 due to Internet requirement.
19838 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19840 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19842 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19844 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19845 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19846 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19847 (sysdep_routines): Add memset-ultra1.
19848 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19850 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19851 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19852 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19853 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19854 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19855 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19856 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19861 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19862 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19863 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19864 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19865 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19866 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19867 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19869 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19870 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19871 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19872 (sysdep_routines): Add memcpy-ultra1.
19873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19874 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19876 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19878 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19879 (cfloat_versions): Take function argument without trailing 'f'.
19880 Call libm_alias_float_other.
19881 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19882 * sysdeps/alpha/fpu/cargf.c: Likewise.
19883 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19884 * sysdeps/alpha/fpu/conjf.c: Likewise.
19885 * sysdeps/alpha/fpu/crealf.c: Likewise.
19886 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19887 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19888 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19889 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19890 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19891 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19892 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19893 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19894 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19895 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19896 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19897 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19898 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19899 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19900 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19901 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19902 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19903 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19904 (clog10f): Use libm_alias_float_other.
19905 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19906 (ceilf): Define using libm_alias_float.
19907 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19908 (copysignf): Define using libm_alias_float.
19909 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19910 (fabsf): Define using libm_alias_float.
19911 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19912 (floorf): Define using libm_alias_float.
19913 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19914 (fmaxf): Define using libm_alias_float.
19915 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19916 (fminf): Define using libm_alias_float.
19917 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19918 (lrintf): Define using libm_alias_float.
19919 (llrintf): Likewise.
19920 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19921 (lroundf): Define using libm_alias_float.
19922 (llroundf): Likewise.
19923 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19924 (rintf): Define using libm_alias_float.
19925 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19926 (truncf): Define using libm_alias_float.
19928 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19929 (ceilf): Define using libm_alias_float.
19930 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19931 (floorf): Define using libm_alias_float.
19932 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19933 (fmaf): Define using libm_alias_float.
19934 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19935 (fmaxf): Define using libm_alias_float.
19936 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19937 (fminf): Define using libm_alias_float.
19938 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19939 (llrintf): Define using libm_alias_float.
19940 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19941 (llroundf): Define using libm_alias_float.
19942 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19943 (lrintf): Define using libm_alias_float.
19944 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19945 (lroundf): Define using libm_alias_float.
19946 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19947 <libm-alias-float.h>.
19948 (nearbyintf): Define using libm_alias_float.
19949 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19950 (rintf): Define using libm_alias_float.
19951 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19952 (roundf): Define using libm_alias_float.
19953 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19954 (truncf): Define using libm_alias_float.
19956 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19957 (ceil): Define using libm_alias_double.
19958 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19959 (copysign): Define using libm_alias_double.
19960 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19961 (fabs): Define using libm_alias_double.
19962 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19963 (floor): Define using libm_alias_double.
19964 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19965 (fmax): Define using libm_alias_double.
19966 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19967 (fmin): Define using libm_alias_double.
19968 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19969 (lrint): Define using libm_alias_double.
19970 (llrint): Likewise.
19971 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19972 (lround): Define using libm_alias_double.
19973 (llround): Likewise.
19974 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19975 (rint): Define using libm_alias_double.
19976 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19977 (trunc): Define using libm_alias_double.
19979 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19980 (libm_alias_double_r): Add semicolon after weak_alias call.
19982 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19984 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19985 (ceil): Define using libm_alias_double.
19986 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19987 (floor): Define using libm_alias_double.
19988 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19989 (fma): Define using libm_alias_double.
19990 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19991 (fmax): Define using libm_alias_double.
19992 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19993 (fmin): Define using libm_alias_double.
19994 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19995 (llrint): Define using libm_alias_double.
19996 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19997 (llround): Define using libm_alias_double.
19998 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19999 (lrint): Define using libm_alias_double.
20000 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20001 (lround): Define using libm_alias_double.
20002 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20003 (nearbyint): Define using libm_alias_double.
20004 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20005 (rint): Define using libm_alias_double.
20006 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20007 (round): Define using libm_alias_double.
20008 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20009 (trunc): Define using libm_alias_double.
20011 2017-11-27 Florian Weimer <fweimer@redhat.com>
20013 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20014 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20015 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20016 (tests): Add tst-mlock2.
20017 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20019 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20020 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20021 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20022 for mlock. Document mlock2.
20024 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20026 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20027 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20029 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20031 * sysdeps/x86/Makeconfig: New file.
20032 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20033 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20034 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20035 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20036 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20037 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20038 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20040 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20041 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20042 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20043 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20044 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20045 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20046 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20047 * manual/math.texi (Mathematics): Document support for _Float64x.
20048 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20049 * stdlib/Versions (GLIBC_2.27): Likewise.
20050 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20051 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20053 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20055 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20056 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20057 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20059 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20060 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20061 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20066 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20067 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20068 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20069 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20070 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20071 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20074 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20075 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20076 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20078 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20079 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20081 2017-11-27 Andreas Schwab <schwab@suse.de>
20083 * elf/Makefile (dl-routines): Add dl-sort-maps.
20084 * elf/dl-sort-maps.c: New file.
20085 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20086 (_dl_sort_maps): Declare.
20087 * elf/dl-fini.c (_dl_sort_fini): Remove.
20088 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20089 * elf/dl-close.c (_dl_close_worker): Likewise.
20090 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20092 * elf/dl-open.c (dl_open_worker): Likewise.
20094 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20096 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20097 using libm_alias_float128.
20098 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20100 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20102 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20103 (setpayloadsigf128): Likewise.
20104 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20106 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20109 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20110 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20111 -mfloat128 to CFLAGS.
20113 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20115 (CFLAGS-libm-test-support-float64x.c): New variable.
20116 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20117 $(f128-loader-link) to gnulib-tests.
20119 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20120 (libm_alias_float128_other_r): If
20121 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20123 (libm_alias_float128_r): Add semicolon after weak_alias call.
20124 * sysdeps/generic/libm-alias-ldouble.h
20125 (libm_alias_ldouble_other_r_f128): New macro.
20126 (libm_alias_ldouble_other_r_f64x): Likewise.
20127 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20128 and libm_alias_ldouble_other_r_f64x.
20129 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20130 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20131 (libm_alias_ldouble_other_r_f128): New macro.
20132 (libm_alias_ldouble_other_r_f64x): Likewise.
20133 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20134 and libm_alias_ldouble_other_r_f64x.
20136 * stdlib/strfroml.c: Always include <stdlib.h>.
20137 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20138 undefine as macro and define as weak alias.
20139 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20140 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20142 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20143 Define and later undefine as macro and define as weak alias.
20145 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20146 Define and later undefine as macro. Define as weak alias if
20148 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20149 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20150 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20151 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20152 Define and later undefine as macro. Define as weak alias if
20154 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20155 Define and later undefine as macro. Define as weak alias if
20157 * sysdeps/ieee754/float128/strtof128_l.c
20158 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20159 Define and later undefine as macro. Define as weak alias if
20161 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20162 Define and later undefine as macro. Define as weak alias if
20164 * sysdeps/ieee754/ldbl-128/strtold_l.c
20165 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20166 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20167 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20168 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20169 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20170 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20171 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20172 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20173 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20174 * sysdeps/ieee754/ldbl-96/strtold_l.c
20175 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20176 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20177 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20178 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20180 * math/test-float64x.h: New file.
20181 * math/Makefile (type-float64x-yes): New variable.
20182 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20184 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20185 function-like macro.
20186 (min_of_type_): Likewise.
20187 (min_of_type_l): Likewise.
20188 (min_of_type_f128): Likewise.
20189 (min_of_type): Pass () as last argument of __MATH_TG.
20191 * stdlib/tst-strtod-round-skeleton.c
20192 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20195 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20196 for combinations of long double with _Float64 and _Float64x.
20198 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20199 (__DECL_SIMD_cosf32): Likewise.
20200 (__DECL_SIMD_cosf64): Likewise.
20201 (__DECL_SIMD_cosf32x): Likewise.
20202 (__DECL_SIMD_cosf64x): Likewise.
20203 (__DECL_SIMD_cosf128x): Likewise.
20204 (__DECL_SIMD_sinf16): Likewise.
20205 (__DECL_SIMD_sinf32): Likewise.
20206 (__DECL_SIMD_sinf64): Likewise.
20207 (__DECL_SIMD_sinf32x): Likewise.
20208 (__DECL_SIMD_sinf64x): Likewise.
20209 (__DECL_SIMD_sinf128x): Likewise.
20210 (__DECL_SIMD_sincosf16): Likewise.
20211 (__DECL_SIMD_sincosf32): Likewise.
20212 (__DECL_SIMD_sincosf64): Likewise.
20213 (__DECL_SIMD_sincosf32x): Likewise.
20214 (__DECL_SIMD_sincosf64x): Likewise.
20215 (__DECL_SIMD_sincosf128x): Likewise.
20216 (__DECL_SIMD_logf16): Likewise.
20217 (__DECL_SIMD_logf32): Likewise.
20218 (__DECL_SIMD_logf64): Likewise.
20219 (__DECL_SIMD_logf32x): Likewise.
20220 (__DECL_SIMD_logf64x): Likewise.
20221 (__DECL_SIMD_logf128x): Likewise.
20222 (__DECL_SIMD_expf16): Likewise.
20223 (__DECL_SIMD_expf32): Likewise.
20224 (__DECL_SIMD_expf64): Likewise.
20225 (__DECL_SIMD_expf32x): Likewise.
20226 (__DECL_SIMD_expf64x): Likewise.
20227 (__DECL_SIMD_expf128x): Likewise.
20228 (__DECL_SIMD_powf16): Likewise.
20229 (__DECL_SIMD_powf32): Likewise.
20230 (__DECL_SIMD_powf64): Likewise.
20231 (__DECL_SIMD_powf32x): Likewise.
20232 (__DECL_SIMD_powf64x): Likewise.
20233 (__DECL_SIMD_powf128x): Likewise.
20235 * stdlib/Versions (libc): Move entries for wcstof128 and
20236 wcstof128_l to ....
20237 * wcsmbs/Versions (libc): ... here.
20238 Include <float128-abi.h>.
20240 2017-11-24 Florian Weimer <fweimer@redhat.com>
20242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20243 bits/mman-shared.h.
20244 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20245 <bits/mman-shared.h>.
20246 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20248 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20249 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20250 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20251 <bits/mman-shared.h>.
20253 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20256 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20257 posix_memalign/free.
20258 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20260 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20263 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20264 and implement the collation rules for pl from CLDR on top of that.
20265 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20266 of locales to be built for testing.
20267 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20269 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20271 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20272 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20273 libm_alias_ldouble_other.
20274 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20275 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20276 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20277 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20278 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20279 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20280 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20281 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20282 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20283 libm_alias_ldouble_r.
20284 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20285 libm_alias_ldouble_other.
20286 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20287 (log10l): Likewise.
20288 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20289 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20290 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20291 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20292 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20293 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20294 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20295 (atan2l): Likewise.
20296 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20297 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20298 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20299 libm_alias_ldouble.
20300 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20302 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20303 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20304 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20306 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20307 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20308 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20309 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20310 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20311 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20312 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20313 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20314 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20315 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20316 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20317 libm_alias_ldouble.
20318 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20319 libm_alias_ldouble_other.
20320 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20321 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20322 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20323 libm_alias_ldouble.
20324 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20325 libm_alias_ldouble_other.
20326 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20327 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20328 * sysdeps/ia64/fpu/w_lgammal_main.c
20329 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20330 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20332 2017-11-23 Florian Weimer <fweimer@redhat.com>
20334 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20335 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20336 alike. Remove freeres marker.
20337 * malloc/arena.c (arena_thread_freeres): Call
20338 tcache_thread_shutdown.
20340 2017-11-23 Florian Weimer <fweimer@redhat.com>
20343 Export nscd hash function as __nss_hash.
20344 * include/nss.h (__nss_hash): Declare.
20345 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20347 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20348 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20350 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20351 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20352 * nss/Makefiles (routines): Add nss_hash.
20353 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20354 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20355 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20356 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20358 2017-11-23 Florian Weimer <fweimer@redhat.com>
20361 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20362 Return error code, not -1.
20363 * signal/tst-sigwait-eintr.c: New file.
20364 * signal/Makefile (tests): Add tst-sigwait-eintr.
20366 2017-11-23 Florian Weimer <fweimer@redhat.com>
20368 Linux: Add memfd_create system call wrapper
20369 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20371 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20372 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20373 [__USE_GNU] (memfd_create): Declare.
20374 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20375 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20376 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20377 * sysdeps/unix/sysv/linux/**.abilist: Update.
20378 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20380 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20382 * localedata/gen-locale.sh: Fix typo in variable name.
20384 * resolv/res_debug.c (p_secstodate): Condition definition on
20385 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20386 directly as __p_secstodate, and as a compat symbol. Do not use
20387 libresolv_hidden_def.
20388 * resolv/resolv.h (p_secstodate): Remove macro and function
20390 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20391 using p_secstodate.
20392 * include/resolv.h (__p_secstodate): Do not use
20393 libresolv_hidden_proto.
20394 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20395 (tests-internal): ... here.
20396 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20397 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20398 and declare and use __p_secstodate and use compat_symbol_reference
20400 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20401 implementation returning 77.
20404 * resolv/res_debug.c: Include <libc-diag.h>.
20405 (p_secstodate): Assert time_t at least as wide as u_long. On
20406 overflow, use integer seconds since the epoch as output, or use
20407 "<overflow>" as output and set errno to EOVERFLOW if integer
20408 seconds since the epoch would be 14 or more characters.
20409 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20411 * resolv/tst-p_secstodate.c: New file.
20412 * resolv/Makefile (tests): Add tst-p_secstodate.
20413 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20415 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20416 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20417 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20419 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20421 * posix/regcomp.c (init_word_char): Add comments.
20423 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20426 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20427 strlen to compute length of ut_user and set trailing NUL byte of
20430 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20433 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20434 using “copy "iso14651_t1"” and then implementing the
20435 collation rules for lv from CLDR on top of that.
20436 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20437 of locales to be built for testing.
20438 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20441 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20443 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20444 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20445 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20446 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20447 [__USE_MISC] (MADV_HWPOISON): New macro.
20448 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20450 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20452 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20453 -Wmissing-braces on GCC 4.9.
20455 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20457 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20458 * sysdeps/s390/s390-32/start.S (_start): Likewise
20459 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20460 (thread_start): Likewise.
20461 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20462 (thread_start): Likewise.
20463 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20464 (__makecontext_ret): Likewise.
20465 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20466 (__makecontext_ret): Likewise.
20468 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20470 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20471 __wcschrnul): Remove attribute_hidden.
20473 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20475 regex: don't assume uint64_t or uint32_t
20476 This avoids -Werror=overflow errors for 32-bit systems in
20477 the 64-bit case. Problem reported by Joseph Myers in:
20478 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20479 Also, when this code is used in Gnulib it ports to platforms
20480 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20481 them, and on some 32-bit compilers there is no uint64_t.
20482 Problem reported by Gianluigi Tiesi in:
20483 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20484 * posix/regcomp.c (init_word_char): Don't assume that the types
20485 uint64_t and uint32_t exist. Adapted from Gnulib patch
20486 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20487 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20489 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20491 * sysdeps/aarch64/memset-reg.h: New file.
20492 * sysdeps/aarch64/memset.S: Use it.
20493 (__memset): Rename to MEMSET macro.
20494 [ZVA_MACRO]: Use zva_macro.
20495 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20496 Add memset_generic and memset_falkor.
20497 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20498 (__libc_ifunc_impl_list): Add memset ifuncs.
20499 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20500 local variable zva_size.
20501 * sysdeps/aarch64/multiarch/memset.c: New file.
20502 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20503 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20504 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20505 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20506 (DCZID_DZP_MASK): New macro.
20507 (DCZID_BS_MASK): Likewise.
20508 (init_cpu_features): Read and set zva_size.
20509 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20510 (struct cpu_features): New member zva_size.
20512 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20513 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20514 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20516 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20517 backwards. Fix timing computation.
20518 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20519 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20520 on memset by N at a time. Fix timing computation.
20522 2017-11-20 Florian Weimer <fweimer@redhat.com>
20524 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20525 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20527 2017-11-19 Florian Weimer <fweimer@redhat.com>
20529 manual: Document mprotect
20530 * manual/memory.texi (Memory Protection): New section.
20531 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20532 documentation of PROT_* flags and reference the Memory Protection
20535 2017-11-19 Florian Weimer <fweimer@redhat.com>
20537 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20538 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20539 (Scatter-Gather): ... to here. Remove misleading comment.
20541 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20543 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20546 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20547 when /proc/<pid>/setgroups does not exist.
20549 2017-11-18 Florian Weimer <fweimer@redhat.com>
20551 * sysdeps/unix/sysv/linux/tst-ttyname.c
20552 (become_root_in_mount_ns): Remove.
20553 (do_in_chroot_1): Call support_enter_mount_namespace.
20554 (do_in_chroot_2): Likewise.
20555 (do_test): Call support_become_root early.
20557 2017-11-18 Florian Weimer <fweimer@redhat.com>
20559 * support/namespace.h (support_enter_mount_namespace): Declare.
20560 * support/support_enter_mount_namespace.c: New file.
20561 * support/Makefile (libsupport-routines): Add
20562 support_enter_mount_namespace.
20564 2017-11-18 Florian Weimer <fweimer@redhat.com>
20566 * support/temp_file.c (support_create_temp_directory): Use
20567 test_dir and do not rely on the presence of the XXXXXX suffix.
20568 * support/temp_file.h (support_create_temp_directory): Update
20570 * support/tst-xreadlink.c (do_test): Adjust.
20571 * support/support_chroot.c (support_chroot_create): Likewise.
20573 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20575 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20577 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20580 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20582 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20583 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20584 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20585 (ceill): Define using libm_alias_ldouble.
20586 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20587 <libm-alias-ldouble.h>.
20588 (copysignl): Define using libm_alias_ldouble.
20589 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20590 (fabsl): Define using libm_alias_ldouble.
20591 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20592 (floorl): Define using libm_alias_ldouble.
20593 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20594 (fmaxl): Define using libm_alias_ldouble.
20595 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20596 (fminl): Define using libm_alias_ldouble.
20597 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20598 (llrintl): Define using libm_alias_ldouble.
20599 (lrintl): Likewise.
20600 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20601 <libm-alias-ldouble.h>.
20602 (nearbyintl): Define using libm_alias_ldouble.
20603 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20604 (truncl): Define using libm_alias_ldouble.
20605 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20606 <libm-alias-ldouble.h>.
20607 (lrintl): Define using libm_alias_ldouble.
20609 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20610 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20611 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20612 (asinhl): Define using libm_alias_ldouble.
20613 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20614 (atanl): Define using libm_alias_ldouble.
20615 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20616 (cbrtl): Define using libm_alias_ldouble.
20617 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20618 (ceill): Define using libm_alias_ldouble.
20619 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20620 (copysignl): Define using libm_alias_ldouble.
20621 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20622 (fabsl): Define using libm_alias_ldouble.
20623 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20624 (floorl): Define using libm_alias_ldouble.
20625 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20626 (fmaxl): Define using libm_alias_ldouble.
20627 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20628 (fminl): Define using libm_alias_ldouble.
20629 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20630 (frexpl): Define using libm_alias_ldouble.
20631 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20632 (llrintl): Define using libm_alias_ldouble.
20633 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20634 (logbl): Define using libm_alias_ldouble.
20635 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20636 (lrintl): Define using libm_alias_ldouble.
20637 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20638 (nearbyintl): Define using libm_alias_ldouble.
20639 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20640 (nextafterl): Define using libm_alias_ldouble.
20641 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20642 (remquol): Define using libm_alias_ldouble.
20643 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20644 (rintl): Define using libm_alias_ldouble.
20645 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20646 (truncl): Define using libm_alias_ldouble.
20647 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20648 (fmaxl): Define using libm_alias_ldouble.
20649 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20650 (fminl): Define using libm_alias_ldouble.
20652 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20653 to C syntax instead of availability and properties of types.
20654 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20655 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20656 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20657 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20658 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20659 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20661 2017-11-17 Florian Weimer <fweimer@redhat.com>
20663 support_become_root: Enable file creation in namespaces.
20664 * support/support_become_root.c (setup_mapping): New function.
20665 (support_become_root): Call it.
20667 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20669 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20672 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20674 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20675 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20677 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20679 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20681 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20684 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20686 * INSTALL: Fix botched up regeneration.
20688 * NEWS: Update sourceare link to https.
20689 * configure.ac: Likewise.
20690 * crypt/md5test-giant.c: Likewise.
20691 * dlfcn/bug-atexit1.c: Likewise.
20692 * dlfcn/bug-atexit2.c: Likewise.
20693 * localedata/README: Likewise.
20694 * malloc/tst-mallocfork.c: Likewise.
20695 * manual/install.texi: Likewise.
20696 * nptl/tst-pthread-getattr.c: Likewise.
20697 * stdio-common/tst-fgets.c: Likewise.
20698 * stdio-common/tst-fwrite.c: Likewise.
20699 * sunrpc/Makefile: Likewise.
20700 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20701 * wcsmbs/tst-mbrtowc2.c: Likewise.
20702 * configure: Regenerate.
20703 * INSTALL: Regenerate.
20705 2017-11-15 Martin Sebor <msebor@redhat.com>
20707 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20708 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20709 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20711 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20714 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20715 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20718 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20719 Defer is_pty check until end of the function.
20720 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20723 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20724 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20725 (ttyname): Likewise.
20726 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20727 (__ttyname_r): Likewise.
20729 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20732 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20734 * manual/terminal.texi (Is It a Terminal):
20735 Mention ENODEV for ttyname and ttyname_r.
20737 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20739 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20740 constant and macro.
20742 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20743 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20744 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20745 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20746 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20747 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20749 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20751 * signal/sigrelse.c (sigrelse): Optimize implementation.
20753 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20754 (__sigpause): Rely on __sigsuspend to implement single thread
20755 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20757 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20759 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20760 kernel version to 4.14.
20762 2017-11-15 Steve Ellcey <sellcey@cavium.com>
20765 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20766 Check if ifname is too long.
20768 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20770 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20772 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20774 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20775 was accidentally lost.
20777 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20779 * localedata/locales/az_IR: Add standard copyright header.
20781 2017-11-15 Florian Weimer <fweimer@redhat.com>
20784 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20785 not just the top one. Output a new "subheaps" statistic.
20787 2017-11-15 Florian Weimer <fweimer@redhat.com>
20790 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20791 under the per-arena lock.
20792 * malloc/Makefile (tests): Add tst-malloc_info.
20793 (tst-malloc_info): Link with libpthread.
20794 * malloc/tst-malloc_info.c: New file.
20796 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20799 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20800 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20801 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20802 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20803 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20804 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20805 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20806 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20807 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20808 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20809 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20810 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20811 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20812 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20813 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20814 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20815 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20816 (__floating_type): Likewise.
20817 (__real_integer_type): Likewise.
20818 (__complex_integer_type): Likewise.
20819 (__expr_is_real): Likewise.
20820 (__tgmath_real_type_sub): Likewise.
20821 (__tgmath_real_type): Likewise.
20822 (__tgmath_complex_type_sub): Likewise.
20823 (__tgmath_complex_type): Likewise.
20824 (__TGMATH_F128): Likewise.
20825 (__TGMATH_CF128): Likewise.
20826 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20828 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20829 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20831 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20833 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20834 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20835 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20836 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20838 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20839 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20841 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20842 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20843 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20845 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20846 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20847 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20851 2017-11-14 Joseph Myers <joseph@codesourcery.com>
20853 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20854 for stpncpy calls for GCC 8.
20855 (test_strncat): Disable -Wstringop-truncation warning for strncat
20856 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20857 strncat call for GCC 7.
20858 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20860 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20863 * string/bug-strncat1.c: Include <libc-diag.h>.
20864 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20866 2017-11-13 Claude Paroz <claude@2xlibre.net>
20869 * localedata/locales/aa_DJ: Improved readibility by replacing
20870 <Uxxxx> sequences in the ASCII printable range by their ASCII
20871 character equivalents.
20872 * localedata/locales/aa_ER: Likewise.
20873 * localedata/locales/aa_ER@saaho: Likewise.
20874 * localedata/locales/aa_ET: Likewise.
20875 * localedata/locales/af_ZA: Likewise.
20876 * localedata/locales/agr_PE: Likewise.
20877 * localedata/locales/ak_GH: Likewise.
20878 * localedata/locales/am_ET: Likewise.
20879 * localedata/locales/anp_IN: Likewise.
20880 * localedata/locales/ar_AE: Likewise.
20881 * localedata/locales/ar_BH: Likewise.
20882 * localedata/locales/ar_DZ: Likewise.
20883 * localedata/locales/ar_EG: Likewise.
20884 * localedata/locales/ar_IN: Likewise.
20885 * localedata/locales/ar_IQ: Likewise.
20886 * localedata/locales/ar_JO: Likewise.
20887 * localedata/locales/ar_KW: Likewise.
20888 * localedata/locales/ar_LB: Likewise.
20889 * localedata/locales/ar_LY: Likewise.
20890 * localedata/locales/ar_MA: Likewise.
20891 * localedata/locales/ar_OM: Likewise.
20892 * localedata/locales/ar_QA: Likewise.
20893 * localedata/locales/ar_SA: Likewise.
20894 * localedata/locales/ar_SD: Likewise.
20895 * localedata/locales/ar_SS: Likewise.
20896 * localedata/locales/ar_SY: Likewise.
20897 * localedata/locales/ar_TN: Likewise.
20898 * localedata/locales/ar_YE: Likewise.
20899 * localedata/locales/as_IN: Likewise.
20900 * localedata/locales/ast_ES: Likewise.
20901 * localedata/locales/ayc_PE: Likewise.
20902 * localedata/locales/az_AZ: Likewise.
20903 * localedata/locales/az_IR: Likewise.
20904 * localedata/locales/be_BY: Likewise.
20905 * localedata/locales/be_BY@latin: Likewise.
20906 * localedata/locales/bem_ZM: Likewise.
20907 * localedata/locales/ber_DZ: Likewise.
20908 * localedata/locales/ber_MA: Likewise.
20909 * localedata/locales/bg_BG: Likewise.
20910 * localedata/locales/bhb_IN: Likewise.
20911 * localedata/locales/bho_IN: Likewise.
20912 * localedata/locales/bi_VU: Likewise.
20913 * localedata/locales/bn_BD: Likewise.
20914 * localedata/locales/bn_IN: Likewise.
20915 * localedata/locales/bo_CN: Likewise.
20916 * localedata/locales/bo_IN: Likewise.
20917 * localedata/locales/br_FR: Likewise.
20918 * localedata/locales/brx_IN: Likewise.
20919 * localedata/locales/bs_BA: Likewise.
20920 * localedata/locales/byn_ER: Likewise.
20921 * localedata/locales/ca_AD: Likewise.
20922 * localedata/locales/ca_ES: Likewise.
20923 * localedata/locales/ca_FR: Likewise.
20924 * localedata/locales/ca_IT: Likewise.
20925 * localedata/locales/ce_RU: Likewise.
20926 * localedata/locales/chr_US: Likewise.
20927 * localedata/locales/cmn_TW: Likewise.
20928 * localedata/locales/crh_UA: Likewise.
20929 * localedata/locales/cs_CZ: Likewise.
20930 * localedata/locales/csb_PL: Likewise.
20931 * localedata/locales/cv_RU: Likewise.
20932 * localedata/locales/cy_GB: Likewise.
20933 * localedata/locales/da_DK: Likewise.
20934 * localedata/locales/de_AT: Likewise.
20935 * localedata/locales/de_BE: Likewise.
20936 * localedata/locales/de_CH: Likewise.
20937 * localedata/locales/de_DE: Likewise.
20938 * localedata/locales/de_IT: Likewise.
20939 * localedata/locales/de_LI: Likewise.
20940 * localedata/locales/de_LU: Likewise.
20941 * localedata/locales/doi_IN: Likewise.
20942 * localedata/locales/dv_MV: Likewise.
20943 * localedata/locales/dz_BT: Likewise.
20944 * localedata/locales/el_CY: Likewise.
20945 * localedata/locales/el_GR: Likewise.
20946 * localedata/locales/en_AG: Likewise.
20947 * localedata/locales/en_AU: Likewise.
20948 * localedata/locales/en_BW: Likewise.
20949 * localedata/locales/en_CA: Likewise.
20950 * localedata/locales/en_DK: Likewise.
20951 * localedata/locales/en_GB: Likewise.
20952 * localedata/locales/en_HK: Likewise.
20953 * localedata/locales/en_IE: Likewise.
20954 * localedata/locales/en_IL: Likewise.
20955 * localedata/locales/en_IN: Likewise.
20956 * localedata/locales/en_NG: Likewise.
20957 * localedata/locales/en_NZ: Likewise.
20958 * localedata/locales/en_PH: Likewise.
20959 * localedata/locales/en_SG: Likewise.
20960 * localedata/locales/en_US: Likewise.
20961 * localedata/locales/en_ZA: Likewise.
20962 * localedata/locales/en_ZM: Likewise.
20963 * localedata/locales/en_ZW: Likewise.
20964 * localedata/locales/eo: Likewise.
20965 * localedata/locales/es_AR: Likewise.
20966 * localedata/locales/es_BO: Likewise.
20967 * localedata/locales/es_CL: Likewise.
20968 * localedata/locales/es_CO: Likewise.
20969 * localedata/locales/es_CR: Likewise.
20970 * localedata/locales/es_CU: Likewise.
20971 * localedata/locales/es_DO: Likewise.
20972 * localedata/locales/es_EC: Likewise.
20973 * localedata/locales/es_ES: Likewise.
20974 * localedata/locales/es_GT: Likewise.
20975 * localedata/locales/es_HN: Likewise.
20976 * localedata/locales/es_MX: Likewise.
20977 * localedata/locales/es_NI: Likewise.
20978 * localedata/locales/es_PA: Likewise.
20979 * localedata/locales/es_PE: Likewise.
20980 * localedata/locales/es_PR: Likewise.
20981 * localedata/locales/es_PY: Likewise.
20982 * localedata/locales/es_SV: Likewise.
20983 * localedata/locales/es_US: Likewise.
20984 * localedata/locales/es_UY: Likewise.
20985 * localedata/locales/es_VE: Likewise.
20986 * localedata/locales/et_EE: Likewise.
20987 * localedata/locales/eu_ES: Likewise.
20988 * localedata/locales/eu_ES@euro: Likewise.
20989 * localedata/locales/fa_IR: Likewise.
20990 * localedata/locales/ff_SN: Likewise.
20991 * localedata/locales/fi_FI: Likewise.
20992 * localedata/locales/fil_PH: Likewise.
20993 * localedata/locales/fo_FO: Likewise.
20994 * localedata/locales/fr_BE: Likewise.
20995 * localedata/locales/fr_CA: Likewise.
20996 * localedata/locales/fr_CH: Likewise.
20997 * localedata/locales/fr_FR: Likewise.
20998 * localedata/locales/fr_LU: Likewise.
20999 * localedata/locales/fur_IT: Likewise.
21000 * localedata/locales/fy_DE: Likewise.
21001 * localedata/locales/fy_NL: Likewise.
21002 * localedata/locales/ga_IE: Likewise.
21003 * localedata/locales/gd_GB: Likewise.
21004 * localedata/locales/gez_ER: Likewise.
21005 * localedata/locales/gez_ET: Likewise.
21006 * localedata/locales/gl_ES: Likewise.
21007 * localedata/locales/gu_IN: Likewise.
21008 * localedata/locales/gv_GB: Likewise.
21009 * localedata/locales/ha_NG: Likewise.
21010 * localedata/locales/hak_TW: Likewise.
21011 * localedata/locales/he_IL: Likewise.
21012 * localedata/locales/hi_IN: Likewise.
21013 * localedata/locales/hif_FJ: Likewise.
21014 * localedata/locales/hne_IN: Likewise.
21015 * localedata/locales/hr_HR: Likewise.
21016 * localedata/locales/hsb_DE: Likewise.
21017 * localedata/locales/ht_HT: Likewise.
21018 * localedata/locales/hu_HU: Likewise.
21019 * localedata/locales/hy_AM: Likewise.
21020 * localedata/locales/i18n: Likewise.
21021 * localedata/locales/ia_FR: Likewise.
21022 * localedata/locales/id_ID: Likewise.
21023 * localedata/locales/ig_NG: Likewise.
21024 * localedata/locales/ik_CA: Likewise.
21025 * localedata/locales/is_IS: Likewise.
21026 * localedata/locales/it_CH: Likewise.
21027 * localedata/locales/it_IT: Likewise.
21028 * localedata/locales/iu_CA: Likewise.
21029 * localedata/locales/ja_JP: Likewise.
21030 * localedata/locales/ka_GE: Likewise.
21031 * localedata/locales/kk_KZ: Likewise.
21032 * localedata/locales/kl_GL: Likewise.
21033 * localedata/locales/kn_IN: Likewise.
21034 * localedata/locales/ko_KR: Likewise.
21035 * localedata/locales/kok_IN: Likewise.
21036 * localedata/locales/ks_IN: Likewise.
21037 * localedata/locales/ks_IN@devanagari: Likewise.
21038 * localedata/locales/ku_TR: Likewise.
21039 * localedata/locales/kw_GB: Likewise.
21040 * localedata/locales/ky_KG: Likewise.
21041 * localedata/locales/lb_LU: Likewise.
21042 * localedata/locales/lg_UG: Likewise.
21043 * localedata/locales/li_BE: Likewise.
21044 * localedata/locales/li_NL: Likewise.
21045 * localedata/locales/lij_IT: Likewise.
21046 * localedata/locales/ln_CD: Likewise.
21047 * localedata/locales/lo_LA: Likewise.
21048 * localedata/locales/lt_LT: Likewise.
21049 * localedata/locales/lv_LV: Likewise.
21050 * localedata/locales/lzh_TW: Likewise.
21051 * localedata/locales/mag_IN: Likewise.
21052 * localedata/locales/mai_IN: Likewise.
21053 * localedata/locales/mg_MG: Likewise.
21054 * localedata/locales/mhr_RU: Likewise.
21055 * localedata/locales/mi_NZ: Likewise.
21056 * localedata/locales/mk_MK: Likewise.
21057 * localedata/locales/ml_IN: Likewise.
21058 * localedata/locales/mn_MN: Likewise.
21059 * localedata/locales/mni_IN: Likewise.
21060 * localedata/locales/mr_IN: Likewise.
21061 * localedata/locales/ms_MY: Likewise.
21062 * localedata/locales/mt_MT: Likewise.
21063 * localedata/locales/my_MM: Likewise.
21064 * localedata/locales/nan_TW: Likewise.
21065 * localedata/locales/nan_TW@latin: Likewise.
21066 * localedata/locales/nb_NO: Likewise.
21067 * localedata/locales/nds_DE: Likewise.
21068 * localedata/locales/nds_NL: Likewise.
21069 * localedata/locales/ne_NP: Likewise.
21070 * localedata/locales/nhn_MX: Likewise.
21071 * localedata/locales/niu_NU: Likewise.
21072 * localedata/locales/niu_NZ: Likewise.
21073 * localedata/locales/nl_AW: Likewise.
21074 * localedata/locales/nl_BE: Likewise.
21075 * localedata/locales/nl_NL: Likewise.
21076 * localedata/locales/nn_NO: Likewise.
21077 * localedata/locales/nr_ZA: Likewise.
21078 * localedata/locales/nso_ZA: Likewise.
21079 * localedata/locales/oc_FR: Likewise.
21080 * localedata/locales/om_ET: Likewise.
21081 * localedata/locales/om_KE: Likewise.
21082 * localedata/locales/or_IN: Likewise.
21083 * localedata/locales/os_RU: Likewise.
21084 * localedata/locales/pa_IN: Likewise.
21085 * localedata/locales/pa_PK: Likewise.
21086 * localedata/locales/pap_AW: Likewise.
21087 * localedata/locales/pap_CW: Likewise.
21088 * localedata/locales/pl_PL: Likewise.
21089 * localedata/locales/ps_AF: Likewise.
21090 * localedata/locales/pt_BR: Likewise.
21091 * localedata/locales/pt_PT: Likewise.
21092 * localedata/locales/quz_PE: Likewise.
21093 * localedata/locales/raj_IN: Likewise.
21094 * localedata/locales/ro_RO: Likewise.
21095 * localedata/locales/ru_RU: Likewise.
21096 * localedata/locales/ru_UA: Likewise.
21097 * localedata/locales/rw_RW: Likewise.
21098 * localedata/locales/sa_IN: Likewise.
21099 * localedata/locales/sat_IN: Likewise.
21100 * localedata/locales/sc_IT: Likewise.
21101 * localedata/locales/sd_IN: Likewise.
21102 * localedata/locales/sd_IN@devanagari: Likewise.
21103 * localedata/locales/se_NO: Likewise.
21104 * localedata/locales/sgs_LT: Likewise.
21105 * localedata/locales/shs_CA: Likewise.
21106 * localedata/locales/si_LK: Likewise.
21107 * localedata/locales/sid_ET: Likewise.
21108 * localedata/locales/sk_SK: Likewise.
21109 * localedata/locales/sl_SI: Likewise.
21110 * localedata/locales/sm_WS: Likewise.
21111 * localedata/locales/so_DJ: Likewise.
21112 * localedata/locales/so_ET: Likewise.
21113 * localedata/locales/so_KE: Likewise.
21114 * localedata/locales/so_SO: Likewise.
21115 * localedata/locales/sq_AL: Likewise.
21116 * localedata/locales/sq_MK: Likewise.
21117 * localedata/locales/sr_ME: Likewise.
21118 * localedata/locales/sr_RS: Likewise.
21119 * localedata/locales/sr_RS@latin: Likewise.
21120 * localedata/locales/ss_ZA: Likewise.
21121 * localedata/locales/st_ZA: Likewise.
21122 * localedata/locales/sv_FI: Likewise.
21123 * localedata/locales/sv_SE: Likewise.
21124 * localedata/locales/sw_KE: Likewise.
21125 * localedata/locales/sw_TZ: Likewise.
21126 * localedata/locales/szl_PL: Likewise.
21127 * localedata/locales/ta_IN: Likewise.
21128 * localedata/locales/ta_LK: Likewise.
21129 * localedata/locales/tcy_IN: Likewise.
21130 * localedata/locales/te_IN: Likewise.
21131 * localedata/locales/tg_TJ: Likewise.
21132 * localedata/locales/th_TH: Likewise.
21133 * localedata/locales/the_NP: Likewise.
21134 * localedata/locales/ti_ER: Likewise.
21135 * localedata/locales/ti_ET: Likewise.
21136 * localedata/locales/tig_ER: Likewise.
21137 * localedata/locales/tk_TM: Likewise.
21138 * localedata/locales/tl_PH: Likewise.
21139 * localedata/locales/tn_ZA: Likewise.
21140 * localedata/locales/to_TO: Likewise.
21141 * localedata/locales/tpi_PG: Likewise.
21142 * localedata/locales/tr_CY: Likewise.
21143 * localedata/locales/tr_TR: Likewise.
21144 * localedata/locales/ts_ZA: Likewise.
21145 * localedata/locales/tt_RU: Likewise.
21146 * localedata/locales/tt_RU@iqtelif: Likewise.
21147 * localedata/locales/ug_CN: Likewise.
21148 * localedata/locales/uk_UA: Likewise.
21149 * localedata/locales/unm_US: Likewise.
21150 * localedata/locales/ur_IN: Likewise.
21151 * localedata/locales/ur_PK: Likewise.
21152 * localedata/locales/uz_UZ: Likewise.
21153 * localedata/locales/uz_UZ@cyrillic: Likewise.
21154 * localedata/locales/ve_ZA: Likewise.
21155 * localedata/locales/vi_VN: Likewise.
21156 * localedata/locales/wa_BE: Likewise.
21157 * localedata/locales/wae_CH: Likewise.
21158 * localedata/locales/wal_ET: Likewise.
21159 * localedata/locales/wo_SN: Likewise.
21160 * localedata/locales/xh_ZA: Likewise.
21161 * localedata/locales/yi_US: Likewise.
21162 * localedata/locales/yo_NG: Likewise.
21163 * localedata/locales/yue_HK: Likewise.
21164 * localedata/locales/yuw_PG: Likewise.
21165 * localedata/locales/zh_CN: Likewise.
21166 * localedata/locales/zh_HK: Likewise.
21167 * localedata/locales/zh_SG: Likewise.
21168 * localedata/locales/zh_TW: Likewise.
21169 * localedata/locales/zu_ZA: Likewise.
21171 2017-11-13 Florian Weimer <fweimer@redhat.com>
21173 * support/next_to_fault.h, support/next_to_fault.c: New files.
21174 * support/Makefile (libsupport-routines): Add next_to_fault.
21175 * resolv/tst-inet_pton.c (struct next_to_fault)
21176 (next_to_fault_allocate, next_to_fault_free): Remove.
21177 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21179 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21181 * elf/dl-support.c: Include <dl-procruntime.c>.
21182 * include/link.h: Include <link_map.h>.
21183 * sysdeps/generic/dl-procruntime.c: New file.
21184 * sysdeps/generic/link_map.h: Likewise.
21185 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21186 the writable ld.so namespace.
21188 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21190 timezone: pacify GCC -Wstringop-truncation
21191 Problem reported by Martin Sebor in:
21192 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21193 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21195 2017-11-12 Florian Weimer <fweimer@redhat.com>
21197 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21199 (tests): Add tst-xreadlink.
21200 * support/support.h (xstrndup): Declare.
21201 * support/xunistd.h (xunlink, xreadlink): Declare.
21202 * support/temp_file.h (support_create_temp_directory): Declare.
21203 * support/temp_file.c (support_create_temp_directory): New function.
21204 * support/support_chroot.c (support_chroot_create): Use it.
21205 * support/xreadlink.c: New file.
21206 * support/xstrndup.c: Likewise.
21207 * support/xunlink.c: Likewise.
21208 * support/tst-xreadlink.c: Likewise.
21210 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21212 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21214 2017-11-11 Florian Weimer <fweimer@redhat.com>
21218 * resolv/res_comp.c (printable_string, binary_hnok)
21219 (binary_leading_dash): New functions.
21220 (res_hnok): Reimplement using these functions and ns_name_pton.
21221 (res_ownok): Likewise.
21222 (res_mailok): Reimplement using printable_string, ns_name_pton and
21224 (res_dnok): Reimplement using printable_string and ns_name_pton.
21225 * resolv/tst-res_hnok.c (tests): Add additional tests.
21226 (LETTERDIGITS, PRINTABLE): Define.
21227 (do_test): Adjust one_char results.
21229 2017-11-11 Florian Weimer <fweimer@redhat.com>
21232 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21233 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21235 2017-11-11 Florian Weimer <fweimer@redhat.com>
21237 * resolv/tst-ns_name_pton.c: New file.
21238 * resolv/Makefile (tests): Add tst-ns_name_pton.
21239 (tst-ns_name_pton): Link against libresolv.
21241 2017-11-11 Florian Weimer <fweimer@redhat.com>
21243 * resolv/tst-res_hnok.c: New file.
21244 * resolv/Makefile (tests): Add tst-res_hnok.
21245 (tst-res_hnok): Link against libresolv.
21247 2017-11-11 Florian Weimer <fweimer@redhat.com>
21249 * resolv/tst-resolv-network.c: Use test framework instead explicit
21252 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21254 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21255 <jmp_buf-macros.h>.
21256 [!_ISOMAC] (STR_HELPER): New.
21257 [!_ISOMAC] (STR): Likewise.
21258 [!_ISOMAC] (TEST_SIZE): Likewise.
21259 [!_ISOMAC] (TEST_ALIGN): Likewise.
21260 [!_ISOMAC] (TEST_OFFSET): Likewise.
21261 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21262 field offsets of jmp_buf as well as sigjmp_buf.
21263 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21264 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21265 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21266 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21267 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21268 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21269 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21270 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21271 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21272 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21274 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21276 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21281 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21282 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21283 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21284 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21285 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21290 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21291 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21292 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21294 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21298 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21300 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21302 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21304 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21306 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21308 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21310 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21312 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21314 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21316 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21318 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21320 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21322 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21324 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21326 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21328 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21330 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21332 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21334 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21336 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21338 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21340 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21342 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21344 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21346 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21348 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21350 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21352 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21354 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21356 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21358 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21360 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21362 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21364 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21366 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21367 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21368 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21369 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21370 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21371 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21372 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21373 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21374 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21376 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21377 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21378 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21379 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21380 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21381 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21382 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21383 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21384 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21386 * stdlib/tst-strtod.h (F16): New macro.
21392 (IF_FLOAT16): Likewise.
21393 (IF_FLOAT32): Likewise.
21394 (IF_FLOAT64): Likewise.
21395 (IF_FLOAT32X): Likewise.
21396 (IF_FLOAT64X): Likewise.
21397 (IF_FLOAT128X): Likewise.
21398 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21399 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21400 (STRTOD_TEST_FOREACH): Likewise.
21401 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21402 (CHOOSE_f64): Likewise.
21403 (CHOOSE_f32x): Likewise.
21404 (CHOOSE_f64x): Likewise.
21406 2017-11-07 Andreas Schwab <schwab@suse.de>
21408 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21410 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21413 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21415 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21418 2017-11-07 Claude Paroz <claude@2xlibre.net>
21421 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21423 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21425 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21428 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21431 * nptl/allocatestack.c (allocate_stack): Check if
21432 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21433 __PTHREAD_MUTEX_HAVE_PREV is defined.
21434 * nptl/descr.h (pthread): Likewise.
21435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21437 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21438 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21439 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21440 * sysdeps/nptl/bits/thread-shared-types.h
21441 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21443 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21444 of __WORDSIZE for internal layout.
21445 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21446 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21447 instead of __WORDSIZE whether to use an union for __spins and __list
21449 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21451 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21452 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21454 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21455 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21457 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21458 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21460 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21461 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21463 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21464 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21466 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21467 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21469 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21470 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21472 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21473 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21475 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21476 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21478 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21479 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21481 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21482 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21484 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21485 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21487 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21488 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21490 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21491 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21493 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21494 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21497 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21499 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21500 checks for expected input type size.
21501 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21502 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21504 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21505 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21506 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21507 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21508 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21509 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21510 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21511 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21512 superflous runtime assert check.
21513 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21515 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21517 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21519 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21521 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21523 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21525 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21526 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21527 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21529 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21531 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21533 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21535 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21537 * nptl/pthread_attr_setinheritsched.c
21538 (__pthread_attr_setinheritsched): Likewise.
21539 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21541 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21543 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21544 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21545 __old_pthread_attr_setstack): Likewise.
21546 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21548 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21550 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21552 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21553 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21555 * nptl/tst-typesizes.c: Remove file.
21557 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21558 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21559 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21560 checks for internal pthread_mutex_t offsets.
21561 * sysdeps/aarch64/nptl/pthread-offsets.h
21562 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21563 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21564 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21565 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21566 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21567 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21568 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21569 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21570 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21571 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21572 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21573 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21574 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21575 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21576 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21577 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21578 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21579 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21581 2017-11-07 Florian Weimer <fweimer@redhat.com>
21583 * bits/mman-linux.h: Move ...
21584 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21586 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21589 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21591 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21592 Redefine STRNLEN as __strnlen_power8.
21594 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21596 * signal/sighold.c (sighold): Optimize implementation.
21598 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21599 __NR_rt_sigqueueinfo.
21601 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21603 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21604 assume __NR_rt_sigtimedwait.
21605 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21606 and add LIBC_CANCEL_HANDLED for cancellation marking.
21607 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21609 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21610 (sysdeps_routines): Add memchr_noneon.
21611 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21612 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21613 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21614 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21615 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21616 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21617 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21619 * sysdeps/arm/arm-ifunc.h: New file.
21620 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21621 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21622 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21623 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21624 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21625 (__memcpy_neon): Avoid create hidden alias.
21626 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21627 (__memcpy_vfp): Likewise.
21628 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21629 (sysdep_routines): Add memcpy_arm.
21630 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21632 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21635 * Makerules (make-link-multidir): New.
21636 * config.make.in (multidir): New.
21637 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21638 * configure: Regenerated.
21639 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21640 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21641 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21644 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21647 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21648 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21650 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21652 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21655 2017-11-04 Florian Weimer <fweimer@redhat.com>
21657 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21659 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21661 * math/math.h [__HAVE_DISTINCT_FLOAT16
21662 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21663 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21664 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21665 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21666 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21667 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21668 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21669 (__MATH_TG_F32): New macro.
21670 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21671 (__MATH_TG_F64X): Likewise.
21672 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21673 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21675 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21677 * po/de.po: Update translations.
21678 * po/ru.po: Likewise.
21680 2017-11-03 Florian Weimer <fweimer@redhat.com>
21682 * manual/filesys.texi (Hard Links): Document linkat.
21684 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21686 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21687 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21688 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21689 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21690 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21691 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21692 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21693 the same as _Float128.
21694 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21695 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21696 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21699 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21701 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21703 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21705 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21706 (strtof32x): Likewise.
21707 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21708 (strtof64x): Likewise.
21709 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21710 (strtof128x): Likewise.
21711 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21712 (strfromf16): Likewise.
21713 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21714 (strfromf32): Likewise.
21715 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21716 (strfromf64): Likewise.
21717 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21718 (strfromf32x): Likewise.
21719 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21720 (strfromf64x): Likewise.
21721 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21722 (strfromf128x): Likewise.
21723 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21724 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21725 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21726 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21727 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21728 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21730 2017-11-03 Richard Henderson <rth@twiddle.net>
21732 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21734 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21736 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21738 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21740 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21741 DT_TLSDESC_GOT initialization.
21742 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21743 (_dl_tlsdesc_resolve_hold): Likewise.
21744 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21745 (_dl_tlsdesc_resolve_hold): Likewise.
21746 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21747 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21749 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21751 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21753 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21756 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21757 non-lazily for R_ARM_TLS_DESC.
21759 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21762 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21763 R_ARM_TLS_DESC case.
21764 (elf_machine_lazy_rel): Remove the prelink check.
21766 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21768 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21769 DT_TLSDESC_GOT initialization.
21770 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21771 (_dl_tlsdesc_resolve_rela): Likewise.
21772 (_dl_tlsdesc_resolve_hold): Likewise.
21773 (_dl_tlsdesc_undefweak): Remove ldar.
21774 (_dl_tlsdesc_dynamic): Likewise.
21775 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21776 (_dl_tlsdesc_resolve_rela): Likewise.
21777 (_dl_tlsdesc_resolve_hold): Likewise.
21778 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21779 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21780 (_dl_tlsdesc_resolve_rela): Likewise.
21781 (_dl_tlsdesc_resolve_hold): Likewise.
21783 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21785 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21786 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21788 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21790 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21791 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21793 2017-11-02 Joseph Myers <joseph@codesourcery.com>
21795 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21797 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21798 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21799 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21800 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21801 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21802 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21803 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21804 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21805 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21806 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21807 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21809 2017-11-02 Mike FABIAN <mfabian@redhat.com>
21812 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21813 * localedata/locales/tpi_PG: Add standard header.
21815 2017-11-02 Florian Weimer <fweimer@redhat.com>
21817 test-errno-linux: quotactl can fail with EPERM in containers.
21818 * sysdeps/unix/sysv/linux/test-errno-linux.c
21819 (LIST, LIST_FORWARD): New macros.
21820 (check_error_in_list): New function.
21821 (test_wrp_rv): Accept list of permitted error codes.
21822 (test_wrp_rv2): Remove.
21823 (test_wrp): Call test_wrp_rv with list of error codes.
21824 (test_wrp2): Accept list of error codes.
21825 (do_test): Adjust. Allow EPERM for quotactl.
21827 2017-11-02 Florian Weimer <fweimer@redhat.com>
21829 * stdio-common/bug16.c (do_test): Use array_length.
21830 * stdio-common/errlist.c (_sys_nerr): Likewise.
21831 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21832 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21833 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21834 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21835 (do_test): Use array_length.
21836 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21837 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21838 * stdio-common/tst-printf-round.c (do_test): Likewise.
21839 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21840 (CHECK): Use array_length.
21841 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21842 * stdio-common/tstscanf.c (main): Likewise.
21843 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21845 2017-11-02 Florian Weimer <fweimer@redhat.com>
21847 Add array_length and array_end macros.
21848 * include/array_length.h: New file.
21850 2017-11-02 Florian Weimer <fweimer@redhat.com>
21853 * posix/tst-glob-tilde.c (do_noescape): New variable.
21854 (one_test): Process it.
21855 (do_test): Set do_noescape. Add unescaping test case.
21857 2017-11-01 Joseph Myers <joseph@codesourcery.com>
21860 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21861 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21862 with appropriate macros defined and undefined.
21863 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21864 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21865 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21866 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21867 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21868 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21869 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21870 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21871 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21872 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21875 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21876 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21877 that for long double. Do not condition define and undefine of
21878 _Mdouble_complex_ on [__CFLOAT128].
21880 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21882 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21883 of <sysdeps/generic/sysdep.h>.
21884 (ALIGNARG): Removed.
21885 (ASM_SIZE_DIRECTIVE): Likewise.
21888 (ENTRY_CHK): Likewise.
21889 (END_CHK): Likewise.
21890 (syscall_error): Likewise.
21891 (mcount): Likewise.
21892 (PSEUDO_END): Likewise.
21894 (atom_text_section): Likewise.
21895 * sysdeps/x86/sysdep.h: New file.
21896 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21897 of <sysdeps/generic/sysdep.h>.
21898 (ALIGNARG): Removed.
21899 (ASM_SIZE_DIRECTIVE): Likewise.
21902 (ENTRY_CHK): Likewise.
21903 (END_CHK): Likewise.
21904 (syscall_error): Likewise.
21905 (mcount): Likewise.
21906 (PSEUDO_END): Likewise.
21908 (atom_text_section): Likewise.
21910 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21912 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21913 category of LC_CTYPE set to "i18n:2012".
21914 * localedata/locales/i18n_ctype: Regenerate.
21916 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
21918 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21919 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21920 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21921 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21923 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21924 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21926 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21928 2017-10-31 Joseph Myers <joseph@codesourcery.com>
21931 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21933 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21935 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21937 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21938 (CMPLXF32X): Likewise.
21939 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21940 (CMPLXF64X): Likewise.
21941 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21942 (CMPLXF128X): Likewise.
21945 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21946 (__MATH_EVAL_FMT2): Define to add 0.0f.
21948 2017-10-31 Alan Modra <amodra@gmail.com>
21950 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21966 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21967 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21968 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21971 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21972 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21973 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21974 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21975 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21976 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21977 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21978 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21979 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21980 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21981 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21982 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21983 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21984 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21985 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21987 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21988 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21989 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21990 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21992 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21993 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21994 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21995 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21996 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21997 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21998 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21999 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22000 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22001 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22002 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22003 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22004 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22005 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22006 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22007 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22008 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22010 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22011 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22012 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22013 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22014 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22015 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22016 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22017 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22018 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22019 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22020 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22023 include sysdep.h and math_ldbl_opt.h.
22025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22026 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22052 2017-10-31 Alan Modra <amodra@gmail.com>
22054 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22055 string/strncase_l.c, not string/strncase.c.
22056 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22057 (libc_hidden_def): Redefine.
22059 2017-10-31 Alan Modra <amodra@gmail.com>
22061 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22062 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22063 (__strcasecmp): Don't define.
22065 2017-10-31 Alan Modra <amodra@gmail.com>
22067 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22069 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22070 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22071 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22073 2017-10-31 Alan Modra <amodra@gmail.com>
22075 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22078 2017-10-31 Alan Modra <amodra@gmail.com>
22080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22081 Redefine only when SHARED.
22083 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22085 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22086 Include <bits/math-finite.h> with appropriate macros defined and
22088 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22089 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22090 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22091 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22092 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22094 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22095 [!_Mlong_double_] (_Mlong_double_): Likewise.
22096 [!_Mfloat16_] (_Mfloat16_): Likewise.
22097 [!_Mfloat32_] (_Mfloat32_): Likewise.
22098 [!_Mfloat64_] (_Mfloat64_): Likewise.
22099 [!_Mfloat128_] (_Mfloat128_): Likewise.
22100 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22101 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22102 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22103 (_Mdouble_): Define without indirection through those macros.
22104 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22105 [!_Mfloat128_] (_Mfloat128_): Likewise.
22106 [_Mlong_double_] (_Mlong_double_): Likewise.
22107 (_Mdouble_): Define without indirection through those macros.
22108 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22109 not add -D_Mlong_double_=double.
22110 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22111 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22113 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22115 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22117 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22119 * sysdeps/x86/libc-start.c: Reformat.
22121 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22124 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22125 (1): Renamed to ...
22128 (L(Src2)): Likewise.
22129 (L(1)): Renamed to ...
22132 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22134 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22135 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22136 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22137 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22138 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22139 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22140 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22141 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22142 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22143 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22144 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22145 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22146 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22147 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22148 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22149 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22150 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22151 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22152 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22153 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22154 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22155 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22156 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22157 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22158 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22159 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22160 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22161 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22162 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22163 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22164 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22165 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22166 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22167 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22168 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22169 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22170 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22171 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22172 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22173 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22174 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22175 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22176 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22177 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22178 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22179 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22180 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22181 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22182 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22183 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22184 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22185 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22186 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22187 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22188 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22189 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22190 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22191 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22192 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22193 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22194 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22195 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22196 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22197 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22198 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22199 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22201 2017-10-30 Florian Weimer <fweimer@redhat.com>
22203 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22205 * io/tst-mkdirat.c (do_test): Likewise.
22206 * io/tst-mkfifoat.c (do_test): Likewise.
22207 * io/tst-mknodat.c (do_test): Likewise.
22208 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22209 * locale/programs/locale.c (select_dirs): Likewise.
22210 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22211 * posix/bug-glob2.c (my_readdir): Likewise.
22212 * posix/tst-dir.c (main): Likewise.
22213 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22214 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22216 2017-10-30 Florian Weimer <fweimer@redhat.com>
22218 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22221 2017-10-30 Florian Weimer <fweimer@redhat.com>
22223 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22224 Convert to support/test-driver.c.
22225 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22226 New macro parameters.
22227 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22228 * posix/tst-gnuglob.c: New file.
22229 * posix/tst-gnuglob64.c: Likewise.
22230 * posix/Makefile (tests): Add tst-gnuglob64.
22232 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22235 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22236 and use a better translation for March in “mon”.
22237 * localedata/locales/csb_PL: Use more ASCII to improve the
22238 readability of the source.
22240 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22243 * localedata/locales/km_KH: Use ASCII as much
22244 as possible for better readability of the source and
22245 remove useless comments.
22246 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22247 was commented out and apparently wrong anyway because it was
22248 using Lao characters. If Buddhist era should be used
22249 for km_KH, a native speaker should write the correct formaat
22251 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22252 (According to CLDR, the first weekday for Cambodia is Sunday).
22253 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22254 (These were using Lao characters which must be wrong. If we get
22255 the correct data from a native speaker, we could add it back, until
22256 then it is better not to have name_mr and name_mrs at all than
22259 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22261 * locale/loadlocale.c: Correct size of
22262 _nl_value_type_LC_<category> arrays.
22264 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22266 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22267 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22268 with appropriate macros defined and undefined.
22269 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22270 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22271 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22272 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22273 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22275 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22277 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22280 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22282 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22283 with lowercase letters to make it agree with CLDR.
22285 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22288 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22289 first letters of yesstr and nostr in yesexpr and noexpr,
22290 not for the full words.
22291 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22292 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22293 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22294 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22295 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22296 first letters of yesstr and nostr in yesexpr and noexpr,
22297 until now only English was matched in yesexpr and noexpr.
22298 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22299 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22300 fil but not for tl. As tl and fil are very similar, using fil
22301 is probably better than using English.
22303 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22306 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22307 in yesstr and nostr.
22309 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22311 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22312 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22313 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22315 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22317 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22319 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22321 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22322 (SNANF128X): Likewise.
22324 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22325 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22326 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22327 (HUGE_VAL_F32): Likewise.
22328 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22329 (HUGE_VAL_F64): Likewise.
22330 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22331 (HUGE_VAL_F32X): Likewise.
22332 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22333 (HUGE_VAL_F64X): Likewise.
22334 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22335 (HUGE_VAL_F128X): Likewise.
22337 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22339 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22340 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22341 for the br_FR locale.
22343 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22346 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22348 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22350 * locale/programs/record-status.h: Define globals, and function
22351 prototypes. Move function bodies...
22352 * locale/programs/record-status.c: ... to here. New file.
22353 * iconv/Makefile (iconv_prog-modules): Add record-status.
22354 * locale/Makefile (lib-modules): Likewise.
22355 * iconv/iconv_prog.c: Remove verbose.
22356 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22357 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22358 record a warning about ASCII compatibility.
22359 * locale/programs/ld-monetary.c (monetary_finish): If
22360 warn_int_curr_symbol is true then record a warning about the symbol
22361 not being in our ISO 4217 list.
22362 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22363 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22364 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22365 (OPT_NO_WARN): Define.
22366 (OPT_WARN): Define.
22367 (options): Add entry for --no-warnings, and --warnings.
22368 (set_warnings): New function to enable/disable warnings.
22369 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22370 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22371 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22372 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22373 Pass flags to generate_locale.
22374 (generate_locale): Accept new flag argument and pass it to localedef
22376 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22377 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22379 * localedata/Makefile (test-input-data): Use full file name.
22380 * localedata/da_DK.in: Rename to...
22381 * localedata/da_DK.ISO-8859-1.in: ...this.
22382 * localedata/de_DE.in: Rename to...
22383 * localedata/de_DE.ISO-8859-1.in: ...this.
22384 * localedata/en_US.in: Rename to...
22385 * localedata/en_US.ISO-8859-1.in: ...this.
22386 * localedata/fr_FR.in: Rename to...
22387 * localedata/fr_FR.UTF-8.in: ... this.
22388 * localedata/hr_HR.in: Rename to...
22389 * localedata/hr_HR.ISO-8859-2.in: ...this.
22390 * localedata/hu_HU.in: Rename to...
22391 * localedata/hu_HU.UTF-8.in: ...this.
22392 * localedata/si_LK.in: Rename to...
22393 * localedata/si_LK.UTF-8.in: ...this.
22394 * localedata/sv_SE.in: Rename to...
22395 * localedata/sv_SE.ISO-8859-1.in: ...this.
22396 * localedata/tr_TR.in: Rename to...
22397 * localedata/tr_TR.UTF-8.in: ...this.
22398 * localedata/uk_UA.in: Rename to...
22399 * localedata/uk_UA.UTF-8.in: ...this.
22400 * localedata/sort-test.sh: Test file is locale name with the
22403 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22404 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22406 * localedata/locales/i18n_ctype: Regenerate.
22407 * localedata/locales/tr_TR: Likewise.
22408 * localedata/locales/translit_circle: Likewise.
22409 * localedata/locales/translit_cjk_compat: Likewise.
22410 * localedata/locales/translit_combining: Likewise.
22411 * localedata/locales/translit_compat: Likewise.
22412 * localedata/locales/translit_font: Likewise.
22413 * localedata/locales/translit_fraction: Likewise.
22415 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22417 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22418 lxvd2x/stxvd2x with lvx/stvx.
22419 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22421 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22423 * include/alloc_buffer.h: Replace "if if " with "if " in
22425 * sysdeps/mips/memcpy.S: Likkewise.
22426 * sysdeps/mips/memset.S: Likewise.
22427 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22429 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22431 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22434 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22437 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22438 yesexpr and noexpr.
22439 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22440 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22441 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22442 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22443 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22444 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22445 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22447 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22449 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22450 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22451 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22452 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22453 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22454 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22455 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22456 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22457 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22458 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22459 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22460 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22462 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22464 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22465 as possible for better readability of the source.
22466 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22467 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22468 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22469 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22470 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22471 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22472 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22473 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22474 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22475 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22476 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22477 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22478 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22479 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22480 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22481 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22482 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22483 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22484 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22485 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22486 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22487 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22488 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22489 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22490 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22491 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22492 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22493 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22494 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22495 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22496 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22497 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22498 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22499 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22500 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22501 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22502 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22503 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22504 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22505 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22506 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22507 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22508 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22509 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22510 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22511 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22512 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22513 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22514 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22515 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22516 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22517 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22518 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22519 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22520 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22521 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22522 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22523 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22524 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22525 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22526 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22527 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22528 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22529 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22530 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22531 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22532 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22533 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22534 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22535 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22536 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22537 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22538 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22539 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22540 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22541 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22542 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22543 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22544 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22545 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22546 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22547 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22548 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22549 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22550 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22551 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22552 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22553 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22554 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22555 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22556 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22557 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22558 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22559 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22560 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22561 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22562 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22563 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22564 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22565 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22566 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22567 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22568 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22569 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22570 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22571 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22572 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22573 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22574 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22575 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22576 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22577 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22578 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22579 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22580 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22581 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22582 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22583 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22584 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22585 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22586 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22587 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22588 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22589 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22590 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22591 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22592 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22593 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22594 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22595 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22596 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22597 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22598 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22599 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22600 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22601 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22602 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22603 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22604 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22605 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22606 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22607 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22608 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22609 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22610 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22611 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22612 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22613 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22614 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22615 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22616 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22617 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22618 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22619 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22620 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22621 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22622 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22623 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22624 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22625 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22626 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22627 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22628 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22629 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22630 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22631 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22632 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22633 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22634 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22635 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22636 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22637 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22638 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22639 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22641 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22643 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22644 (Use first letters of yesstr and nostr correctly instead of using
22647 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22649 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22650 (Use first letters of yesstr and nostr correctly).
22652 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22654 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22655 also check for the first characters of yesstr and nostr.
22656 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22657 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22659 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22661 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22662 also check for Chinese characters.
22664 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22666 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22667 match also for the contents of yesstr and nostr. As the first letter
22668 of yesstr and nostr is equal, checking only for the first letter
22671 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22673 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22674 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22676 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22678 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22679 of main contributor.
22681 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22683 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22684 instead of using English.
22686 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22688 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22689 by including the first letters of nostr and yesexpr in the regexp.
22690 Also make it more readable by using ASCII where possible.
22692 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22694 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22695 the first letter of nostr in the regexp. It agrees with CLDR now.
22696 Also make it more readable by using ASCII where possible.
22698 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22700 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22701 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22702 these strings contain a U+17D6 (which somewhat looks like a colon)
22703 instead of a real colon to separate the full words for “yes”
22704 and “no” from the single letter responses.
22706 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22708 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22709 it agree with CLDR (include the first letter of yesstr).
22710 Also make it more readable by using ASCII where possible.
22712 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22714 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22715 and improve yesexpr and noexpr. The yesstr and nostr apparently
22716 came from CLDR. And CLDR has a bug there: these strings contain
22717 a U+0903 (which looks like a colon) instead of a real colon
22718 to separate the full words for “yes” and “no” from the single
22721 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22723 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22724 letters of the full yesstr and nostr in yesexpr and noexpr.
22726 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22728 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22729 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22730 * localedata/locales/an_ES: Make source more readable by using ASCII
22733 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22736 * localedata/locales/yuw_PG: New file.
22737 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22738 * locale/iso-639.def: Add Yau (Uruwa).
22740 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22742 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22744 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22746 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22747 (__libc_realloc): Likewise.
22748 (_mid_memalign): Likewise.
22749 (__libc_calloc): Likewise.
22751 2017-10-23 Mike FABIAN <mfabian@redhat.com>
22753 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22754 by adding the generic +1 and -0 as in all other locales.
22755 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22756 day names and make it more readable by using ASCII where possible.
22758 2017-10-24 Joseph Myers <joseph@codesourcery.com>
22760 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22761 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22763 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22765 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22766 WNOHANG in waitpid call.
22768 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22770 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22771 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22773 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22774 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22775 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22776 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22777 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22778 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22779 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22780 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22783 2017-10-23 Michael Collison <michael.collison@arm.com>
22785 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22786 with __builtin_sqrt.
22787 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22788 with __builtin_sqrtf.
22789 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22790 with __builtin_ceil.
22791 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22792 with __builtin_ceilf.
22793 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22794 with __builtin_floor.
22795 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22796 with __builtin_floorf.
22797 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22798 with __builtin_fma.
22799 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22800 with __builtin_fmaf.
22801 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22802 with __builtin_fmax.
22803 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22804 with __builtin_fmaxf.
22805 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22806 with __builtin_fmin.
22807 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22808 with __builtin_fminf.
22809 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22810 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22811 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22812 with builtin_rint and conversion to int.
22813 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22814 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22815 with builtin_llround.
22816 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22817 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22818 with builtin_rint and conversion to long int.
22819 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22820 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22821 with builtin_lround.
22822 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22823 with builtin_lroundf.
22824 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22825 statements with __builtin_nearbyint.
22826 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22827 statements with __builtin_nearbyintf.
22828 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22829 with __builtin_rint.
22830 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22831 with __builtin_rintf.
22832 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22833 with __builtin_round.
22834 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22835 with __builtin_roundf.
22836 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22837 with __builtin_trunc.
22838 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22839 with __builtin_truncf.
22840 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22841 and s_l[l]round[f].c too.
22843 2017-10-23 Alan Modra <amodra@gmail.com>
22845 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22846 Adjust stack after restoring regs. Add missing LR cfi_restore.
22848 2017-10-23 Alan Modra <amodra@gmail.com>
22850 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22851 Move LR save and frame setup/teardown and LR restore to
22852 immediately around memset call. Provide cfi.
22854 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22856 * sysdeps/i386/fpu/e_powf.S: Removed.
22857 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22858 * sysdeps/i386/fpu/w_powf.c: Likewise.
22859 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22860 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22861 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22863 (CFLAGS-e_powf-sse2.c): New.
22864 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22865 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22867 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22869 * sysdeps/i386/fpu/e_log2f.S: Removed.
22870 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22871 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22872 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22873 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22874 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22876 (CFLAGS-e_log2f-sse2.c): New.
22877 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22878 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22880 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22882 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22884 (CFLAGS-e_powf-fma.c): New.
22885 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22886 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22888 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22892 (CFLAGS-e_log2f-fma.c): New.
22893 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22894 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22896 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22898 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22900 (CFLAGS-e_logf-fma.c): New.
22901 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22902 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22904 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22906 * sysdeps/i386/fpu/e_logf.S: Removed.
22907 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22908 * sysdeps/i386/fpu/w_logf.c: Likewise.
22909 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22910 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22911 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22912 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22914 (CFLAGS-e_logf-sse2.c): New.
22915 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22916 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22918 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22920 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22921 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22922 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22923 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22924 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22926 (CFLAGS-e_exp2f-sse2.c): New.
22927 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22928 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22930 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22932 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22934 (CFLAGS-e_exp2f-fma.c): New.
22935 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22936 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22938 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22940 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22941 * sysdeps/i386/fpu/e_expf.S: Likewise.
22942 * sysdeps/i386/fpu/math_errf.c: Likewise.
22943 * sysdeps/i386/fpu/w_expf.c: Likewise.
22944 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22946 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22947 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22948 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22949 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22950 Remove e_expf-ia32.
22951 (CFLAGS-e_expf-sse2.c): New.
22952 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22953 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22955 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22957 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22958 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22959 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22960 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22962 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22964 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22965 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22967 (__redirect_expf): This.
22968 (SYMBOL_NAME): Changed to expf.
22969 (__ieee754_expf): Renamed to ...
22971 (__GI___expf): This.
22972 (__ieee754_expf): Add strong_alias.
22973 (__expf_finite): Likewise.
22975 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22977 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
22980 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22983 2017-10-21 Florian Weimer <fweimer@redhat.com>
22985 * posix/Makefile (tests): Add tst-glob-tilde.
22986 (tests-special): Add tst-glob-tilde-mem.out
22987 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22988 (tst-glob-tilde-mem.out): Add mtrace check.
22989 * posix/tst-glob-tilde.c: New file.
22991 2017-10-20 Joseph Myers <joseph@codesourcery.com>
22993 * bits/floatn-common.h: New file.
22994 * math/Makefile (headers): Add bits/floatn-common.h.
22995 * bits/floatn.h: Include <bits/floatn-common.h>.
22996 * sysdeps/ia64/bits/floatn.h: Likewise.
22997 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22998 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22999 * sysdeps/powerpc/bits/floatn.h: Likewise.
23000 * sysdeps/x86/bits/floatn.h: Likewise.
23002 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23004 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23005 indicates whether compiler emits an warning for alias for
23006 functions with incompatible types.
23009 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23010 the auxiliary process is terminated by a signal before calling _exit
23013 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23016 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23018 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23019 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23020 and bit_arch_XSAVEC_Usable if needed.
23021 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23022 and bit_arch_Use_dl_runtime_resolve_opt.
23023 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23025 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23026 (bit_arch_Prefer_No_AVX512): Updated.
23027 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23028 (bit_arch_XSAVEC_Usable): New.
23029 (STATE_SAVE_OFFSET): Likewise.
23030 (STATE_SAVE_MASK): Likewise.
23031 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23032 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23033 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23034 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23035 (index_arch_XSAVEC_Usable): New.
23036 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23037 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23038 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23040 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23041 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23042 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23043 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23044 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23045 _dl_runtime_resolve_xsavec.
23046 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23048 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23049 instead of VEC_SIZE.
23050 (REGISTER_SAVE_BND0): Removed.
23051 (REGISTER_SAVE_BND1): Likewise.
23052 (REGISTER_SAVE_BND3): Likewise.
23053 (REGISTER_SAVE_RAX): Always defined to 0.
23055 (_dl_runtime_resolve_avx): Likewise.
23056 (_dl_runtime_resolve_avx_slow): Likewise.
23057 (_dl_runtime_resolve_avx_opt): Likewise.
23058 (_dl_runtime_resolve_avx512): Likewise.
23059 (_dl_runtime_resolve_avx512_opt): Likewise.
23060 (_dl_runtime_resolve_sse): Likewise.
23061 (_dl_runtime_resolve_sse_vex): Likewise.
23063 (_dl_runtime_resolve_fxsave): Likewise.
23064 (USE_XSAVE): Likewise.
23065 (_dl_runtime_resolve_xsave): Likewise.
23066 (USE_XSAVEC): Likewise.
23067 (_dl_runtime_resolve_xsavec): Likewise.
23068 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23070 (_dl_runtime_resolve_avx512_opt): Likewise.
23071 (_dl_runtime_resolve_avx): Likewise.
23072 (_dl_runtime_resolve_avx_opt): Likewise.
23073 (_dl_runtime_resolve_sse): Likewise.
23074 (_dl_runtime_resolve_sse_vex): Likewise.
23075 (_dl_runtime_resolve_fxsave): New.
23076 (_dl_runtime_resolve_xsave): Likewise.
23077 (_dl_runtime_resolve_xsavec): Likewise.
23079 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23083 * posix/glob.c (__glob): Fix one-byte overflow.
23085 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23087 * malloc/malloc.c (sysdep-cancel.h): Add include.
23089 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23091 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23093 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23095 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23096 (tests): Remove $(objpfx)ga_test depdendency.
23097 * resolv/ga_test.c: Remove file.
23099 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23102 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23103 * localedata/locales/kab_DZ: New file.
23105 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23107 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23108 _dl_relocate_static_pie instead of _dl_start to compute load
23109 address in static PIE.
23111 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23113 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23115 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23118 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23119 * localedata/locales/shn_MM: New file.
23121 2017-10-20 Florian Weimer <fweimer@redhat.com>
23124 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23125 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23126 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23127 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23128 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23129 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23131 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23133 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23135 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23137 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23140 * sysdeps/mips/bits/long-double.h: Move to ....
23141 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23143 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23145 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23147 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23148 H.J. Lu <hongjiu.lu@intel.com>
23151 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23152 GLRO(dl_platform) to NULL.
23153 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23154 (modules-names): Add tst-platformmod-1 and
23155 x86_64/tst-platformmod-2.
23156 (CFLAGS-tst-platform-1.c): New.
23157 (CFLAGS-tst-platformmod-1.c): Likewise.
23158 (CFLAGS-tst-platformmod-2.c): Likewise.
23159 (LDFLAGS-tst-platformmod-2.so): Likewise.
23160 ($(objpfx)tst-platform-1): Likewise.
23161 ($(objpfx)tst-platform-1.out): Likewise.
23162 (tst-platform-1-ENV): Likewise.
23163 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23164 * sysdeps/x86_64/tst-platform-1.c: New file.
23165 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23166 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23168 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23171 * locale/iso-639.def: Add Karbi.
23172 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23173 * localedata/locales/mjw_IN: New file.
23175 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23177 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23178 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23179 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23180 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23181 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23182 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23183 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23185 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23186 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23187 * manual/math.texi (Mathematics): Document additional architecture
23188 support for _Float128.
23189 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23190 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23191 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23192 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23193 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23194 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23195 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23196 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23200 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23205 2017-10-18 Renlin Li <renlin.li@arm.com>
23207 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23208 _DYNAMIC symbol to calculate load address.
23210 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23212 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23213 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23215 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23216 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23218 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23221 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23222 and improve readability by using more ASCII.
23223 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23224 and improve readability by using more ASCII.
23226 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23228 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23229 not all targets support atomics on bool.
23231 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23233 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23234 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23236 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23237 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23238 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23239 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23240 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23241 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23243 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23245 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23248 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23251 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23252 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23253 (do_check_remalloced_chunk): Fix build bug.
23254 (do_check_malloc_state): Add assert that checks arena->top.
23255 (malloc_consolidate): Remove initialization.
23256 (int_mallinfo): Remove call to malloc_consolidate.
23257 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23259 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23261 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23262 (have_fastchunks): Remove.
23263 (clear_fastchunks): Remove.
23264 (set_fastchunks): Remove.
23265 (malloc_state): Add have_fastchunks.
23266 (malloc_init_state): Use have_fastchunks.
23267 (do_check_malloc_state): Remove incorrect invariant checks.
23268 (_int_malloc): Use have_fastchunks.
23269 (_int_free): Likewise.
23270 (malloc_consolidate): Likewise.
23272 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23274 * malloc/malloc.c (tcache_put): Inline.
23275 (tcache_get): Inline.
23277 2017-10-17 Jordi Mallach <jordi@gnu.org>
23279 Aurelien Jarno <aurelien@aurel32.net>
23281 * localedata/locales/ca_ES@valencia: New file.
23282 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23284 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23287 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23290 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23292 * scripts/build-many-glibcs.py (Context.add_all_configs):
23293 Add arm-linux-gnueabihf multiarch extra_glibcs.
23295 * sysdeps/generic/ifunc-init.h: New file.
23296 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23298 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23301 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23302 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23303 * stdlib/tst-strfmon_l.c: adapt test case.
23305 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23307 * sysdeps/generic/float128-abi.h: New file.
23308 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23309 non-__prefixed symbols to ....
23310 * math/Versions: ... here. Include <float128-abi.h>.
23311 * stdlib/Versions ... and here. Include <float128-abi.h>
23313 2017-10-16 Florian Weimer <fweimer@redhat.com>
23315 * version.h (VERSION): Switch to ".9000" as the development
23318 2017-10-16 Florian Weimer <fweimer@redhat.com>
23321 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23322 compat_symbol_reference to access non-default version.
23324 2017-10-16 Florian Weimer <fweimer@redhat.com>
23326 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23328 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23330 * include/shlib-compat.h (compat_symbol_reference): Update
23333 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23335 * math/Makefile (test-types): Add
23336 $(type-float128-$(float128-alias-fcts)).
23337 * math/test-float128.h (TYPE_STR): Define conditional on
23338 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23339 (ULP_IDX): Likewise.
23340 (ULP_I_IDX): Likewise.
23342 * stdlib/strtold.c: Include <bits/floatn.h>
23343 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23344 and later undefine as macro. Define as weak alias if
23346 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23347 and later undefine as macro. Define as weak alias if
23349 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23350 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23351 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23352 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23353 Define and later undefine as macro. Define as weak alias if
23355 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23357 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23358 Define and later undefine as macro. Define as weak alias if
23360 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23361 Define and later undefine as macro. Define as weak alias if
23364 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23366 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23367 record_verbose messages.
23369 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23372 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23373 to silence -O3 -Wall warning with GCC 7.
23375 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23377 * Makeconfig (+link-static-before-libc): Use the first of
23378 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23379 * gmon/Makefile (tests): Add tst-gmon-static.
23380 (tests-static): Likewise.
23381 (CFLAGS-tst-gmon-static.c): New.
23382 (CRT-tst-gmon-static): Likewise.
23383 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23384 (tst-gmon-static-ENV): Likewise.
23385 (tests-special): Likewise.
23386 ($(objpfx)tst-gmon-static.out): Likewise.
23387 (clean-tst-gmon-static-data): Likewise.
23388 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23389 * gmon/tst-gmon-static-gprof.sh: New file.
23390 * gmon/tst-gmon-static.c: Likewise.
23392 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23395 * locale/programs/linereader.c (get_string): Don't warn on
23396 non-symbolic character.
23399 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23403 * locale/programs/record-status.h: New file
23404 * locale/programs/locale.c: Add comment.
23405 * locale/programs/charmap-dir.c: Don't include error.h.
23406 (charmap_opendir): Use record_error.
23407 * locale/programs/charmap.c: Don't include error.h.
23408 (charmap_read): Use record_error, and record_warning.
23409 (parse_charmap): Likewise.
23410 * locale/programs/ld-address.c: Don't include error.h.
23411 (address_finish): Use record_error, and record_warning.
23412 * locale/programs/ld-collate.c: Don't include error.h.
23413 (collate_finish): Use record_error, and record_error_at_line.
23414 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23415 (ctype_class_new): Likewise.
23416 (ctype_map_new): Likewise.
23417 (set_one_default): Likewise.
23418 (set_class_defaults): Likewise.
23419 (translit_flatten): Likewise.
23420 (allocate_arrays): Use record_error, and record_verbose.
23421 * locale/programs/ld-identification.c: Don't include error.h.
23422 (indentation_finish): Use record_error and record_warning.
23423 * locale/programs/ld-measurement.c: Don't include error.h.
23424 (measurement_finish): Use record_error.
23425 * locale/programs/ld-messages.c
23426 (message_finish): Likewise.
23427 * locale/programs/ld-monetary.c
23428 (monetary_finish): Likewise.
23429 * locale/programs/ld-name.c (name_finish): Use record_error
23430 and record_warning.
23431 * locale/programs/ld-numeric.c
23432 (numeric_finish): Use record_error.
23433 * locale/programs/ld-paper.c: Don't include error.h.
23434 (paper_finish): Use record_error.
23435 * locale/programs/ld-telephone.c: Don't include error.h.
23436 (telephone_finish): Use record_error.
23437 * locale/programs/ld-time.c (time_finish): Likewise.
23438 * locale/programs/linereader.h (lr_error): Make inline func.
23439 * locale/programs/localedef.c: Define recorded_warning_count,
23440 and recorded_error_count.
23441 (main): Use record_error. Use recorded_error_count and
23442 recorded_warning_count to issue correct error returns.
23443 (add_to_readlist): Use record_error.
23444 (find_locale): Likewise.
23445 (load_locale): Likewise.
23446 * locale/programs/localedef.h: Remove be_quiet
23447 and WITH_CUR_LOCALE.
23448 * locale/programs/locarchive.c (compare_from_file): Use
23450 * locale/programs/locfile.c (write_locale_data): Use
23452 * locale/programs/repertoire.c: Dont include error.h.
23453 (repertoire_complain): Use record_error.
23454 * localedata/tst-fmon.sh: Expect failures from localedef.
23455 * localedata/tst-locale.sh: Likewise.
23456 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23458 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23459 (REPORTS): Likewise.
23461 (i18n): Rename to...
23462 (i18n_ctype): ...this.
23463 (i18n-report): Rename to...
23464 (i18n_ctype-report): ...this.
23465 * localedata/locales/i18n_ctype: Regenerate.
23466 * localedata/locales/i18n: copy i18n_ctype.
23468 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23470 * stdlib/strfroml.c: Include <bits/floatn.h>.
23471 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23472 Define before include of <stdlib.h> and undefine afterwards, then
23473 define as weak alias.
23475 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23476 Undefine and restore default definition. Use
23477 libm_alias_ldouble_other.
23479 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23482 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23485 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23487 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23488 Assign sym_map to be map for local symbols, as TLS relocations
23489 use sym_map to determine whether the symbol is defined and to
23490 extract the TLS information.
23491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23494 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23497 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23498 (math_force_eval): Add powerpc version.
23501 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23503 (do_test): Likewise.
23504 * stdio-common/tst-printf.sh: Likewise.
23505 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23506 ifdef clause in order to set the carry bit right. Replace r0 by
23507 0 without changing the behavior.
23509 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23511 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23512 <libm-alias-ldouble.h>.
23513 (fabsl): Define using libm_alias_ldouble.
23514 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23515 <libm-alias-ldouble.h>.
23516 (fabsl): Define using libm_alias_ldouble.
23518 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23519 Remove conditional code.
23521 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23522 Rename to __clog10_internal_l.
23523 (__clog10_internal_l): Define aliases using
23524 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23527 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23529 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23530 * benchtests/sincosf-inputs: New file.
23531 * benchtests/cosf-inputs: New file.
23532 * benchtests/sinf-inputs: New file.
23534 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23536 * posix/tst-spawn.c (do_test): Wait for both children.
23538 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23541 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23542 tests-pie): Add tst-gmon-pie.
23543 (CFLAGS-tst-gmon-pie.c): New.
23544 (CRT-tst-gmon-pie): Likewise.
23545 (tst-gmon-pie-ENV): Likewise.
23546 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23547 ($(objpfx)tst-gmon-pie.out): Likewise.
23548 (clean-tst-gmon-pie-data): Likewise.
23549 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23550 * gmon/gmon.c [PIC]: Include <link.h>.
23551 [PIC] (callback): New function.
23552 (write_hist): Add an argument for load address. Subtract load
23554 (write_call_graph): Likewise.
23555 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23556 it to write_hist and write_call_graph.
23557 * gmon/tst-gmon-pie.c: New file.
23559 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23561 * math/Makefile (test-types-basic): New variable.
23562 (test-types): Likewise.
23563 (libm-test-support): Use $(test-types) instead of $(types).
23564 (libm-tests-base-normal): Likewise.
23565 (libm-tests-base-finite): Likewise.
23566 (libm-tests-base-inline): Likewise.
23567 (generated): Likewise.
23568 ($(objpfx)libm-test-support-$(t).c): Likewise.
23569 (libm-tests-for-type iterator): Likewise.
23570 (libm-test-support iterator): Likewise.
23571 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23572 (ulp_idx): Use ULP_IDX.
23573 * math/test-ldouble.h: Include <float.h>.
23574 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23575 (ULP_IDX): New macro.
23576 (ULP_I_IDX): Likewise.
23577 * math/test-double.h (ULP_IDX): Likewise.
23578 (ULP_I_IDX): Likewise.
23579 * math/test-float.h (ULP_IDX): Likewise.
23580 (ULP_I_IDX): Likewise.
23581 * math/test-float128.h (ULP_IDX): Likewise.
23582 (ULP_I_IDX): Likewise.
23584 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23586 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23587 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23588 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23589 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23590 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23591 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23592 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23595 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23596 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23597 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23598 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23600 (SINGLE_THREAD_BY_GLOBAL): Define.
23601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23603 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23605 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23607 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23609 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23610 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23614 2017-10-11 Andreas Schwab <schwab@suse.de>
23616 * nis/Makefile (aux): Remove.
23617 * nscd/Makefile (aux): Add nscd_hash.
23618 (nscd-modules): Likewise.
23619 ($(objpfx)nscd): Don't depend on libnsl.
23620 * nscd/nscd_hash.c: New file.
23621 * nscd/nscd_hash.h: Likewise.
23622 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23623 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23624 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23625 instead of <nis/rpcsvc/nis.h>.
23626 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23628 2017-10-11 Florian Weimer <fweimer@redhat.com>
23631 Avoid large NSS buffers with many addresses, aliases.
23632 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23633 using dynarrays and struct alloc_buffer.
23634 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23635 (tst-nss-files-hosts-multi): Link with -ldl.
23636 * nss/tst-nss-files-hosts-multi.c: New file.
23638 2017-10-11 Florian Weimer <fweimer@redhat.com>
23641 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23642 scratch_buffer. Eliminate gotos.
23644 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23646 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23647 libm_alias_ldouble_other.
23648 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23649 undefine and redefine.
23650 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23651 (exp10l): Do not define here.
23652 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23653 (weak_alias): Undefine and redefine.
23654 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23655 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23656 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23657 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23659 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23660 [!__fma] (fma): Define using libm_alias_double.
23661 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23662 [!__fmaf] (fmaf): Define using libm_alias_float.
23663 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23664 (fmal): Define using libm_alias_ldouble.
23666 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23670 (libm_alias_double_other): Likewise.
23671 (libm_alias_double_r): Use libm_alias_double_other_r.
23672 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23674 (libm_alias_float_other): Likewise.
23675 (libm_alias_float_r): Use libm_alias_float_other_r.
23676 * sysdeps/generic/libm-alias-float128.h
23677 (libm_alias_float128_other_r): New macro.
23678 (libm_alias_float128_other): Likewise.
23679 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23680 * sysdeps/generic/libm-alias-ldouble.h
23681 (libm_alias_ldouble_other_r): New macro.
23682 (libm_alias_ldouble_other): Likewise.
23683 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23684 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23685 (libm_alias_double_other_r): New macro.
23686 (libm_alias_double_other): Likewise.
23687 (libm_alias_double_r): Use libm_alias_double_other_r.
23688 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23689 (libm_alias_ldouble_other_r): New macro.
23690 (libm_alias_ldouble_other): Likewise.
23691 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23692 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23693 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23694 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23695 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23696 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23697 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23698 * math/w_exp2f.c: Use libm_alias_float_other.
23699 * math/w_expf.c: Likewise.
23700 * math/w_log2f.c: Likewise.
23701 * math/w_logf.c: Likewise.
23702 * math/w_powf.c: Likewise.
23703 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23704 [!__exp2f]: Use libm_alias_float_other.
23705 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23706 [!__expf]: Use libm_alias_float_other.
23707 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23708 [!__log2f]: Use libm_alias_float_other.
23709 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23710 [!__logf]: Use libm_alias_float_other.
23711 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23712 [!__powf]: Use libm_alias_float_other.
23714 2017-10-10 Florian Weimer <fweimer@redhat.com>
23716 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23718 (_nss_files_gethostbyname3_r): Call it.
23720 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23722 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23723 error. Remove default definition of declare_mgen_alias.
23724 [!declare_mgen_alias_r]: Likewise.
23725 * sysdeps/generic/math-type-macros-double.h
23726 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23727 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23728 (declare_mgen_alias_r): Likewise.
23729 * sysdeps/generic/math-type-macros-float128.h
23730 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23731 * sysdeps/generic/math-type-macros-ldouble.h
23732 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23733 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23735 (declare_mgen_alias_r_s): Likewise.
23736 (declare_mgen_alias_r): Likewise.
23737 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23738 (lgamma_r): Define using libm_alias_double_r.
23739 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23740 (lgammaf_r): Define using libm_alias_float_r.
23741 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23742 (lgammal_r): Define using libm_alias_ldouble_r.
23743 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23744 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23746 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23748 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23749 extern declaration.
23751 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23753 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23755 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
23758 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23759 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23760 * math/Makefile (test-math-cxx11): New test.
23761 * math/test-math-cxx11.cc: New file.
23763 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23765 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23767 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23768 call to allocate the slave pty file descriptor.
23770 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23772 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23773 [!__fma] (fma): Define using libm_alias_double.
23774 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23775 [!__fma] (fma): Define using libm_alias_double.
23777 * sysdeps/ieee754/float128/float128_private.h: Include
23778 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23779 (libm_alias_ldouble_r): Undefine and redefine.
23780 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23781 <libm-alias-ldouble.h>.
23782 (asinhl): Define using libm_alias_ldouble.
23783 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23784 <libm-alias-ldouble.h>.
23785 (atanl): Define using libm_alias_ldouble.
23786 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23787 <libm-alias-ldouble.h>.
23788 (cbrtl): Define using libm_alias_ldouble.
23789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23790 <libm-alias-ldouble.h>.
23791 (ceill): Define using libm_alias_ldouble.
23792 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23793 <libm-alias-ldouble.h>.
23794 (copysignl): Define using libm_alias_ldouble.
23795 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23796 <libm-alias-ldouble.h>.
23797 (cosl): Define using libm_alias_ldouble.
23798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23799 <libm-alias-ldouble.h>.
23800 (erfl): Define using libm_alias_ldouble.
23802 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23803 <libm-alias-ldouble.h>.
23804 (expm1l): Define using libm_alias_ldouble.
23805 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23806 <libm-alias-ldouble.h>.
23807 (fabsl): Define using libm_alias_ldouble.
23808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23809 <libm-alias-ldouble.h>.
23810 (floorl): Define using libm_alias_ldouble.
23811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23812 <libm-alias-ldouble.h>.
23813 (fmal): Define using libm_alias_ldouble.
23814 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23815 <libm-alias-ldouble.h>.
23816 (frexpl): Define using libm_alias_ldouble.
23817 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23818 libm_alias_ldouble.
23819 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23820 <libm-alias-ldouble.h>.
23821 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23822 libm_alias_ldouble.
23823 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23824 <libm-alias-ldouble.h>.
23825 (getpayloadl): Define using libm_alias_ldouble.
23826 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23827 <libm-alias-ldouble.h>.
23828 (llrintl): Define using libm_alias_ldouble.
23829 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23830 <libm-alias-ldouble.h>.
23831 (llroundl): Define using libm_alias_ldouble.
23832 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23833 <libm-alias-ldouble.h>.
23834 (logbl): Define using libm_alias_ldouble.
23835 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23836 <libm-alias-ldouble.h>.
23837 (lrintl): Define using libm_alias_ldouble.
23838 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23839 <libm-alias-ldouble.h>.
23840 (lroundl): Define using libm_alias_ldouble.
23841 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23842 <libm-alias-ldouble.h>.
23843 (modfl): Define using libm_alias_ldouble.
23844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23845 <libm-alias-ldouble.h>.
23846 (nearbyintl): Define using libm_alias_ldouble.
23847 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23848 <libm-alias-ldouble.h>.
23849 (nextafterl): Define using libm_alias_ldouble.
23850 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23851 <libm-alias-ldouble.h>.
23852 (nextupl): Define using libm_alias_ldouble.
23853 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23854 <libm-alias-ldouble.h>.
23855 (remquol): Define using libm_alias_ldouble.
23856 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23857 <libm-alias-ldouble.h>.
23858 (rintl): Define using libm_alias_ldouble.
23859 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23860 <libm-alias-ldouble.h>.
23861 (roundevenl): Define using libm_alias_ldouble.
23862 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23863 <libm-alias-ldouble.h>.
23864 (roundl): Define using libm_alias_ldouble.
23865 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23866 using libm_alias_ldouble.
23867 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23868 <libm-alias-ldouble.h>.
23869 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23870 Define using libm_alias_ldouble.
23871 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23872 <libm-alias-ldouble.h>.
23873 (sincosl): Define using libm_alias_ldouble.
23874 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23875 <libm-alias-ldouble.h>.
23876 (sinl): Define using libm_alias_ldouble.
23877 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23878 <libm-alias-ldouble.h>.
23879 (tanhl): Define using libm_alias_ldouble.
23880 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23881 <libm-alias-ldouble.h>.
23882 (tanl): Define using libm_alias_ldouble.
23883 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23884 <libm-alias-ldouble.h>.
23885 (totalorderl): Define using libm_alias_ldouble.
23886 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23887 <libm-alias-ldouble.h>.
23888 (totalordermagl): Define using libm_alias_ldouble.
23889 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23890 <libm-alias-ldouble.h>.
23891 (truncl): Define using libm_alias_ldouble.
23892 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23893 libm_alias_ldouble.
23894 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23895 libm_alias_ldouble.
23896 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23897 <libm-alias-ldouble.h>.
23898 (weak_alias): Do not undefine and redefine.
23899 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23900 (copysignl): Define with long_double_symbol only if [IS_IN
23902 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23903 <libm-alias-ldouble.h>.
23904 (weak_alias): Do not undefine and redefine.
23905 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23906 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23907 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23908 <libm-alias-ldouble.h>.
23909 (weak_alias): Do not undefine and redefine.
23910 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23911 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23912 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23913 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23916 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23919 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23922 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23929 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23930 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23937 2017-10-06 Carlos O'Donell <carlos@redhat.com>
23940 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23941 (tcache_thread_freeres): Set tcache_shutting_down before
23942 freeing the tcache.
23943 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23944 * malloc/tst-malloc-tcache-leak.c: New file.
23946 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23948 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23949 back to powerpc32 file.
23950 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23951 (memrchr): Add __memrchr_power8 to ifunc list.
23952 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23953 extra bytes for unaligned inputs.
23955 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23957 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23958 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23963 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23965 * sysdeps/arm/libm-test-ulps: Update.
23967 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23968 <libm-alias-ldouble.h>.
23969 (asinhl): Define using libm_alias_ldouble.
23970 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23971 <libm-alias-ldouble.h>.
23972 (cbrtl): Define using libm_alias_ldouble.
23973 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23974 <libm-alias-ldouble.h>.
23975 (copysignl): Define using libm_alias_ldouble.
23976 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23977 <libm-alias-ldouble.h>.
23978 (cosl): Define using libm_alias_ldouble.
23979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23980 <libm-alias-ldouble.h>.
23981 (erfl): Define using libm_alias_ldouble.
23983 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23984 <libm-alias-ldouble.h>.
23985 (fmal): Define using libm_alias_ldouble.
23986 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23987 <libm-alias-ldouble.h>.
23988 (frexpl): Define using libm_alias_ldouble.
23989 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23990 libm_alias_ldouble.
23991 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23992 <libm-alias-ldouble.h>.
23993 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23994 libm_alias_ldouble.
23995 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23996 <libm-alias-ldouble.h>.
23997 (getpayloadl): Define using libm_alias_ldouble.
23998 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23999 <libm-alias-ldouble.h>.
24000 (llrintl): Define using libm_alias_ldouble.
24001 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24002 <libm-alias-ldouble.h>.
24003 (llroundl): Define using libm_alias_ldouble.
24004 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24005 <libm-alias-ldouble.h>.
24006 (lrintl): Define using libm_alias_ldouble.
24007 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24008 <libm-alias-ldouble.h>.
24009 (lroundl): Define using libm_alias_ldouble.
24010 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24011 <libm-alias-ldouble.h>.
24012 (modfl): Define using libm_alias_ldouble.
24013 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24014 <libm-alias-ldouble.h>.
24015 (nextupl): Define using libm_alias_ldouble.
24016 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24017 <libm-alias-ldouble.h>.
24018 (remquol): Define using libm_alias_ldouble.
24019 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24020 <libm-alias-ldouble.h>.
24021 (roundevenl): Define using libm_alias_ldouble.
24022 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24023 <libm-alias-ldouble.h>.
24024 (roundl): Define using libm_alias_ldouble.
24025 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24026 using libm_alias_ldouble.
24027 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24028 <libm-alias-ldouble.h>.
24029 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24030 <libm-alias-ldouble.h>.
24031 (setpayloadsigl): Define using libm_alias_ldouble.
24032 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24033 <libm-alias-ldouble.h>.
24034 (sincosl): Define using libm_alias_ldouble.
24035 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24036 <libm-alias-ldouble.h>.
24037 (sinl): Define using libm_alias_ldouble.
24038 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24039 <libm-alias-ldouble.h>.
24040 (tanhl): Define using libm_alias_ldouble.
24041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24042 <libm-alias-ldouble.h>.
24043 (tanl): Define using libm_alias_ldouble.
24044 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24045 <libm-alias-ldouble.h>.
24046 (totalorderl): Define using libm_alias_ldouble.
24047 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24048 <libm-alias-ldouble.h>.
24049 (totalordermagl): Define using libm_alias_ldouble.
24050 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24051 libm_alias_ldouble.
24052 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24053 libm_alias_ldouble.
24055 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24057 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24059 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24060 (__libc_ifunc_impl_list): Likewise.
24061 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24062 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24064 * benchtests/bench-memmove-walk.c: New file.
24065 * benchtests/Makefile (string-benchset): Add it.
24067 * benchtests/bench-memset-walk.c: New file.
24068 * benchtests/Makefile (string-benchset): Add it.
24070 * benchtests/bench-memcpy-walk.c: New file.
24071 * benchtests/Makefile (string-benchset): Add it.
24073 2017-10-05 Florian Weimer <fweimer@redhat.com>
24075 nscd: Eliminate compilation time dependency in the build output.
24076 * nscd/nscd_stat.c (STATDATA_VERSION)
24077 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24078 (STATDATA_VERSION_FULL): New macro definitions.
24079 (compilation): Remove.
24080 (struct statdata): Adjust version member.
24081 (send_stats): Set version from STATDATA_VERSION_FULL.
24082 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24084 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24086 * configure.ac (--enable-add-ons): Remove option.
24087 (machine): Do not mention add-ons in comment.
24088 (LIBC_PRECONFIGURE): Likewise.
24089 (add_ons): Remove variable and sanity checks and logic to locate
24091 (add_ons_automatic): Remove variable.
24092 (configured_add_ons): Likewise.
24093 (add_ons_sfx): Likewise.
24094 (add_ons_pfx): Likewise.
24095 (add_on_subdirs): Likewise.
24096 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24097 consideration of add-ons in Implies handling.
24098 (sysdeps_add_ons): Likewise.
24099 * configure: Regenerated.
24100 * libidn/configure.ac: Remove.
24101 * libidn/configure: Likewise.
24102 * sysdeps/unix/inet/configure.ac: New file.
24103 * sysdeps/unix/inet/configure: New generated file.
24104 * sysdeps/unix/inet/Subdirs: Add libidn.
24105 * Makeconfig (sysdeps-srcdirs): Remove variable.
24106 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24107 ($(common-objpfx)config.status): Do not depend on add-on files.
24108 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24110 (all-subdirs): Do not include $(add-on-subdirs).
24111 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24112 * config.make.in (add-ons): Remove variable.
24113 (add-on-subdirs): Likewise.
24114 (sysdeps-add-ons): Likewise.
24115 * manual/Makefile (add-chapters): Remove.
24116 ($(objpfx)texis): Do not depend on $(add-chapters).
24117 (nonexamples): Do not handle $(add-chapters).
24118 (examples): Do not handle $(add-ons).
24119 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24121 * manual/install.texi (Installation): Do not mention add-ons.
24122 (--enable-add-ons): Do not document configure option.
24123 * INSTALL: Regenerated.
24124 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24125 * manual/maint.texi (Hierarchy Conventions): Do not mention
24127 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24129 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24131 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24132 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24134 2017-10-05 Andreas Schwab <schwab@suse.de>
24137 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24138 (_IO_flush_all_lockp): Always lock list_all_lock.
24139 (_IO_flush_all_linebuffered): Likewise.
24140 (_IO_unbuffer_all): Likewise.
24142 2017-10-05 Florian Weimer <fweimer@redhat.com>
24145 Do not flush stdio streams on abort.
24146 * stdlib/abort.c (fflush): Remove macro definition.
24147 (abort): Remove stages related to stdio flushing.
24149 2017-10-05 Florian Weimer <fweimer@redhat.com>
24151 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24153 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24155 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24157 2017-10-05 Florian Weimer <fweimer@redhat.com>
24159 * support/support_format_hostent.c (support_format_hostent): Add
24160 more error information for NETDB_INTERNAL.
24162 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24164 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24165 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24166 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24167 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24168 AC_DEFINE if multi-arch is enabled.
24169 * sysdeps/i386/configure: Regenerated.
24171 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24173 * Makeconfig (+link-static-before-libc): Use
24174 $(DEFAULT-LDFLAGS-$(@F)).
24175 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24176 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24177 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24179 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24181 * elf/Makefile (tests): Add tst-main1.
24182 (modules-names): Add tst-main1mod.
24183 ($(objpfx)tst-main1): New.
24184 (CRT-tst-main1): Likewise.
24185 (LDFLAGS-tst-main1): Likewise.
24186 (LDLIBS-tst-main1): Likewise.
24187 (tst-main1mod.so-no-z-defs): Likewise.
24188 * elf/tst-main1.c: New file.
24189 * elf/tst-main1mod.c: Likewise.
24191 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24193 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24195 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24197 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24198 (fma): Define using libm_alias_double.
24199 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24200 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24202 (fmal): Do not define as compat symbol here.
24203 * sysdeps/alpha/fpu/s_fma.c: New file.
24205 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24207 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24209 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24212 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24214 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24216 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24217 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24218 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24219 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24221 Include <math_ldbl_opt.h>
24222 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24224 (compat_symbol): Undefine and redefine.
24225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24227 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24228 (compat_symbol): Undefine and redefine.
24229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24230 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24231 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24232 GLIBC_2_1 for libm.
24233 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24234 GLIBC_2.0 copysignl symbol.
24235 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24236 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24238 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24240 2017-10-04 Florian Weimer <fweimer@redhat.com>
24242 * scripts/check-local-headers.sh: Ignore nspr4 header file
24243 directory in addition to nspr.
24245 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24248 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24249 * configure: Regenerate.
24250 * crypt/Makefile (nss-cpp-flags): New variable.
24251 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24252 (CPPFLAGS-md5-crypt.c): Use it.
24253 * scripts/check-local-headers.sh: Ignore nspr header file
24256 2017-10-04 Andreas Schwab <schwab@suse.de>
24258 * nis/Makefile (services): Remove compat.
24259 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24260 ($(objpfx)libnss_compat.so): Remove rule.
24261 * nis/Versions (libnss_compat): Remove.
24262 * nss/Makefile (services): Add compat.
24263 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24264 * nss/Versions (libnss_compat): Define.
24265 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24266 Don't include <rpc/types.h>. Replace bool_t by bool.
24267 * nss/nss_compat/compat-initgroups.c: Likewise.
24268 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24269 instead of <rpcsrv/ypclnt.h>.
24270 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24271 yp_get_default_domain.
24272 * nss/nss_compat/compat-pwd.c: Likewise.
24273 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24274 yp_get_default_domain.
24275 * nss/nss_compat/nisdomain.c: New file.
24276 * nss/nss_compat/nisdomain.h: Likewise.
24278 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24281 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24284 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24287 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24288 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24290 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24292 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24293 "movl main@GOTOFF(%ebx), %eax".
24295 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24297 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24298 allow undefined _DYNAMIC in PIE libc.a.
24299 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24302 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24304 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24307 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24309 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24312 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24314 * math/test-math-iscanonical.cc (error): Replace bool with int.
24316 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24318 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24319 (modf): Define using libm_alias_double, only if [!__modf].
24320 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24321 <libm-alias-double.h>.
24322 (modf): Define using libm_alias_double, only if [!__modf].
24323 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24324 compat symbol here.
24325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24326 (weak_alias): Do not undefine and redefine.
24327 (strong_alias): Likewise.
24328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24329 (weak_alias): Likewise.
24330 (strong_alias): Likewise.
24332 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24333 (logb): Define using libm_alias_double, only if [!__logb].
24334 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24335 <libm-alias-double.h>.
24336 (logb): Define using libm_alias_double, only if [!__logb].
24337 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24339 (weak_alias): Do not undefine and redefine.
24340 (strong_alias): Likewise.
24341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24342 (weak_alias): Likewise.
24343 (strong_alias): Likewise.
24345 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24347 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24348 Check SHARED instead PIC.
24350 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24352 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24353 [!__fmaf] (fmaf): Define using libm_alias_float.
24355 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24356 (frexp): Define using libm_alias_double.
24357 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24358 <libm-alias-double.h>.
24359 (frexp): Define using libm_alias_double.
24360 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24361 compat symbol here.
24363 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24366 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24367 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24368 (CFLAGS-test-math-iscanonical.cc): New variable.
24369 * math/test-math-iscanonical.cc: New file.
24370 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24371 Provide a C++ implementation based on function overloading,
24372 rather than using __MATH_TG, which uses C-only builtins.
24373 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24375 * sysdeps/powerpc/powerpc64le/Makefile
24376 (CFLAGS-test-math-iscanonical.cc): New variable.
24378 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24380 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24381 (ceil): Define using libm_alias_double.
24382 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24383 (floor): Define using libm_alias_double.
24384 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24385 <libm-alias-double.h>.
24386 (llround): Define using libm_alias_double.
24387 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24388 <libm-alias-double.h>.
24389 (lround): Define using libm_alias_double.
24390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24391 <libm-alias-double.h>.
24392 (nearbyint): Define using libm_alias_double.
24393 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24394 <libm-alias-double.h>.
24395 (remquo): Define using libm_alias_double.
24396 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24397 (rint): Define using libm_alias_double.
24398 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24399 (round): Define using libm_alias_double.
24400 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24401 (trunc): Define using libm_alias_double.
24402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24403 <libm-alias-double.h>.
24404 (ceil): Define using libm_alias_double.
24405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24406 <libm-alias-double.h>.
24407 (floor): Define using libm_alias_double.
24408 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24409 <libm-alias-double.h>.
24410 (llround): Define using libm_alias_double.
24411 [_LP64] (lround): Likewise.
24412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24413 <libm-alias-double.h>.
24414 [!_LP64] (lround): Define using libm_alias_double.
24415 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24416 <libm-alias-double.h>.
24417 (nearbyint): Define using libm_alias_double.
24418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24419 <libm-alias-double.h>.
24420 (remquo): Define using libm_alias_double.
24421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24422 <libm-alias-double.h>.
24423 (rint): Define using libm_alias_double.
24424 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24425 <libm-alias-double.h>.
24426 (round): Define using libm_alias_double.
24427 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24428 <libm-alias-double.h>.
24429 (trunc): Define using libm_alias_double.
24430 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24431 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24432 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24433 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24434 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24435 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24436 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24437 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24438 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24440 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24442 * math/w_remainder.c: New file.
24443 * math/w_remainderf.c: New file.
24444 * math/w_remainderl.c: New file.
24446 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24448 * elf/rtld.c (BOOTSTRAP_MAP): New.
24449 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24450 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24452 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24454 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24457 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24459 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24460 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24461 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24462 rtld_hidden_data_ver): Define to empty.
24463 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24464 __assert_perror_fail): Likewise.
24465 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24466 (__rewinddir): Likewise.
24467 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24468 (__profile_frequency): Likewise.
24469 * include/setjmp.h (__sigsetjmp): Likewise.
24470 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24471 __libc_sigaction): Likewise.
24472 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24473 not set hidden attribute.
24474 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24475 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24476 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24477 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24478 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24479 __fxstatat64): Likewise.
24480 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24481 (__uname): Likewise.
24482 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24483 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24484 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24485 (NO_RTLD_HIDDEN): Set.
24486 * sysdeps/mach/hurd/configure: Refresh.
24487 * config.h.in: Refresh.
24489 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24491 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24492 (atan): Define using libm_alias_double.
24493 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24494 (tan): Define using libm_alias_double.
24495 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24496 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24498 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24499 define as weak alias of __atan. Do not define any aliases if
24501 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24502 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24503 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24504 as weak alias of __tan. Do not define any aliases if [__tan].
24505 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24506 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24507 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24509 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24510 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24511 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24512 and define as weak alias of __atan.
24513 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24517 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24518 define as weak alias of __tan.
24520 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24522 * math/w_lgamma.c: New file.
24523 * math/w_lgammaf.c: New file.
24524 * math/w_lgammal.c: New file.
24526 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24528 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24529 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24530 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24531 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24532 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24533 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24534 * sysdeps/i386/fpu/w_log2f.c: New file.
24535 * sysdeps/i386/fpu/w_logf.c: New file.
24536 * sysdeps/i386/fpu/w_powf.c: New file.
24537 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24538 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24539 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24541 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24542 H.J. Lu <hongjiu.lu@intel.com>
24544 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24545 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24546 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24547 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24548 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24550 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24551 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24552 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24553 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24554 * sysdeps/i386/fpu/w_exp2f.c: New file.
24555 * sysdeps/i386/fpu/w_expf.c: New file.
24556 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24557 * sysdeps/x86_64/fpu/w_expf.c: New file.
24559 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24561 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24564 * math/w_log2f.c: New file.
24565 * math/w_logf.c: New file.
24566 * math/w_powf.c: New file.
24567 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24568 * math/w_logf_compat.c (__logf_compat): Likewise.
24569 * math/w_powf_compat.c (__powf_compat): Likewise.
24570 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24571 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24572 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24574 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24575 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24576 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24578 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24579 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24581 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24582 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24583 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24584 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24593 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24594 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24595 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24596 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24602 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24606 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24608 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24609 (sysdep_routines): Add memrchr_power8.
24610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24611 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24614 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24615 (memrchr): Add __memrchr_power8 to ifunc list.
24616 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24621 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24622 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24624 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24625 (__posix_fallocate64_l64): Likewise.
24627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24630 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24631 (__sched_setaffinity_new): Add libc_hidden_proto and
24634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24637 * include/glob.h (__glob64): Add libc_hidden_proto.
24638 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24644 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24650 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24655 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24661 * csu/version.c (__libc_print_version): Add attribute_hidden.
24663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24666 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24668 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24671 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24673 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24676 * nscd/nscd_helper.c (__nis_hash): New prototype.
24678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24681 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24682 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24684 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24685 * termios/tcgetattr.c (__tcgetattr): Likewise.
24687 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24690 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24691 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24692 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24693 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24694 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24699 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24704 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24705 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24710 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24715 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24716 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24718 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24721 * include/ifreq.h: New file.
24722 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24723 (__ifreq): Likewise.
24724 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24725 (__ifreq): Likewise.
24727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24730 * include/idna.h: New file.
24731 * inet/getnameinfo.c: Include <idna.h> instead of
24733 (__idna_to_unicode_lzlz): Removed.
24734 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24736 (__idna_to_ascii_lz): Removed.
24737 (__idna_to_unicode_lzlz): Likewise.
24739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24742 * include/plural-exp.h: New file.
24743 * intl/plural-exp.c: Include <plural-exp.h> instead of
24746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24749 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24750 "getsourcefilter.h".
24751 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24752 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24753 "getsourcefilter.h".
24754 (__get_sol): Removed.
24756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24759 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24761 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24766 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24772 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24774 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24777 * include/search.h (__tdestroy): Add libc_hidden_proto.
24778 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24780 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24783 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24788 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24794 * include/signal.h (__kill): Add libc_hidden_proto.
24795 (__sigblock): Likewise.
24796 (__sigprocmask): Likewise.
24797 (__sigaltstack): Likewise.
24798 * signal/kill.c (__kill): Add libc_hidden_def.
24799 * signal/sigblock.c (__sigblock): Likewise.
24800 * signal/sigprocmask.c (__sigprocmask): Likewise.
24801 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24802 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24803 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24804 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24805 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24807 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24809 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24810 (__sigprocmask): Likewise.
24811 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24813 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24814 (__sigprocmask): Likewise.
24815 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24821 * include/string.h (__strsep): Add libc_hidden_proto.
24822 * string/strsep.c (__strsep): Add libc_hidden_def.
24824 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24827 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24829 (__spawni): Likewise.
24831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24834 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24835 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24841 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24846 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24847 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24848 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24849 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24850 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24852 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24853 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24858 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24859 (__dcigettext): Likewise.
24861 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24864 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24866 (__get_nprocs): Likewise.
24867 (__get_phys_pages): Likewise.
24868 (__get_avphys_pages): Likewise.
24869 (__get_child_max): Add attribute_hidden.
24870 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24871 (__get_nprocs): Likewise.
24872 (__get_phys_pages): Likewise.
24873 (__get_avphys_pages): Likewise.
24874 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24876 (__get_nprocs): Likewise.
24877 (__get_phys_pages): Likewise.
24878 (__get_avphys_pages): Likewise.
24879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24881 (__get_nprocs_conf): Likewise.
24882 (__get_phys_pages): Likewise.
24883 (__get_avphys_pages): Likewise.
24885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24888 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24890 (__netlink_close): Likewise.
24891 (__netlink_free_handle): Likewise.
24892 (__netlink_request): Likewise.
24894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24897 * include/rpc/rpc.h (__rpc_thread_variables): Add
24899 (__rpc_thread_svc_cleanup): Likewise.
24900 (__rpc_thread_clnt_cleanup): Likewise.
24901 (__rpc_thread_key_cleanup): Likewise.
24903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24906 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24907 (__writev): Likewise.
24908 * misc/readv.c (__readv): Add libc_hidden_def.
24909 * misc/writev.c (__writev): Likewise.
24910 * sysdeps/posix/readv.c (__readv): Likewise.
24911 * sysdeps/posix/writev.c (__writev): Likewise.
24912 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24913 (__readv): Likewise.
24914 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24915 (__writev): Likewise.
24917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24920 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24921 (__regcomp): Add libc_hidden_proto.
24922 (__regexec): Likewise.
24923 (__regfree): Likewise.
24924 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24925 (__regfree): Likewise.
24926 * posix/regexec.c (__regexec): Likewise.
24928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24931 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24932 (__getutent): Likewise.
24933 (__getutid): Likewise.
24934 (__getutline): Likewise.
24935 (__pututline): Likewise.
24936 (__getutent_r): Likewise.
24937 (__getutid_r): Likewise.
24938 (__getutline_r): Likewise.
24939 (__utmpname): Add attribute_hidden.
24940 (__setutent): Likewise.
24941 (__endutent): Likewise.
24942 * login/getutent.c (__getutent): Add libc_hidden_def.
24943 * login/getutent_r.c (__getutent_r): Likewise.
24944 (__pututline): Likewise.
24945 * login/getutid.c (__getutid): Likewise.
24946 * login/getutid_r.c (__getutid_r): Likewise.
24947 * login/getutline.c (__getutline): Likewise.
24948 * login/getutline_r.c (__getutline_r): Likewise.
24949 * login/updwtmp.c (__updwtmp): Likewise.
24951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24954 * include/dirent.h (__opendir): Always add attribute_hidden.
24955 (__fdopendir): Likewise.
24956 (__closedir): Likewise.
24957 (__readdir): Likewise.
24958 (__readdir64): Add libc_hidden_proto.
24959 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24960 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24961 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24962 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24965 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24968 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24969 * include/netdb.h (__gethostbyaddr_r): Likewise.
24970 (__gethostbyname_r): Likewise.
24971 (__gethostbyname2_r): Likewise.
24972 (__getnetbyaddr_r): Likewise.
24973 (__getnetbyname_r): Likewise.
24974 (__getservbyname_r): Likewise.
24975 (__getservbyport_r): Likewise.
24976 (__getprotobyname_r): Likewise.
24977 (__getprotobynumber_r): Likewise.
24978 (__getnetgrent_r): Likewise.
24979 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24980 (__getrpcbynumber_r): Likewise.
24981 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24986 * include/stdio.h (__fcloseall): Add attribute_hidden.
24987 (__getline): Likewise.
24988 (__path_search): Likewise.
24989 (__gen_tempname): Likewise.
24990 (__libc_message): Likewise.
24991 (__flockfile): Likewise.
24992 (__funlockfile): Likewise.
24993 (__fxprintf): Likewise.
24994 (__fxprintf_nocancel): Likewise.
24996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24999 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25000 (__sgetsgent_r): Likewise.
25002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25005 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25006 (__statfs64): Likewise.
25007 (__fstatfs64): Likewise.
25008 * include/sys/statvfs.h (__statvfs64): Likewise.
25009 (__fstatvfs64): Likewise.
25010 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25011 (__statfs_filesize_max): Likewise.
25012 (__statfs_symlinks): Likewise.
25013 (__statfs_chown_restricted): Likewise.
25015 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25018 * include/time.h (__tzstring): Add attribute_hidden.
25019 (__tzfile_read): Likewise.
25020 (__tzfile_compute): Likewise.
25021 (__tzfile_default): Likewise.
25022 (__tzset_parse_tz): Likewise.
25023 (__offtime): Likewise.
25024 (__asctime_r): Likewise.
25025 (__tzset): Likewise.
25026 (__tz_convert): Likewise.
25027 (__getdate_r): Likewise.
25028 (__getclktck): Likewise.
25030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25033 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25034 (__nscd_unmap): Likewise.
25035 (__nscd_cache_search): Likewise.
25036 (__nscd_get_nl_timestamp): Likewise.
25037 (__nscd_getpwnam_r): Likewise.
25038 (__nscd_getpwuid_r): Likewise.
25039 (__nscd_getgrnam_r): Likewise.
25040 (__nscd_getgrgid_r): Likewise.
25041 (__nscd_gethostbyname_r): Likewise.
25042 (__nscd_gethostbyname2_r): Likewise.
25043 (__nscd_gethostbyaddr_r): Likewise.
25044 (__nscd_getai): Likewise.
25045 (__nscd_getgrouplist): Likewise.
25046 (__nscd_getservbyname_r): Likewise.
25047 (__nscd_getservbyport_r): Likewise.
25048 (__nscd_innetgr): Likewise.
25049 (__nscd_setnetgrent): Likewise.
25051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25054 * include/gmp.h: Declare internal functions only if _ISOMAC is
25056 (__mpn_extract_double): Add attribute_hidden.
25057 (__mpn_extract_long_double): Likewise.
25058 (__mpn_extract_float128): Likewise.
25059 (__mpn_construct_float): Likewise.
25060 (__mpn_construct_double): Likewise.
25061 (__mpn_construct_long_double): Likewise.
25062 (__mpn_construct_float128): Likewise.
25063 (mpn_add_1): Likewise.
25064 (mpn_addmul_1): Likewise.
25065 (mpn_add_n): Likewise.
25066 (mpn_cmp): Likewise.
25067 (mpn_divrem): Likewise.
25068 (mpn_lshift): Likewise.
25069 (mpn_mul): Likewise.
25070 (mpn_mul_1): Likewise.
25071 (mpn_rshift): Likewise.
25072 (mpn_sub_1): Likewise.
25073 (mpn_submul_1): Likewise.
25074 (mpn_sub_n): Likewise.
25076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25079 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25080 (__wcscat): Likewise.
25081 (__btowc): Likewise.
25082 (__wcrtomb): Likewise.
25083 (__mbsrtowcs): Likewise.
25084 (__wcsrtombs): Likewise.
25085 (__mbsnrtowcs): Likewise.
25086 (__wcsnrtombs): Likewise.
25087 (__wcsncpy): Likewise.
25088 (__wcpncpy): Likewise.
25089 (__wmemcpy): Likewise.
25090 (__wmempcpy): Likewise.
25091 (__wmemmove): Likewise.
25092 (__wcschrnul): Likewise.
25093 (__vfwscanf): Likewise.
25094 (__vswprintf): Likewise.
25095 (__fwprintf): Likewise.
25096 (__vfwprintf): Likewise.
25098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25101 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25102 (__getgrgid_r): Likewise.
25103 (__getgrnam_r): Likewise.
25104 * include/pwd.h (__getpwuid_r): Likewise.
25105 (__getpwnam_r): Likewise.
25106 (__fgetpwent_r): Likewise.
25107 * include/shadow.h (__getspnam_r): Likewise.
25108 (__sgetspent_r): Likewise.
25109 (__fgetspent_r): Likewise.
25111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25114 * include/unistd.h (__access): Add attribute_hidden.
25115 (__lseek64): Likewise.
25116 (__libc_pread64): Likewise.
25117 (__pipe2): Likewise.
25118 (__sleep): Likewise.
25119 (__chdir): Likewise.
25120 (__fchdir): Likewise.
25121 (__getcwd): Likewise.
25122 (__rmdir): Likewise.
25123 (__execvpe): Likewise.
25124 (__execve): Likewise.
25125 (__setsid): Likewise.
25126 (__getuid): Likewise.
25127 (__geteuid): Likewise.
25128 (__getgid): Likewise.
25129 (__getegid): Likewise.
25130 (__getgroups): Likewise.
25131 (__group_member): Likewise.
25132 (__ttyname_r): Likewise.
25133 (__isatty): Likewise.
25134 (__readlink): Likewise.
25135 (__unlink): Likewise.
25136 (__gethostname): Likewise.
25137 (__profil): Likewise.
25138 (__getdtablesize): Likewise.
25140 (__ftruncate): Likewise.
25141 (__ftruncate64): Likewise.
25143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25146 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25147 * argp/argp-fs-xinl.c: Likewise.
25148 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25149 * argp/argp-parse.c: Include <argp.h>.
25150 * argp/argp-xinl.c: Likewise.
25151 * include/argp-fmtstream.h: New file.
25152 * include/argp.h (__argp_error): Add attribute_hidden.
25153 (__argp_failure): Likewise.
25154 (__argp_input): Likewise.
25155 (__argp_state_help): Likewise.
25157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25160 * include/wchar.h (____wcstof_l_internal): New prototype.
25161 (____wcstod_l_internal): Likewise.
25162 (____wcstold_l_internal): Likewise.
25163 (____wcstol_l_internal): Likewise.
25164 (____wcstoul_l_internal): Likewise.
25165 (____wcstoll_l_internal): Likewise.
25166 (____wcstoull_l_internal): Likewise.
25167 (____wcstof128_l_internal): Likewise.
25168 * sysdeps/ieee754/float128/wcstof128.c
25169 (____wcstof128_l_internal): Removed.
25170 * sysdeps/ieee754/float128/wcstof128_l.c
25171 (____wcstof128_l_internal): Likewise.
25172 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25173 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25174 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25175 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25176 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25177 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25178 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25179 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25180 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25181 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25183 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25186 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25187 instead of <sys/statvfs.h>.
25188 (__internal_statvfs): Removed.
25189 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25190 instead of <sys/statvfs.h>.
25191 (__internal_statvfs64): Removed.
25192 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25193 "internal_statvfs.h" instead of <sys/statvfs.h>.
25194 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25195 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25196 instead of <sys/statvfs.h>.
25197 (__internal_statvfs): Removed.
25198 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25199 instead of <sys/statvfs.h>.
25200 (__internal_statvfs64): Removed.
25202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25205 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25206 (__gconv_close): Likewise.
25207 (__gconv): Likewise.
25208 (__gconv_find_transform): Likewise.
25209 (__gconv_lookup_cache): Likewise.
25210 (__gconv_compare_alias_cache): Likewise.
25211 (__gconv_load_cache): Likewise.
25212 (__gconv_get_path): Likewise.
25213 (__gconv_close_transform): Likewise.
25214 (__gconv_release_cache): Likewise.
25215 (__gconv_find_shlib): Likewise.
25216 (__gconv_release_shlib): Likewise.
25217 (__gconv_get_builtin_trans): Likewise.
25218 (__gconv_compare_alias): Likewise.
25219 * include/dlfcn.h (_dlerror_run): Likewise.
25220 * include/stdio.h (__fortify_fail_abort): Likewise.
25221 * include/time.h (__tz_compute): Likewise.
25222 (__strptime_internal): Likewise.
25223 * intl/gettextP.h (_nl_find_domain): Likewise.
25224 (_nl_load_domain): Likewise.
25225 (_nl_find_msg): Likewise.
25226 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25227 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25228 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25229 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25230 (__gai_find_request): Likewise.
25231 (__gai_remove_request): Likewise.
25232 (__gai_notify): Likewise.
25233 (__gai_notify_only): Likewise.
25234 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25235 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25236 (_dl_non_dynamic_init): Likewise.
25237 (_dl_aux_init): Likewise.
25238 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25239 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25241 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25242 (__wcsmbs_clone_conv): Likewise.
25243 (__wcsmbs_named_conv): Likewise.
25245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25248 * include/stdlib.h (__random): Add attribute_hidden.
25249 (__random_r): Likewise.
25250 (__srandom_r): Likewise.
25251 (__initstate_r): Likewise.
25252 (__setstate_r): Likewise.
25253 (__erand48_r): Likewise.
25254 (__nrand48_r): Likewise.
25255 (__jrand48_r): Likewise.
25256 (__srand48_r): Likewise.
25257 (__seed48_r): Likewise.
25258 (__lcong48_r): Likewise.
25259 (__drand48_iterate): Likewise.
25260 (__setenv): Likewise.
25261 (__unsetenv): Likewise.
25262 (__clearenv): Likewise.
25263 (__ptsname_r): Likewise.
25264 (__posix_openpt): Likewise.
25265 (__add_to_environ): Likewise.
25266 (__realpath): Add libc_hidden_proto.
25267 (__ecvt_r): Likewise.
25268 (__fcvt_r): Likewise.
25269 (__qecvt_r): Likewise.
25270 (__qfcvt_r): Likewise.
25271 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25272 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25277 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25278 * include/time.h (__mktime_internal): Likewise.
25279 * libio/iolibio.h (__fopen_internal): Likewise.
25281 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25283 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25285 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25286 Correct offset used to restore PIC register.
25288 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25291 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25292 code to load address of __getcontext_ret when generating PIC code.
25294 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25296 * elf/Makefile (tests-static-internal): Add
25297 tst-tls1-static-non-pie.
25298 (LDFLAGS-tst-tls1-static-non-pie): New.
25299 * elf/tst-tls1-static-non-pie.c: New file.
25301 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25303 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25304 (asinh): Define using libm_alias_double.
25305 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25306 (cbrt): Define using libm_alias_double.
25307 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25308 <libm-alias-double.h>.
25309 (copysign): Define using libm_alias_double.
25310 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25311 (erf): Define using libm_alias_double.
25313 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25314 (expm1): Define using libm_alias_double.
25315 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25316 (fabs): Define using libm_alias_double.
25317 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25319 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25320 <libm-alias-double.h>.
25321 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25323 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25324 <libm-alias-double.h>.
25325 (getpayload): Define using libm_alias_double.
25326 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25327 <libm-alias-double.h>.
25328 (llrint): Define using libm_alias_double.
25329 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25330 (lrint): Define using libm_alias_double.
25331 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25332 <libm-alias-double.h>.
25333 (nextup): Define using libm_alias_double.
25334 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25335 <libm-alias-double.h>.
25336 (roundeven): Define using libm_alias_double.
25337 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25339 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25340 <libm-alias-double.h>.
25341 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25342 using libm_alias_double.
25343 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25344 (cos): Define using libm_alias_double.
25346 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25347 <libm-alias-double.h>.
25348 (sincos): Define using libm_alias_double.
25349 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25350 (tanh): Define using libm_alias_double.
25351 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25352 <libm-alias-double.h>.
25353 (totalorder): Define using libm_alias_double.
25354 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25355 <libm-alias-double.h>.
25356 (totalordermag): Define using libm_alias_double.
25357 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25359 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25361 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25362 <libm-alias-double.h>.
25363 (getpayload): Define using libm_alias_double.
25364 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25365 <libm-alias-double.h>.
25366 (roundeven): Define using libm_alias_double.
25367 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25368 <libm-alias-double.h>.
25369 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25370 <libm-alias-double.h>.
25371 (totalorder): Define using libm_alias_double.
25372 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25373 <libm-alias-double.h>.
25374 (totalordermag): Define using libm_alias_double.
25375 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25376 libc compat symbol here.
25377 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25378 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25379 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25380 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25381 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25382 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25383 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25384 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25385 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25386 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25388 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25390 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25391 _dl_relocate_static_pie instead of _dl_start to compute load
25392 address in static PIE. Return 0 if _DYNAMIC is undefined for
25395 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25397 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25398 _DYNAMIC is undefined for static executable.
25400 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25402 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25404 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25408 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25410 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25411 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25412 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25413 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25414 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25415 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25416 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25417 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25419 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25420 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25421 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25423 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25424 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25426 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25428 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25430 * math/bits/cmathcalls.h (cimag): Remove inline.
25431 (creal): Remove inline.
25432 (conj): Remove inline.
25434 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25436 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25437 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25438 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25439 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25440 (issignalingf_inline): Likewise.
25441 (POWF_LOG2_TABLE_BITS): Likewise.
25442 (POWF_LOG2_POLY_ORDER): Likewise.
25443 (POWF_SCALE_BITS): Likewise.
25444 (POWF_SCALE): Likewise.
25445 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25446 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25447 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25449 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25451 * math/Makefile (type-float-routines): Add e_log2f_data.
25452 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25453 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25454 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25455 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25456 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25457 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25458 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25460 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25462 * math/Makefile (type-float-routines): Add e_logf_data.
25463 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25464 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25465 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25466 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25467 * sysdeps/i386/fpu/e_logf_data.c: New file.
25468 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25469 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25471 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25473 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25474 undefined _DYNAMIC in PIE libc.a.
25475 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25478 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25480 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25481 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25482 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25483 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25484 (__signbit): Remove.
25485 (__signbitl): Remove.
25486 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25487 (__signbit): Remove.
25488 (__signbitl): Remove.
25489 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25490 (__signbit): Remove.
25491 (__signbitl): Remove.
25492 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25493 (__signbit): Remove.
25494 (__signbitl): Remove.
25495 * sysdeps/tile/bits/mathinline.h: Delete file.
25496 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25497 (__signbit): Remove.
25498 (__signbitl): Remove.
25500 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25502 * math/math.h: Improve handling of C99 isgreater macros.
25503 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25504 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25505 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25506 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25507 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25509 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25511 * sysdeps/aarch64/libm-test-ulps: Update.
25513 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25516 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25517 math_opt_barrier on argument when doing arithmetic on it.
25518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25519 Likewise. Use math_force_eval not math_opt_barrier after
25521 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25522 math_opt_barrier on argument when doing arithmetic on it.
25523 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25526 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25528 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25530 (__freeifaddrs): Likewise.
25532 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25534 * include/dirent.h (__dirfd): New declaration.
25535 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25537 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25538 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25539 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25540 * include/unistd.h (__revoke): New declaration.
25541 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25543 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25544 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25546 * include/dirent.h (__seekdir): New declaration.
25547 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25548 redefine as weak alias.
25549 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25551 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25552 and use libc_hidden_def on them.
25553 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25555 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25556 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25557 instead of getifaddrs and freeifaddrs.
25559 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25562 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25563 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25564 (__dso_handle): Remove declaration.
25565 * dlfcn/tstatexit.c (__dso_handle): Removed.
25566 (main): Don't check __dso_handle.
25567 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25568 (main): Don't check __dso_handle.
25569 * include/dso_handle.h: New file.
25570 * malloc/mtrace.c: Include <dso_handle.h>.
25571 (mtrace): Pass __dso_handle directly.
25572 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25573 (__dso_handle): Remove declaration.
25574 (__pthread_atfork): Pass __dso_handle directly.
25575 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25576 (__dso_handle): Removed.
25577 * posix/wordexp-test.c: Include <dso_handle.h>.
25578 (__dso_handle): Remove declaration.
25579 (__app_register_atfork): Pass __dso_handle directly.
25580 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25581 (__dso_handle): Remove declaration.
25582 (at_quick_exit): Pass __dso_handle directly.
25583 * stdlib/atexit.c: Include <dso_handle.h>.
25584 (__dso_handle): Remove declaration.
25585 (atexit): Pass __dso_handle directly.
25586 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25587 (__dso_handle): Removed.
25589 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25591 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25594 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25596 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25597 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25598 values to correct default value for given type.
25600 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25603 * elf/Makefile (tests): Add tst-debug1.
25604 ($(objpfx)tst-debug1): New.
25605 ($(objpfx)tst-debug1.out): Likewise.
25606 ($(objpfx)tst-debug1mod1.so): Likewise.
25607 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25608 with p_filesz == 0.
25609 * elf/tst-debug1.c: New file.
25611 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25613 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25614 Define using __ifunc.
25616 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25618 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25621 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25624 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25626 2017-09-26 Florian Weimer <fweimer@redhat.com>
25628 * resolv/Makefile (tests-internal): Fix typo in comment.
25630 2017-09-26 Florian Weimer <fweimer@redhat.com>
25632 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25634 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25636 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25637 Use an union instead of a max_align_t array for __space,
25638 so that __space is the same size on all platforms.
25639 * malloc/scratch_buffer_grow_preserve.c
25640 (__libc_scratch_buffer_grow_preserve): Likewise.
25643 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25645 * posix/Makefile (routines): Add glob-lstat-compat and
25646 glob64-lstat-compat.
25647 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25648 * posix/glob-lstat-compat.c: New file.
25649 * posix/glob64-lstat-compat.c: Likewise.
25650 * posix/tst-glob_lstat_compat.c: Likewise.
25651 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25652 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25653 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25654 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25656 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25657 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25658 * posix/glob.c (glob_lstat): New function.
25659 (glob): Rename to __glob and add versioned symbol to 2.27.
25660 (glob_in_dir): Use glob_lstat.
25661 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25662 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25663 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25665 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25666 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25667 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25668 gl_lstat on glob call.
25669 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25670 and glob64 symbols.
25671 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25672 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25673 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25674 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25675 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25676 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25677 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25678 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25679 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25680 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25681 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25682 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25685 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25687 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25688 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25689 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25690 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25691 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25694 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25695 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25696 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25698 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25700 * configure.ac (AS): Require binutils 2.25 or later.
25701 * configure: Regenerated.
25703 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25706 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25709 2017-09-25 DJ Delorie <dj@redhat.com>
25712 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25715 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25717 * sysdeps/ieee754/dbl-64/sincos32.h
25718 [SINCCOS32_H]: Remove define.
25719 [SINCOS32_H]: Define.
25721 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25723 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25725 * math/w_exp2f.c: New file.
25726 * math/w_expf.c: New file.
25727 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25728 * math/w_expf_compat.c (__expf_compat): Likewise.
25729 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25730 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25731 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25732 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25733 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25734 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25735 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25737 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25738 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25739 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25740 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25741 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25742 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25751 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25752 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25753 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25754 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25755 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25760 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25761 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25764 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25766 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25767 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25768 (roundtoint, converttoint): Likewise.
25769 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25770 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25771 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25772 * sysdeps/ieee754/flt-32/math_config.h: New file.
25773 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25774 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25775 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25776 * sysdeps/i386/fpu/math_errf.c: New file.
25777 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25778 * sysdeps/ia64/fpu/math_errf.c: New file.
25779 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25780 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25782 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25784 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25785 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25786 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25787 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25788 to make sure that these symbols are defined.
25789 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25791 (__need_NULL): Do not define.
25792 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25794 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25795 CMGROUP_MAX, cmsgcred): Do not define.
25796 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25798 * bits/socket.h: Likewise.
25799 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25800 __gettimeofday instead of gettimeofday.
25801 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25802 instead of settimeofday.
25804 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25806 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25807 (asinhf): Define using libm_alias_float.
25808 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25809 (atanf): Define using libm_alias_float.
25810 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25811 (cbrtf): Define using libm_alias_float.
25812 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25813 (ceilf): Define using libm_alias_float.
25814 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25815 <libm-alias-float.h>.
25816 (copysignf): Define using libm_alias_float.
25817 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25818 (cosf): Define using libm_alias_float.
25819 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25820 (erff): Define using libm_alias_float.
25822 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25823 (expm1f): Define using libm_alias_float.
25824 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25825 (fabsf): Define using libm_alias_float.
25826 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25827 (floorf): Define using libm_alias_float.
25828 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25829 (frexpf): Define using libm_alias_float.
25830 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25832 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25833 <libm-alias-float.h>.
25834 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25836 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25837 <libm-alias-float.h>.
25838 (getpayloadf): Define using libm_alias_float.
25839 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25840 <libm-alias-float.h>.
25841 (llrintf): Define using libm_alias_float.
25842 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25843 <libm-alias-float.h>.
25844 (llroundf): Define using libm_alias_float.
25845 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25846 (logbf): Define using libm_alias_float.
25847 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25848 (lrintf): Define using libm_alias_float.
25849 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25850 (lroundf): Define using libm_alias_float.
25851 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25852 (modff): Define using libm_alias_float.
25853 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25854 <libm-alias-float.h>.
25855 (nearbyintf): Define using libm_alias_float.
25856 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25857 <libm-alias-float.h>.
25858 (nextafterf): Define using libm_alias_float.
25859 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25860 <libm-alias-float.h>.
25861 (nextupf): Define using libm_alias_float.
25862 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25863 <libm-alias-float.h>.
25864 (remquof): Define using libm_alias_float.
25865 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25866 (rintf): Define using libm_alias_float.
25867 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25868 <libm-alias-float.h>.
25869 (roundevenf): Define using libm_alias_float.
25870 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25871 (roundf): Define using libm_alias_float.
25872 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25873 using libm_alias_float.
25874 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25875 <libm-alias-float.h>.
25876 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25877 Define using libm_alias_float.
25878 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25879 <libm-alias-float.h>.
25880 (sincosf): Define using libm_alias_float.
25881 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25882 (sinf): Define using libm_alias_float.
25883 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25884 (tanf): Define using libm_alias_float.
25885 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25886 (tanhf): Define using libm_alias_float.
25887 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25888 <libm-alias-float.h>.
25889 (totalorderf): Define using libm_alias_float.
25890 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25891 <libm-alias-float.h>.
25892 (totalordermagf): Define using libm_alias_float.
25893 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25894 (truncf): Define using libm_alias_float.
25895 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25897 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25900 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25903 math/math.h: Let fpclassify use the builtin in C++ mode, even
25904 when optimazing for size.
25906 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25908 * csu/Makefile (generated): Do not add version-info.h.
25909 (before-compile): Likewise.
25910 (all-Banner-files): Remove variable.
25911 ($(objpfx)version-info.h): Remove rule.
25912 * csu/version.c (banner): Do not include "version-info.h".
25913 * libidn/Banner: Remove.
25914 * manual/contrib.texi (Simon Josefsson): New entry.
25916 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25919 Remove conditionals on LDBL_MANT_DIG.
25920 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25921 (__ieee754_lgammal_r): Likewise.
25923 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25927 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25928 _Float128 and L(). Replace _Float128 with long double and L(x)
25929 with xL, throughout the file.
25930 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25935 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25938 sysdeps/ieee754/ldbl-128ibm.
25939 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25940 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25941 of including it. Keep _Float128 and L() intact. These will be
25942 reviewed by a separate patch.
25943 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25948 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25951 (__finitef128): Define to __redirect___finitef128.
25952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25953 (__isinff128): Define to __redirect___isinff128.
25954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25955 (__isnanf128): Define to __redirect___isnanf128.
25957 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25959 * sysdeps/powerpc/powerpc64le/Makefile
25960 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25961 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25963 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25964 Carlos O'Donell <carlos@redhat.com>
25967 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25968 * stdlib/test-dlclose-exit-race.c: New file.
25969 * stdlib/test-dlclose-exit-race-helper.c: New file.
25970 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25972 2017-09-21 Joseph Myers <joseph@codesourcery.com>
25974 * crypt/Banner: Remove file.
25975 * nptl/Banner: Likewise.
25976 * resolv/Banner: Likewise.
25977 * soft-fp/Banner: Likewise.
25978 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25979 ($(objpfx)version.d): Remove dependency on banner.h.
25980 ($(objpfx)version.os): Likewise.
25981 * nptl/version.c (banner): Do not include banner.h.
25982 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25983 Jelinek and BIND code.
25985 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25986 Carlos O'Donell <carlos@redhat.com>
25988 * support/xdlfcn.h: New file.
25989 * support/xdlfcn.c: New file.
25990 * support/Makefile (libsupport-routines): Add xdlfcn.
25991 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25993 2017-09-20 Joseph Myers <joseph@codesourcery.com>
25996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25997 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25998 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25999 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26000 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26001 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26002 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26003 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26005 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26006 Ricky Zhou <rickyz@google.com>
26007 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26010 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26012 (__new_exitfn): Fail registration when we finished at_exit processing.
26013 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26014 * stdlib/on_exit.c (__on_exit): Likewise.
26015 * stdlib/exit.c (__exit_funcs_done): New variable.
26016 (__run_exit_handlers): Use __exit_funcs_lock.
26017 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26019 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26020 (test-cxa_atexit-race, test-on_exit-race): New tests.
26021 * stdlib/test-atexit-race-common.c: New file.
26022 * stdlib/test-atexit-race.c: New file.
26023 * stdlib/test-at_quick_exit-race.c: New file.
26024 * stdlib/test-cxa_atexit-race.c: New file.
26025 * stdlib/test-on_exit-race.c: New file.
26027 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26029 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26030 * benchtests/exp2f-inputs: Copy of expf-inputs.
26031 * benchtests/log2f-inputs: Copy of logf-inputs.
26033 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26035 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26036 Explicitly take address of first element of array arguments in
26037 call to INLINE_SYSCALL.
26039 2017-09-19 Andreas Schwab <schwab@suse.de>
26042 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26044 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26047 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26048 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26049 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26050 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26051 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26053 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26054 * posix/Makefile (tests): Add tst-fexecve.
26055 * posix/tst-fexecve.c: New file.
26057 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26059 * benchtests/Makefile: Add logf benchmark.
26060 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26062 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26064 * benchtests/Makefile: Add expf benchmark.
26065 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26067 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26069 * csu/Makefile: Add -funwind-tables to libc-start.c.
26070 * debug/Makefile: Add -funwind-tables to backtrace.c.
26071 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26072 * sysdeps/arm/Makefile: Likewise.
26073 * sysdeps/i386/Makefile: Likewise.
26074 * sysdeps/m68k/Makefile: Likewise.
26075 * sysdeps/mips/Makefile: Likewise.
26076 * sysdeps/nios2/Makefile: Likewise.
26077 * sysdeps/sh/Makefile: Likewise.
26078 * sysdeps/sparc/Makefile: Likewise.
26080 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26082 * benchtests/Makefile (bench-math): Add trunc and truncf.
26083 (CFLAGS-bench-trunc.c): New variable.
26084 (CFLAGS-bench-truncf.c): Likewise.
26085 * benchtests/trunc-inputs: New file.
26086 * benchtests/truncf-inputs: Likewise.
26088 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26090 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26092 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26094 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26095 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26097 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26098 (exp10l): Define as weak alias.
26099 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26100 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26102 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26103 (remainderl): Define as weak alias.
26105 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26106 (fmal): Define using libm_alias_ldouble.
26107 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26108 (acoshl): Define using libm_alias_ldouble.
26109 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26110 (acosl): Define using libm_alias_ldouble.
26111 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26112 (asinl): Define using libm_alias_ldouble.
26113 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26114 (atan2l): Define using libm_alias_ldouble.
26115 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26116 (atanhl): Define using libm_alias_ldouble.
26117 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26118 (coshl): Define using libm_alias_ldouble.
26119 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26120 (exp10l): Define using libm_alias_ldouble.
26121 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26122 (exp2l): Define using libm_alias_ldouble.
26123 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26124 (expl): Define using libm_alias_ldouble.
26125 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26126 (fmodl): Define using libm_alias_ldouble.
26127 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26128 (hypotl): Define using libm_alias_ldouble.
26129 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26130 (j0l): Define using libm_alias_ldouble.
26132 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26133 (j1l): Define using libm_alias_ldouble.
26135 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26136 (jnl): Define using libm_alias_ldouble.
26138 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26139 (log10l): Define using libm_alias_ldouble.
26140 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26141 (log2l): Define using libm_alias_ldouble.
26142 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26143 (logl): Define using libm_alias_ldouble.
26144 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26145 (powl): Define using libm_alias_ldouble.
26146 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26147 (remainderl): Define using libm_alias_ldouble.
26148 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26149 (sinhl): Define using libm_alias_ldouble.
26150 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26151 (sqrtl): Define using libm_alias_ldouble.
26152 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26153 (tgammal): Define using libm_alias_ldouble.
26154 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26155 (exp10l): Do not use long_double_symbol here.
26156 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26157 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26158 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26159 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26160 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26161 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26162 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26163 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26164 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26165 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26166 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26167 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26168 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26169 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26170 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26171 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26172 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26173 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26174 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26175 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26176 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26177 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26179 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26181 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26182 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26184 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26186 * io/read.c (read): Add libc_hidden_weak.
26187 * sysdeps/mach/hurd/read.c (read): Likewise.
26188 * io/write.c (write): Likewise.
26189 * sysdeps/mach/hurd/write.c (write): Likewise.
26190 * io/pread64.c (__pread64): Likewise.
26191 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26192 * posix/pread64.c (__pread64): Add libc_hidden_def.
26194 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26196 * benchtests/scripts/compare_strings.py: New option -g.
26197 (draw_graph): Print a message that a graph is being generated.
26198 (process_results): Generate graph only if -g is passed.
26199 (main): Process option -g.
26201 * benchtests/scripts/compare_strings.py (process_results):
26202 Better spacing for output.
26204 * benchtests/scripts/compare_strings.py: Use argparse.
26205 * benchtests/README: Document existence of compare_strings.py.
26207 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26209 * math/s_fma.c: Include <libm-alias-double.h>.
26210 (fma): Define using libm_alias_double.
26211 * math/s_nextafter.c: Include <libm-alias-double.h>.
26212 (nextafter): Define using libm_alias_double.
26213 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26214 (acos): Define using libm_alias_double.
26215 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26216 (aocsh): Define using libm_alias_double.
26217 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26218 (asin): Define using libm_alias_double.
26219 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26220 (atan2): Define using libm_alias_double.
26221 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26222 (atanh): Define using libm_alias_double.
26223 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26224 (cosh): Define using libm_alias_double.
26225 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26226 (exp10): Define using libm_alias_double.
26227 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26228 (exp2): Define using libm_alias_double.
26229 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26230 (exp): Define using libm_alias_double.
26231 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26232 (fmod): Define using libm_alias_double.
26233 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26234 (hypot): Define using libm_alias_double.
26235 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26236 (j0): Define using libm_alias_double.
26238 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26239 (j1): Define using libm_alias_double.
26241 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26242 (jn): Define using libm_alias_double.
26244 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26245 (log10): Define using libm_alias_double.
26246 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26247 (log2): Define using libm_alias_double.
26248 * math/w_log_compat.c: Include <libm-alias-double.h>.
26249 (log): Define using libm_alias_double.
26250 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26251 (pow): Define using libm_alias_double.
26252 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26253 (remainder): Define using libm_alias_double.
26254 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26255 (sinh): Define using libm_alias_double.
26256 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26257 (sqrt): Define using libm_alias_double.
26258 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26259 (tgamma): Define using libm_alias_double.
26260 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26261 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26262 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26263 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26264 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26265 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26266 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26267 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26268 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26269 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26270 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26271 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26272 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26273 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26274 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26275 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26276 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26277 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26278 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26279 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26280 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26281 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26282 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26283 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26284 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26286 * math/e_acoshl.c: Remove.
26287 * math/e_acosl.c: Likewise.
26288 * math/e_asinl.c: Likewise.
26289 * math/e_atan2l.c: Likewise.
26290 * math/e_atanhl.c: Likewise.
26291 * math/e_coshl.c: Likewise.
26292 * math/e_expl.c: Likewise.
26293 * math/e_fmodl.c: Likewise.
26294 * math/e_gammal_r.c: Likewise.
26295 * math/e_hypotl.c: Likewise.
26296 * math/e_j0l.c: Likewise.
26297 * math/e_j1l.c: Likewise.
26298 * math/e_jnl.c: Likewise.
26299 * math/e_lgammal_r.c: Likewise.
26300 * math/e_log10l.c: Likewise.
26301 * math/e_log2l.c: Likewise.
26302 * math/e_logl.c: Likewise.
26303 * math/e_powl.c: Likewise.
26304 * math/e_rem_pio2l.c: Likewise.
26305 * math/e_sinhl.c: Likewise.
26306 * math/e_sqrtf128.c: Likewise.
26307 * math/e_sqrtl.c: Likewise.
26308 * math/k_cosl.c: Likewise.
26309 * math/k_sinl.c: Likewise.
26310 * math/k_tanl.c: Likewise.
26311 * math/s_asinhl.c: Likewise.
26312 * math/s_atanl.c: Likewise.
26313 * math/s_cbrtl.c: Likewise.
26314 * math/s_erfl.c: Likewise.
26315 * math/s_expm1l.c: Likewise.
26316 * math/s_log1pl.c: Likewise.
26317 * math/s_tanhl.c: Likewise.
26319 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26323 [$(subdir) = math] (sysdep_calls): New variable. Has the
26324 previous contents of sysdep_routines, but re-sorted..
26325 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26327 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26328 defined in sysdep_calls and replace by the respective m_* names.
26329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26330 (compat_symbol): Undefine to avoid duplicated compat symbols in
26333 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26335 * math/s_fmaf.c: Include <libm-alias-float.h>.
26336 (fmaf): Define using libm_alias_float.
26337 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26338 (acosf): Define using libm_alias_float.
26339 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26340 (acoshf): Define using libm_alias_float.
26341 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26342 (asinf): Define using libm_alias_float.
26343 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26344 (atan2f): Define using libm_alias_float.
26345 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26346 (atanhf): Define using libm_alias_float.
26347 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26348 (coshf): Define using libm_alias_float.
26349 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26350 (exp10f): Define using libm_alias_float.
26351 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26352 (fmodf): Define using libm_alias_float.
26353 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26354 (hypotf): Define using libm_alias_float.
26355 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26356 (j0f): Define using libm_alias_float.
26358 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26359 (j1f): Define using libm_alias_float.
26361 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26362 (jnf): Define using libm_alias_float.
26364 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26365 (log10f): Define using libm_alias_float.
26366 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26367 (log2f): Define using libm_alias_float.
26368 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26369 (logf): Define using libm_alias_float.
26370 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26371 (powf): Define using libm_alias_float.
26372 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26373 (remainderf): Define using libm_alias_float.
26374 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26375 (sinhf): Define using libm_alias_float.
26376 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26377 (sqrtf): Define using libm_alias_float.
26378 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26379 (tgammaf): Define using libm_alias_float.
26381 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26383 * include/math.h (roundeven): Change hidden_proto call to
26385 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26387 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26388 (y0): Rename to __y0 and define as weak alias.
26389 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26390 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26392 (y0f): Rename to __y0f and define as weak alias.
26393 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26395 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26396 (y1): Rename to __y1 and define as weak alias.
26397 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26398 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26400 (y1f): Rename to __y1f and define as weak alias.
26401 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26403 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26404 (yn): Rename to __yn and define as weak alias.
26405 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26406 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26408 (ynf): Rename to __ynf and define as weak alias.
26409 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26410 (fromfp): Define as weak alias.
26411 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26412 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26413 (fromfpx): Define as weak alias.
26414 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26415 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26416 __getpayload and define as weak alias.
26417 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26418 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26419 __roundeven and define as weak alias.
26420 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26421 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26423 (setpayload): Define as weak alias.
26424 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26425 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26427 (setpayloadsig): Define as weak alias.
26428 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26429 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26430 __totalorder and define as weak alias.
26431 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26432 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26433 to __totalordermag and define as weak alias.
26434 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26435 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26436 (ufromfp): Define as weak alias.
26437 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26438 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26440 (ufromfpx): Define as weak alias.
26441 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26442 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26443 Rename to __getpayload and define as weak alias.
26444 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26445 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26446 Rename to __roundeven and define as weak alias.
26447 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26448 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26449 Rename to __totalorder and define as weak alias.
26450 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26451 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26452 (totalordermag): Rename to __totalordermag and define as weak
26454 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26455 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26457 (__roundevenl): Likewise.
26458 (__totalorderl): Likewise.
26459 (__totalordermagl): Likewise
26460 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26462 (fromfpf128): Define as weak alias.
26463 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26465 (fromfpxf128): Define as weak alias.
26466 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26468 (setpayloadf128): Define as weak alias.
26469 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26470 __setpayloadsigf128.
26471 (setpayloadsigf128): Define as weak alias.
26472 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26474 (ufromfpf128): Define as weak alias.
26475 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26477 (ufromfpxf128): Define as weak alias.
26478 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26479 (fromfpf): Define as weak alias.
26480 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26482 (fromfpxf): Define as weak alias.
26483 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26484 __getpayloadf and define as weak alias.
26485 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26486 __roundevenf and define as weak alias.
26487 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26489 (setpayloadf): Define as weak alias.
26490 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26492 (setpayloadsigf): Define as weak alias.
26493 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26494 __totalorderf and define as weak alias.
26495 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26496 Rename to __totalordermagf and define as weak alias.
26497 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26499 (ufromfpf): Define as weak alias.
26500 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26502 (ufromfpxf): Define as weak alias.
26503 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26505 (fromfpl): Define as weak alias.
26506 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26508 (fromfpxl): Define as weak alias.
26509 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26510 to __getpayloadl and define as weak alias.
26511 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26512 __roundevenl and define as weak alias.
26513 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26515 (setpayloadl): Define as weak alias.
26516 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26518 (setpayloadsigl): Define as weak alias.
26519 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26520 to __totalorderl and define as weak alias.
26521 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26522 Rename to __totalordermagl and define as weak alias.
26523 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26525 (ufromfpl): Define as weak alias.
26526 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26528 (ufromfpxl): Define as weak alias.
26529 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26531 (fromfpl): Define as weak alias.
26532 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26534 (fromfpxl): Define as weak alias.
26535 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26536 Rename to __getpayloadl and define as weak alias.
26537 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26538 to __roundevenl and define as weak alias. Call __roundeven
26539 instead of roundeven.
26540 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26542 (setpayloadl): Define as weak alias.
26543 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26545 (setpayloadsigl): Define as weak alias.
26546 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26547 Rename to __totalorderl and define as weak alias.
26548 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26549 Rename to __totalordermagl and define as weak alias.
26550 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26552 (ufromfpl): Define as weak alias.
26553 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26555 (ufromfpxl): Define as weak alias.
26556 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26558 (fromfpl): Define as weak alias.
26559 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26561 (fromfpxl): Define as weak alias.
26562 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26563 __getpayloadl and define as weak alias.
26564 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26565 __roundevenl and define as weak alias.
26566 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26568 (setpayloadl): Define as weak alias.
26569 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26571 (setpayloadsigl): Define as weak alias.
26572 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26573 __totalorderl and define as weak alias.
26574 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26575 Rename to __totalordermagl and define as weak alias.
26576 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26578 (ufromfpl): Define as weak alias.
26579 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26581 (ufromfpxl): Define as weak alias.
26583 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26585 * benchtests/bench-string.h (realloc_bufs): New function.
26586 (test_init): Call it.
26587 * benchtests/bench-memset-large.c (do_test): Likewise.
26588 * benchtests/bench-memset.c (do_test): Likewise.
26590 * benchtests/bench-memset-large.c: Print output in JSON
26592 * benchtests/bench-memset.c: Likewise.
26594 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26597 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26598 * iconvdata/Makefile: Add IBM858.
26599 * iconvdata/gconv-modules: Likewise.
26600 * iconvdata/tst-tables.sh: Likewise.
26601 * iconvdata/ibm858.c: New file.
26602 * localedata/charmaps/IBM858: Likewise.
26604 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26607 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26608 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26610 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26613 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26614 and add tel_int_fmt.
26616 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26618 * sysdeps/generic/libm-alias-float128.h: New file.
26619 * sysdeps/generic/math-type-macros-float128.h: Include
26620 <libm-alias-float128.h>.
26621 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26623 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26625 * sysdeps/generic/libm-alias-ldouble.h: New file.
26626 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26627 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26628 * sysdeps/generic/math-type-macros-ldouble.h: Include
26629 <libm-alias-ldouble.h>.
26630 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26631 libm_alias_ldouble.
26633 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26635 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26636 * math/w_exp_compat.c: ... here.
26637 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26638 * math/w_expf_compat.c: ... here.
26639 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26640 * math/w_expl_compat.c: ... here.
26641 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26642 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26643 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26644 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26646 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26648 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26650 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26652 (ldexpl): Only define as compat symbol for libc, not libm.
26653 (scalbnl): Define as compat symbol for libc here.
26654 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26655 define for [IS_IN (libc)].
26656 (__ldexpl_2): Remove alias.
26657 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26658 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26659 name in long_double_symbol call.
26660 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26661 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26662 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26663 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26664 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26666 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26667 Define as compat symbol.
26669 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26671 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26672 * sysdeps/unix/sysv/linux/alpha/Makefile
26673 [$(subdir) = csu] (sysdep_routines): Remove rule.
26675 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26677 * sysdeps/generic/libm-alias-double.h: New file.
26678 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26679 * sysdeps/generic/math-type-macros-double.h: Include
26680 <libm-alias-double.h>.
26681 [declare_mgen_alias] (declare_mgen_alias): Define to use
26683 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26684 (M_LIBM_NEED_COMPAT): Remove macro.
26685 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26686 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26687 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26689 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26690 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26691 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26692 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26693 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26694 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26695 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26696 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26697 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26698 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26699 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26700 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26701 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26702 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26703 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26704 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26705 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26706 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26707 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26708 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26709 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26710 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26711 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26712 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26713 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26714 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26715 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26716 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26717 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26719 (declare_mgen_alias): New macro.
26720 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26721 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26723 (M_LIBM_NEED_COMPAT): Remove macro.
26724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26725 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26726 <first-versions.h>.
26727 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26728 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26730 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26732 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26733 (declare_mgen_alias_2): Remove.
26734 * sysdeps/generic/math-type-macros-double.h
26735 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26737 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26739 (ldexp): Define with declare_mgen_alias.
26740 (scalbn): Likewise.
26742 2017-09-12 Steve Ellcey <sellcey@cavium.com>
26744 * grp/initgroups.c: Include config.h.
26745 (DEFAULT_CONFIG): New macro.
26746 (internal_getgrouplist): Use DEFAULT_CONFIG.
26747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26748 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26749 (DEFAULT_DEFCONFIG): New macro.
26750 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26751 * nss/grp-lookup.c: Include config.h
26752 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26753 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26754 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26755 * manual/nss.texi: Update default values section.
26757 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26760 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26762 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26763 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26764 Handle MathVec_Prefer_No_AVX512.
26765 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26766 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26769 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26771 * posix/sched_primax.c (__sched_get_priority_max): Add
26773 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26774 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26775 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26776 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26777 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26778 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26779 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26780 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26783 2017-09-11 Joseph Myers <joseph@codesourcery.com>
26785 * sysdeps/generic/libm-alias-float.h: New file.
26786 * sysdeps/generic/math-type-macros-float.h: Include
26787 <libm-alias-float.h>.
26788 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26790 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26793 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26794 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26795 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26796 (HWCAP_IMPORTANT): Likewise.
26797 (HWCAP_X86_64): New enum.
26798 (HWCAP_X86_AVX512_1): Updated.
26799 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26800 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26801 (modules-names): Add x86_64/tst-x86_64mod-1.
26802 (LDFLAGS-tst-x86_64mod-1.so): New.
26803 ($(objpfx)tst-x86_64-1): Likewise.
26804 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26805 (tst-x86_64-1-clean): Likewise.
26806 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26807 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26809 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26811 * po/sv.po: Update translations.
26812 * po/fr.po: Likewise.
26814 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26816 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26818 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26820 * elf/rtld-Rules: Fix $(error) use.
26822 2017-09-09 Mike FABIAN <mfabian@redhat.com>
26825 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26826 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26827 * localedata/locales/bn_BD: “Bengali” was still used in some
26828 comments. Change it to “Bangla”.
26830 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26832 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26834 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26836 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26837 thunderx2t99p1 to list of cpu names.
26838 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26839 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26841 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26843 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26844 Use strcmp instead of tunable_is_name.
26846 2017-09-08 Joseph Myers <joseph@codesourcery.com>
26848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26849 (F_GET_RW_HINT): New macro.
26850 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26851 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26852 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26853 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26854 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26855 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26856 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26857 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26858 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26861 (F_ADD_SEALS): New macro.
26862 [__USE_GNU] (F_GET_SEALS): Likewise.
26863 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26864 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26865 [__USE_GNU] (F_SEAL_GROW): Likewise.
26866 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26868 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26870 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26871 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26872 * posix/glob_internal.h (__glob_pattern_type):
26873 * posix/glob.c (glob):
26874 * posix/glob_pattern_p.c (__glob_pattern_p):
26877 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26878 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26879 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26880 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26881 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26883 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26884 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26885 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26886 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26887 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26888 * sysdeps/wordsize-64/glob.c: Likewise.
26889 * sysdeps/wordsize-64/glob64.c: Likewise.
26890 * sysdeps/wordsize-64/globfree.c: Likewise.
26891 * sysdeps/wordsize-64/globfree64.c: Likewise.
26892 * sysdeps/unix/sysv/linux/glob.c: New file.
26893 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26894 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26895 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26896 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26897 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26898 adds !GLOB_NO_OLD_VERSION as an extra condition.
26899 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26900 using relative path instead of absolute one.
26901 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26902 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26903 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26904 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26905 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26906 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26909 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26910 (glob): Use the same scratch buffer for both getlogin_r and
26911 getpwnam_r. Don’t require preallocation of the login name. This
26912 simplifies storage allocation, and corrects the handling of
26916 * posix/glob.c (glob): Port recent patches to platforms
26917 lacking getpwnam_r.
26918 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26919 returns an error number rather than setting errno.
26921 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26922 instead of GCC extension.
26923 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26924 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26925 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26929 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26930 * posix/bug-glob1.c: Remove file.
26931 * posix/tst-glob_symlinks.c: New file.
26932 * posix/glob.c (__lstat64): New macro.
26933 (is_dir): New function.
26934 (glob, glob_in_dir): Match symlinks even if they are dangling.
26935 (link_stat, link_exists_p): Remove. All uses removed.
26939 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26940 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26945 * posix/Makefile (routines): Add globfree, globfree64, and
26947 * posix/flexmember.h: New file.
26948 * posix/glob_internal.h: Likewise.
26949 * posix/glob_pattern_p.c: Likewise.
26950 * posix/globfree.c: Likewise.
26951 * posix/globfree64.c: Likewise.
26952 * sysdeps/gnu/globfree64.c: Likewise.
26953 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26954 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26955 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26956 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26957 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26958 * sysdeps/wordsize-64/globfree.c: Likewise.
26959 * sysdeps/wordsize-64/globfree64.c: Likewise.
26960 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26961 [NDEBUG): Remove comments.
26962 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26963 (dirent_type): New type. Use uint_fast8_t not
26964 uint8_t, as C99 does not require uint8_t.
26965 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26966 (struct readdir_result): Use dirent_type. Do not define skip_entry
26967 unless it is needed; this saves a byte on platforms lacking d_ino.
26968 (readdir_result_type, readdir_result_skip_entry):
26969 New functions, replacing ...
26970 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26971 these functions, which were removed. This makes the callers
26972 easier to read. All callers changed.
26973 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26974 (size_add_wrapv, glob_use_alloca): New static functions.
26975 (glob, glob_in_dir): Check for size_t overflow in several places,
26976 and fix some size_t checks that were not quite right.
26977 Remove old code using SHELL since Bash no longer
26979 (glob, prefix_array): Separate MS code better.
26980 (glob_in_dir): Remove old Amiga and VMS code.
26981 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26983 (glob_in_dir): Do not rely on undefined behavior in accessing
26984 struct members beyond their bounds. Use a flexible array member
26986 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26987 0/1. Caller changed.
26988 (glob): Fix memory leaks.
26989 * posix/glob64 (globfree64): Move to separate file.
26990 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26991 (globfree64): Remove hidden alias.
26992 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26994 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26996 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26998 Move compat code to separate file.
26999 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27002 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27004 * resolv/tst-resolv-qtypes.c (domain): Changed to
27005 "const char domain[] =".
27007 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27009 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27012 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27013 (TCP_MD5SIG_EXT): Likewise.
27014 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27015 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27016 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27018 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27020 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27022 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27024 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27027 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27029 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27031 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27032 before assuming that the file is empty. Avoid testing buffer content
27035 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27038 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27040 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27042 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27044 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27046 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27048 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27050 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27053 2017-09-06 Florian Weimer <fweimer@redhat.com>
27055 * malloc/dynarray_emplace_enlarge.c
27056 (__libc_dynarray_emplace_enlarge): Add missing else.
27058 2017-09-06 Florian Weimer <fweimer@redhat.com>
27061 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27062 case of failure to obtain the global conf object.
27064 2017-09-06 Florian Weimer <fweimer@redhat.com>
27067 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27068 dynarray allocation failure.
27070 2017-09-06 Florian Weimer <fweimer@redhat.com>
27072 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27073 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27074 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27076 (response): Call them. Add 'p', '6' flag processing.
27077 (test_reverse): New function.
27078 (test_get2_any): Call it.
27079 (test_no_inet6): Add 'p' test.
27080 (test_inet6): Likewise.
27082 2017-09-06 Florian Weimer <fweimer@redhat.com>
27084 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27085 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27087 (test_gai): Adjust query names. Add additional tests.
27088 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27089 test_get2. Adjust query names. Add additional tests.
27090 (test_no_inet6): New function, extracted from threadfunc.
27091 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27092 Add additional tests.
27094 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27097 * localedata/unicode-gen/utf8_gen.py: Set the width for
27098 characters with Prepended_Concatenation_Mark property to 1
27099 * localedata/charmaps/UTF-8: Updated using the improved script.
27101 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27104 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27105 use the range notation for all ranges of neighbouring characters
27106 with the same width.
27108 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27110 * sysdeps/generic/math-type-macros-double.h: Include
27111 <math-svid-compat.h>.
27112 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27113 * sysdeps/generic/math-type-macros-float.h: Include
27114 <math-svid-compat.h>.
27115 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27116 * sysdeps/generic/math-type-macros-ldouble.h: Include
27117 <math-svid-compat.h>.
27118 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27119 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27121 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27122 * math/w_acosf_compat.c: Likewise.
27123 * math/w_acosh_compat.c: Likewise.
27124 * math/w_acoshf_compat.c: Likewise.
27125 * math/w_acoshl_compat.c: Likewise.
27126 * math/w_acosl_compat.c: Likewise.
27127 * math/w_asin_compat.c: Likewise.
27128 * math/w_asinf_compat.c: Likewise.
27129 * math/w_asinl_compat.c: Likewise.
27130 * math/w_atan2_compat.c: Likewise.
27131 * math/w_atan2f_compat.c: Likewise.
27132 * math/w_atan2l_compat.c: Likewise.
27133 * math/w_atanh_compat.c: Likewise.
27134 * math/w_atanhf_compat.c: Likewise.
27135 * math/w_atanhl_compat.c: Likewise.
27136 * math/w_cosh_compat.c: Likewise.
27137 * math/w_coshf_compat.c: Likewise.
27138 * math/w_coshl_compat.c: Likewise.
27139 * math/w_exp10_compat.c: Likewise.
27140 * math/w_exp10f_compat.c: Likewise.
27141 * math/w_exp10l_compat.c: Likewise.
27142 * math/w_exp2_compat.c: Likewise.
27143 * math/w_exp2f_compat.c: Likewise.
27144 * math/w_exp2l_compat.c: Likewise.
27145 * math/w_fmod_compat.c: Likewise.
27146 * math/w_fmodf_compat.c: Likewise.
27147 * math/w_fmodl_compat.c: Likewise.
27148 * math/w_hypot_compat.c: Likewise.
27149 * math/w_hypotf_compat.c: Likewise.
27150 * math/w_hypotl_compat.c: Likewise.
27151 * math/w_j0_compat.c: Likewise.
27152 * math/w_j0f_compat.c: Likewise.
27153 * math/w_j0l_compat.c: Likewise.
27154 * math/w_j1_compat.c: Likewise.
27155 * math/w_j1f_compat.c: Likewise.
27156 * math/w_j1l_compat.c: Likewise.
27157 * math/w_jn_compat.c: Likewise.
27158 * math/w_jnf_compat.c: Likewise.
27159 * math/w_jnl_compat.c: Likewise.
27160 * math/w_lgamma_r_compat.c: Likewise.
27161 * math/w_lgammaf_r_compat.c: Likewise.
27162 * math/w_lgammal_r_compat.c: Likewise.
27163 * math/w_log10_compat.c: Likewise.
27164 * math/w_log10f_compat.c: Likewise.
27165 * math/w_log10l_compat.c: Likewise.
27166 * math/w_log2_compat.c: Likewise.
27167 * math/w_log2f_compat.c: Likewise.
27168 * math/w_log2l_compat.c: Likewise.
27169 * math/w_log_compat.c: Likewise.
27170 * math/w_logf_compat.c: Likewise.
27171 * math/w_logl_compat.c: Likewise.
27172 * math/w_pow_compat.c: Likewise.
27173 * math/w_powf_compat.c: Likewise.
27174 * math/w_powl_compat.c: Likewise.
27175 * math/w_remainder_compat.c: Likewise.
27176 * math/w_remainderf_compat.c: Likewise.
27177 * math/w_remainderl_compat.c: Likewise.
27178 * math/w_sinh_compat.c: Likewise.
27179 * math/w_sinhf_compat.c: Likewise.
27180 * math/w_sinhl_compat.c: Likewise.
27181 * math/w_sqrt_compat.c: Likewise.
27182 * math/w_sqrtf_compat.c: Likewise.
27183 * math/w_sqrtl_compat.c: Likewise.
27184 * math/w_tgamma_compat.c: Likewise.
27185 * math/w_tgammaf_compat.c: Likewise.
27186 * math/w_tgammal_compat.c: Likewise.
27187 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27188 [LIBM_SVID_COMPAT].
27189 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27190 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27191 [LIBM_SVID_COMPAT].
27192 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27193 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27194 [LIBM_SVID_COMPAT].
27195 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27196 * sysdeps/i386/fpu/w_sqrt.c: New file.
27197 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27198 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27199 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27200 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27201 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27202 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27203 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27204 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27205 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27206 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27207 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27208 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27209 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27210 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27211 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27212 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27213 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27214 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27215 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27216 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27217 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27218 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27219 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27220 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27221 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27222 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27223 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27224 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27225 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27226 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27227 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27228 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27229 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27230 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27231 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27232 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27233 * sysdeps/ia64/fpu/w_log.c: Likewise.
27234 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27235 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27236 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27237 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27238 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27239 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27240 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27241 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27242 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27243 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27244 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27245 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27246 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27247 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27248 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27249 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27250 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27251 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27252 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27253 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27254 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27255 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27256 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27258 [LIBM_SVID_COMPAT].
27259 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27260 * sysdeps/ieee754/k_standard.c: Likewise.
27261 * sysdeps/ieee754/k_standardf.c: Likewise.
27262 * sysdeps/ieee754/k_standardl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27264 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27265 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27266 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27267 long_double_symbol call on [LIBM_SVID_COMPAT].
27268 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27269 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27270 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27271 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27272 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27273 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27274 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27275 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27276 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27277 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27278 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27279 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27280 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27281 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27282 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27283 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27284 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27285 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27286 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27287 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27288 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27289 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27291 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27293 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27294 * malloc/tst-mallocstate.c: Convert from test-skeleton
27295 to test-driver. Ifdef code using TEST_COMPAT macro.
27296 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27297 * math/test-matherr.c: Likewise.
27299 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27302 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27303 comparing word with byte-swapped constant.
27305 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27308 * locale/iso-639.def: add Miskito.
27309 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27310 * localedata/locales/miq_NI: New file.
27312 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27315 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27316 (__mkdir): Likewise.
27317 * io/chmod.c (__chmod): Add libc_hidden_def.
27318 * io/mkdir.c (__mkdir): Likewise.
27319 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27320 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27321 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27322 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27324 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27326 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27330 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27331 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27333 2017-09-04 Florian Weimer <fweimer@redhat.com>
27335 * math/math.h: Issue warning if log is defined.
27337 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27339 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27340 kernel version to 4.13.
27342 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27344 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27345 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27347 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27348 just <bits/types.h>.
27349 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27350 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27351 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27352 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27353 * misc/preadv2.c: Include <errno.h>.
27354 * misc/preadv64v2.c: Include <errno.h>.
27355 * misc/pwritev2.c: Include <errno.h>.
27356 * misc/pwritev64v2.c: Include <errno.h>.
27357 * sysdeps/posix/preadv2.c: Include <errno.h>.
27358 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27359 Fix <unistd.h> inclusion.
27360 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27361 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27362 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27363 __strtoul_internal): New functions.
27364 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27365 * sysdeps/posix/system.c: Include <sigsetops.h>.
27366 * sysdeps/mach/hurd/i386/Makefile
27367 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27368 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27369 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27370 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27371 __feraiseexcept_renamed to feraiseexcept instead of
27372 __GI_feraiseexcept.
27373 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27374 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27375 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27376 RWF_NOWAIT): Define to 0 if undefined already.
27377 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27379 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27380 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27382 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27384 * manual/math.texi (pow10): Do not document.
27385 (pow10f): Likewise.
27386 (pow10l): Likewise.
27387 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27388 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27389 * math/libm-test-exp10.inc (pow10_test): Remove.
27390 (do_test): Do not call pow10.
27391 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27392 [NO_LONG_DOUBLE] (pow10l): Likewise.
27393 * math/w_exp10f_compat.c (pow10f): Likewise.
27394 * math/w_exp10l_compat.c (pow10l): Likewise.
27395 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27396 (pow10): Make into compat symbol.
27397 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27398 (pow10f): Make into compat symbol.
27399 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27400 (pow10l): Make into compat symbol.
27401 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27403 (CFLAGS-nldbl-pow10.c): Remove variable..
27404 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27405 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27406 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27407 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27408 Undefine and redefine.
27409 (pow10l): Make into compat symbol.
27410 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27411 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27412 * sysdeps/arm/libm-test-ulps: Likewise.
27413 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27414 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27415 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27416 * sysdeps/microblaze/libm-test-ulps: Likewise.
27417 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27418 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27419 * sysdeps/nios2/libm-test-ulps: Likewise.
27420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27421 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27422 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27423 * sysdeps/sh/libm-test-ulps: Likewise.
27424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27425 * sysdeps/tile/libm-test-ulps: Likewise.
27426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27430 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27432 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27434 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27435 "../ChangeLog.old/ChangeLog.8".
27436 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27437 "../ChangeLog.old/ChangeLog.14".
27439 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27441 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27444 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27446 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27448 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27450 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27451 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27453 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27455 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27456 32 atexit handlers.
27458 2017-09-01 Zack Weinberg <zackw@panix.com>
27460 * math/math.h (HUGE_VAL): Improve commentary.
27462 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27463 Andreas Schwab <schwab@suse.de>
27466 * include/stdio.h (__gen_tempfd): New function.
27467 * stdio-common/Makefile (routines): Add gentempfd.
27468 * stdio-common/gentempfd.c: New file.
27469 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27470 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27471 unnamed file first.
27473 2017-09-01 Florian Weimer <fweimer@redhat.com>
27477 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27478 result to determine success or failure, not the errno value.
27479 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27480 (tst-nss-files-hosts-erange): Link with -ldl.
27481 * nss/tst-nss-files-hosts-erange.c: New file.
27482 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27483 (do_test): Add NO_DATA tests.
27484 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27485 (do_test): Call it.
27487 2017-09-01 Florian Weimer <fweimer@redhat.com>
27490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27491 coming from gethostbyname2_r.
27493 2017-09-01 Florian Weimer <fweimer@redhat.com>
27495 * support/namespace.h (struct support_chroot_configuration): Add
27497 (struct support_chroot): Add path_hosts, path_host_conf.
27498 * support/support_chroot.c (write_file): New function.
27499 (support_chroot_create): Call it to process /etc/resolv.conf,
27500 /etc/hosts, /etc/host.conf.
27501 (support_chroot_free): Update.
27503 2017-09-01 Florian Weimer <fweimer@redhat.com>
27505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27506 status indicates it is set.
27508 2017-09-01 Florian Weimer <fweimer@redhat.com>
27511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27512 function lookup failures more reliable.
27514 2017-09-01 Florian Weimer <fweimer@redhat.com>
27516 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27517 (getcanonname): Likewise.
27518 (gaih_inet): Likewise.
27520 2017-09-01 Florian Weimer <fweimer@redhat.com>
27522 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27523 (getcanonname): Likewise.
27524 (gaih_inet): Likewise.
27526 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27527 Richard Henderson <rth@twiddle.net>
27529 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27530 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27531 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27532 (IREG_SIZE, OREG_SIZE): New macros.
27533 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27534 (IREG_SIZE, OREG_SIZE): New macros.
27535 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27536 (IREG_SIZE): New macro.
27537 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27538 (IREG_SIZE): New macro.
27539 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27541 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27542 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27543 (__CONCATX): Handle exceptions correctly on large values that may
27545 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27546 Initialize if not already set.
27547 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27549 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27551 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27552 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27554 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27556 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27558 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27560 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27562 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27564 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27566 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27567 (NO_CANCELLATION): Likewise.
27568 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27570 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27572 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27575 (NO_CANCELLATION): Likewise.
27576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27577 (NO_CANCELLATION): Likewise.
27578 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27580 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27582 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27584 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27586 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27588 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27589 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27591 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27593 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27596 2017-08-31 Florian Weimer <fweimer@redhat.com>
27598 * include/libc-symbols.h (internal_function): Remove.
27600 2017-08-31 Florian Weimer <fweimer@redhat.com>
27602 * stdlib/fmtmsg.c (internal_addseverity): Remove
27605 2017-08-31 Florian Weimer <fweimer@redhat.com>
27607 * stdio-common/printf_fp.c (group_number): Remove
27609 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27611 2017-08-31 Florian Weimer <fweimer@redhat.com>
27613 * posix/fnmatch.c (internal_function): Remove definition.
27614 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27615 * posix/regcomp.c (peek_token, init_word_char)
27616 (duplicate_node_closure, fetch_token, peek_token)
27617 (peek_token_bracket, build_range_exp, build_collating_symbol):
27619 * posix/regex_internal.c (re_string_construct_common)
27620 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27621 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27622 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27623 (re_string_translate_buffer, re_string_reconstruct)
27624 (re_string_peek_byte_case, re_string_fetch_byte_case)
27625 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27626 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27627 (re_node_set_add_intersect, re_node_set_init_union)
27628 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27629 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27630 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27631 (re_acquire_state_context): Likewise.
27632 * posix/regex_internal.h (internal_function): Remove definition.
27633 (re_string_realloc_buffers, build_wcs_buffer)
27634 (build_wcs_upper_buffer, build_upper_buffer)
27635 (re_string_translate_buffer, re_string_context_at)
27636 (re_string_char_size_at, re_string_wchar_at)
27637 (re_string_elem_size_at): Likewise.
27638 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27639 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27640 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27641 (re_search_internal, re_search_2_stub, re_search_stub)
27642 (re_copy_regs, prune_impossible_nodes, check_matching)
27643 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27644 (free_fail_stack_return, sift_states_iter_mb)
27645 (sift_states_backward, build_sifted_states)
27646 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27647 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27648 (check_subexp_limits, sift_states_bkref, merge_state_array)
27649 (find_recover_state, transit_state, merge_state_with_log)
27650 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27651 (transit_state_mb, transit_state_bkref, get_subexp)
27652 (get_subexp_sub, find_subexp_node, check_arrival)
27653 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27654 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27655 (check_node_accept_bytes, find_collation_sequence_value)
27656 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27657 (acquire_init_state_context, check_halt_node_context)
27658 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27659 (sub_epsilon_src_nodes): Likewise.
27660 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27661 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27662 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27663 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27664 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27665 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27666 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27667 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27668 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27669 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27670 (PREADV): Likewise.
27671 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27672 (PREADV): Likewise.
27673 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27674 (PWRITEV): Likewise.
27675 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27676 (PWRITEV): Likewise.
27677 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27678 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27680 2017-08-31 Florian Weimer <fweimer@redhat.com>
27682 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27683 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27684 Remove internal_function.
27685 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27686 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27687 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27688 (__deallocate_stack, __libc_pthread_init)
27689 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27690 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27691 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27693 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27694 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27695 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27697 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27698 (__pthread_mutex_unlock_usercnt): Likewise.
27700 2017-08-31 Florian Weimer <fweimer@redhat.com>
27702 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27703 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27704 (fts_safe_changedir): Remove internal_function.
27705 * io/ftw.c (internal_function): Remove definition.
27706 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27708 2017-08-31 Florian Weimer <fweimer@redhat.com>
27710 * inet/deadline.c (__deadline_current_time)
27711 (__deadline_from_timeval, __deadline_to_ms): Remove
27713 * inet/getnameinfo.c (nrl_domainname): Likewise.
27714 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27715 * inet/inet6_option.c (add_pad): Likewise.
27716 * inet/net-internal.h (__deadline_current_time)
27717 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27718 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27719 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27720 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27722 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27724 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27725 include <bits/nan.h>.
27726 * math/Makefile (headers): Remove bits/nan.h.
27727 * bits/nan.h: Remove.
27728 * sysdeps/ieee754/bits/nan.h: Likewise.
27729 * sysdeps/mips/bits/nan.h: Likewise.
27731 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27732 not include <bits/inf.h>.
27733 * math/Makefile (headers): Remove bits/inf.h.
27734 * bits/inf.h: Remove.
27735 * sysdeps/ieee754/bits/inf.h: Likewise.
27737 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27738 bits/huge_vall.h or bits/huge_val_flt128.h.
27739 (HUGE_VAL): Define directly here.
27740 [__USE_ISOC99] (HUGE_VALF): Likewise.
27741 [__USE_ISOC99] (HUGE_VALL): Likewise.
27742 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27743 (HUGE_VAL_F128): Likewise.
27744 * math/Makefile (headers): Remove bits/huge_val.h,
27745 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27746 * bits/huge_val.h: Remove.
27747 * bits/huge_val_flt128.h: Likewise.
27748 * bits/huge_valf.h: Likewise.
27749 * bits/huge_vall.h: Likewise.
27750 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27751 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27752 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27753 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27754 * sysdeps/sh/bits/huge_val.h: Likewise.
27755 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27756 * sysdeps/x86/bits/huge_vall.h: Likewise.
27758 2017-08-31 Florian Weimer <fweimer@redhat.com>
27760 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27762 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27764 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27765 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27766 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27767 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27769 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27770 * elf/dl-libc.c (dlerror_run): Likewise.
27771 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27772 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27773 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27774 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27776 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27777 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27778 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27779 * elf/dl-profile.c (_dl_start_profile): Likewise.
27780 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27781 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27783 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27784 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27785 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27786 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27787 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27788 (_dl_allocate_tls_storage): Likewise.
27789 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27790 (_dl_check_all_versions): Likewise.
27791 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27792 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27793 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27794 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27795 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27796 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27797 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27798 internal_function from __dl_start.
27799 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27800 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27801 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27802 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27803 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27804 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27805 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27806 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27807 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27808 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27809 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27810 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27811 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27812 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27813 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27815 (struct rtld_global_ro): Remove internal_function from the
27816 _dl_lookup_symbol_x member.
27817 (_dl_symbol_value): Remove. No longer defined anywhere.
27818 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27820 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27821 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27822 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27823 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27824 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27825 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27826 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27827 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27828 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27829 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27830 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27831 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27833 2017-08-31 Florian Weimer <fweimer@redhat.com>
27835 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27836 Remove internal_function.
27837 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27839 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27842 2017-08-31 Florian Weimer <fweimer@redhat.com>
27844 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27845 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27846 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27848 2017-08-31 Florian Weimer <fweimer@redhat.com>
27850 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27851 (__gai_enqueue_request): Remove internal_function.
27852 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27853 (__gai_remove_request, __gai_notify, __gai_notify_only)
27854 (__gai_sigqueue): Likewise.
27855 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27856 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27857 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27858 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27861 2017-08-31 Florian Weimer <fweimer@redhat.com>
27863 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27864 * include/dirent.h (__opendirat, __getdents, __getdents64)
27865 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27866 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27867 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27868 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27870 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27872 2017-08-31 Florian Weimer <fweimer@redhat.com>
27874 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27876 (GETCWD_RETURN_TYPE): Likewise.
27878 2017-08-31 Florian Weimer <fweimer@redhat.com>
27880 * include/time.h (__tz_compute, __strptime_internal): Remove
27882 * time/strptime_l.c (__strptime_internal): Likewise.
27883 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27885 2017-08-31 Florian Weimer <fweimer@redhat.com>
27887 * iconv/gconv.c (__gconv): Remove internal_function.
27888 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27889 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27890 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27891 (__gconv_release_cache): Likewise.
27892 * iconv/gconv_close.c (__gconv_close): Likewise.
27893 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27894 (read_conf_file, __gconv_get_path): Likewise.
27895 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27896 (__gconv_release_step, gen_steps, increment_counter)
27897 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27898 (__gconv_close_transform, free_modules_db): Likewise.
27899 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27901 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27902 (__gconv_find_transform, __gconv_lookup_cache)
27903 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27904 (__gconv_close_transform, __gconv_release_cache)
27905 (__gconv_loaded_object, __gconv_release_shlib)
27906 (__gconv_compare_alias): Likewise.
27907 * iconv/gconv_open.c (__gconv_open): Likewise.
27908 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27909 * iconv/iconvconfig.c (add_module): Likewise.
27910 * intl/dcigettext.c (plural_lookup, guess_category_value)
27911 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27912 * intl/eval-plural.h (plural_eval): Likewise.
27913 * intl/finddomain.c (_nl_find_domain): Likewise.
27914 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27915 (_nl_load_domain, _nl_find_msg): Likewise.
27916 (internal_function): Remove definition.
27917 * intl/loadinfo.h (internal_function): Likewise.
27918 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27920 * intl/localealias.c (internal_function): Remove definition.
27921 (read_alias_file): Remove internal_function.
27922 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27923 * intl/plural-exp.h (internal_function): Remove definition.
27924 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27926 * intl/plural.c: Regenerate.
27927 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27928 * locale/coll-lookup.c (__collidx_table_lookup)
27929 (__collseq_table_lookup): Likewise.
27930 * locale/coll-lookup.h (__collidx_table_lookup)
27931 (__collseq_table_lookup): Likewise.
27932 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27933 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27934 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27935 (_nl_unload_locale): Likewise.
27936 * locale/localeinfo.h (struct __locale_data): Remove
27937 internal_function from cleanup member.
27938 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27939 (_nl_remove_locale, _nl_load_locale_from_archive)
27940 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27941 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27942 (_nl_cleanup_time): Remove internal_function.
27943 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27944 (_nl_parse_alt_digit): Likewise.
27945 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27946 (_nl_select_era_entry): Likewise.
27947 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27948 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27949 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27950 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27951 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27953 2017-08-31 Florian Weimer <fweimer@redhat.com>
27955 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27956 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27957 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27958 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27960 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27961 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27962 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27963 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27965 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27967 2017-08-31 Florian Weimer <fweimer@redhat.com>
27969 * misc/getttyent.c (skip, value): Remove internal_function.
27970 * misc/syslog.c (openlog_internal): Likewise.
27971 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27973 2017-08-31 Florian Weimer <fweimer@redhat.com>
27975 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27976 (__nss_rewrite_field): Remove internal_function.
27977 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27978 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27979 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27980 * nss/nsswitch.c (nss_parse_file, nss_getline)
27981 (nss_parse_service_list, nss_new_service): Likewise.
27982 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27983 * nss/valid_field.c (__nss_valid_field): Likewise.
27984 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27986 2017-08-31 Florian Weimer <fweimer@redhat.com>
27988 * malloc/arena.c (__malloc_fork_lock_parent)
27989 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27990 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27991 internal_function from defintions.
27992 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27993 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27994 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27995 internal_function from declarations.
27996 * malloc/malloc.c (internal_function): Do not define.
27997 (mem2mem_check): Remove internal_function from declaration.
27998 (munmap_chunk, mremap_chunk): Remove internal_function.
27999 * malloc/mtrace.c (tr_where): Likewise.
28001 2017-08-31 Florian Weimer <fweimer@redhat.com>
28003 * include/rpc/pmap_clnt.h (__get_socket): Remove
28005 * sunrpc/auth_des.c (synchronize): Likewise.
28006 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28007 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28008 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28009 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28010 (key_call): Likewise.
28011 * sunrpc/pm_getport.c (__get_socket): Likewise.
28012 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28013 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28014 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28015 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28016 (invalidate): Likewise.
28017 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28018 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28019 (set_input_fragment, get_input_bytes): Likewise.
28021 2017-08-31 Florian Weimer <fweimer@redhat.com>
28023 * malloc/malloc.c (_int_free): Remove locked variable and related
28026 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28029 * Makerules (build-module-helper-objlist): Filter out
28030 $(elf-objpfx)sofini.os.
28031 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28034 2017-08-31 Florian Weimer <fweimer@redhat.com>
28036 * libio/fcloseall.c: Assume weak_alias is defined.
28037 * libio/feof.c: Likewise.
28038 * libio/fileno.c: Likewise.
28039 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28040 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28042 (_IO_file_open): Call __open directly.
28043 (_IO_new_file_sync): Assume ESPIPE is defined.
28044 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28045 (_IO_new_file_write): Call __write directly.
28046 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28047 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28048 * libio/genops.c: Assume _LIBC is defined.
28049 (save_for_backup): Remove internal_function.
28050 * libio/getc.c: Assume weak_alias is defined.
28051 * libio/getwc.c: Likewise.
28052 * libio/iofclose.c: Assume _LIBC is defined.
28053 * libio/iofdopen.c: Likewise.
28054 (_IO_fcntl): Remove macro definition.
28055 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28056 Call __fcntl directly.
28057 * libio/iofflush.c: Assume weak_alias is defined.
28058 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28060 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28061 * libio/iofgets.c: Likewise.
28062 * libio/iofopen.c: Assume _LIBC is defined.
28063 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28064 * libio/iofputs.c: Assume weak_alias is defined.
28065 * libio/iofread.c: Likewise.
28066 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28067 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28068 * libio/ioftell.c: Assume weak_alias is defined.
28069 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28070 * libio/iofwide.c: Assume _LIBC is defined.
28071 (_IO_fwide): Drop SHARED conditional because it is implied by
28073 * libio/iofwrite.c: Assume weak_alias is defined.
28074 * libio/iogetdelim.c: Likewise.
28075 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28076 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28077 (_IO_getwline): Call __wmemcpy directly.
28078 * libio/iopopen.c: Assume _LIBC is defined.
28079 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28080 (_IO_close): Remove macro definitions.
28081 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28083 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28085 * libio/ioputs.c: Assume weak_alias is defined.
28086 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28087 * libio/iosetbuffer.c: Assume weak_alias is defined.
28088 * libio/iosetvbuf.c: Likewise.
28089 * libio/ioungetc.c: Likewise.
28090 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28091 libc_hidden_def, libc_hidden_weak, NULL are defined.
28092 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28093 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28095 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28097 (_IO_old_file_init_internal): Drop SHARED conditional because it
28098 is implied by SHLIB_COMPAT.
28099 (_IO_old_file_fopen): Call __open directly.
28100 (_IO_old_file_sync): Assume ESPIPE is defined.
28101 (_IO_old_file_write): Call __write directly.
28102 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28103 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28104 Call __fcntl directly.
28105 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28106 (_IO_old_fgetpos): Assume EIO is defined.
28107 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28108 (_IO_old_fgetpos64): Assume EIO is defined.
28109 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28110 (_IO_old_fsetpos): Assume EIO is defined.
28111 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28112 (_IO_old_fsetpos64): Assume EIO is defined.
28113 * libio/oldiopopen.c: Assume _LIBC is defined.
28114 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28115 (_IO_close): Remove macro definitions.
28116 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28118 (_IO_old_proc_close): Call __close, __waitpid directly.
28119 * libio/put.c: Assume weak_alias is defined.
28120 * libio/stdfiles.c: Assume _LIBC is defined.
28121 * libio/stdio.c: Likewise.
28122 * libio/wfileops.c: Likewise.
28123 (_IO_wfile_sync): Assume ESPIPE is defined.
28124 * libio/wgenops.c: Assume _LIBC is defined.
28125 (save_for_wbackup): Remove internal_function.
28127 2017-08-31 Florian Weimer <fweimer@redhat.com>
28129 * malloc/malloc.c (top_check): Change return type to void. Remove
28131 * malloc/hooks.c (top_check): Likewise.
28132 (malloc_check, realloc_check, memalign_check): Adjust.
28134 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28137 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28138 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28139 sigcontext and namespace requirements.
28140 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28141 * sysdeps/m68k/sys/ucontext.h: Likewise.
28142 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28143 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28144 <bits/sigcontext.h>.
28145 (__ctx): Define earlier.
28146 (mcontext_t): Define structure contents rather than using struct
28148 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28149 __glibc_reserved1 instead of __reserved.
28150 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28151 <bits/sigcontext.h>.
28152 (__ctx): Define earlier.
28153 (mcontext_t): Define structure contents rather than using struct
28155 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28156 mcontext_t instead of struct sigcontext.
28157 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28158 <bits/sigcontext.h>.
28159 (__ctx): Define earlier.
28160 (mcontext_t): Define structure contents rather than using struct
28162 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28163 <bits/sigcontext.h>.
28164 (__ctx): Define earlier.
28165 (mcontext_t): Define structure contents rather than using struct
28167 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28168 mcontext_t instead of struct sigcontext.
28169 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28170 mcontext_t instead of struct sigcontext.
28171 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28172 <bits/sigcontext.h>.
28173 (__ctx): New macro.
28174 (struct __ia64_fpreg_mcontext): New type.
28175 (mcontext_t): Define structure contents rather than using struct
28177 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28178 (uc_sigmask): Define using __ctx.
28179 (uc_stack): Likewise.
28180 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28181 <bits/sigcontext.h>.
28182 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28183 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28184 <bits/sigcontext.h>.
28185 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28186 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28187 <bits/sigcontext.h>.
28188 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28189 <bits/sigcontext.h>.
28190 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28191 <bits/sigcontext.h>.
28192 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28193 <bits/sigcontext.h>.
28194 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28195 <bits/sigcontext.h>.
28196 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28197 <bits/sigcontext.h>.
28198 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28199 <bits/sigcontext.h>.
28200 (__ctx): Define earlier.
28201 (mcontext_t): Define structure contents rather than using struct
28203 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28204 <bits/sigcontext.h>. Include <bits/types.h>.
28205 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28206 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28207 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28208 (test-xfail-UNIX98/signal.h/conform): Likewise.
28209 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28210 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28211 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28212 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28213 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28214 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28215 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28216 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28217 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28219 2017-08-30 Florian Weimer <fweimer@redhat.com>
28221 * malloc/dynarray_emplace_enlarge.c
28222 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28223 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28224 * malloc/tst-dynarray.c (test_long_overflow): New function.
28225 (do_test): Call it.
28227 2017-08-30 Florian Weimer <fweimer@redhat.com>
28229 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28230 (set_arena_corrupt): Remove definitions.
28231 (mtrim): Do not check for corrupt arena.
28232 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28235 2017-08-30 Florian Weimer <fweimer@redhat.com>
28238 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28240 (ptmalloc_init): Do not set or use check_action.
28241 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28242 call to malloc_printerr. Remove return statement.
28243 (free_check): Likewise. Remove arena unlock.
28244 (top_check): Update comment. Adjust call to malloc_printerr.
28245 Remove heap repair code.
28246 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28247 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28248 (sysmalloc): Adjust call to malloc_printerr.
28249 (munmap_chunk, __libc_realloc): Likewise. Remove return
28251 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28252 Remove errout label and corresponding gotos.
28253 (_int_free): Likewise. Remove arena unlock.
28254 (do_set_mallopt_check): Do not set check_action.
28255 (malloc_printerr): Adjust parameter list. Do not mark arena as
28257 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28259 * manual/probes.texi (Memory Allocation Probes): Remove
28260 memory_mallopt_check_action.
28262 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28264 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28265 Use pointer to uint64_t instead of long int for sp.
28267 2017-08-30 Florian Weimer <fweimer@redhat.com>
28270 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28271 without printing a backtrace. Do not leak any information in the
28273 * manual/memory.texi (Heap Consistency Checking): Update.
28274 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28276 2017-08-30 Florian Weimer <fweimer@redhat.com>
28278 Do not scale NPTL tests with available number of CPUs.
28279 * nptl/tst-cond16.c (count): Set to constant value of 8.
28280 * nptl/tst-cond18.c (count): Likewise.
28282 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28285 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28286 Define to take a second argument that is a macro that
28287 concatentates a suffix, not the suffix itself.
28288 (__CONCAT_d): New macro.
28289 (__CONCAT_f): Likewise.
28290 (__CONCAT_l): Likewise.
28292 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28294 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28297 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28298 Aurelien Jarno <aurelien@aurel32.net>
28299 Maciej W. Rozycki <macro@imgtec.com>
28302 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28303 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28304 `mips16-syscall6' and `mips16-syscall7'.
28305 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28306 (CFLAGS-mips16-syscall7.c): Remove.
28307 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28308 Remove `__mips16_syscall5', `__mips16_syscall6' and
28309 `__mips16_syscall7'.
28310 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28311 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28312 `__mips_syscall_return'.
28313 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28314 (__mips16_syscall1): Likewise.
28315 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28316 (__mips16_syscall2): Likewise.
28317 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28318 (__mips16_syscall3): Likewise.
28319 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28320 (__mips16_syscall4): Likewise.
28321 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28323 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28325 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28327 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28328 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28329 `__mips16_syscall5'. Remove prototype.
28330 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28331 `__mips16_syscall6'. Remove prototype.
28332 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28333 `__mips16_syscall7'. Remove prototype.
28334 (__nomips16, __mips16_syscall_return): Move to...
28335 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28336 (__nomips16, __mips_syscall_return): ... here.
28337 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28338 `__mips16_syscall_return' to `__mips_syscall_return'.
28339 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28340 `internal_syscall##nr'.
28341 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28342 `internal_syscall##nr'.
28343 (FORCE_FRAME_POINTER): Remove.
28344 (__mips_syscall5): New prototype.
28345 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28346 (__mips_syscall6): New prototype.
28347 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28348 (__mips_syscall7): New prototype.
28349 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28350 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28351 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28352 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28353 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28354 (sysdep_routines): Add libc-do-syscall.
28355 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28356 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28358 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28361 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28362 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28363 (advise_stack_range): New function.
28364 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28365 stack non required to advise_stack_range at allocatestack.c
28367 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28369 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28371 2017-08-29 Florian Weimer <fweimer@redhat.com>
28374 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28375 __end_fct. Mangle __end_fct after setting it to NULL.
28376 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28377 (modules-names, modules-names-tests): Add
28378 tst-gconv-init-failure-mod.
28379 (gconv-modules): New target.
28380 (tst-gconv-init-failure-mod.so): Link against libsupport.
28381 (tst-gconv-init-failure): Depend on gconv-modules,
28382 tst-gconv-init-failure-mod.so.
28383 * iconv/tst-gconv-init-failure-mod.c: New file.
28384 * iconv/tst-gconv-init-failure.c: Likewise.
28385 * iconv/test-gconv-modules: Likewise.
28387 2017-08-29 Florian Weimer <fweimer@redhat.com>
28390 * iconv/gconv_db.c (free_derivation): Remove redundant
28392 (gen_steps): Unconditionally mangle __btowc_fct after
28394 (increment_counter): Likewise. Do not call init_fct for internal
28397 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28400 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28401 (_MSUF_): Remove macro.
28402 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28404 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28405 (__REDIRFROM_X): New macro.
28406 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28408 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28409 (__REDIRTO_X): Likewise.
28410 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28412 (__MATH_REDIRCALL_2): Likewise.
28413 (__MATH_REDIRCALL_INTERNAL): Likewise.
28414 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28415 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28416 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28417 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28418 * math/test-finite-macros.c: New file.
28419 * math/Makefile (tests): Add test-finite-macros.
28420 (CFLAGS-test-finite-macros.c): New variable.
28422 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28423 Jeff Law <law@redhat.com>
28426 Mangle NULL pointers in iconv/gconv.
28427 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28428 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28429 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28430 is non-NULL before demangling the end_fct. Check for NULL
28431 end_fct after demangling.
28432 (__gconv_release_step): Demangle the end_fct before checking
28433 it for NULL. Remove assert on __shlibc_handle != NULL.
28434 (gen_steps): Don't check btowc_fct for NULL before mangling.
28435 Demangle init_fct before checking for NULL.
28436 (increment_counter): Likewise.
28437 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28438 end_fct for NULL before mangling.
28439 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28442 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28445 * locale/iso-639.def: add Morisyen.
28447 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28450 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28451 (iszero): New C++ implementation that does not use
28452 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28453 signaling nans are enabled, since __builtin_types_compatible_p
28454 is a C-only feature.
28455 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28456 defined, include ieee754_float128.h for access to the union and
28457 member ieee854_float128.ieee.
28458 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28459 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28460 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28461 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28462 options of test-math-zero on powerpc64le.
28464 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28466 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28467 Change double to float.
28469 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28471 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28473 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28474 conditional code; define contents only for [LIBM_SVID_COMPAT].
28476 2017-08-28 Florian Weimer <fweimer@redhat.com>
28478 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28479 (abi-lp64_be-options): Remove.
28480 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28481 (abi-hard-options): Likewise.
28482 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28483 (abi-o32_hard-options, abi-o32_soft_2008-options)
28484 (abi-o32_hard_2008-options, abi-n32_soft-options)
28485 (abi-n32_hard-options, abi-n32_soft_2008-options)
28486 (abi-n32_hard_2008-options, abi-n64_soft-options)
28487 (abi-n64_hard-options, abi-n64_soft_2008-options)
28488 (abi-n64_hard_2008-options): Likewise.
28489 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28490 (abi-64-v1-options, abi-64-v2-options): Likewise.
28491 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28492 (abi-64-options): Likewise.
28493 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28494 (abi-64-options): Likewise.
28495 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28496 (abi-64-options): Likewise.
28497 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28498 (abi-64-options, abi-x32-options): Likewise.
28500 2017-08-28 Florian Weimer <fweimer@redhat.com>
28502 Store supported list of SYS_* system calls in the source tree.
28503 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28504 (bits/syscall.h): Generate from list file.
28505 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28506 [$(subdir) = misc] (tests): Add tst-syscall-list.
28507 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28508 [$(subdir) = misc] (tst-syscall-list-macros.list)
28509 [$(subdir) = misc] (tst-syscall-list-nr.list)
28510 (tst-syscall-list-sys.list): Helper targets for new
28511 tst-syscall-list test.
28512 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28513 tst-syscall-list.sh.
28514 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28515 target. Do not include bits/syscall.d.
28516 [$(subdir) = misc] (generated): Do not update.
28517 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28518 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28519 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28520 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28522 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28524 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28525 (tst-cxa_atexit, tst-on_exit): Likewise.
28526 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28527 tst-cxa_atexit, and tst-on_exit.
28528 * stdlib/tst-atexit-common.c: New file.
28529 * stdlib/tst-atexit.c: New file.
28530 * stdlib/tst-at_quick_exit.c: New file.
28531 * stdlib/tst-cxa_atexit.c: New file.
28532 * stdlib/tst-on_exit.c: New file.
28534 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28536 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28537 * mach/stack_chk_fail_local.c: New file.
28538 * hurd/stack_chk_fail_local.c: New file.
28539 * mach/Machrules ($(interface-library)-routines): Add
28540 stack_chk_fail_local.
28541 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28542 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28543 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28544 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28545 * hurd/Makefile (CFLAGS-hurdstartup.o,
28546 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28548 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28550 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28551 (index_cpu_*, index_arch_*): Removed.
28553 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28555 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28556 Use uint64_t instead of unsigned long.
28558 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28560 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28561 [__HAVE_DISTINCT_FLOAT128].
28563 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28564 of <bits/math-finite.h>.
28565 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28566 inclusion of <bits/math-finite.h>.
28567 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28568 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28569 __NO_LONG_DOUBLE_MATH].
28570 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28571 (__MATH_REDIRCALL_2): Likewise.
28572 (__MATH_REDIRCALL_INTERNAL): Likewise.
28573 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28574 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28575 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28589 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28590 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28591 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28592 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28594 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28595 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28596 w_sqrtf_compat-ppc32.
28598 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28600 * math/math.h [defined __cplusplus] (issignaling): In the long
28601 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28602 is not defined. Call __issignaling, otherwise.
28604 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28606 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28607 syscall definitions and replace __builtin_expect with __glibc_likely.
28608 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28610 (SYSCALL_CANCELLABLE): Removedefinition
28611 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28613 (PSEUDO_END): Likewise.
28614 [IS_IN (libpthread)] (CENABLE): Likewise.
28615 [IS_IN (libpthread)] (CDISABLE): Likewise.
28616 [IS_IN (libc)] (CENABLE): Likewise.
28617 [IS_IN (libc)] (CENABLE): Likewise.
28618 [IS_IN (librt)] (CDISABLE): Likewise.
28619 [IS_IN (librt)] (CDISABLE): Likewise.
28620 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28621 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28623 (PSEUDO_END): Likewise.
28624 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28625 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28626 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28627 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28628 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28629 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28630 (CENABLE): Likewise.
28631 (CDISABLE): Likewise.
28632 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28633 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28635 (PSEUDO_END): Likewise.
28636 [IS_IN (libpthread)] (CENABLE): Likewise.
28637 [IS_IN (libpthread)] (CDISABLE): Likewise.
28638 [IS_IN (libc)] (CENABLE): Likewise.
28639 [IS_IN (libc)] (CENABLE): Likewise.
28640 [IS_IN (librt)] (CDISABLE): Likewise.
28641 [IS_IN (librt)] (CDISABLE): Likewise.
28642 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28643 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28645 (PSEUDO_END): Likewise.
28646 [IS_IN (libpthread)] (CENABLE): Likewise.
28647 [IS_IN (libpthread)] (CDISABLE): Likewise.
28648 [IS_IN (libc)] (CENABLE): Likewise.
28649 [IS_IN (libc)] (CENABLE): Likewise.
28650 [IS_IN (librt)] (CDISABLE): Likewise.
28651 [IS_IN (librt)] (CDISABLE): Likewise.
28652 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28653 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28655 (PSEUDO_END): Likewise.
28656 [IS_IN (libpthread)] (CENABLE): Likewise.
28657 [IS_IN (libpthread)] (CDISABLE): Likewise.
28658 [IS_IN (libc)] (CENABLE): Likewise.
28659 [IS_IN (libc)] (CENABLE): Likewise.
28660 [IS_IN (librt)] (CDISABLE): Likewise.
28661 [IS_IN (librt)] (CDISABLE): Likewise.
28662 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28663 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28665 (PSEUDO_END): Likewise.
28666 [IS_IN (libpthread)] (CENABLE): Likewise.
28667 [IS_IN (libpthread)] (CDISABLE): Likewise.
28668 [IS_IN (libc)] (CENABLE): Likewise.
28669 [IS_IN (libc)] (CENABLE): Likewise.
28670 [IS_IN (librt)] (CDISABLE): Likewise.
28671 [IS_IN (librt)] (CDISABLE): Likewise.
28672 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28673 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28675 (PSEUDO_END): Likewise.
28676 [IS_IN (libpthread)] (CENABLE): Likewise.
28677 [IS_IN (libpthread)] (CDISABLE): Likewise.
28678 [IS_IN (libc)] (CENABLE): Likewise.
28679 [IS_IN (libc)] (CENABLE): Likewise.
28680 [IS_IN (librt)] (CDISABLE): Likewise.
28681 [IS_IN (librt)] (CDISABLE): Likewise.
28682 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28683 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28685 (PSEUDO_END): Likewise.
28686 [IS_IN (libpthread)] (CENABLE): Likewise.
28687 [IS_IN (libpthread)] (CDISABLE): Likewise.
28688 [IS_IN (libc)] (CENABLE): Likewise.
28689 [IS_IN (libc)] (CENABLE): Likewise.
28690 [IS_IN (librt)] (CDISABLE): Likewise.
28691 [IS_IN (librt)] (CDISABLE): Likewise.
28692 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28693 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28695 (PSEUDO_END): Likewise.
28696 [IS_IN (libpthread)] (CENABLE): Likewise.
28697 [IS_IN (libpthread)] (CDISABLE): Likewise.
28698 [IS_IN (libc)] (CENABLE): Likewise.
28699 [IS_IN (libc)] (CENABLE): Likewise.
28700 [IS_IN (librt)] (CDISABLE): Likewise.
28701 [IS_IN (librt)] (CDISABLE): Likewise.
28702 (SINGLE_THREAD_P): Likewise.
28703 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28705 (PSEUDO_END): Likewise.
28706 [IS_IN (libpthread)] (CENABLE): Likewise.
28707 [IS_IN (libpthread)] (CDISABLE): Likewise.
28708 [IS_IN (libc)] (CENABLE): Likewise.
28709 [IS_IN (libc)] (CENABLE): Likewise.
28710 [IS_IN (librt)] (CDISABLE): Likewise.
28711 [IS_IN (librt)] (CDISABLE): Likewise.
28712 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28713 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28715 (PSEUDO_END): Likewise.
28716 [IS_IN (libpthread)] (CENABLE): Likewise.
28717 [IS_IN (libpthread)] (CDISABLE): Likewise.
28718 [IS_IN (libc)] (CENABLE): Likewise.
28719 [IS_IN (libc)] (CENABLE): Likewise.
28720 [IS_IN (librt)] (CDISABLE): Likewise.
28721 [IS_IN (librt)] (CDISABLE): Likewise.
28722 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28723 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28724 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28725 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28728 (PSEUDO_END): Likewise.
28729 [IS_IN (libpthread)] (CENABLE): Likewise.
28730 [IS_IN (libpthread)] (CDISABLE): Likewise.
28731 [IS_IN (libc)] (CENABLE): Likewise.
28732 [IS_IN (libc)] (CENABLE): Likewise.
28733 [IS_IN (librt)] (CDISABLE): Likewise.
28734 [IS_IN (librt)] (CDISABLE): Likewise.
28735 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28738 (PSEUDO_END): Likewise.
28739 [IS_IN (libpthread)] (CENABLE): Likewise.
28740 [IS_IN (libpthread)] (CDISABLE): Likewise.
28741 [IS_IN (libc)] (CENABLE): Likewise.
28742 [IS_IN (libc)] (CENABLE): Likewise.
28743 [IS_IN (librt)] (CDISABLE): Likewise.
28744 [IS_IN (librt)] (CDISABLE): Likewise.
28745 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28746 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28748 (PSEUDO_END): Likewise.
28749 [IS_IN (libpthread)] (CENABLE): Likewise.
28750 [IS_IN (libpthread)] (CDISABLE): Likewise.
28751 [IS_IN (libc)] (CENABLE): Likewise.
28752 [IS_IN (libc)] (CENABLE): Likewise.
28753 [IS_IN (librt)] (CDISABLE): Likewise.
28754 [IS_IN (librt)] (CDISABLE): Likewise.
28755 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28758 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28759 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
28761 (PSEUDO_END): Likewise.
28762 [IS_IN (libpthread)] (CENABLE): Likewise.
28763 [IS_IN (libpthread)] (CDISABLE): Likewise.
28764 [IS_IN (libc)] (CENABLE): Likewise.
28765 [IS_IN (libc)] (CENABLE): Likewise.
28766 [IS_IN (librt)] (CDISABLE): Likewise.
28767 [IS_IN (librt)] (CDISABLE): Likewise.
28768 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
28771 (PSEUDO_END): Likewise.
28772 [IS_IN (libpthread)] (CENABLE): Likewise.
28773 [IS_IN (libpthread)] (CDISABLE): Likewise.
28774 [IS_IN (libc)] (CENABLE): Likewise.
28775 [IS_IN (libc)] (CENABLE): Likewise.
28776 [IS_IN (librt)] (CDISABLE): Likewise.
28777 [IS_IN (librt)] (CDISABLE): Likewise.
28778 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28780 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28782 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28784 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28786 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28788 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28791 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28792 middle and outer with size_t instead of int. Repleace %d and
28793 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28794 "MAX (outer, nchars - 64)" to support unsigned outer and
28795 nchars. Also exit loop when outer == 0.
28797 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28799 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28800 * include/signal.h (__sigsuspend_nocancel): Likewise.
28801 * include/time.h (__nanosleep_nocancel): Likewise.
28802 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28803 * login/utmp_file.c: Include non cancellable syscall header.
28804 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28807 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28809 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28810 .byte sequences with AVX512F instructions.
28811 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28812 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28813 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28816 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28819 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28820 Steve Ellcey <sellcey@cavium.com>
28822 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28823 Use PTR_REG macro in cmp instruction.
28825 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28827 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28828 Change the return type of the ifunc resolver to match the return
28829 type of the target function.
28831 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28834 (preadv64): Likewise.
28835 (pwrite64(: Likewise.
28836 (pwritev64): Likewise.
28838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28839 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28840 (LOAD_ARGS_0): Likewise.
28841 (LOAD_ARGS_1): Likewise.
28842 (LOAD_ARGS_2): Likewise.
28843 (LOAD_ARGS_3): Likewise.
28844 (LOAD_ARGS_4): Likewise.
28845 (LOAD_ARGS_5): Likewise.
28846 (LOAD_ARGS_6): Likewise.
28847 (LOAD_REGS_0): Likewise.
28848 (LOAD_REGS_1): Likewise.
28849 (LOAD_REGS_2): Likewise.
28850 (LOAD_REGS_3): Likewise.
28851 (LOAD_REGS_4): Likewise.
28852 (LOAD_REGS_5): Likewise.
28853 (LOAD_REGS_6): Likewise.
28854 (ASM_ARGS_0): Likewise.
28855 (ASM_ARGS_1): Likewise.
28856 (ASM_ARGS_2): Likewise.
28857 (ASM_ARGS_3): Likewise.
28858 (ASM_ARGS_4): Likewise.
28859 (ASM_ARGS_5): Likewise.
28860 (ASM_ARGS_6): Likewise.
28861 (LOAD_ARGS_TYPES_1): Likewise.
28862 (LOAD_ARGS_TYPES_2): Likewise.
28863 (LOAD_ARGS_TYPES_3): Likewise.
28864 (LOAD_ARGS_TYPES_4): Likewise.
28865 (LOAD_ARGS_TYPES_5): Likewise.
28866 (LOAD_ARGS_TYPES_6): Likewise.
28867 (LOAD_REGS_TYPES_1): Likewise.
28868 (LOAD_REGS_TYPES_2): Likewise.
28869 (LOAD_REGS_TYPES_3): Likewise.
28870 (LOAD_REGS_TYPES_4): Likewise.
28871 (LOAD_REGS_TYPES_5): Likewise.
28872 (LOAD_REGS_TYPES_6): Likewise.
28873 (TYPEFY): New define.
28874 (ARGIFY): Likewise.
28875 (internal_syscall0): Likewise.
28876 (internal_syscall1): Likewise.
28877 (internal_syscall2): Likewise.
28878 (internal_syscall3): Likewise.
28879 (internal_syscall4): Likewise.
28880 (internal_syscall5): Likewise.
28881 (internal_syscall6): Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28883 (INTERNAL_SYSCALL_NCS): Remove define.
28884 (internal_syscall1): Add define.
28886 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28888 * math/w_remainder_compat.c: Remove duplicate inclusion of
28889 math-svid-compat.h.
28890 * math/w_remainderf_compat.c: Likewise.
28891 * math/w_remainderl_compat.c: Likewise.
28893 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28897 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28900 * math/tgmath.h (__floating_type): Simplify definitions.
28901 (__real_integer_type): New macro.
28902 (__complex_integer_type): Likewise.
28903 (__expr_is_real): Likewise.
28904 (__tgmath_real_type_sub): Update comment to describe handling of
28906 (__tgmath_complex_type_sub): New macro.
28907 (__tgmath_complex_type): Likewise.
28908 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28909 (__TGMATH_CF128): Use __expr_is_real.
28910 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28912 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28913 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28914 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28917 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28919 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28921 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28923 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28926 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28927 nanosleep_not_cancel with __nanosleep_nocancel.
28928 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28929 (__nanosleep_nocancel): New macro.
28930 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28932 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28934 (__nanosleep_nocancel): New prototype.
28936 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28937 pause_not_cancel with __pause_nocancel.
28938 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28939 (__pause_nocancel): New macro.
28940 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28942 (__pause_nocancel): New prototype.
28943 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28945 2017-08-22 Martin Sebor <msebor@redhat.com>
28947 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28948 to return a pointer to the same type as the target function.
28950 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28954 * include/printf.h (__printf_fphex): Add attribute_hidden.
28955 (__guess_grouping): New prototype.
28956 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28957 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28958 libc_hidden_proto and libc_hidden_def.
28959 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28960 (__vstrfmon_l): Remove the third argument passed to
28963 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28965 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28966 definition for issignaling that does not rely on __MATH_TG,
28967 since __MATH_TG uses __builtin_types_compatible_p, which is only
28968 available in C mode.
28969 (CFLAGS-test-math-issignaling.cc): New variable.
28970 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28971 * math/test-math-issignaling.cc: New test for C++ implementation
28972 of type-generic issignaling.
28973 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28974 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28975 options of test-math-issignaling on powerpc64le.
28977 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28979 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28981 (hidden_proto): Likewise.
28982 (hidden_tls_proto): Likewise.
28983 (__hidden_proto): Likewise.
28985 2017-08-22 Florian Weimer <fweimer@redhat.com>
28987 math: Statically link tests of internal functionality.
28988 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28990 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28991 (gmp-objs): Remove assignment.
28992 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28994 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28997 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28999 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29001 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29004 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29005 variable definitions above inclusion of ../Rules.
29007 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29009 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29010 case calling __builtin_unreachable.
29012 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29014 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29015 __waitpid_nocancel.
29016 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29017 (__waitpid_nocancel): New macro.
29018 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29020 (__waitpid_nocancel): Replace macro with a function.
29021 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29024 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29026 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29027 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29029 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29030 __writev_nocancel_nostatus.
29031 (write_call_graph): Likewise.
29032 (write_bb_counts): Likewise.
29033 * resolv/herror.c (herror): Likewise.
29034 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29036 (__writev_nocancel_nostatus): New macro.
29037 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29039 (__writev_nocancel_nostatus): New function.
29041 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29044 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29046 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29048 (hidden_proto): Likewise.
29049 (hidden_tls_proto): Likewise.
29050 (__hidden_proto): Likewise.
29053 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29054 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29064 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29065 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29066 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29067 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29068 GLIBC_2.0 sqrtl symbol.
29070 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29071 [__USE_MISC] (_LIB_VERSION): Likewise.
29072 [__USE_MISC] (struct exception): Likewise.
29073 [__USE_MISC] (matherr): Likewise.
29074 [__USE_MISC] (DOMAIN): Likewise.
29075 [__USE_MISC] (SING): Likewise.
29076 [__USE_MISC] (OVERFLOW): Likewise.
29077 [__USE_MISC] (UNDERFLOW): Likewise.
29078 [__USE_MISC] (TLOSS): Likewise.
29079 [__USE_MISC] (PLOSS): Likewise.
29080 [__USE_MISC] (HUGE): Likewise.
29081 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29082 * math/math-svid-compat.h: New file.
29083 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29085 * include/math.h [!_ISOMAC] (__matherr): Remove.
29086 * manual/arith.texi (FP Exceptions): Do not document matherr.
29087 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29088 (tests-internal): New variable.
29089 (install-lib): Do not add libieee.a.
29090 (non-lib.a): Likewise.
29091 (extra-objs): Do not add libieee.a and ieee-math.o.
29092 (CPPFLAGS-s_lib_version.c): Remove variable.
29093 ($(objpfx)libieee.a): Remove rule.
29094 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29095 * math/ieee-math.c: Remove.
29096 * math/libm-test-support.c (matherr): Remove.
29097 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29098 and license notices. Include <math-svid-compat.h> and
29100 (matherr): Undefine as macro. Use compat_symbol_reference.
29101 (_LIB_VERSION): Likewise.
29102 * math/test-matherr-2.c: New file.
29103 * math/test-matherr-3.c: Likewise.
29104 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29106 (__kernel_standard_f): Likewise.
29107 (__kernel_standard_l): Likewise.
29108 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29109 <math_private.h>. Include <math-svid-compat.h>.
29110 (_LIB_VERSION): Undefine as macro.
29111 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29112 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29113 [LIBM_SVID_COMPAT], use compat_symbol.
29114 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29115 <math_private.h>. Include <math-svid-compat.h>.
29116 (matherr): Undefine as macro.
29117 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29119 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29120 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29121 compat_symbol_reference.
29122 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29123 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29124 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29125 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29126 (MATHERR_D): Remove declaration.
29127 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29128 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29129 [LIBM_BUILD] (pmatherrf): Likewise.
29130 [LIBM_BUILD] (pmatherr): Likewise.
29131 [LIBM_BUILD] (pmatherrl): Likewise.
29132 (DOMAIN): Likewise.
29134 (OVERFLOW): Likewise.
29135 (UNDERFLOW): Likewise.
29138 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29139 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29141 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29142 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29144 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29145 * math/w_acos_compat.c: Likewise.
29146 * math/w_acosf_compat.c: Likewise.
29147 * math/w_acosh_compat.c: Likewise.
29148 * math/w_acoshf_compat.c: Likewise.
29149 * math/w_acoshl_compat.c: Likewise.
29150 * math/w_acosl_compat.c: Likewise.
29151 * math/w_asin_compat.c: Likewise.
29152 * math/w_asinf_compat.c: Likewise.
29153 * math/w_asinl_compat.c: Likewise.
29154 * math/w_atan2_compat.c: Likewise.
29155 * math/w_atan2f_compat.c: Likewise.
29156 * math/w_atan2l_compat.c: Likewise.
29157 * math/w_atanh_compat.c: Likewise.
29158 * math/w_atanhf_compat.c: Likewise.
29159 * math/w_atanhl_compat.c: Likewise.
29160 * math/w_cosh_compat.c: Likewise.
29161 * math/w_coshf_compat.c: Likewise.
29162 * math/w_coshl_compat.c: Likewise.
29163 * math/w_exp10_compat.c: Likewise.
29164 * math/w_exp10f_compat.c: Likewise.
29165 * math/w_exp10l_compat.c: Likewise.
29166 * math/w_exp2_compat.c: Likewise.
29167 * math/w_exp2f_compat.c: Likewise.
29168 * math/w_exp2l_compat.c: Likewise.
29169 * math/w_fmod_compat.c: Likewise.
29170 * math/w_fmodf_compat.c: Likewise.
29171 * math/w_fmodl_compat.c: Likewise.
29172 * math/w_hypot_compat.c: Likewise.
29173 * math/w_hypotf_compat.c: Likewise.
29174 * math/w_hypotl_compat.c: Likewise.
29175 * math/w_j0_compat.c: Likewise.
29176 * math/w_j0f_compat.c: Likewise.
29177 * math/w_j0l_compat.c: Likewise.
29178 * math/w_j1_compat.c: Likewise.
29179 * math/w_j1f_compat.c: Likewise.
29180 * math/w_j1l_compat.c: Likewise.
29181 * math/w_jn_compat.c: Likewise.
29182 * math/w_jnf_compat.c: Likewise.
29183 * math/w_jnl_compat.c: Likewise.
29184 * math/w_lgamma_main.c: Likewise.
29185 * math/w_lgamma_r_compat.c: Likewise.
29186 * math/w_lgammaf_main.c: Likewise.
29187 * math/w_lgammaf_r_compat.c: Likewise.
29188 * math/w_lgammal_main.c: Likewise.
29189 * math/w_lgammal_r_compat.c: Likewise.
29190 * math/w_log10_compat.c: Likewise.
29191 * math/w_log10f_compat.c: Likewise.
29192 * math/w_log10l_compat.c: Likewise.
29193 * math/w_log2_compat.c: Likewise.
29194 * math/w_log2f_compat.c: Likewise.
29195 * math/w_log2l_compat.c: Likewise.
29196 * math/w_log_compat.c: Likewise.
29197 * math/w_logf_compat.c: Likewise.
29198 * math/w_logl_compat.c: Likewise.
29199 * math/w_pow_compat.c: Likewise.
29200 * math/w_powf_compat.c: Likewise.
29201 * math/w_powl_compat.c: Likewise.
29202 * math/w_remainder_compat.c: Likewise.
29203 * math/w_remainderf_compat.c: Likewise.
29204 * math/w_remainderl_compat.c: Likewise.
29205 * math/w_scalb_compat.c: Likewise.
29206 * math/w_scalbf_compat.c: Likewise.
29207 * math/w_scalbl_compat.c: Likewise.
29208 * math/w_sinh_compat.c: Likewise.
29209 * math/w_sinhf_compat.c: Likewise.
29210 * math/w_sinhl_compat.c: Likewise.
29211 * math/w_sqrt_compat.c: Likewise.
29212 * math/w_sqrtf_compat.c: Likewise.
29213 * math/w_sqrtl_compat.c: Likewise.
29214 * math/w_tgamma_compat.c: Likewise.
29215 * math/w_tgammaf_compat.c: Likewise.
29216 * math/w_tgammal_compat.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29218 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29219 * sysdeps/ieee754/k_standard.c: Likewise.
29220 * sysdeps/ieee754/k_standardf.c: Likewise.
29221 * sysdeps/ieee754/k_standardl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29224 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29227 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29228 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29229 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29230 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29236 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29237 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29238 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29240 2017-08-21 Florian Weimer <fweimer@redhat.com>
29243 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29244 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29245 Move before inclusion of ../Rules.
29247 2017-08-21 Florian Weimer <fweimer@redhat.com>
29250 * assert/assert.h (assert): Use static_cast (bool) for C++.
29251 Use the ternary operator in the warning branch for GNU C.
29252 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29253 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29254 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29255 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29256 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29258 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29261 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29262 (__syscall_clock_gettime): Add attribute_hidden.
29263 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29264 (__start_context): Likewise.
29266 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29268 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29270 (hidden_proto): Likewise.
29271 (hidden_tls_proto): Likewise.
29272 (__hidden_proto): Likewise.
29274 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29276 * include/libc-symbols.h (attribute_hidden): Enable hidden
29277 visibility in libc.a compiled with PIE.
29279 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29282 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29283 Add attribute_hidden.
29285 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29288 * Makerules (all-nonlib): Add $(others-extras).
29289 * catgets/Makefile (others-extras): New.
29290 * elf/Makefile (others-extras): Likewise.
29291 * nss/Makefile (others-extras): Likewise.
29293 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29296 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29297 * elf/dl-open.c: Include <libc-internal.h>.
29298 (__libc_multiple_libcs): Removed.
29299 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29301 * include/libc-internal.h (__libc_multiple_libcs): New.
29302 * misc/sbrk.c: Include <libc-internal.h>.
29303 (__libc_multiple_libcs): Removed.
29305 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29308 * grp/initgroups.c (__nss_group_database): Removed.
29309 (__nss_initgroups_database): Likewise.
29310 * nscd/gai.c (__nss_hosts_database): Likewise.
29311 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29312 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29313 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29314 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29315 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29316 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29318 * nss/nsswitch.c (__nss_database_custom): Define only if
29319 USE_NSCD is defined.
29320 (__nss_configure_lookup): Use __nss_database_custom only if
29321 USE_NSCD is defined.
29322 * nss/nsswitch.h (__nss_database_custom): Declare only if
29323 USE_NSCD is defined. Add attribute_hidden.
29324 (__nss_setent): Add attribute_hidden.
29325 (__nss_endent): Likewise.
29326 (__nss_getent_r): Likewise.
29327 (__nss_getent): Likewise.
29328 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29330 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29333 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29334 libc_hidden_proto and libc_hidden_def.
29336 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29339 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29340 Add libc_hidden_proto.
29341 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29342 Add libc_hidden_def.
29344 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29347 * gmon/Makefile (routines): Remove bb_init_func and
29349 (elide-routines.os): Removed.
29350 * gmon/bb_exit_func.c: Likewise.
29351 * gmon/bb_init_func.c: Likewise.
29352 * include/sys/gmon.h (__bb): Likewise.
29353 (__bb_init_func): Likewise.
29354 (__bb_exit_func): Likewise.
29355 * sysdeps/alpha/bb_init_func.S: Likewise.
29357 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29359 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29360 * include/setjmp.h (____longjmp_chk): Here. Add
29363 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29366 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29368 (__strspn_sse2): Likewise.
29370 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29372 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29373 (close_not_cancel_no_status): Likewise.
29374 (__close_nocancel): New macro.
29375 (__close_nocancel_nostatus): Likewise.
29376 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29378 (close_not_cancel): Likewise.
29379 (close_not_cancel_no_status): Likewise.
29380 (__close_nocancel): New prototype.
29381 (__close_nocancel_nostatus): New function.
29382 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29383 * catgets/open_catalog.c (__open_catalog): Replace
29384 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29385 * gmon/gmon.c (write_gmon): Likewise.
29386 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29387 * intl/loadmsgcat.c (close): Likewise.
29388 * io/ftw.c (open_dir_stream): Likewise.
29389 (ftw_startup): Likewise.
29390 * libio/fileops.c (_IO_file_open): Likewise.
29391 (_IO_file_close_mmap): Likewise.
29392 (_IO_file_close): Likewise.
29393 * libio/iopopen.c (_IO_dup2): Likewise.
29394 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29395 * locale/loadlocale.c (_nl_load_locale): Likewise.
29396 * login/utmp_file.c (pututline_file): Likewise.
29397 (endutent_file): Likewise.
29398 * misc/daemon.c (daemon): Likewise.
29399 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29400 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29401 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29402 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29404 * nscd/nscd_helper.c (open_socket): Likewise.
29405 (__nscd_open_socket): Likewise.
29406 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29407 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29408 (__nscd_innetgr): Likewise.
29409 * nss/nss_db/db-open.c (internal_setent): Likewise.
29410 * resolv/res-close.c (__res_iclose): Likewise.
29411 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29412 * sysdeps/posix/closedir.c (__closedir): Likewise.
29413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29414 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29415 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29416 (opendir_tail): Likewise.
29417 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29418 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29419 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29420 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29421 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29422 (gethostid): Likewise.
29423 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29427 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29428 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29429 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29431 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29432 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29433 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29435 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29436 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29438 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29440 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29441 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29442 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29445 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29446 (openat_not_cancel_3): Likewise.
29447 (openat64_not_cancel_3): Likewise).
29448 (openat_not_cancel_3): Likewise).
29449 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29451 (openat_not_cancel_3): Likewise.
29452 (openat64_not_cancel): Likewise.
29453 (openat64_not_cancel_3): Likewise.
29454 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29455 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29456 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29457 __open{64}_nocancel.
29458 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29459 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29460 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29462 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29465 * include/argz.h (__argz_create_sep): New function prototype.
29466 (__argz_append): Likewise.
29467 (__argz_add): Likewise.
29468 (__argz_add_sep): Likewise.
29469 (__argz_delete): Likewise.
29470 (__argz_insert): Likewise.
29471 (__argz_replace): Likewise.
29472 * string/argz.h (__argz_create_sep): Removed.
29473 (__argz_append): Likewise.
29474 (__argz_add): Likewise.
29475 (__argz_add_sep): Likewise.
29476 (__argz_delete): Likewise.
29477 (__argz_insert): Likewise.
29478 (__argz_replace): Likewise.
29480 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29482 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29483 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29484 (GNU_PROPERTY_STACK_SIZE): Likewie.
29485 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29486 (GNU_PROPERTY_LOPROC): Likewise.
29487 (GNU_PROPERTY_HIPROC): Likewise.
29488 (GNU_PROPERTY_LOUSER): Likewise.
29489 (GNU_PROPERTY_HIUSER): Likewise.
29490 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29491 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29492 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29493 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29494 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29495 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29496 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29497 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29498 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29499 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29500 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29501 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29502 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29503 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29504 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29505 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29506 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29507 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29508 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29509 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29510 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29511 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29512 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29514 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29516 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29519 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29522 * math/math.h (isinf): Check if in C or C++ mode before using
29523 __builtin_types_compatible_p, since this is a C mode feature.
29525 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29527 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29528 (__write_nocancel): New macro.
29529 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29530 Rewrite as a function prototype.
29531 (write_not_cancel): Remove macro.
29532 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29533 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29534 (write_gmon): Likewise.
29535 * libio/fileops.c (_IO_new_file_write): Likewise.
29536 * login/utmp_file.c (pututline_file): Likewise.
29537 (updwtmp_file): Likewise.
29538 * stdio-common/psiginfo.c (psiginfo): Likewise.
29539 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29540 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29541 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29543 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29546 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29547 (__read_nocancel): New macro.
29548 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29550 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29552 (__read_nocancel): New prototype.
29553 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29554 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29555 with __read_nocancel.
29556 * intl/loadmsgcat.c (read): Likewise.
29557 * libio/fileops.c (_IO_file_read): Likewise.
29558 * locale/loadlocale.c (_nl_load_locale): Likewise.
29559 * login/utmp_file.c (getutent_r_file): Likewise.
29560 (internal_getut_r): Likewise.
29561 (getutline_r_file): Likewise.
29562 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29563 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29564 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29567 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29568 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29569 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29571 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29573 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29575 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29579 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29582 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29583 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29586 2017-08-17 DJ Delorie <dj@redhat.com>
29588 * bug17079.c: Update to new test harness.
29589 * test-digits-dots.c: Likewise.
29590 * test-netdb.c: Likewise.
29591 * tst-field.c: Likewise.
29592 * tst-nss-getpwent.c: Likewise.
29593 * tst-nss-static.c: Likewise.
29594 * tst-nss-test1.c: Likewise.
29595 * tst-nss-test2.c: Likewise.
29596 * tst-nss-test3.c: Likewise.
29597 * tst-nss-test4.c: Likewise.
29598 * tst-nss-test5.c: Likewise.
29600 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29602 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29603 (open_not_cancel_2): Likewise.
29604 (open_nocancel): New macro.
29605 (open64_nocancel): Likewise.
29606 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29607 (open_not_cancel_2): Likewise.
29608 (__open_nocancel): New prototype.
29609 (__open64_nocancel): Likewise.
29610 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29612 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29613 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29614 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29615 with __open_nocancel.
29616 * csu/check_fds.c (check_one_fd): Likewise.
29617 * gmon/gmon.c (write_gmon): Likewise.
29618 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29619 * intl/loadmsgcat.c (open): Likewise.
29620 * libio/fileops.c (_IO_file_open): Likewise.
29621 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29622 * locale/loadlocale.c (_nl_load_locale): Likewise.
29623 * login/utmp_file.c (setutent_file): Likewise.
29624 * misc/daemon.c (daemon): Likewise.
29625 * nss/nss_db/db-open.c (internal_setent): Likewise.
29626 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29627 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29628 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29629 (__opendir): Likewise.
29630 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29631 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29632 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29633 (gethostid): Likewise.
29634 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29638 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29639 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29640 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29642 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29644 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29646 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29648 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29650 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29652 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29653 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29655 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29657 * benchtests/bench-skeleton.c (main): Add support for
29658 latency benchmarking.
29659 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29661 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29663 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29664 the startup object.
29666 2017-08-17 Florian Weimer <fweimer@redhat.com>
29668 * include/sys/socket.h (__opensock): Remove internal_function.
29669 * socket/opensock.c (__opensock): Likewise.
29670 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29672 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29675 * signal/bits/types/__sigval_t.h: New file.
29676 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29677 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29678 and define sigval_t using __sigval_t.
29679 * include/bits/types/__sigval_t.h: New file.
29680 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29681 instead of <bits/types/__sigval_t.h>.
29682 (struct sigevent): Use __sigval_t instead of sigval_t.
29683 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29684 instead of <bits/types/__sigval_t.h>.
29685 (siginfo_t): Use __sigval_t instead of sigval_t.
29686 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29687 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29688 (struct sigevent): Use __sigval_t instead of sigval_t.
29689 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29690 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29691 (siginfo_t): Use __sigval_t instead of sigval_t.
29692 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29694 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29696 * NEWS: Remove "[Add new features here]" for 2.27.
29698 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29700 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29703 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29705 * NEWS: Mention x86-64 FMA optimization.
29707 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29710 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29712 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29713 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29714 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29716 2017-08-16 Andreas Schwab <schwab@suse.de>
29720 * elf/ldd.bash.in: Never run file directly.
29722 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29725 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29726 (L(SP_INF_0)): Likewise.
29728 2017-08-15 Florian Weimer <fweimer@redhat.com>
29730 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29733 2017-08-15 Florian Weimer <fweimer@redhat.com>
29735 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29736 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29737 BROKEN_THREAD_SIGNALS code.
29738 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29739 request_list): Remove caller_pid member used for
29740 BROKEN_THREAD_SIGNALS.
29741 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29742 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29743 Remove BROKEN_THREAD_SIGNALS support.
29744 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29745 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29747 2017-08-15 Florian Weimer <fweimer@redhat.com>
29749 * gmon/Makefile (tests): Add tst-gmon.
29750 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29752 (tests-special): Add tst-gmon-prof.out.
29753 (tst-gmon.out): Depend on clean-tst-gmon-data.
29754 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29755 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29756 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29758 * aclocal.m4 (GPROF): Set and substitute.
29759 * config.amke.in (GPROF): Set.
29760 * configure: Regenerate.
29762 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29764 * elf/elf.h A (NT_PPC_TAR): New macro.
29765 (NT_PPC_PPR): Likewise.
29766 (NT_PPC_DSCR): Likewise.
29767 (NT_PPC_EBB): Likewise.
29768 (NT_PPC_PMU): Likewise.
29769 (NT_PPC_TM_CGPR): Likewise.
29770 (NT_PPC_TM_CFPR): Likewise.
29771 (NT_PPC_TM_CVMX): Likewise.
29772 (NT_PPC_TM_CVSX): Likewise.
29773 (NT_PPC_TM_SPR): Likewise.
29774 (NT_PPC_TM_CTAR): Likewise.
29775 (NT_PPC_TM_CPPR): Likewise.
29776 (NT_PPC_TM_CDSCR): Likewise.
29778 2017-08-15 Florian Weimer <fweimer@redhat.com>
29780 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29781 regparm (2) instead of internal_function.
29782 (_MCOUNT_DECL): Adjust.
29784 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29786 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29787 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29789 2017-08-14 Joseph Myers <joseph@codesourcery.com>
29791 * conform/data/sys/wait.h-data (si_value): Do not expect for
29794 2017-08-14 Florian Weimer <fweimer@redhat.com>
29797 NSS: Create stubs for accidentally exported lookup functions.
29798 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29799 Remove declaration.
29800 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29801 (ether_hostton): Call __nss_ethers_lookup2 instead.
29802 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29803 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29804 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29805 (setup): Call __nss_netgroup_lookup2 instead.
29806 * nss/Makefile (routines): Add compat-lookup.
29807 * nss/Versions (GLIBC_2.27): Add symbol version.
29808 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29809 (DB_COMPAT_FCT): Remove.
29810 * nss/compat-lookup.c: New file.
29811 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29812 from databases.def.
29813 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29814 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29815 (netname2user): Call __nss_publickey_lookup2 instead.
29816 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29817 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29820 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29821 Sergei Trofimovich <slyfox@inbox.ru>
29824 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29825 Rename to MMAP2_PAGE_UNIT.
29826 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29827 __OFF_T_MATCHES_OFF64_T is not defined.
29828 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29830 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29831 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29833 2017-08-14 Florian Weimer <fweimer@redhat.com>
29835 i386: Do not set internal_function.
29836 * config.h.in (USE_REGPARMS, internal_function): Remove.
29837 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29838 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29840 2017-08-14 Florian Weimer <fweimer@redhat.com>
29842 * elf/dl-init.c (_dl_init): Remove internal_function.
29843 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29844 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29846 2017-08-14 Florian Weimer <fweimer@redhat.com>
29848 * elf/rtld.c (_dl_start): Remove internal_function.
29849 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29852 2017-08-14 Florian Weimer <fweimer@redhat.com>
29854 * elf/dl-fini.c (_dl_fini): Remove internal_function
29855 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29857 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29859 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
29860 (bit_cpu_SHSTK): Likewise.
29861 (index_cpu_IBT): Likewise.
29862 (index_cpu_SHSTK): Likewise.
29863 (reg_IBT): Likewise.
29864 (reg_SHSTK): Likewise.
29865 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29866 Handle index_cpu_IBT and index_cpu_SHSTK.
29868 2017-08-14 Mike FABIAN <mfabian@redhat.com>
29871 * po/fr.po: Fix spelling mistake.
29873 2017-08-13 Florian Weimer <fweimer@redhat.com>
29875 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29876 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29877 (_dl_catch_error, _dl_receive_error): Likewise.
29878 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29879 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29880 (_dl_deallocate_tls): Likewise.
29881 * include/dlfcn.h (_dl_addr): Likewise.
29882 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29883 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29884 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29887 2017-08-13 Florian Weimer <fweimer@redhat.com>
29889 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29890 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29892 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29894 2017-08-13 Florian Weimer <fweimer@redhat.com>
29896 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29898 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29899 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29900 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29901 internal_function from _dl_make_stack_executable_hook member.
29902 (_dl_make_stack_executable): Remove internal_function.
29903 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29905 * sysdeps/unix/sysv/linux/dl-execstack.c
29906 (_dl_make_stack_executable): Likewise.
29908 2017-08-13 Florian Weimer <fweimer@redhat.com>
29910 * sysdeps/unix/sysv/linux/netlinkaccess.h
29911 (__netlink_assert_response): Remove internal_function.
29912 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29913 (__netlink_assert_response): Likewise.
29915 2017-08-13 Florian Weimer <fweimer@redhat.com>
29917 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29919 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29921 2017-08-13 Florian Weimer <fweimer@redhat.com>
29923 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29925 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29926 * inet/netgroup.h (__internal_setnetgrent)
29927 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29928 * inet/getnetgrent_r.c (__internal_setnetgrent)
29929 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29930 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29931 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29932 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29933 * nss/nsswitch.h (db_lookup_function): Likewise.
29935 2017-08-13 Florian Weimer <fweimer@redhat.com>
29937 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29938 Remove internal_function.
29939 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29940 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29941 message argument on the stack.
29942 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29945 2017-08-12 Mike FABIAN <mfabian@redhat.com>
29947 Adapt test case data to the changes in the thousands
29951 * localedata/tst-langinfo.sh: Adapt test case data.
29952 * stdlib/tst-strfmon_l.c: Likewise.
29953 * stdlib/tst-strtod4.c: Likewise.
29954 * stdlib/tst-strtod5i.c: Likewise.
29956 2017-08-11 Florian Weimer <fweimer@redhat.com>
29959 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29960 Suppress pedantic warning resulting from statement expression.
29961 (__ASSERT_FUNCTION): Add missing __extension__.
29963 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29965 * benchtests/bench-memmove-large.c: Print output in JSON
29967 * benchtests/bench-memmove.c: Likewise.
29969 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29970 * benchtests/bench-memchr.c (do_one_test): Likewise.
29971 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29972 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29973 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29974 * benchtests/bench-memmove.c (do_one_test): Likewise.
29975 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29976 * benchtests/bench-memset.c (do_one_test): Likewise.
29977 * benchtests/bench-string.h (test_init): Remove memsets.
29979 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29982 (Computing the Width of an Integer Data Type): Rename section to
29983 "Width of an Integer Type". Remove inaccurate statement regarding
29984 lack of C language facilities for determining width of integer
29985 types, and reorder content to improve flow and context of
29988 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29990 * lang.texi (va_copy): Change standard from ISO to C99.
29991 (__va_copy): Add standard and header annotation.
29992 Update description for clarity of origins and current use.
29994 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29997 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29998 xssqrtqp requires operands to be in Vector Registers
29999 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30000 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30001 (__ieee754_sqrtf128): Likewise.
30003 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30005 * sysdeps/aarch64/memcmp.S (memcmp):
30006 Rewrite of optimized memcmp.
30008 2017-08-10 Florian Weimer <fweimer@redhat.com>
30010 Introduce ld.so exceptions.
30011 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30012 (_dl_exception_create, _dl_exception_create_format)
30013 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30014 (_dl_catch_exception): Declare.
30015 (_dl_catch_error): Update comment.
30016 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30017 errstring, malloced members with exception member.
30018 (_dl_out_of_memory): Remove.
30019 (fatal_error): New function, extracted from _dl_signal_error.
30020 (_dl_signal_exception, _dl_signal_cexception): New functions.
30021 (_dl_signal_error): Call _dl_exception_create to allocate an
30023 (_dl_catch_exception): New function, based on _dl_catch_error.
30024 (_dl_catch_error): Implement using _dl_catch_exception.
30025 * elf/dl-exception.c: New file.
30026 * elf/Makefile (dl-routines): Add dl-exception.
30027 (elide-routines.os): Likewise.
30028 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30029 _dl_exception_create_format, _dl_exception_free.
30030 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30031 _dl_signal_exception.
30032 * elf/dl-lookup.c (make_string): Remove.
30033 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30034 _dl_signal_cexception, _dl_exception_free.
30035 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30036 _dl_signal_exception.
30037 * elf/dl-sym.c (do_sym): Likewise.
30038 * elf/dl-version.c (make_string): Remove.
30039 (match_symbol): Use _dl_exception_create_format,
30040 _dl_signal_cexception, _dl_exception_free.
30041 (_dl_check_map_versions): Likewise.
30042 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30043 _dl_catch_exception.
30044 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30045 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30046 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30047 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30048 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30049 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30050 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30051 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30053 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30060 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30061 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30062 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30064 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30066 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30068 2017-08-10 Florian Weimer <fweimer@redhat.com>
30070 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30071 attribute_hidden, internal_function.
30072 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30075 2017-08-10 Florian Weimer <fweimer@redhat.com>
30077 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30078 function which calls __builtin_unreachable.
30080 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30082 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30083 Indian monetary formatting
30084 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30087 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30089 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30090 Fix typo in comment.
30093 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30094 PTRACE_SEIZE_DEVEL): Remove.
30095 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30099 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30101 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30103 * posix/bits/types.h (__qaddr_t): Remove.
30106 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30107 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30109 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30110 (ucontext_t): Use __ctx with uc_flags.
30111 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30112 (__ctxt): Likewise.
30113 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30115 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30116 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30118 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30119 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30121 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30123 (ucontext_t): Use __ctx with uc_flags.
30124 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30125 (ucontext_t): Use __ctx with uc_flags.
30126 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30127 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30128 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30129 (ucontext_t): Use __ctx with uc_flags.
30130 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30131 undefine further down.
30132 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30134 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30135 undefine further down.
30136 (ucontext_t): Use __ctx with uc_flags.
30137 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30138 undefine further down.
30139 (ucontext_t): Use __ctx with uc_flags.
30140 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30141 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30142 Rename uc_pad to __glibc_reserved1.
30143 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30144 undefine further down.
30145 (ucontext_t): Use __ctx with uc_flags.
30146 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30148 (ucontext_t): Use __ctx with uc_flags.
30149 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30150 __ctx with uc_flags.
30151 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30152 (ucontext_t): Use __ctx with uc_flags.
30153 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30154 __ctx with uc_flags.
30156 2017-08-09 Florian Weimer <fweimer@redhat.com>
30159 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30160 before early return.
30162 2017-08-09 Andreas Schwab <schwab@suse.de>
30165 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30169 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30170 tst-compat-forwarder.
30171 (modules-names): Add tst-compat-forwarder-mod.
30172 ($(objpfx)tst-compat-forwarder): Depend on
30173 $(objpfx)tst-compat-forwarder-mod.so.
30174 * nptl/tst-compat-forwarder.c: New file.
30175 * nptl/tst-compat-forwarder-mod.c: New file.
30177 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30179 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30182 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30183 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30185 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30187 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30188 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30189 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30190 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30192 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30195 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30198 * manual/setjmp.texi (getcontex): Document uc_stack value
30199 compatibility differences.
30201 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30203 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30204 (old_malloc_hook): Likewise.
30205 (old_memalign_hook): Likewise.
30206 (old_realloc_hook): Likewise.
30207 (struct hdr): Likewise.
30209 (freehook): Likewise.
30210 (mallochook): Likewise.
30211 (memalignhook): Likewise.
30212 (reallochook): Likewise.
30213 (mprobe): Likewise.
30214 * malloc/mtrace.c (mallwatch): Likewise.
30215 (tr_old_free_hook): Likewise.
30216 (tr_old_malloc_hook): Likewise.
30217 (tr_old_realloc_hook): Likewise.
30218 (tr_old_memalign_hook): Likewise.
30219 (tr_where): Likewise.
30220 (lock_and_info): Likewise.
30221 (tr_freehook): Likewise.
30222 (tr_mallochook): Likewise.
30223 (tr_reallochook): Likewise.
30224 (tr_memalignhook): Likewise.
30225 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30226 * misc/mmap.c (__mmap): Likewise.
30227 * misc/mmap64.c (__mmap64): Likewise.
30228 * misc/mprotect.c (__mprotect): Likewise.
30229 * misc/msync.c (msync): Likewise.
30230 * misc/munmap.c (__munmap): Likewise.
30231 * posix/posix_madvise.c (posix_madvise): Likewise.
30232 * socket/send.c (__send): Likewise.
30233 * socket/sendto.c (__sendto): Likewise.
30234 * socket/setsockopt.c (__setsockopt): Likewise.
30235 * string/memcmp.c (__ptr_t): Remove macro.
30236 (MEMCMP): Use void * instead of ptr_t.
30237 * string/memrchr.c (__ptr_t): Remove macro.
30238 (__memrchr): Use void * instead of ptr_t.
30239 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30240 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30241 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30242 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30243 * sysdeps/mach/msync.c (msync): Likewise.
30244 * sysdeps/mach/munmap.c (__munmap): Likewise.
30245 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30247 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30248 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30249 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30250 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30251 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30252 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30253 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30254 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30256 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30257 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30258 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30259 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30260 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30261 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30262 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30263 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30264 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30266 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30267 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30268 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30269 (MEMCMP): Use void * instead of ptr_t.
30270 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30271 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30273 2017-08-08 Florian Weimer <fweimer@redhat.com>
30275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30278 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30281 * csu/libc-tls.c: Include <startup.h> first.
30282 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30283 * elf/dl-tunables.c: Include <startup.h> first.
30284 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30285 * sysdeps/generic/startup.h: New file.
30286 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30287 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30288 (I386_USE_SYSENTER): New. Defined to 0.
30290 2017-08-08 Andreas Schwab <schwab@suse.de>
30293 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30294 * nptl/pt-system.c (system): Likewise.
30296 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30299 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30301 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30302 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30303 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30304 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30305 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30306 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30307 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30309 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30312 * bits/sigaction.h (struct sigaction): Define sa_handler and
30313 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30314 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30315 [__USE_XOPEN_EXTENDED].
30316 (SA_RESTART): Likewise.
30317 (SA_NODEFER): Likewise.
30318 (SA_RESETHAND): Likewise.
30319 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30320 (struct sigaction): Define sa_handler and sa_sigaction using union
30321 also for [__USE_XOPEN_EXTENDED].
30322 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30323 [__USE_XOPEN_EXTENDED].
30324 (SA_RESTART): Likewise.
30325 (SA_NODEFER): Likewise.
30326 (SA_RESETHAND): Likewise.
30327 * sysdeps/unix/sysv/linux/bits/sigaction.h
30328 (struct sigaction): Define sa_handler and sa_sigaction using union
30329 also for [__USE_XOPEN_EXTENDED].
30330 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30331 [__USE_XOPEN_EXTENDED].
30332 (SA_RESTART): Likewise.
30333 (SA_NODEFER): Likewise.
30334 (SA_RESETHAND): Likewise.
30335 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30336 (struct sigaction): Define sa_handler and sa_sigaction using union
30337 also for [__USE_XOPEN_EXTENDED].
30338 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30339 [__USE_XOPEN_EXTENDED].
30340 (SA_RESTART): Likewise.
30341 (SA_NODEFER): Likewise.
30342 (SA_RESETHAND): Likewise.
30343 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30344 (struct sigaction): Define sa_handler and sa_sigaction using union
30345 also for [__USE_XOPEN_EXTENDED].
30346 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30347 [__USE_XOPEN_EXTENDED].
30348 (SA_RESTART): Likewise.
30349 (SA_NODEFER): Likewise.
30350 (SA_RESETHAND): Likewise.
30351 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30352 (struct sigaction): Define sa_handler and sa_sigaction using union
30353 also for [__USE_XOPEN_EXTENDED].
30354 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30355 [__USE_XOPEN_EXTENDED].
30356 (SA_RESTART): Likewise.
30357 (SA_NODEFER): Likewise.
30358 (SA_RESETHAND): Likewise.
30359 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30360 (struct sigaction): Define sa_handler and sa_sigaction using union
30361 also for [__USE_XOPEN_EXTENDED].
30362 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30363 [__USE_XOPEN_EXTENDED].
30364 (SA_RESTART): Likewise.
30365 (SA_NODEFER): Likewise.
30366 (SA_RESETHAND): Likewise.
30367 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30368 (struct sigaction): Define sa_handler and sa_sigaction using union
30369 also for [__USE_XOPEN_EXTENDED].
30370 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30371 [__USE_XOPEN_EXTENDED].
30372 (SA_RESTART): Likewise.
30373 (SA_NODEFER): Likewise. Define directly rather than as alias.
30374 (SA_RESETHAND): Likewise.
30375 (SA_INTERRUPT): Define only for [__USE_MISC].
30376 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30377 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30379 (SA_STACK): Define only for [__USE_MISC].
30380 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30381 (struct sigaction): Define sa_handler and sa_sigaction using union
30382 also for [__USE_XOPEN_EXTENDED].
30383 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30384 [__USE_XOPEN_EXTENDED].
30385 (SA_RESTART): Likewise.
30386 (SA_NODEFER): Likewise.
30387 (SA_RESETHAND): Likewise.
30388 (SA_NOPTRACE): Define only for [__USE_MISC].
30390 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30391 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30392 (struct catalog_info): Likewise.
30393 * inet/htontest.c (lo): Likewise.
30395 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30396 * inet/inet_net.c (inet_network): Likewise.
30397 * inet/inet_netof.c (inet_netof): Likewise.
30398 * inet/rcmd.c (__ivaliduser): Likewise.
30399 (iruserok): Likewise.
30400 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30401 * locale/programs/locale-spec.c (locale_special): Likewise.
30402 * nis/nis_findserv.c (struct findserv_req): Likewise.
30403 (__nis_findfastest_with_timeout): Likewise.
30404 * nss/test-netdb.c (test_network): Likewise.
30405 * resolv/inet_neta.c (inet_neta): Likewise.
30406 * resolv/ns_date.c (ns_datetosecs): Likewise.
30407 (SECS_PER_DAY): Likewise.
30408 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30410 * resolv/res_comp.c (__putlong): Likewise.
30411 (__putshort): Likewise.
30412 (_getlong): Likewise.
30413 (_getshort): Likewise.
30414 * resolv/res_debug.c (p_time): Likewise.
30415 (precsize_ntoa): Likewise.
30416 (precsize_aton): Likewise.
30417 (latlon2ul): Likewise.
30418 (loc_aton): Likewise.
30419 (loc_ntoa): Likewise.
30420 * resolv/res_hconf.c (struct netaddr): Likewise.
30421 (_res_hconf_reorder_addrs): Likewise.
30422 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30423 (clnttcp_control): Likewise.
30424 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30425 (clntudp_control): Likewise.
30426 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30427 (clntunix_control): Likewise.
30428 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30429 * sunrpc/rpc/auth.h (union des_block): Likewise.
30430 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30431 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30432 (xdrrec_create): Likewise.
30433 (xdrrec_endofrecord): Likewise.
30434 (flush_out): Likewise.
30435 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30436 (xdrstdio_putlong): Likewise.
30437 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30440 * misc/sys/cdefs.h (__long_double_t): Remove.
30441 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30442 instead of __long_double_t,
30443 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30445 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30447 * benchtests/scripts/compare_strings.py: Avoid display error when
30448 running on a text terminal.
30450 * benchtests/scripts/compare_strings.py (main): Add an
30451 optional -base option.
30452 (process_results): New argument base_func.
30454 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30456 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30457 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30459 2017-08-07 Andreas Schwab <schwab@suse.de>
30461 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30462 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30463 * intl/Makefile ($(objpfx)tst-gettext.out)
30464 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30465 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30466 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30467 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30468 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30469 * posix/Makefile ($(objpfx)globtest.out)
30470 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30471 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30472 ($(objpfx)tst-printf.out): Likewise.
30473 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30474 ($(objpfx)tst-setcontext3.out): Likewise.
30476 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30478 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30479 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30480 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30481 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30482 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30484 (CFLAGS-doasin-fma.c): New.
30485 (CFLAGS-dosincos-fma.c): Likewise.
30486 (CFLAGS-e_asin-fma.c): Likewise.
30487 (CFLAGS-e_atan2-fma.c): Likewise.
30488 (CFLAGS-e_exp-fma.c): Likewise.
30489 (CFLAGS-e_log-fma.c): Likewise.
30490 (CFLAGS-e_pow-fma.c): Likewise.
30491 (CFLAGS-halfulp-fma.c): Likewise.
30492 (CFLAGS-mpa-fma.c): Likewise.
30493 (CFLAGS-mpatan-fma.c): Likewise.
30494 (CFLAGS-mpatan2-fma.c): Likewise.
30495 (CFLAGS-mpexp-fma.c): Likewise.
30496 (CFLAGS-mplog-fma.c): Likewise.
30497 (CFLAGS-mpsqrt-fma.c): Likewise.
30498 (CFLAGS-mptan-fma.c): Likewise.
30499 (CFLAGS-s_atan-fma.c): Likewise.
30500 (CFLAGS-sincos32-fma.c): Likewise.
30501 (CFLAGS-slowexp-fma.c): Likewise.
30502 (CFLAGS-slowpow-fma.c): Likewise.
30503 (CFLAGS-s_sin-fma.c): Likewise.
30504 (CFLAGS-s_tan-fma.c): Likewise.
30505 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30506 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30507 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30508 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30509 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30510 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30511 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30513 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30514 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30515 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30516 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30517 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30518 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30519 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30521 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30522 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30523 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30524 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30525 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30527 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30528 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30530 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30531 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30532 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30534 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30537 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30539 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30540 (min_of_type_f): New macro.
30541 (min_of_type_): Likewise.
30542 (min_of_type_l): Likewise.
30543 (min_of_type_f128): Likewise.
30544 (min_of_type): Define using __MATH_TG and taking an expression
30546 (math_check_force_underflow): Pass expression instead of type to
30548 (math_check_force_underflow_nonneg): Likewise.
30550 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30552 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30553 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30554 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30556 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30559 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30560 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30561 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30562 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30563 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30564 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30565 memmove_chk-nonshared and memset_chk-nonshared
30566 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30567 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30568 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30570 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30571 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30572 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30573 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30574 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30575 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30576 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30577 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30578 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30579 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30580 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30581 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30582 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30583 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30584 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30585 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30586 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30587 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30588 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30589 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30590 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30591 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30592 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30593 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30594 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30595 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30596 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30597 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30598 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30599 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30600 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30601 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30602 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30603 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30604 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30605 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30606 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30607 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30608 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30609 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30610 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30611 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30612 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30613 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30614 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30615 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30616 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30617 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30618 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30619 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30620 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30621 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30622 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30623 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30624 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30625 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30626 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30627 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30628 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30629 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30630 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30631 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30632 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30633 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30634 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30635 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30636 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30637 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30638 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30639 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30640 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30641 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30642 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30643 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30644 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30645 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30646 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30647 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30648 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30649 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30650 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30651 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30652 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30653 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30654 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30655 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30656 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30657 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30658 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30659 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30660 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30661 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30662 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30663 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30664 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30665 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30675 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30677 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30678 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30679 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30680 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30681 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30682 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30683 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30684 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30685 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30686 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30687 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30688 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30689 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30690 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30691 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30692 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30693 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30694 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30695 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30696 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30697 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30698 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30699 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30700 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30701 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30703 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30704 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30705 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30706 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30707 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30708 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30709 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30710 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30711 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30712 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30714 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30715 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30716 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30717 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30718 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30719 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30720 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30721 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30722 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30723 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30724 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30725 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30726 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30727 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30728 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30732 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30733 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30734 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30735 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30737 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30738 Don't include <sysdep.h> nor <init-arch.h>.
30739 (_ZGVbN2v_cos): Removed.
30740 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30742 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30743 Don't include <sysdep.h> nor <init-arch.h>.
30744 (_ZGVdN4v_cos): Removed.
30745 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30747 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30748 Don't include <sysdep.h> nor <init-arch.h>.
30749 (_ZGVeN8v_cos): Removed.
30750 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30752 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30753 Don't include <sysdep.h> nor <init-arch.h>.
30754 (_ZGVbN2v_exp): Removed.
30755 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30757 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30758 Don't include <sysdep.h> nor <init-arch.h>.
30759 (_ZGVdN4v_exp): Removed.
30760 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30762 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30763 Don't include <sysdep.h> nor <init-arch.h>.
30764 (_ZGVeN8v_exp): Removed.
30765 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30767 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30768 Don't include <sysdep.h> nor <init-arch.h>.
30769 (_ZGVbN2v_log): Removed.
30770 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30772 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30773 Don't include <sysdep.h> nor <init-arch.h>.
30774 (_ZGVdN4v_log): Removed.
30775 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30777 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30778 Don't include <sysdep.h> nor <init-arch.h>.
30779 (_ZGVeN8v_log): Removed.
30780 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30783 Don't include <sysdep.h> nor <init-arch.h>.
30784 (_ZGVbN2vv_pow): Removed.
30785 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30787 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30788 Don't include <sysdep.h> nor <init-arch.h>.
30789 (_ZGVdN4vv_pow): Removed.
30790 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30792 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30793 Don't include <sysdep.h> nor <init-arch.h>.
30794 (_ZGVeN8vv_pow): Removed.
30795 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30797 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30798 Don't include <sysdep.h> nor <init-arch.h>.
30799 (_ZGVbN2v_sin): Removed.
30800 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30802 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30803 Don't include <sysdep.h> nor <init-arch.h>.
30804 (_ZGVbN4v_sin): Removed.
30805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30807 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30808 Don't include <sysdep.h> nor <init-arch.h>.
30809 (_ZGVbN8v_sin): Removed.
30810 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30813 Don't include <sysdep.h> nor <init-arch.h>.
30814 (_ZGVbN2vvv_sincos): Removed.
30815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30817 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30818 Don't include <sysdep.h> nor <init-arch.h>.
30819 (_ZGVdN4vvv_sincos): Removed.
30820 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30822 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30823 Don't include <sysdep.h> nor <init-arch.h>.
30824 (_ZGVeN8vvv_sincos): Removed.
30825 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30827 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30828 Don't include <sysdep.h> nor <init-arch.h>.
30829 (_ZGVeN16v_cosf): Removed.
30830 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30832 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30833 Don't include <sysdep.h> nor <init-arch.h>.
30834 (_ZGVbN4v_cosf): Removed.
30835 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30837 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30838 Don't include <sysdep.h> nor <init-arch.h>.
30839 (_ZGVdN8v_cosf): Removed.
30840 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30842 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30843 Don't include <sysdep.h> nor <init-arch.h>.
30844 (_ZGVeN16v_expf): Removed.
30845 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30847 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30848 Don't include <sysdep.h> nor <init-arch.h>.
30849 (_ZGVbN4v_expf): Removed.
30850 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30852 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30853 Don't include <sysdep.h> nor <init-arch.h>.
30854 (_ZGVdN8v_expf): Removed.
30855 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30857 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30858 Don't include <sysdep.h> nor <init-arch.h>.
30859 (_ZGVeN16v_logf): Removed.
30860 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30862 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30863 Don't include <sysdep.h> nor <init-arch.h>.
30864 (_ZGVbN4v_logf): Removed.
30865 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30867 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30868 Don't include <sysdep.h> nor <init-arch.h>.
30869 (_ZGVdN8v_logf): Removed.
30870 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30872 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30873 Don't include <sysdep.h> nor <init-arch.h>.
30874 (_ZGVeN16vv_powf): Removed.
30875 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30877 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30878 Don't include <sysdep.h> nor <init-arch.h>.
30879 (_ZGVbN4vv_powf): Removed.
30880 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30882 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30883 Don't include <sysdep.h> nor <init-arch.h>.
30884 (_ZGVdN8vv_powf): Removed.
30885 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30887 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30888 Don't include <sysdep.h> nor <init-arch.h>.
30889 (_ZGVeN16vvv_sincosf): Removed.
30890 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30892 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30893 Don't include <sysdep.h> nor <init-arch.h>.
30894 (_ZGVbN4vvv_sincosf): Removed.
30895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30897 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30898 Don't include <sysdep.h> nor <init-arch.h>.
30899 (_ZGVdN8vvv_sincosf): Removed.
30900 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30902 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30903 Don't include <sysdep.h> nor <init-arch.h>.
30904 (_ZGVeN16v_sinf): Removed.
30905 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30907 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30908 Don't include <sysdep.h> nor <init-arch.h>.
30909 (_ZGVbN4v_sinf): Removed.
30910 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30912 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30913 Don't include <sysdep.h> nor <init-arch.h>.
30914 (_ZGVdN8v_sinf): Removed.
30916 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30918 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30919 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30920 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30921 s_rint-sse4_1 and s_rintf-sse4_1.
30922 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30923 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30924 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30925 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30926 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30927 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30928 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30929 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30930 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30931 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30932 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30933 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30935 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30936 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30937 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30938 (__ceilf): Removed.
30939 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30940 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30941 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30942 (__floor): Removed.
30943 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30944 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30945 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30946 (__floorf): Removed.
30947 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30948 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30949 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30950 (__nearbyint): Removed.
30951 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30952 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30953 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30954 (__nearbyintf): Removed.
30955 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30956 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30957 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30959 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30960 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30961 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30962 (__rintf): Removed.
30964 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30966 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30967 SHARED. Avoid dynamic relocation against main in static PIE.
30969 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30972 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30973 (LDFLAGS-tst-prelink): Likewise.
30975 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30977 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30978 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30979 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30980 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30981 (INTERNAL_SYSCALL_NCS): Likewise.
30982 (LOADARGS_1): Likewise.
30983 (LOADARGS_5): Likewise.
30984 (RESTOREARGS_1): Likewise.
30985 (RESTOREARGS_5): Likewise.
30987 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30989 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30990 (MEMPCPY_SYMBOL): Likewise.
30991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30992 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30996 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30998 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30999 (__hidden_ver1): Don't use in libc.a.
31000 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31001 (__mempcpy): Don't create a weak alias in libc.a.
31002 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31004 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31005 (__hidden_ver1): Don't use in libc.a.
31007 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31009 * config.make.in (have-insert): New.
31010 * configure.ac (libc_cv_insert): New. Set to yes if linker
31011 supports INSERT in linker script.
31012 (AC_SUBST(libc_cv_insert): New.
31013 * configure: Regenerated.
31014 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31015 if $(have-insert) == yes.
31017 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31019 * elf/Makefile (tests): Add vismain only if
31020 $(have-protected-data) == yes.
31021 (tests-pie): Likewise.
31023 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31026 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31027 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31029 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31032 * sysdeps/i386/i586/memset.S
31033 (__memset_zero_constant_len_parameter): Removed.
31034 * sysdeps/i386/i686/memset.S
31035 (__memset_zero_constant_len_parameter): Likewise.
31036 * sysdeps/i386/i686/multiarch/memset_chk.S
31037 (__memset_zero_constant_len_parameter): Likewise.
31038 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31041 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31043 * stdlib/getentropy.c (getentropy): Change return type to int.
31045 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31047 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31049 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31051 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31053 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31054 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31056 (ieee_float_shape_type): Likewise.
31057 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31058 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31059 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31060 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31061 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31062 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31063 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31064 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31065 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31067 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31068 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31069 (__ieee754_yn): Likewise.
31070 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31071 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31072 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31074 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31075 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31076 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31077 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31078 (__erfc): Likewise.
31079 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31080 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31081 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31082 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31083 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31084 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31086 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31087 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31088 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31089 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31090 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31091 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31092 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31093 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31094 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31095 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31096 (__issignaling): Likewise.
31097 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31098 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31099 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31101 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31102 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31103 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31104 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31106 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31108 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31109 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31110 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31111 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31112 (__erfcf): Likewise.
31113 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31114 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31115 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31116 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31118 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31119 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31121 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31122 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31123 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31124 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31125 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31126 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31127 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31128 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31130 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31132 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31134 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31137 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31139 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31140 (__ieee754_ynl): Likewise.
31141 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31142 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31144 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31146 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31147 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31148 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31150 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31151 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31152 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31153 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31154 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31155 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31156 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31157 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31159 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31160 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31161 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31163 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31164 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31165 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31166 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31167 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31168 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31172 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31176 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31177 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31178 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31179 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31180 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31181 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31182 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31184 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31186 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31189 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31190 (__ieee754_remainderl): Likewise.
31191 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31192 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31193 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31194 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31196 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31199 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31200 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31201 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31202 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31203 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31204 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31207 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31208 (__ieee754_y0l): Likewise.
31211 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31212 (__ieee754_y1l): Likewise.
31215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31216 (__ieee754_ynl): Likewise.
31217 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31218 (__ieee754_lgammal_r): Likewise.
31219 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31221 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31222 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31223 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31224 (__erfcl): Likewise.
31225 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31226 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31228 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31229 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31230 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31231 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31232 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31236 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31237 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31238 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31239 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31240 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31242 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31243 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31245 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31246 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31247 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31248 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31249 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31251 2017-08-03 Florian Weimer <fweimer@redhat.com>
31254 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31255 on memory allocation failure.
31257 2017-08-03 Alan Modra <amodra@gmail.com>
31259 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31260 tst-tlsopt-powerpc.c with function name change and no test harness.
31261 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31262 Call tls_get_addr_opt_test.
31263 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31264 (modules-names): Add mod-tlsopt-powerpc.
31265 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31266 (tst-tlsopt-powerpc): Depend on .so.
31267 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31268 define. Expand use in TLS_GD and TLS_LD.
31270 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31272 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31274 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31276 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31279 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31280 comparing size with that of double.
31281 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31282 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31283 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31284 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31285 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31286 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31287 unsigned __int128 types.
31289 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31291 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31292 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31293 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31294 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31295 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31297 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31299 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31301 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31303 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31305 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31306 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31308 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31309 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31313 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31316 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31317 bit-field expressions passed to sizeof or typeof.
31318 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31319 (__TGMATH_F128): Likewise.
31320 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31321 (__TGMATH_CF128): Likewise.
31322 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31323 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31324 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31325 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31326 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31327 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31328 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31329 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31330 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31331 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31332 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31333 (__TGMATH_UNARY_IMAG): Likewise.
31334 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31335 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31336 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31338 (define_vars_for_type): Handle bit_field type specially.
31339 (Tests.__init__): Declare structure with bit-field element.
31341 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31344 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31345 (MEMCPY_CHK): Define only if SHARED is defined.
31346 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31351 See ChangeLog.18 for earlier changes.