1 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3 * manual/maint.texi: Use @{ and @}.
5 2019-01-04 Florian Weimer <fweimer@redhat.com>
7 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
9 (do_in_chroot_1): Call it.
11 Improve error reporting in case it is not possible to create a
12 collision for the PTY name required by the test.
14 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
17 lll_wait_tid with timeout.
18 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
19 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
20 futex_reltimed_wait_cancelable for cancelabla mode.
21 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
22 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
24 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
25 * sysdeps/posix/waitid.c (__sigwait): Likewise.
26 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
27 SYSCALL_CANCEL_NCS): New macro.
28 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
29 (lll_timedwait_tid): Remove macro.
30 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
32 (lll_timedwait_tid): Likewise.
33 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
35 (lll_timedwait_tid): Likewise.
36 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
38 (lll_timedwait_tid): Likewise.
39 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
40 Use INTERNAL_SYSCALL_CANCEL.
41 * sysdeps/unix/sysv/linux/futex-internal.h
42 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
43 instead of __pthread_{enable,disable}_asynccancel.
44 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
45 (lll_futex_wait_cancel): New macro.
47 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
48 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
50 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
51 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
53 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
54 in backtrace analysis.
55 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
59 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
60 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
61 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
62 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
63 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
64 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
65 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
66 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
67 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
68 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
69 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
70 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
72 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
73 tst-cancel-wrappers.sh.
74 (generated): Remove tst-cancel-wrappers.out.
75 (tst-cancel-wrappers.out): Remove rule.
76 * nptl/tst-cancel-wrappers.sh: Remove file.
78 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
80 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
81 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
84 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
87 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
88 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
89 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
90 close-on-exec reset for adddup2 file action.
91 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
93 2019-01-03 Zack Weinberg <zackw@panix.com>
95 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
96 parameter. Only use deprecated scanf when __USE_GNU is defined
97 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
98 than 201103L, whichever is relevant for the language being compiled.
100 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
101 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
102 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
103 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
104 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
113 * stdio-common/fscanf.c
114 * stdio-common/scanf.c
115 * stdio-common/vfscanf.c
116 * stdio-common/vfwscanf.c
117 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
118 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
119 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
120 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
121 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
122 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
123 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
124 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
125 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
126 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
127 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
128 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
129 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
130 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
131 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
133 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
134 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
135 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
137 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
138 with a preprocessor macro.
140 * stdio-common/bug21.c, stdio-common/scanf14.c:
141 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
142 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
143 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
144 to xscanf, xfscanf, xsscanf.
146 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
147 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
148 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
149 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
151 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
152 override feature selection macros or provide definitions of u_char etc.
153 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
154 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
155 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
158 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
162 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
163 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
166 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
167 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
169 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
171 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
172 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
173 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
174 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
176 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
177 (sysdep_headers): Add termios-misc.h.
179 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
180 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
181 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
185 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
186 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
187 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
188 TCSAFLUSH): Move to termios-tcflow.h.
189 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
190 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
196 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
197 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
198 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
199 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
200 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
201 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
202 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
203 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
205 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
206 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
212 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
213 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
214 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
215 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
216 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
218 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
219 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
221 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
226 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
227 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
228 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
229 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
230 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
231 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
232 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
233 __MAX_BAUD): Move to termios-baud.h.
234 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
235 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
236 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
240 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
242 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
243 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
244 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
245 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
246 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
247 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
249 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
250 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
252 [USE_MISC] (XTABS): Likewise.
253 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
254 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
256 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
258 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
260 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
261 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
263 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
264 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
265 IUTF8): Move to termios-c_iflag.h.
266 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
267 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
268 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
269 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
271 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
273 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
274 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
275 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
277 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
278 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
279 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
280 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
282 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
284 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
286 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
287 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
288 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
289 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
292 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
294 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
296 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
298 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
302 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
303 _HAVE_C_OSPEED): Define.
304 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
305 _HAVE_C_OSPEED): Likewise.
306 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
307 _HAVE_C_OSPEED): Likewise.
308 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
309 (cfsetospeed): Check for define value instead of existence.
310 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
311 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
312 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
313 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
314 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
317 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
319 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
320 (TIOCSER_TEMT): Likewise.
321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
322 (TEOCSER_TEMT): Likewise.
324 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
327 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
329 2019-01-02 Joseph Myers <joseph@codesourcery.com>
331 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
333 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
335 * sysdeps/htl/pt-barrierattr-setpshared.c
336 (pthread_barrierattr_setpshared): Add stub warning.
337 * sysdeps/htl/pt-condattr-setpshared.c
338 (pthread_condattr_setpshared): Likewise.
339 * sysdeps/htl/pt-mutexattr-setpshared.c
340 (pthread_mutexattr_setpshared): Likewise.
341 * sysdeps/htl/pt-rwlockattr-setpshared.c
342 (pthread_rwlockattr_setpshared): Likewise.
343 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
344 (pthread_mutexattr_setpshared): Likewise.
346 2019-01-02 Joseph Myers <joseph@codesourcery.com>
348 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
349 constants to match with Linux 4.20.
351 * sysdeps/mips/mips32/libm-test-ulps: Update.
352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
354 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
357 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
358 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
359 than __typeof (...) for the a_ptr variable.
361 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
363 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
364 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
365 * libio/Makefile (tests): Add tst-sprintf-ub and
367 (CFLAGS-tst-sprintf-ub.c): New variable.
368 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
369 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
370 destination buffer and check for overflows in fortified mode.
371 * libio/libioP.h (PRINTF_CHK): New macro.
372 * libio/tst-sprintf-chk-ub.c: New file.
373 * libio/tst-sprintf-ub.c: Likewise.
375 2019-01-02 Florian Weimer <fweimer@redhat.com>
378 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
381 2019-01-02 Florian Weimer <fweimer@redhat.com>
383 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
385 2019-01-01 Joseph Myers <joseph@codesourcery.com>
387 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
390 * sysdeps/unix/sysv/linux/netpacket/packet.h
391 (PACKET_IGNORE_OUTGOING): New macro.
393 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
396 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
398 (riscv_flush_icache): New syscall.
400 * manual/texinfo.tex: Update to version 2018-12-28.17 with
401 trailing whitespace removed.
402 * scripts/config.guess: Update to version 2019-01-01.
403 * scripts/config.sub: Update to version 2019-01-01.
404 * scripts/move-if-change: Update from gnulib.
406 * NEWS: Update copyright dates.
407 * catgets/gencat.c (print_version): Likewise.
408 * csu/version.c (banner): Likewise.
409 * debug/catchsegv.sh: Likewise.
410 * debug/pcprofiledump.c (print_version): Likewise.
411 * debug/xtrace.sh (do_version): Likewise.
412 * elf/ldconfig.c (print_version): Likewise.
413 * elf/ldd.bash.in: Likewise.
414 * elf/pldd.c (print_version): Likewise.
415 * elf/sotruss.sh: Likewise.
416 * elf/sprof.c (print_version): Likewise.
417 * iconv/iconv_prog.c (print_version): Likewise.
418 * iconv/iconvconfig.c (print_version): Likewise.
419 * locale/programs/locale.c (print_version): Likewise.
420 * locale/programs/localedef.c (print_version): Likewise.
421 * login/programs/pt_chown.c (print_version): Likewise.
422 * malloc/memusage.sh (do_version): Likewise.
423 * malloc/memusagestat.c (print_version): Likewise.
424 * malloc/mtrace.pl: Likewise.
425 * manual/libc.texinfo: Likewise.
426 * nptl/version.c (banner): Likewise.
427 * nscd/nscd.c (print_version): Likewise.
428 * nss/getent.c (print_version): Likewise.
429 * nss/makedb.c (print_version): Likewise.
430 * posix/getconf.c (main): Likewise.
431 * scripts/test-installation.pl: Likewise.
432 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
434 * All files with FSF copyright notices: Update copyright dates
435 using scripts/update-copyrights.
436 * locale/programs/charmap-kw.h: Regenerated.
437 * locale/programs/locfile-kw.h: Likewise.
439 2018-12-31 Joseph Myers <joseph@codesourcery.com>
441 * timezone/zdump.c: Update from tzcode 2018i.
442 * timezone/zic.c: Likewise.
444 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
446 regex: improve Gnulib port to AIX
447 From the glibc point of view, this removes duplicate macro
448 definitions and is obviously safe.
449 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
450 * posix/regex_internal.h:
451 (__attribute__, __attribute_warn_unused_result__):
452 Remove; already defined elsewhere.
454 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
457 * malloc/malloc.c (_int_realloc): Always call memcpy for the
458 copying operation. (ncopies had the wrong type, resulting in an
459 integer wraparound and too few elements being copied.)
461 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
464 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
465 <asm/syscalls.h> exists with __has_include__ before including it.
467 2018-12-31 Joseph Myers <joseph@codesourcery.com>
469 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
472 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
474 * hurd/lookup-retry: Include <unistd.h>.
475 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
476 Release it on return. Handle "pid" magical lookup retry.
478 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
481 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
482 (t_fmt_ampm): Likewise.
483 * localedata/locales/aa_ER (t_fmt): Likewise.
484 (t_fmt_ampm): Likewise.
485 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
486 (t_fmt_ampm): Likewise.
487 * localedata/locales/aa_ET (t_fmt): Likewise.
488 (t_fmt_ampm): Likewise.
489 * localedata/locales/am_ET (t_fmt): Likewise.
490 (t_fmt_ampm): Likewise.
491 * localedata/locales/byn_ER (t_fmt): Likewise.
492 (t_fmt_ampm): Likewise.
493 * localedata/locales/om_ET (t_fmt): Likewise.
494 (t_fmt_ampm): Likewise.
495 * localedata/locales/sid_ET (t_fmt): Likewise.
496 (t_fmt_ampm): Likewise.
497 * localedata/locales/so_DJ (t_fmt): Likewise.
498 (t_fmt_ampm): Likewise.
499 * localedata/locales/so_ET (t_fmt): Likewise.
500 (t_fmt_ampm): Likewise.
501 * localedata/locales/so_SO (t_fmt): Likewise.
502 (t_fmt_ampm): Likewise.
503 * localedata/locales/ti_ER (t_fmt): Likewise.
504 (t_fmt_ampm): Likewise.
505 * localedata/locales/ti_ET (t_fmt): Likewise.
506 (t_fmt_ampm): Likewise.
507 * localedata/locales/tig_ER (t_fmt): Likewise.
508 (t_fmt_ampm): Likewise.
509 * localedata/locales/wal_ET (t_fmt): Likewise.
510 (t_fmt_ampm): Likewise.
512 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
513 * localedata/locales/ar_IN (t_fmt): Likewise.
514 * localedata/locales/bhb_IN (t_fmt): Likewise.
515 * localedata/locales/bho_IN (t_fmt): Likewise.
516 * localedata/locales/bi_VU (t_fmt): Likewise.
517 * localedata/locales/bn_BD (t_fmt): Likewise.
518 * localedata/locales/bn_IN (t_fmt): Likewise.
519 * localedata/locales/brx_IN (t_fmt): Likewise.
520 * localedata/locales/doi_IN (t_fmt): Likewise.
521 * localedata/locales/en_HK (t_fmt): Likewise.
522 (t_fmt_ampm): Likewise.
523 * localedata/locales/en_IN (t_fmt): Likewise.
524 * localedata/locales/en_PH (t_fmt): Likewise.
525 * localedata/locales/gu_IN (t_fmt): Likewise.
526 * localedata/locales/hi_IN (t_fmt): Likewise.
527 * localedata/locales/hif_FJ (t_fmt): Likewise.
528 * localedata/locales/hne_IN (t_fmt): Likewise.
529 * localedata/locales/kn_IN (t_fmt): Likewise.
530 * localedata/locales/kok_IN (t_fmt): Likewise.
531 * localedata/locales/ks_IN (t_fmt): Likewise.
532 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
533 * localedata/locales/mag_IN (t_fmt): Likewise.
534 * localedata/locales/mai_IN (t_fmt): Likewise.
535 * localedata/locales/mjw_IN (t_fmt): Likewise.
536 * localedata/locales/ml_IN (t_fmt): Likewise.
537 * localedata/locales/mni_IN (t_fmt): Likewise.
538 * localedata/locales/mr_IN (t_fmt): Likewise.
539 * localedata/locales/ms_MY (t_fmt): Likewise.
540 * localedata/locales/pa_IN (t_fmt): Likewise.
541 * localedata/locales/raj_IN (t_fmt): Likewise.
542 * localedata/locales/sa_IN (t_fmt): Likewise.
543 * localedata/locales/sat_IN (t_fmt): Likewise.
544 * localedata/locales/sd_IN (t_fmt): Likewise.
545 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
546 * localedata/locales/tcy_IN (t_fmt): Likewise.
547 * localedata/locales/the_NP (t_fmt): Likewise.
548 * localedata/locales/to_TO (t_fmt): Likewise.
549 * localedata/locales/ur_IN (t_fmt): Likewise.
551 * localedata/locales/hif_FJ (d_t_fmt): Set to
552 "%A %d %b %Y %I:%M:%S %p".
553 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
555 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
556 * localedata/locales/ar_BH (t_fmt): Likewise.
557 * localedata/locales/ar_DZ (t_fmt): Likewise.
558 * localedata/locales/ar_EG (t_fmt): Likewise.
559 * localedata/locales/ar_IQ (t_fmt): Likewise.
560 * localedata/locales/ar_JO (t_fmt): Likewise.
561 * localedata/locales/ar_KW (t_fmt): Likewise.
562 * localedata/locales/ar_LB (t_fmt): Likewise.
563 * localedata/locales/ar_LY (t_fmt): Likewise.
564 * localedata/locales/ar_OM (t_fmt): Likewise.
565 * localedata/locales/ar_QA (t_fmt): Likewise.
566 * localedata/locales/ar_SD (t_fmt): Likewise.
567 * localedata/locales/ar_SS (t_fmt): Likewise.
568 * localedata/locales/ar_SY (t_fmt): Likewise.
569 * localedata/locales/ar_TN (t_fmt): Likewise.
570 * localedata/locales/ar_YE (t_fmt): Likewise.
572 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
573 (t_fmt_ampm): Likewise.
574 * localedata/locales/gez_ET (t_fmt): Likewise.
575 (t_fmt_ampm): Likewise.
577 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
578 (t_fmt_ampm): Likewise.
579 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
581 * localedata/locales/zh_HK (t_fmt):
582 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
584 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
585 because this locale does not use the 12-hour clock.
586 (t_fmt): Set to "%Z %H:%M:%S".
587 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
589 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
590 because this locale does not use the 12-hour clock.
591 (t_fmt): Set to "%H:%M:%S %Z".
592 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
594 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
595 because this locale does not use the 12-hour clock.
596 (t_fmt): Set to "%T".
597 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
598 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
600 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
601 because this locale does not use the 12-hour clock.
602 (t_fmt): Set to "%H:%M:%S %Z".
603 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
605 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
606 because this locale does not use the 12-hour clock.
607 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
608 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
610 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
614 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
615 (t_fmt_ampm): Likewise.
616 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
617 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
618 (d_fmt): Set to "%-d.%-m.%y".
620 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
622 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
623 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
624 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
626 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
627 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
628 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
630 * support/blob_repeat.c (check_mul_overflow_size_t,
631 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
633 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
635 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
637 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
639 regex: simplify Gnulib port
640 This simplifies the code, by removing stuff intended for porting
641 to Gnulib but no longer needed there.
642 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
643 uses of libc_hidden_def, weak_alias.
644 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
645 _Restrict_ except for public-facing headers.
646 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
647 Remove; already defined elsewhere.
648 * posix/regex.c, posix/regex_internal.h:
649 Use __GNUC_PREREQ instead of rolling our own.
650 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
652 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
654 * benchtests/bench-strlen.c (generic_strlen): New function.
655 (memchr_strlen): New function.
657 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
659 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
660 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
661 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
663 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
665 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
667 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
669 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
670 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
671 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
672 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
673 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
674 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
675 <sysdeps/ieee754/flt-32/s_sincosf.c>.
677 2018-12-21 Joseph Myers <joseph@codesourcery.com>
680 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
681 PLT reference in libc.so.
682 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
683 _Q_lltoq and _Q_qtod PLT references in libc.so.
685 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
687 * benchtests/bench-memchr.c: Cleanup defines.
688 * benchtests/bench-memcmp.c: Likewise.
689 * benchtests/bench-memset.c: Likewise.
690 * benchtests/bench-memset-large.c: Likewise.
691 * benchtests/bench-memset-walk.c: Likewise.
692 * benchtests/bench-stpcpy.c: Likewise.
693 * benchtests/bench-stpncpy.c: Likewise.
694 * benchtests/bench-strcat.c: Likewise.
695 * benchtests/bench-strchr.c: Likewise.
696 * benchtests/bench-strcmp.c: Likewise.
697 * benchtests/bench-strcpy.c: Likewise.
698 * benchtests/bench-strcspn.c: Likewise.
699 * benchtests/bench-string.h: Likewise.
700 * benchtests/bench-strlen.c: Likewise.
701 * benchtests/bench-strncat.c: Likewise.
702 * benchtests/bench-strncmp.c: Likewise.
703 * benchtests/bench-strncpy.c: Likewise.
704 * benchtests/bench-strnlen.c: Likewise.
705 * benchtests/bench-strpbrk.c: Likewise.
706 * benchtests/bench-strrchr.c: Likewise.
707 * benchtests/bench-strspn.c: Likewise.
709 2018-12-21 Joseph Myers <joseph@codesourcery.com>
711 * stdlib/longlong.h: Update from GCC.
714 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
715 * configure: Regenerated.
716 * manual/install.texi (Tools for Compilation): Update minimum GCC
718 * INSTALL: Regenerated.
720 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
722 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
724 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
726 * malloc/malloc.c (mremap_chunk): Additional checks.
728 2018-12-21 Mao Han <han_mao@c-sky.com>
730 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
731 * scripts/build-many-glibcs.py: Add C-SKY targets.
732 * sysdeps/csky/Implies: New file.
733 * sysdeps/csky/Makefile: Likewise.
734 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
735 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
736 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
737 * sysdeps/csky/abiv2/memcmp.S: Likewise.
738 * sysdeps/csky/abiv2/memcpy.S: Likewise.
739 * sysdeps/csky/abiv2/memmove.S: Likewise.
740 * sysdeps/csky/abiv2/memset.S: Likewise.
741 * sysdeps/csky/abiv2/setjmp.S: Likewise.
742 * sysdeps/csky/abiv2/start.S: Likewise.
743 * sysdeps/csky/abiv2/strcmp.S: Likewise.
744 * sysdeps/csky/abiv2/strcpy.S: Likewise.
745 * sysdeps/csky/abiv2/strlen.S: Likewise.
746 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
747 * sysdeps/csky/abort-instr.h: Likewise.
748 * sysdeps/csky/atomic-machine.h: Likewise.
749 * sysdeps/csky/bits/endian.h: Likewise.
750 * sysdeps/csky/bits/fenv.h: Likewise.
751 * sysdeps/csky/bits/link.h: Likewise.
752 * sysdeps/csky/bits/setjmp.h: Likewise.
753 * sysdeps/csky/bsd-_setjmp.S: Likewise.
754 * sysdeps/csky/bsd-setjmp.S: Likewise.
755 * sysdeps/csky/configure: Likewise.
756 * sysdeps/csky/configure.ac: Likewise.
757 * sysdeps/csky/dl-machine.h: Likewise.
758 * sysdeps/csky/dl-procinfo.c: Likewise.
759 * sysdeps/csky/dl-procinfo.h: Likewise.
760 * sysdeps/csky/dl-sysdep.h: Likewise.
761 * sysdeps/csky/dl-tls.h: Likewise.
762 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
763 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
764 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
765 * sysdeps/csky/fpu/fegetenv.c: Likewise.
766 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
767 * sysdeps/csky/fpu/fegetmode.c: Likewise.
768 * sysdeps/csky/fpu/fegetround.c: Likewise.
769 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
770 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
771 * sysdeps/csky/fpu/fenv_private.h: Likewise.
772 * sysdeps/csky/fpu/fesetenv.c: Likewise.
773 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
774 * sysdeps/csky/fpu/fesetmode.c: Likewise.
775 * sysdeps/csky/fpu/fesetround.c: Likewise.
776 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
777 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
778 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
779 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
780 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
781 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
782 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
783 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
784 * sysdeps/csky/fpu_control.h: Likewise.
785 * sysdeps/csky/gccframe.h: Likewise.
786 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
787 * sysdeps/csky/ldsodefs.h: Likewise.
788 * sysdeps/csky/libc-tls.c: Likewise.
789 * sysdeps/csky/linkmap.h: Likewise.
790 * sysdeps/csky/machine-gmon.h: Likewise.
791 * sysdeps/csky/memusage.h: Likewise.
792 * sysdeps/csky/nofpu/Implies: Likewise.
793 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
794 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
795 * sysdeps/csky/nptl/Makefile: Likewise.
796 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
797 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
798 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
799 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
800 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
801 * sysdeps/csky/nptl/tls.h: Likewise.
802 * sysdeps/csky/preconfigure: Likewise.
803 * sysdeps/csky/sfp-machine.h: Likewise.
804 * sysdeps/csky/sotruss-lib.c: Likewise.
805 * sysdeps/csky/stackinfo.h: Likewise.
806 * sysdeps/csky/sysdep.h: Likewise.
807 * sysdeps/csky/tininess.h: Likewise.
808 * sysdeps/csky/tst-audit.h: Likewise.
809 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
810 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
811 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
812 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
813 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
814 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
815 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
816 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
817 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
818 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
819 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
820 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
821 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
822 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
823 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
824 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
825 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
826 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
827 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
828 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
829 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
830 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
831 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
832 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
833 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
834 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
835 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
836 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
837 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
838 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
839 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
840 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
841 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
842 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
843 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
844 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
845 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
846 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
847 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
848 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
849 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
850 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
851 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
852 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
854 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
856 * include/time.h (__difftime64): Add.
857 * time/difftime.c (subtract): convert to 64-bit time.
858 * time/difftime.c (__difftime64): Add.
859 * time/difftime.c (__difftime): Wrap around __difftime64.
861 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
863 * manual/examples/add.c: Remove redundant "if not".
864 * manual/examples/argp-ex1.c: Likewise.
865 * manual/examples/argp-ex2.c: Likewise.
866 * manual/examples/argp-ex3.c: Likewise.
867 * manual/examples/argp-ex4.c: Likewise.
868 * manual/examples/atexit.c: Likewise.
869 * manual/examples/db.c: Likewise.
870 * manual/examples/dir.c: Likewise.
871 * manual/examples/dir2.c: Likewise.
872 * manual/examples/execinfo.c: Likewise.
873 * manual/examples/filecli.c: Likewise.
874 * manual/examples/filesrv.c: Likewise.
875 * manual/examples/fmtmsgexpl.c: Likewise.
876 * manual/examples/genpass.c: Likewise.
877 * manual/examples/inetcli.c: Likewise.
878 * manual/examples/inetsrv.c: Likewise.
879 * manual/examples/isockad.c: Likewise.
880 * manual/examples/longopt.c: Likewise.
881 * manual/examples/memopen.c: Likewise.
882 * manual/examples/memstrm.c: Likewise.
883 * manual/examples/mkdirent.c: Likewise.
884 * manual/examples/mkfsock.c: Likewise.
885 * manual/examples/mkisock.c: Likewise.
886 * manual/examples/mygetpass.c: Likewise.
887 * manual/examples/pipe.c: Likewise.
888 * manual/examples/popen.c: Likewise.
889 * manual/examples/rprintf.c: Likewise.
890 * manual/examples/search.c: Likewise.
891 * manual/examples/select.c: Likewise.
892 * manual/examples/setjmp.c: Likewise.
893 * manual/examples/sigh1.c: Likewise.
894 * manual/examples/sigusr.c: Likewise.
895 * manual/examples/stpcpy.c: Likewise.
896 * manual/examples/strdupa.c: Likewise.
897 * manual/examples/strftim.c: Likewise.
898 * manual/examples/subopt.c: Likewise.
899 * manual/examples/swapcontext.c: Likewise.
900 * manual/examples/termios.c: Likewise.
901 * manual/examples/testopt.c: Likewise.
902 * manual/examples/testpass.c: Likewise.
903 * manual/examples/timeval_subtract.c: Likewise.
905 2018-12-19 Joseph Myers <joseph@codesourcery.com>
907 * sysdeps/x86/fpu/math_private.h: New file.
908 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
910 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
915 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
917 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
918 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
919 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
920 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
922 (_dl_show_auxv): Give a special treatment to
923 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
924 and AT_L3_CACHEGEOMETRY.
925 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
926 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
927 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
928 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
930 2018-12-19 Andreas Schwab <schwab@suse.de>
932 * nscd/connections.c (check_use): Don't abort on invalid len.
934 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
936 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
937 values in the 64bit value cases.
939 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
945 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
951 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
957 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
963 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
966 (__localtime64_r): Add.
968 (__localtime64_r): Add.
969 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
971 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
973 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
974 kernel_sigction definition.
976 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
978 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
980 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
981 __syscall_rt_sigaction.
982 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
983 (kernel_sigaction): Use Linux generic defintion.
985 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
986 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
987 (__syscall_rt_sigaction): Remove implementation.
988 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
990 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
991 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
992 INTERNAL_SYSCALL): Remove definitions.
993 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
994 action and signal set size.
995 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
998 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
999 James Clarke <jrtc27@jrtc27.com>
1002 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1003 Define if SA_RESTORER is defined.
1004 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1005 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1007 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1008 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1010 (HAS_SA_RESTORER): Define.
1011 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1012 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1013 (HAS_SA_RESTORER): Define.
1014 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1015 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1016 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1017 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1018 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1020 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1022 * sysdeps/unix/sysv/linux/kernel-features.h
1023 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1024 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1025 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1026 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1027 (__ASSUME_ST_INO_64_BIT): Likewise.
1028 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1029 <kernel-features.h>.
1030 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1031 Remove conditional code.
1032 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1033 <kernel-features.h>.
1034 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1035 Remove conditional code.
1036 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1037 <kernel-features.h>.
1038 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1039 Remove conditional code.
1040 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1041 <kernel-features.h>.
1042 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1043 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1047 * sysdeps/s390/multiarch/ifunc-resolve.h
1048 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1049 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1050 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1051 Delete macro definition.
1052 (s390_libc_ifunc_init): Rename to
1053 s390_libc_ifunc_expr_stfle_init.
1054 * sysdeps/s390/bzero: Use
1055 s390_libc_ifunc_expr_stfle_init instead of
1056 s390_libc_ifunc_init.
1057 * sysdeps/s390/memcmp.c: Likewise.
1058 * sysdeps/s390/memcpy.c: Likewise.
1059 * sysdeps/s390/mempcpy.c: Likewise.
1060 * sysdeps/s390/memset.c: Likewise.
1062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1064 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1065 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1069 * sysdeps/s390/multiarch/Makefile
1070 (sysdep_routines): Remove wmemcmp variants.
1071 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1072 * sysdeps/s390/multiarch/ifunc-impl-list.c
1073 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1074 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1075 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1076 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1077 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1078 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1079 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1080 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1084 * sysdeps/s390/multiarch/Makefile
1085 (sysdep_routines): Remove wmemset variants.
1086 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1087 * sysdeps/s390/multiarch/ifunc-impl-list.c
1088 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1089 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1090 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1091 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1092 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1093 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1094 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1095 * sysdeps/s390/ifunc-wmemset.h: New file.
1097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1099 * sysdeps/s390/multiarch/Makefile
1100 (sysdep_routines): Remove wmemchr variants.
1101 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1102 * sysdeps/s390/multiarch/ifunc-impl-list.c
1103 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1104 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1105 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1106 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1107 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1108 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1109 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1110 * sysdeps/s390/ifunc-wmemchr.h: New file.
1112 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1114 * sysdeps/s390/multiarch/Makefile
1115 (sysdep_routines): Remove wcscspn variants.
1116 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1117 * sysdeps/s390/multiarch/ifunc-impl-list.c
1118 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1119 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1120 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1121 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1122 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1123 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1124 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1125 * sysdeps/s390/ifunc-wcscspn.h: New file.
1127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1129 * sysdeps/s390/multiarch/Makefile
1130 (sysdep_routines): Remove wcspbrk variants.
1131 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1132 * sysdeps/s390/multiarch/ifunc-impl-list.c
1133 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1134 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1135 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1136 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1137 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1138 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1139 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1140 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1144 * sysdeps/s390/multiarch/Makefile
1145 (sysdep_routines): Remove wcsspn variants.
1146 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1147 * sysdeps/s390/multiarch/ifunc-impl-list.c
1148 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1149 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1150 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1151 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1152 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1153 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1154 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1155 * sysdeps/s390/ifunc-wcsspn.h: New file.
1157 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1159 * sysdeps/s390/multiarch/Makefile
1160 (sysdep_routines): Remove wcsrchr variants.
1161 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1162 * sysdeps/s390/multiarch/ifunc-impl-list.c
1163 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1164 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1165 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1166 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1167 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1168 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1169 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1170 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1172 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1174 * sysdeps/s390/multiarch/Makefile
1175 (sysdep_routines): Remove wcschrnul variants.
1176 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1177 * sysdeps/s390/multiarch/ifunc-impl-list.c
1178 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1179 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1180 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1181 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1182 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1183 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1184 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1185 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1187 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1189 * sysdeps/s390/multiarch/Makefile
1190 (sysdep_routines): Remove wcschr variants.
1191 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1192 * sysdeps/s390/multiarch/ifunc-impl-list.c
1193 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1194 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1195 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1196 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1197 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1198 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1199 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1200 * sysdeps/s390/ifunc-wcschr.h: New file.
1202 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1204 * sysdeps/s390/multiarch/Makefile
1205 (sysdep_routines): Remove wcsncmp variants.
1206 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1207 * sysdeps/s390/multiarch/ifunc-impl-list.c
1208 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1209 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1210 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1211 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1212 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1213 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1214 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1215 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1217 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1219 * sysdeps/s390/multiarch/Makefile
1220 (sysdep_routines): Remove wcscmp variants.
1221 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1222 * sysdeps/s390/multiarch/ifunc-impl-list.c
1223 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1224 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1225 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1226 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1227 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1228 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1229 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1230 * sysdeps/s390/ifunc-wcscmp.h: New file.
1232 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1234 * sysdeps/s390/multiarch/Makefile
1235 (sysdep_routines): Remove wcsncat variants.
1236 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1237 * sysdeps/s390/multiarch/ifunc-impl-list.c
1238 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1239 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1240 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1241 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1242 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1243 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1244 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1245 * sysdeps/s390/ifunc-wcsncat.h: New file.
1247 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1249 * sysdeps/s390/multiarch/Makefile
1250 (sysdep_routines): Remove wcscat variants.
1251 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1252 * sysdeps/s390/multiarch/ifunc-impl-list.c
1253 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1254 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1255 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1256 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1257 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1258 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1259 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1260 * sysdeps/s390/ifunc-wcscat.h: New file.
1262 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1264 * sysdeps/s390/multiarch/Makefile
1265 (sysdep_routines): Remove wcpncpy variants.
1266 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1267 * sysdeps/s390/multiarch/ifunc-impl-list.c
1268 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1269 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1270 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1271 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1272 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1273 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1274 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1275 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1277 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1279 * sysdeps/s390/multiarch/Makefile
1280 (sysdep_routines): Remove wcsncpy variants.
1281 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1282 * sysdeps/s390/multiarch/ifunc-impl-list.c
1283 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1284 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1285 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1286 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1287 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1288 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1289 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1290 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1292 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1294 * sysdeps/s390/multiarch/Makefile
1295 (sysdep_routines): Remove wcpcpy variants.
1296 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1297 * sysdeps/s390/multiarch/ifunc-impl-list.c
1298 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1299 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1300 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1301 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1302 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1303 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1304 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1305 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1307 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1309 * sysdeps/s390/multiarch/Makefile
1310 (sysdep_routines): Remove wcscpy variants.
1311 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1312 * sysdeps/s390/multiarch/ifunc-impl-list.c
1313 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1314 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1315 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1316 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1317 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1318 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1319 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1320 * sysdeps/s390/ifunc-wcscpy.h: New file.
1322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1324 * sysdeps/s390/multiarch/Makefile
1325 (sysdep_routines): Remove wcsnlen variants.
1326 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1327 * sysdeps/s390/multiarch/ifunc-impl-list.c
1328 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1329 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1330 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1331 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1332 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1333 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1334 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1335 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1337 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1339 * sysdeps/s390/multiarch/Makefile
1340 (sysdep_routines): Remove wcslen variants.
1341 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1342 * sysdeps/s390/multiarch/ifunc-impl-list.c
1343 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1344 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1345 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1346 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1347 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1348 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1349 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1350 * sysdeps/s390/ifunc-wcslen.h: New file.
1352 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1354 * sysdeps/s390/multiarch/Makefile
1355 (sysdep_routines): Remove memrchr variants.
1356 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1357 * sysdeps/s390/multiarch/ifunc-impl-list.c
1358 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1359 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1360 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1361 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1362 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1363 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1364 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1365 * sysdeps/s390/ifunc-memrchr.h: New file.
1367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1369 * sysdeps/s390/multiarch/Makefile
1370 (sysdep_routines): Remove memccpy variants.
1371 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1372 * sysdeps/s390/multiarch/ifunc-impl-list.c
1373 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1374 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1375 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1376 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1377 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1378 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1379 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1380 * sysdeps/s390/ifunc-memccpy.h: New file.
1382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1384 * sysdeps/s390/multiarch/Makefile
1385 (sysdep_routines): Remove rawmemchr variants.
1386 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1387 * sysdeps/s390/multiarch/ifunc-impl-list.c
1388 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1389 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1390 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1391 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1392 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1393 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1394 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1395 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1397 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1399 * sysdeps/s390/multiarch/Makefile
1400 (sysdep_routines): Remove memchr variants.
1401 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1402 * sysdeps/s390/multiarch/ifunc-impl-list.c
1403 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1404 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1405 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1406 * sysdeps/s390/multiarch/memchr.c: Move to ...
1407 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1408 * sysdeps/s390/ifunc-memchr.h: New file.
1409 * sysdeps/s390/s390-64/memchr.S: Move to ...
1410 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1411 for 31/64bit and ifunc handling.
1412 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1413 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1414 * sysdeps/s390/s390-32/memchr.S: Likewise.
1416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1418 * sysdeps/s390/multiarch/Makefile
1419 (sysdep_routines): Remove strcspn variants.
1420 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1421 * sysdeps/s390/multiarch/ifunc-impl-list.c
1422 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1423 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1424 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1425 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1426 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1427 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1428 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1429 * sysdeps/s390/ifunc-strcspn.h: New file.
1431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1433 * sysdeps/s390/multiarch/Makefile
1434 (sysdep_routines): Remove strpbrk variants.
1435 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1436 * sysdeps/s390/multiarch/ifunc-impl-list.c
1437 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1438 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1439 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1440 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1441 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1442 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1443 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1444 * sysdeps/s390/ifunc-strpbrk.h: New file.
1446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1448 * sysdeps/s390/multiarch/Makefile
1449 (sysdep_routines): Remove strspn variants.
1450 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1451 * sysdeps/s390/multiarch/ifunc-impl-list.c
1452 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1453 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1454 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1455 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1456 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1457 * sysdeps/s390/multiarch/strspn.c: Move to ...
1458 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1459 * sysdeps/s390/ifunc-strspn.h: New file.
1461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1463 * sysdeps/s390/multiarch/Makefile
1464 (sysdep_routines): Remove strrchr variants.
1465 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1466 * sysdeps/s390/multiarch/ifunc-impl-list.c
1467 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1468 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1469 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1470 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1471 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1472 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1473 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1474 * sysdeps/s390/ifunc-strrchr.h: New file.
1476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1478 * sysdeps/s390/multiarch/Makefile
1479 (sysdep_routines): Remove strchrnul variants.
1480 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1481 * sysdeps/s390/multiarch/ifunc-impl-list.c
1482 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1483 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1484 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1485 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1486 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1487 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1488 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1489 * sysdeps/s390/ifunc-strchrnul.h: New file.
1491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1493 * sysdeps/s390/multiarch/Makefile
1494 (sysdep_routines): Remove strchr variants.
1495 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1496 * sysdeps/s390/multiarch/ifunc-impl-list.c
1497 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1498 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1499 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1500 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1501 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1502 * sysdeps/s390/multiarch/strchr.c: Move to ...
1503 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1504 * sysdeps/s390/ifunc-strchr.h: New file.
1506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1508 * sysdeps/s390/multiarch/Makefile
1509 (sysdep_routines): Remove strncmp variants.
1510 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1511 * sysdeps/s390/multiarch/ifunc-impl-list.c
1512 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1513 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1514 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1515 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1516 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1517 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1518 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1519 * sysdeps/s390/ifunc-strncmp.h: New file.
1521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1523 * sysdeps/s390/multiarch/Makefile
1524 (sysdep_routines): Remove strcmp variants.
1525 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1526 * sysdeps/s390/multiarch/ifunc-impl-list.c
1527 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1528 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1529 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1530 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1531 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1532 * sysdeps/s390/ifunc-strcmp.h: New file.
1533 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1534 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1535 for 31/64bit and ifunc handling.
1536 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1537 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1538 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1542 * sysdeps/s390/multiarch/Makefile
1543 (sysdep_routines): Remove strncat variants.
1544 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1545 * sysdeps/s390/multiarch/ifunc-impl-list.c
1546 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1547 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1548 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1549 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1550 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1551 * sysdeps/s390/multiarch/strncat.c: Move to ...
1552 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1553 * sysdeps/s390/ifunc-strncat.h: New file.
1555 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1557 * sysdeps/s390/multiarch/Makefile
1558 (sysdep_routines): Remove strcat variants.
1559 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1560 * sysdeps/s390/multiarch/ifunc-impl-list.c
1561 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1562 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1563 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1564 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1565 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1566 * sysdeps/s390/multiarch/strcat.c: Move to ...
1567 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1568 * sysdeps/s390/ifunc-strcat.h: New file.
1570 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1572 * sysdeps/s390/multiarch/Makefile
1573 (sysdep_routines): Remove stpncpy variants.
1574 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1575 * sysdeps/s390/multiarch/ifunc-impl-list.c
1576 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1577 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1578 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1579 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1580 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1581 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1582 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1583 * sysdeps/s390/ifunc-stpncpy.h: New file.
1585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1587 * sysdeps/s390/multiarch/Makefile
1588 (sysdep_routines): Remove strncpy variants.
1589 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1590 * sysdeps/s390/multiarch/ifunc-impl-list.c
1591 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1592 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1593 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1594 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1595 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1596 * sysdeps/s390/ifunc-strncpy.h: New file.
1597 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1598 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1599 and adjust ifunc handling.
1600 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1601 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1602 and adjust ifunc handling.
1603 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1604 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1608 * sysdeps/s390/multiarch/Makefile
1609 (sysdep_routines): Remove stpcpy variants.
1610 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1611 * sysdeps/s390/multiarch/ifunc-impl-list.c
1612 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1613 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1614 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1615 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1616 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1617 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1618 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1619 * sysdeps/s390/ifunc-stpcpy.h: New file.
1621 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1623 * sysdeps/s390/multiarch/Makefile
1624 (sysdep_routines): Remove strcpy variants.
1625 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1626 * sysdeps/s390/multiarch/ifunc-impl-list.c
1627 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1628 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1629 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1630 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1631 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1632 * sysdeps/s390/ifunc-strcpy.h: New file.
1633 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1634 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1635 for 31/64bit and ifunc handling.
1636 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1637 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1638 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1642 * sysdeps/s390/multiarch/Makefile
1643 (sysdep_routines): Remove strnlen variants.
1644 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1645 * sysdeps/s390/multiarch/ifunc-impl-list.c
1646 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1647 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1648 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1649 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1650 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1651 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1652 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1653 * sysdeps/s390/ifunc-strnlen.h: New file.
1655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1657 * sysdeps/s390/multiarch/Makefile
1658 (sysdep_routines): Remove strlen variants.
1659 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1660 * sysdeps/s390/multiarch/ifunc-impl-list.c
1661 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1662 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1663 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1664 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1665 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1666 * sysdeps/s390/multiarch/strlen.c: Move to ...
1667 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1668 * sysdeps/s390/ifunc-strlen.h: New file.
1670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1672 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1673 * sysdeps/s390/multiarch/ifunc-impl-list.c
1674 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1675 * sysdeps/s390/ifunc-memmem.h: New file.
1676 * sysdeps/s390/memmem.c: Likewise.
1677 * sysdeps/s390/memmem-c.c: Likewise.
1678 * sysdeps/s390/memmem-vx.c: Likewise.
1680 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1682 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1683 * sysdeps/s390/multiarch/ifunc-impl-list.c
1684 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1685 * sysdeps/s390/ifunc-strstr.h: New file.
1686 * sysdeps/s390/strstr.c: Likewise.
1687 * sysdeps/s390/strstr-c.c: Likewise.
1688 * sysdeps/s390/strstr-vx.c: Likewise.
1690 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1692 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1693 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1694 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1695 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1697 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1698 * sysdeps/s390/memmove-c.c: New file.
1699 * sysdeps/s390/memmove.c: Likewise.
1700 * sysdeps/s390/multiarch/ifunc-impl-list.c
1701 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1705 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1706 * sysdeps/s390/configure.ac: Add check for z13 support.
1707 * sysdeps/s390/configure: Regenerated.
1709 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1711 * sysdeps/s390/memcopy.h: New file.
1713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1715 * sysdeps/s390/s390-32/bcopy.S: Remove.
1716 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1720 * sysdeps/s390/ifunc-memcpy.h: New File.
1721 * sysdeps/s390/memcpy.S: Move to ...
1722 * sysdeps/s390/memcpy-z900.S ... here.
1723 Move implementations from memcpy-s390x.s to here.
1724 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1725 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1726 Remove memcpy/mempcpy variants.
1727 * sysdeps/s390/Makefile (sysdep_routines):
1728 Add memcpy/mempcpy variants.
1729 * sysdeps/s390/multiarch/ifunc-impl-list.c
1730 (__libc_ifunc_impl_list): Adjust ifunc variants for
1732 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1734 * sysdeps/s390/memcpy.c: ... here.
1735 Adjust ifunc variants for memcpy.
1736 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1737 * sysdeps/s390/mempcpy.c: ... here.
1738 Adjust ifunc variants for mempcpy.
1739 * sysdeps/s390/mempcpy.S: Delete file.
1741 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1743 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1744 * sysdeps/s390/memcpy.S: ... here.
1745 Adjust to be usable for 31/64bit.
1746 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1747 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1748 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1749 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1750 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1751 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1752 Adjust to be usable for 31/64bit.
1753 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1754 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1755 * sysdeps/s390/multiarch/memcpy.c: ... here.
1756 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1760 * sysdeps/s390/ifunc-memcmp.h: New File.
1761 * sysdeps/s390/memcmp.S: Move to ...
1762 * sysdeps/s390/memcmp-z900.S ... here.
1763 Move implementations from memcmp-s390x.s to here.
1764 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1765 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1766 Remove memcmp variants.
1767 * sysdeps/s390/Makefile (sysdep_routines):
1768 Add memcmp variants.
1769 * sysdeps/s390/multiarch/ifunc-impl-list.c
1770 (__libc_ifunc_impl_list): Adjust ifunc variants for
1772 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1774 * sysdeps/s390/memcmp.c: ... here.
1775 Adjust ifunc variants for memcmp.
1777 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1779 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1780 * sysdeps/s390/memcmp.S: ... here.
1781 Adjust to be usable for 31/64bit.
1782 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1783 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1784 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1786 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1787 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1788 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1789 Adjust to be usable for 31/64bit.
1790 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1791 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1792 * sysdeps/s390/multiarch/memcmp.c: ... here.
1793 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1795 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1797 * sysdeps/s390/s390-32/bzero.S: Delete file.
1798 * sysdeps/s390/s390-64/bzero.S: Likewise.
1799 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
1800 * sysdeps/s390/bzero.c: New file.
1801 * sysdeps/s390/memset-z900.S: Add bzero entry points.
1802 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
1803 * sysdeps/s390/multiarch/ifunc-impl-list.c
1804 (__libc_ifunc_impl_list): Add bzero ifunc variants.
1806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1808 * sysdeps/s390/ifunc-memset.h: New File.
1809 * sysdeps/s390/memset.S: Move to ...
1810 * sysdeps/s390/memset-z900.S ... here.
1811 Move implementations from memset-s390x.s to here.
1812 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
1813 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1814 Remove memset variants.
1815 * sysdeps/s390/Makefile (sysdep_routines):
1816 Add memset variants.
1817 * sysdeps/s390/multiarch/ifunc-impl-list.c
1818 (__libc_ifunc_impl_list): Adjust ifunc variants for
1820 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
1822 * sysdeps/s390/memset.c: ... here.
1823 Adjust ifunc variants for memset.
1825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1827 * sysdeps/s390/s390-64/memset.S: Move to ...
1828 * sysdeps/s390/memset.S: ... here.
1829 Adjust to be usable for 31/64bit.
1830 * sysdeps/s390/s390-32/memset.S: Delete File.
1831 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
1832 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1834 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1835 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
1836 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
1837 Adjust to be usable for 31/64bit.
1838 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
1839 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
1840 * sysdeps/s390/multiarch/memset.c: ... here.
1841 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
1843 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1845 * sysdeps/s390/multiarch/ifunc-resolve.h
1846 (s390_libc_ifunc_init, s390_libc_ifunc,
1847 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
1849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1851 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
1852 * sysdeps/s390/configure.ac: Add check for z10 support.
1853 * sysdeps/s390/configure: Regenerated.
1855 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
1857 * sysdeps/i386/atomic-machine.h: Merged with ...
1858 * sysdeps/x86_64/atomic-machine.h: To ...
1859 * sysdeps/x86/atomic-machine.h: This. New file.
1861 2018-12-18 Florian Weimer <fweimer@redhat.com>
1863 Rewrite locale/gen-translit.pl in Python.
1864 * locale/Makefile (generated): Add C-translit.h.
1865 (before-compile): Add $(objpfx)C-translit.h.
1866 (C-translit.h): Move to $(objpfx). Create target directory.
1867 Build using Python script.
1868 * locale/gen-translit.py: New file.
1869 * locale/gen-translit.pl: Remove file.
1870 * locale/C-translit.h.in: Change comment character to '#' for
1871 easier parsing without a C preprocessor.
1872 * locale/C-translit.h: Remove generated file.
1873 * manual/install.texi (Tools for Compilation): Do not mention
1875 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1876 Remove locale/C-translit.h.
1877 * scripts/update-copyrights: Likewise.
1878 * INSTALL: Regenerate.
1880 2018-12-18 Florian Weimer <fweimer@redhat.com>
1883 * localedata/locales/bi_VU: Remove executable bit from file.
1885 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
1888 (__localtime64): Add.
1889 * manual/maint.texi: Document Y2038 symbol handling.
1891 (__localtime64): Add.
1892 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
1894 2018-12-17 Joseph Myers <joseph@codesourcery.com>
1896 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
1899 * scripts/glibcextract.py (compare_macro_consts): Take parameters
1900 to allow extra macros from first or second sources.
1901 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
1902 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1903 (tests-special): Add $(objpfx)tst-mman-consts.out.
1904 ($(objpfx)tst-mman-consts.out): New makefile target.
1906 2018-12-17 Mao Han <han_mao@c-sky.com>
1908 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
1909 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
1910 without stat64 system call support.
1911 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
1912 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
1913 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1914 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
1915 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
1916 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
1917 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
1918 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
1919 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
1920 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
1921 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
1923 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
1925 regex: fix storage-exhaustion error
1927 * posix/regexec.c (get_subexp):
1928 Do not continue if storage is exhausted.
1930 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
1932 regex: fix heap-use-after-free error
1934 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
1935 https://debbugs.gnu.org/32592
1936 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
1937 call extend_buffers which reallocates the re_string_t internal buffer.
1938 Local variable 'buf' was not updated in such case, resulting in
1940 * posix/regexec.c (get_subexp): Update 'buf' after call to
1943 2018-12-15 Florian Weimer <fweimer@redhat.com>
1945 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
1946 (minimum_stride_size): Use it.
1947 (support_blob_repeat_allocate): Likewise.
1949 2018-12-14 Joseph Myers <joseph@codesourcery.com>
1951 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
1956 2018-12-14 Florian Weimer <fweimer@redhat.com>
1958 * manual/process.texi (Process Creation Concepts): Remove
1959 documentation of process (ID) lifetime. List more process
1960 creation functions. Reference Process Identification section.
1961 (Process Identification): Add information about process ID
1962 lifetime. Describe Linux thread/task IDs.
1963 * manual/signal.texi (Signaling Another Process): Mention that the
1964 signal is always sent to the process.
1966 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1968 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
1969 and tst-ldbl-efgcvt.
1970 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
1971 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
1972 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
1973 (fcvt_tests, output_error, output_r_error, do_test): Use the
1974 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
1975 select the type of floating-point variables and arguments; to
1976 produce extra tests for double and conversion specifiers for
1977 printf; and to set the names of called functions.
1978 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
1979 in tst-efgcvt-template.c.
1980 * misc/tst-ldbl-efgcvt.c: Likewise.
1982 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
1984 * nss/Makefile (tst-nss-test3.out): New rule.
1986 2018-12-13 Joseph Myers <joseph@codesourcery.com>
1988 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
1991 2018-12-13 fanjinke <fanjinke@hygon.cn>
1993 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
1996 2018-12-13 Andreas Schwab <schwab@suse.de>
1999 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2000 (__pthread_rwlock_rdlock_full): Update expected value for
2001 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2002 * nptl/tst-rwlock-pwn.c: New file.
2003 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2005 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2007 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2010 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2012 * benchtests/scripts/compare_bench.py (do_compare): write to
2013 stderr in casestat is not present.
2014 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2015 stderr in case timings field is not present. Also string showing
2016 the output filename goes into the stderr.
2018 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2020 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2021 and ZeroDivisorError exceptions.
2022 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2023 argument to loop through user provided statistics.
2024 * benchtests/scripts/compare_bench.py (main): Include the --stats
2027 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2029 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2032 2018-12-12 Florian Weimer <fweimer@redhat.com>
2034 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2035 clause to copyright header.
2037 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2040 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2041 registers saved in the stack frame.
2042 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2043 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2045 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2047 * include/bits/monetary-ldbl.h: New file.
2048 * include/bits/printf-ldbl.h: Likewise.
2049 * include/bits/stdio-ldbl.h: Likewise.
2050 * include/bits/stdlib-ldbl.h: Likewise.
2051 * include/bits/syslog-ldbl.h: Likewise.
2052 * include/bits/wchar-ldbl.h: Likewise.
2054 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2056 * libio/libio.h: Remove redirection for _IO_vfprintf.
2058 2018-12-11 Andreas Schwab <schwab@suse.de>
2060 * Makerules: Remove all references to abilist-pattern.
2061 (update-all-abi): Simplify find expression.
2063 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2066 * math/auto-libm-test-in: Add new test case.
2067 * math/auto-libm-test-out-pow: Regenerated.
2068 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2070 2018-12-10 DJ Delorie <dj@redhat.com>
2073 * support/test-container.c: Move postclean step to before we
2076 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2078 * scripts/gen-as-const.py (main): Handle --python option.
2079 * scripts/gen-py-const.awk: Remove.
2080 * Makerules (py-const-script): Use gen-as-const.py.
2081 ($(py-const)): Likewise.
2082 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2083 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2084 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2085 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2086 ~PTHREAD_MUTEX_NO_ELISION_NP.
2087 * manual/README.pretty-printers: Update reference to
2090 * scripts/glibcextract.py: New file.
2091 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2092 or tempfile. Import glibcexctract.
2093 (compute_c_consts): Remove. Moved to glibcextract.py.
2094 (gen_test): Update reference to compute_c_consts.
2096 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2097 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2098 * sysdeps/unix/sysv/linux/Makefile
2099 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2100 Redirect stderr as well as stdout.
2102 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2105 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2106 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2107 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2108 ALWAYS_USE_VSYSCALL.
2109 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2110 ALWAYS_USE_VSYSCALL.
2111 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2112 ALWAYS_USE_VSYSCALL.
2114 2018-12-10 Florian Weimer <fweimer@redhat.com>
2117 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2118 offset instead of count for clarity. Fix typo in comment.
2119 (__old_getdents64): Keep track of previous offset. Use it to call
2121 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2122 that d_off is never zero.
2124 2018-12-10 Andreas Schwab <schwab@suse.de>
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2127 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2129 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2130 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2132 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2134 * timezone/private.h: Update from tzcode 2018g.
2135 * timezone/tzfile.h: Likewise.
2136 * timezone/tzselect.ksh: Likewise.
2137 * timezone/zdump.c: Likewise.
2138 * timezone/zic.c: Likewise.
2140 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2143 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2144 (do_test): Adjust buffer size and fix format.
2146 2018-12-07 DJ Delorie <dj@redhat.com>
2149 * malloc/tst-tcfree3.c: New.
2150 * malloc/Makefile: Add it.
2152 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2154 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2156 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2158 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2159 used as a mask for the mode argument of __vfscanf_internal and
2160 __vfwscanf_internal.
2161 * stdio-common/vfscanf-internal.c
2162 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2163 (__strtof128_internal): Define to __wcstof128_internal.
2164 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2165 __strtof128_internal or __wcstof128_internal when the format of
2166 long double is the same as _Float128.
2168 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2170 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2171 * posix/confstr.c (confstr): Rename to __confstr.
2172 (__confstr): Add hidden def.
2173 (confstr): Add weak alias for __confstr.
2174 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2177 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2179 * NEWS: Mention getcpu.
2180 * include/sched.h (__getcpu): New libc_hidden_proto.
2181 * manual/resource.texi: Document getcpu.
2182 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2183 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2184 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2185 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2186 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2187 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2188 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2189 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2190 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2191 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2193 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2194 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2196 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2197 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2198 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2207 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2210 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2213 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2215 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2216 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2217 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2220 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2222 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2224 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2226 2018-12-07 Florian Weimer <fweimer@redhat.com>
2229 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2230 * posix/Versions (GLIBC_2.29): Export
2231 posix_spawn_file_actions_addfchdir_np.
2232 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2233 * posix/spawn_faction_destroy.c
2234 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2235 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2236 and the field action.fchdir_action.
2237 * posix/tst-spawn-chdir.c (add_chdir): New function.
2238 (do_test): Add do_fchdir loop. Call add_chdir.
2239 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2240 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2241 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2242 posix_spawn_file_actions_addfchdir_np.
2243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2245 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2247 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2248 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2250 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2252 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2254 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2256 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2258 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2260 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2261 (GLIBC_2.29): Likewise.
2262 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2263 (GLIBC_2.29): Likewise.
2264 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2265 (GLIBC_2.29): Likewise.
2266 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2267 (GLIBC_2.29): Likewise.
2268 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2271 (GLIBC_2.29): Likewise.
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2273 (GLIBC_2.29): Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2275 (GLIBC_2.29): Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2277 (GLIBC_2.29): Likewise.
2278 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2280 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2282 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2284 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2285 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2289 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2291 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2294 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2296 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2297 trailing whitespace removed.
2298 * scripts/config.guess: Update to version 2018-11-28.
2299 * scripts/config.sub: Update to version 2018-11-28.
2300 * scripts/install-sh: Update to version 2018-03-11.20.
2301 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2302 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2304 2018-12-07 Florian Weimer <fweimer@redhat.com>
2308 * inet/tst-if_index-long.c: New file.
2309 * inet/Makefile (tests): Add tst-if_index-long.
2311 2018-12-07 Florian Weimer <fweimer@redhat.com>
2313 * support/check.h (support_record_failure_is_failed): Declare.
2314 * support/descriptors.h: New file.
2315 * support/support_descriptors.c: Likewise.
2316 * support/tst-support_descriptors.c: Likewise.
2317 * support/support_record_failure.c
2318 (support_record_failure_is_failed): New function.
2319 * support/Makefile (libsupport-routines): Add support_descriptors.
2320 (tests): Add tst-support_descriptors.
2322 2018-12-05 Zack Weinberg <zackw@panix.com>
2323 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2325 * stdio-common/vfprintf-internal.c
2326 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2327 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2328 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2329 and __no_long_double.
2330 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2331 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2333 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2334 and __nldbl_*syslog* functions.
2335 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2336 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2337 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2338 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2339 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2340 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2341 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2342 (__nldbl_vwprintf, __nldbl_wprintf):
2343 Directly call the appropriate __v*printf_internal routine, passing
2344 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2346 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2347 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2348 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2349 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2350 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2351 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2352 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2353 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2354 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2355 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2356 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2357 (__nldbl_syslog, __nldbl_vsyslog):
2358 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2359 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2361 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2364 2018-12-05 Zack Weinberg <zackw@panix.com>
2365 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2368 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2369 Moved here from debug/vsprintf_chk.c.
2370 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2371 and completion logic for the strfile to match exactly what
2372 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2373 _IO_str_init_static_internal instead of maxlen-1.
2374 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2375 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2376 __vsprintf_internal.
2378 * debug/vsprintf_chk.c (__vsprintf_chk)
2379 * debug/sprintf_chk.c (__sprintf_chk):
2380 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2381 'flags' argument is positive, and slen as maxlen. No need to lock
2382 the FILE and/or construct a temporary FILE. Minimize and normalize
2383 header inclusions and variable names. Do not libc_hidden_def anything.
2385 * debug/asprintf_chk.c (__asprintf_chk)
2386 * debug/dprintf_chk.c (__dprintf_chk)
2387 * debug/fprintf_chk.c (__fprintf_chk)
2388 * debug/fwprintf_chk.c (__fwprintf_chk)
2389 * debug/printf_chk.c (__printf_chk)
2390 * debug/snprintf_chk.c (__snprintf_chk)
2391 * debug/swprintf_chk.c (__swprintf_chk)
2392 * debug/vasprintf_chk.c (__vasprintf_chk)
2393 * debug/vdprintf_chk.c (__vdprintf_chk)
2394 * debug/vfprintf_chk.c (__vfprintf_chk)
2395 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2396 * debug/vprintf_chk.c (__vprintf_chk)
2397 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2398 * debug/vswprintf_chk.c (__vswprintf_chk)
2399 * debug/vwprintf_chk.c (__vwprintf_chk)
2400 * debug/wprintf_chk.c (__wprintf_chk):
2401 Directly call the corresponding vxxprintf_internal function, passing
2402 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2403 the FILE and/or construct a temporary FILE. Minimize and normalize
2404 header inclusions and variable names. Do not libc_hidden_def anything.
2406 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2407 __obstack_vprintf_internal.
2408 (__obstack_vprintf_chk): Convert into a wrapper that calls
2409 __obstack_vprintf_internal (these two functions already had the
2410 same code) and move to new file...
2411 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2413 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2414 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2415 * debug/Makefile (routines): Add vobprintf_chk.
2417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2418 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2419 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2420 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2421 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2422 (__nldbl___obstack_vfprintf_chk):
2423 Directly call the corresponding vxxprintf_internal function,
2424 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2425 duplicate comparison of slen with 0 or maxlen from the corresponding
2426 non-__nldbl function.
2428 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2429 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2430 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2431 Remove libc_hidden_proto.
2433 * stdio-common/vfprintf-internal.c
2434 (__vfprintf_internal, __vfwprintf_internal):
2435 Do not check _IO_FLAGS2_FORTIFY.
2436 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2437 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2438 a comment explaining why it has the maxlen argument.
2439 (_IO_acquire_lock_clear_flags2_fct): Remove.
2440 (_IO_acquire_lock_clear_flags2): Remove.
2441 (_IO_release_lock): Remove conditional statement which will
2443 (_IO_acquire_lock): Remove variable which is now unused.
2444 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2445 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2447 * stdio-common/Makefile (tests): Add tst-bz11319 and
2448 tst-bz11319-fortify2.
2449 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2450 * stdio-common/tst-bz11319-fortify2.c: New file.
2451 * stdio-common/tst-bz11319.c: Likewise.
2453 2018-12-05 Zack Weinberg <zackw@panix.com>
2454 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2456 * misc/syslog.c: Include libioP.h, not iolibio.h.
2457 (__vsyslog_internal): New function with the former body of
2458 __vsyslog_chk; takes mode_flags argument same as
2459 __v*printf_internal. Call __vfprintf_internal directly.
2461 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2462 Remove libc_hidden_def.
2463 (__syslog, __syslog_chk): Use __vsyslog_internal.
2464 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2466 * include/sys/syslog.h: Add multiple inclusion guard.
2467 Add prototype for __vsyslog_internal.
2468 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2470 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2471 Use __vsyslog_internal.
2473 2018-12-05 Zack Weinberg <zackw@panix.com>
2474 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2476 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2477 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2478 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2480 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2481 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2483 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2484 Include wctype.h here if COMPILE_WPRINTF is defined.
2485 Define __vfprintf_internal or __vfwprintf_internal, depending
2487 Temporarily, on entry to this function, update mode_flags
2488 according to the environmental settings corresponding to
2489 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2490 Throughout, check mode_flags instead of __ldbl_is_dbl and
2491 _IO_FLAGS2_FORTIFY on the destination FILE.
2492 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2493 Include vfprintf-internal.c. Don't include wctype.h.
2494 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2495 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2497 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2498 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2500 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2502 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2503 and add mode_flags argument; use __vfprintf_internal.
2504 (__vdprintf): New function. Alias vdprintf to this.
2505 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2506 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2507 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2508 (__obstack_printf): Use __obstack_printf_internal.
2509 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2510 public aliases __vsnprintf and vsnprintf.
2511 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2513 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2514 public aliases _IO_vsprintf and vsprintf.
2515 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2516 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2517 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2518 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2519 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2521 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2522 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2523 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2524 * stdio-common/printf.c: Use __vfprintf_internal.
2526 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2527 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2528 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2530 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2531 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2532 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2533 __vfwprintf_internal.
2535 * libio/libio.h: Remove libc_hidden_proto and declaration for
2537 Remove declaration of _IO_vfwprintf.
2538 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2540 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2542 * include/stdio.h: Add prototype for __vasprintf.
2543 (__vsnprintf): Remove declaration, because there are no more
2545 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2546 declaration, because there are no more internal calls.
2548 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2549 __vsnprintf_internal, instead of _IO_vsnprintf.
2550 * argp/argp-help.c (__argp_error, __argp_failure): Use
2551 __vasprintf_internal, instead of _IO_vasprintf.
2552 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2553 redefine, because there are no more internal calls.
2555 2018-12-05 Zack Weinberg <zackw@panix.com>
2556 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2558 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2559 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2560 Include libio/strfile.h instead of libioP.h.
2561 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2562 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2563 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2564 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2565 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2566 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2567 necessary. Do not set __no_long_double. Normalize variable names.
2568 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2569 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2570 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2571 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2572 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2573 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2574 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2575 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2576 Do not set __no_long_double. Normalize variable names.
2578 2018-12-05 Zack Weinberg <zackw@panix.com>
2579 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2581 * stdio-common/isoc99_scanf.c
2582 * stdio-common/isoc99_fscanf.c
2583 * stdio-common/isoc99_sscanf.c
2584 * stdio-common/isoc99_vscanf.c
2585 * stdio-common/isoc99_vfscanf.c
2586 * stdio-common/isoc99_vsscanf.c
2587 * wcsmbs/isoc99_wscanf.c
2588 * wcsmbs/isoc99_fwscanf.c
2589 * wcsmbs/isoc99_swscanf.c
2590 * wcsmbs/isoc99_vwscanf.c
2591 * wcsmbs/isoc99_vfwscanf.c
2592 * wcsmbs/isoc99_vswscanf.c:
2593 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2594 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2595 No need to lock and unlock the FILE passed to that function.
2597 * stdio-common/vfscanf-internal.c
2598 (__vfscanf_internal, __vfwscanf_internal):
2599 Don't look at _IO_FLAGS2_SCANF_STD.
2600 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2601 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2602 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2604 2018-12-05 Zack Weinberg <zackw@panix.com>
2605 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2607 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2608 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2609 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2610 * libio/strfile.h: Add multiple inclusion guard.
2611 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2613 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2614 consistency with the other version of this file.
2615 (ldbl_compat_symbol): New macro.
2616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2619 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2620 Define __vfscanf_internal or __vfwscanf_internal, depending on
2621 COMPILE_WSCANF; don't define any other public symbols.
2622 Remove errval and code to set errp.
2623 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2624 as the mode_flags argument.
2625 (encode_error, conv_error, input_error): Don't set errval.
2626 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2627 Include vfscanf-internal.c.
2628 * stdio-common/vfscanf.c: New file defining the public entry
2629 point vfscanf, which calls __vfscanf_internal.
2630 * stdio-common/vfwscanf.c: New file defining the public entry
2631 point vfwscanf, which calls __vfwscanf_internal.
2633 * stdio-common/iovfscanf.c: New file.
2634 * stdio-common/iovfwscanf.c: Likewise.
2636 * stdio-common/Makefile (routines): Add vfscanf-internal,
2637 vfwscanf-internal, iovfscanf, iovfwscanf.
2638 * stdio-common/Versions: Mention GLIBC_2.29, so that
2639 it can be used in SHLIB_COMPAT expressions.
2640 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2641 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2642 Call __vfscanf_internal, instead of _IO_vfscanf.
2643 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2645 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2648 * libio/iovsscanf.c: Clean up includes, when possible. Use
2649 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2650 __vfscanf_internal or __vfwscanf_internal directly.
2651 * libio/iovswscanf.c: Likewise.
2652 * libio/swscanf.c: Likewise.
2653 * libio/vscanf.c: Likewise.
2654 * libio/vwscanf.c: Likewise.
2655 * libio/wscanf.c: Likewise.
2656 * stdio-common/isoc99_fscanf.c: Likewise.
2657 * stdio-common/isoc99_scanf.c: Likewise.
2658 * stdio-common/isoc99_sscanf.c: Likewise.
2659 * stdio-common/isoc99_vfscanf.c: Likewise.
2660 * stdio-common/isoc99_vscanf.c: Likewise.
2661 * stdio-common/isoc99_vsscanf.c: Likewise.
2662 * stdio-common/scanf.c: Likewise.
2663 * stdio-common/sscanf.c: Likewise.
2664 * wcsmbs/isoc99_fwscanf.c: Likewise.
2665 * wcsmbs/isoc99_swscanf.c: Likewise.
2666 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2667 * wcsmbs/isoc99_vswscanf.c: Likewise.
2668 * wcsmbs/isoc99_vwscanf.c: Likewise.
2669 * wcsmbs/isoc99_wscanf.c: Likewise.
2671 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2674 (__tz_compute): Replace time_t with __time64_t.
2675 (__tz_convert): Replace time_t* with __time64_t.
2676 (__offtime): Replace time_t* with __time64_t.
2678 (__gmtime_r): Adjust call to __tz_convert.
2681 (__localtime_r): Likewise.
2682 (localtime): Likewise.
2683 * time/offtime.c: Replace time_t with __time64_t.
2684 * time/tzset.c: Likewise.
2686 2018-12-04 Joseph Myers <joseph@codesourcery.com>
2688 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2689 dynamic linker unless [$(run-built-tests) = yes].
2691 2018-12-03 DJ Delorie <dj@delorie.com>
2693 * support/test-container.c (check_for_unshare_hints): New.
2694 (main): Call it if unshare fails. Add support for "su" scriptlet
2697 2018-12-03 Joseph Myers <joseph@codesourcery.com>
2699 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2700 'START' to indicate that start text should be output.
2701 (gen_test): Likewise.
2702 (main): Generate 'START' for first symbol or '--' line, or at end
2703 of input if not previously generated.
2705 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2708 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2709 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2710 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2711 ALWAYS_USE_VSYSCALL.
2713 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2716 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2719 2018-12-03 Carlos O'Donell <carlos@redhat.com>
2722 * locale/programs/localedef.c: Declare boolean hard_links default true.
2723 (options): Add --no-hard-links option.
2724 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2725 * locale/programs/localedef.h: Declare prototype for hard_links.
2726 * locale/programs/locfile.c (write_locale_data): Don't use hard
2727 links if hard_links is false.
2729 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2731 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2733 (__cache_sysconf): Likewise.
2734 (init_cacheinfo): Likewise.
2735 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2736 populate COMMON_CPUID_INDEX_80000007 and
2737 COMMON_CPUID_INDEX_80000008.
2738 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2739 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2740 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2741 (init_cpu_features): Use _Static_assert on
2742 index_arch_Fast_Unaligned_Load.
2743 __get_cpuid_registers and __get_arch_feature. Updated for
2744 cpu_features_basic. Set stepping in cpu_features.
2745 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2746 (FEATURE_INDEX_2): New.
2747 (FEATURE_INDEX_MAX): Changed to enum.
2748 (COMMON_CPUID_INDEX_D_ECX_1): New.
2749 (COMMON_CPUID_INDEX_80000007): Likewise.
2750 (COMMON_CPUID_INDEX_80000008): Likewise.
2751 (cpuid_registers): Likewise.
2752 (cpu_features_basic): Likewise.
2753 (CPU_FEATURE_USABLE): Likewise.
2754 (bit_arch_XXX_Usable): Likewise.
2755 (cpu_features): Use cpuid_registers and cpu_features_basic.
2756 (bit_arch_XXX): Reweritten.
2757 (bit_cpu_XXX): Likewise.
2758 (index_cpu_XXX): Likewise.
2759 (reg_XXX): Likewise.
2760 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2762 (CHECK_CPU_FEATURE): New.
2763 (CHECK_CPU_FEATURE_USABLE): Likewise.
2764 (cpu_kinds): Likewise.
2765 (do_test): Print vendor, family, model and stepping. Check
2766 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2767 (TEST_FUNCTION): Removed.
2768 Include <support/test-driver.c> instead of
2769 "../../test-skeleton.c".
2770 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2771 Check POPCNT instead of POPCOUNT.
2772 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2774 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2776 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2777 there is no element in `consts'.
2779 2018-12-01 Florian Weimer <fweimer@redhat.com>
2781 * support/support_capture_subprocess.c
2782 (support_capture_subprocess): Check that pipe descriptors have
2783 expected values. Close original pipe descriptors in subprocess.
2785 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2788 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2789 attr with __pthread_default_barrierattr.
2790 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2791 attr with __pthread_default_condattr.
2792 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2793 attr with __pthread_default_mutexattr.
2794 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2795 attr with __pthread_default_rwlockattr.
2797 2018-12-01 Kemi Wang <kemi.wang@intel.com>
2799 * manual/tunables.texi (POSIX Thread Tunables): New node.
2800 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
2801 * nptl/nptl-init.c: Include pthread_mutex_conf.h
2802 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
2803 __pthread_tunables_init.
2804 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
2805 (max_adaptive_count): Define.
2806 * nptl/pthread_mutex_conf.c: New file.
2807 * nptl/pthread_mutex_conf.h: New file.
2808 * sysdeps/generic/adaptive_spin_count.h: New file.
2809 * sysdeps/nptl/dl-tunables.list: New file.
2810 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2811 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
2812 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
2815 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2818 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
2819 * stdlib/on_exit.c (__on_exit): Likewise.
2820 * stdlib/Makefile (tests): Add tst-bz20544.
2821 * stdlib/tst-bz20544.c: New test.
2823 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
2826 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
2827 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2830 2018-11-30 Florian Weimer <fweimer@redhat.com>
2832 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
2833 Extend error logging.
2834 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
2837 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2839 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
2840 __sigismember instead of sigismember.
2841 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
2842 cancel_handler): New definitions.
2843 (do_system): Use posix_spawn instead of fork and execl and remove
2845 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
2846 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
2847 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
2848 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2850 * sysdeps/unix/sysv/linux/system.c: Likewise.
2854 * NEWS: Add new semantic for atfork with popen and system.
2855 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
2858 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2861 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
2862 modification order when accessing reloc_result->addr.
2863 * include/link.h (reloc_result): Add field init.
2864 * nptl/Makefile (tests): Add tst-audit-threads.
2865 (modules-names): Add tst-audit-threads-mod1 and
2866 tst-audit-threads-mod2.
2867 Add rules to build tst-audit-threads.
2868 * nptl/tst-audit-threads-mod1.c: New file.
2869 * nptl/tst-audit-threads-mod2.c: Likewise.
2870 * nptl/tst-audit-threads.c: Likewise.
2871 * nptl/tst-audit-threads.h: Likewise.
2873 2018-11-30 Joseph Myers <joseph@codesourcery.com>
2875 * scripts/gen-as-const.py: New file.
2876 * scripts/gen-as-const.awk: Remove.
2877 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
2879 ($(objpfx)test-as-const-%.c): Likewise.
2881 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2883 * elf/dl-exception.c: Include <_itoa.h>.
2885 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2887 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
2888 returned by __f_setlk.
2890 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2891 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2893 * elf/Makefile (tests-internal): Add tst-create_format1.
2894 * elf/dl-exception.c (_dl_exception_create_format): Support
2896 * elf/tst-create_format1.c: New file.
2898 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
2900 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
2901 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
2903 * argp/argp-help.c (__argp_failure): Likewise.
2905 2018-11-29 Mao Han <han_mao@c-sky.com>
2907 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
2908 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
2909 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
2910 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
2911 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
2912 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
2913 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
2914 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
2915 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
2916 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
2917 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
2918 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
2919 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
2920 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
2921 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
2922 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
2923 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
2924 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
2925 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
2926 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
2927 (R_CKCORE_TLS_TPOFF32): New defines.
2929 2018-11-29 Florian Weimer <fweimer@redhat.com>
2931 * posix/Makefile (before-compile): Remove testcases.h and
2933 (generated): Add testcases.h and ptestcases.h.
2934 (testcases.h, ptestcases.h): Move to $(objpfx).
2935 (runtests.o): Add dependency on testcases.h.
2936 (runptests.o): Add dependency on ptestcases.h.
2937 * posix/testcases.h, posix/ptestcases.h: Remove files.
2938 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
2939 not touch posix/testcases.h and posix/ptestcases.h.
2941 2018-11-28 Florian Weimer <fweimer@redhat.com>
2943 support: Add signal support to support_capture_subprocess_check.
2944 * support/capture_subprocess.h (support_capture_subprocess_check):
2945 Adjust comment and rename parameter.
2946 * support/support_capture_subprocess_check.c
2947 (print_actual_status): New function.
2948 (support_capture_subprocess_check): Support negative
2949 status_or_signal. Call print_actual_status.
2950 * support/tst-support_capture_subprocess.c (do_test): Call
2951 support_capture_subprocess_check.
2952 * libio/tst-vtables-common.c (termination_status)
2953 (init_termination_status): Remove.
2954 (check_for_termination): Adjust support_capture_subprocess_check
2956 (do_test): Remove call to init_termination_status.
2958 2018-11-28 Joseph Myers <joseph@codesourcery.com>
2960 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
2961 source directory instead of a copy.
2962 (CommandList.create_copy_dir): Remove.
2964 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
2966 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2968 2018-11-28 Florian Weimer <fweimer@redhat.com>
2970 * support/support.h (support_quote_string): Do not use str
2973 2018-11-27 Joseph Myers <joseph@codesourcery.com>
2975 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2976 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
2978 2018-11-27 Florian Weimer <fweimer@redhat.com>
2980 * support/support.h (support_quote_string): Declare.
2981 * support/support_quote_string.c: New file.
2982 * support/tst-support_quote_string.c: Likewise.
2983 * support/Makefile (libsupport-routines): Add
2984 support_quote_string.
2985 (tests): Add tst-support_quote_string.
2987 2018-11-27 Florian Weimer <fweimer@redhat.com>
2991 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
2992 descriptor leak in case of ENODEV error.
2994 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
2997 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
2998 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
2999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3001 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3003 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3004 Error for unknown lines.
3006 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3008 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3009 Touch additional files.
3011 2018-11-26 Florian Weimer <fweimer@redhat.com>
3014 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3017 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3020 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3021 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3022 SHARED. Include sysdep.h.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3024 ALWAYS_USE_VSYSCALL.
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3026 ALWAYS_USE_VSYSCALL.
3028 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3031 * nptl/Makefile (tests-static): Add tst-cond11-static.
3033 * nptl/tst-cond11-static.c: New File.
3034 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3035 tst-affinity-static.
3037 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3039 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3040 (USE_VSYSCALL): Likewise.
3041 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3042 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3049 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3053 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3056 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3058 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3059 (tst-cet-legacy-1a-ARGS): New.
3060 ($(objpfx)tst-cet-legacy-1a): New target.
3061 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3063 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3065 * conform/conformtest.py (CompileSubTest.__init__): Set
3066 self.run_early to False.
3067 (ExecuteSubTest.__init__): Likewise.
3068 (HeaderTests.run): Try running all non-optional, non-XFAILed
3069 compilation tests in a single execution of the compiler.
3071 * conform/conformtest.py (CompileSubTest): New class.
3072 (ExecuteSubTest): Likewise.
3073 (ElementTest.run): Rename to gen_subtests. Append tests to
3074 self.subtests instead of running them.
3075 (ConstantTest.run): Likewise.
3076 (SymbolTest.run): Likewise.
3077 (TypeTest.run): Likewise.
3078 (TagTest.run): Likewise.
3079 (FunctionTest.run): Likewise.
3080 (VariableTest.run): Likewise.
3081 (MacroFunctionTest.run): Likewise.
3082 (MacroStrTest.run): Likewise.
3083 (HeaderTests.handle_test_line): Generate subtests for tests.
3084 (HeaderTests.run): Run subtests for tests.
3086 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3088 * math/Versions (GLIBC_2.29): Add pow.
3089 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3091 * math/w_pow.c: New file.
3092 * sysdeps/i386/fpu/w_pow.c: New file.
3093 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3095 and add necessary aliases.
3096 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3097 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3098 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3099 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3100 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3101 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3102 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3103 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3104 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3105 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3106 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3107 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3108 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3109 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3110 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3115 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3116 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3117 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3118 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3122 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3124 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3125 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3126 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3128 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3130 * math/Versions (GLIBC_2.29): Add log2.
3131 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3133 * math/w_log2.c: New file.
3134 * sysdeps/i386/fpu/w_log2.c: New file.
3135 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3136 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3137 and add necessary aliases.
3138 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3139 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3140 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3141 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3142 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3143 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3144 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3145 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3146 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3147 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3148 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3149 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3150 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3151 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3152 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3157 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3158 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3160 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3161 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3162 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3165 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3167 * math/Versions (GLIBC_2.29): Add log.
3168 * math/w_log_compat.c (__log_compat): Change to versioned compat
3170 * math/w_log.c: New file.
3171 * sysdeps/i386/fpu/w_log.c: New file.
3172 * sysdeps/ia64/fpu/e_log.S: Update.
3173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3174 and add necessary aliases.
3175 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3176 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3177 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3178 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3179 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3180 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3181 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3182 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3183 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3184 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3185 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3186 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3187 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3188 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3189 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3194 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3195 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3196 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3197 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3198 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3199 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3200 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3201 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3203 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3204 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3205 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3206 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3208 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3210 * math/Versions (GLIBC_2.29): Add exp and exp2.
3211 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3212 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3213 * math/w_exp_compat.c (__exp_compat): Likewise.
3214 * math/w_exp.c: New file.
3215 * math/w_exp2.c: New file.
3216 * sysdeps/i386/fpu/w_exp.c: New file.
3217 * sysdeps/i386/fpu/w_exp2.c: New file.
3218 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3219 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3220 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3221 and add necessary aliases.
3222 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3223 and add necessary aliases.
3224 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3225 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3226 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3227 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3228 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3229 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3230 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3231 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3232 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3233 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3234 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3235 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3236 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3238 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3239 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3240 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3245 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3246 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3247 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3249 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3250 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3252 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3253 (__ieee754_exp): Rename to __exp.
3254 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3255 (__ieee754_exp): Rename to __exp.
3256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3257 (__ieee754_exp): Rename to __exp.
3258 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3260 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3262 2018-11-20 DJ Delorie <dj@redhat.com>
3264 * malloc/malloc.c (tcache_entry): Add key field.
3265 (tcache_put): Set it.
3266 (tcache_get): Likewise.
3267 (_int_free): Check for double free in tcache.
3268 * malloc/tst-tcfree1.c: New.
3269 * malloc/tst-tcfree2.c: New.
3270 * malloc/Makefile: Run the new tests.
3271 * manual/probes.texi: Document memory_tcache_double_free probe.
3273 * dlfcn/dlerror.c (check_free): Prevent double frees.
3275 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3277 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3279 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3281 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3282 in tests. Use names for format arguments.
3283 (ConstantTest.run): Likewise.
3284 (SymbolTest.run): Likewise.
3285 (TypeTest.run): Likewise.
3286 (TagTest.run): Likewise.
3287 (FunctionTest.run): Likewise.
3288 (VariableTest.run): Likewise.
3289 (MacroFunctionTest.run): Likewise.
3290 (MacroStrTest.run): Likewise.
3291 (HeaderTests.__init__): Set self.num_tests.
3292 (HeaderTests.handle_test_line): Set test.num. Increment
3295 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3297 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3298 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3301 2018-11-19 Mao Han <han_mao@c-sky.com>
3303 * scripts/config.guess: Update to version 2018-08-29.
3304 * scripts/config.sub: Update to version 2018-08-29.
3306 2018-11-19 Florian Weimer <fweimer@redhat.com>
3308 support: Print timestamps in timeout handler.
3309 * support/support_test_main.c (print_timestamp): New function.
3310 (signal_handler): Use it to print the termination time and the
3311 time of the last write to standard output.
3313 2018-11-16 Zack Weinberg <zackw@panix.com>
3314 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3316 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3317 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3319 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3320 and add flags argument. Check flags instead of __ldbl_is_dbl when
3321 deciding whether to set is_long_double.
3322 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3323 passing zero for flags argument.
3324 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3327 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3328 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3329 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3330 variable names. Remove libc_hidden_def/libc_hidden_proto from
3331 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3332 longer called from within the library.
3333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3334 for __nldbl___vstrfmon_l, declare it explicitly.
3336 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3338 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3340 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3342 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3343 F_SETLK64, F_SETLKW64, respectively.
3344 * sysdeps/mach/hurd/f_setlk.c: New file.
3345 * sysdeps/mach/hurd/f_setlk.h: New file.
3346 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3348 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3349 (__libc_fcntl): Move non-flock operations to...
3350 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3351 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3353 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3355 mktime: DEBUG_MKTIME cleanup
3356 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3357 And it’s no longer needed now that glibc and Gnulib both have
3358 their own testing mechanisms for mktime.
3359 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3361 mktime: fix non-EOVERFLOW errno handling
3363 mktime was not properly reporting failures when the underlying
3364 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3365 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3366 The problem could happen on non-glibc platforms, with Gnulib.
3367 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3368 (tm_diff): ... this simpler function, which does not change errno.
3369 All callers changed to deal with errno themselves.
3370 (ranged_convert, __mktime_internal): Return failure immediately if
3371 the underlying function reports any failure other than EOVERFLOW.
3372 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3375 mktime: fix bug with Y2038 DST transition
3377 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3378 mishandle a DST transition that jumps over the Y2038 boundary.
3379 No such DST transitions are known so this is only a theoretical
3380 bug, but we might as well do things right.
3382 mktime: make more room for overflow
3384 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3385 This is so that we can add tm_diff results to a previous guess,
3386 which will be useful in a later patch.
3388 mktime: simplify offset guess
3390 * time/mktime.c (__mktime_internal): Omit excess precision.
3392 mktime: new test for mktime failure
3394 Based on a test suggested by Albert Aribaud in:
3395 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3396 * time/Makefile (tests): Add bug-mktime4.
3397 * time/bug-mktime4.c: New file.
3399 mktime: fix EOVERFLOW bug
3401 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3402 Include libc-config.h, not config.h, for __set_errno.
3403 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3405 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3407 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3408 __attribute_copy__ to copy attributes from name. Drop static qualifier
3409 to avoid warnings about leaf attribute not having effect on static
3412 2018-11-13 Florian Weimer <fweimer@redhat.com>
3414 * malloc/malloc.c (fastbin_push_entry): New function.
3415 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3416 (REMOVE_FB): Remove macro.
3417 (_int_malloc): Use fastbin_pop_entry and reindent.
3418 (_int_free): Use fastbin_push_entry.
3419 (malloc_consolidate): Use atomic_exchange_acquire.
3421 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3423 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3424 alias attribute, not with strong_alias.
3426 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3427 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3428 with additional parameter thread.
3429 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3430 in terms of __hidden_ver2.
3431 (hidden_tls_def): New macro.
3432 (libc_hidden_tls_def): Likewise.
3433 (rtld_hidden_tls_def): Likewise.
3434 (libm_hidden_tls_def): Likewise.
3435 (libmvec_hidden_tls_def): Likewise.
3436 (libresolv_hidden_tls_def): Likewise.
3437 (librt_hidden_tls_def): Likewise.
3438 (libdl_hidden_tls_def): Likewise.
3439 (libnss_files_hidden_tls_def): Likewise.
3440 (libnsl_hidden_tls_def): Likewise.
3441 (libnss_nisplus_hidden_tls_def): Likewise.
3442 (libutil_hidden_tls_def): Likewise.
3443 (libutil_hidden_tls_def): Likweise.
3444 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3445 libc_hidden_tls_def.
3446 (__sim_disabled_exceptions_thread): Likewise.
3447 (__sim_round_mode_thread): Likewise.
3449 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3450 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3451 copy attributes from name.
3453 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3455 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3456 Use __attribute_copy__ to copy attributes from name.
3458 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3459 with __hidden_ver1 call.
3460 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3461 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3462 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3463 (__cosf): Do not declare here.
3464 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3465 (__sincosf): Do not declare here.
3466 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3467 (__sinf): Do not declare here.
3469 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3470 (__BIG_ENDIAN): Likewise.
3471 (__BYTE_ORDER): Likewise.
3472 (strong_alias): Likewise.
3473 (_strong_alias): Likewise.
3475 2018-11-12 Florian Weimer <fweimer@redhat.com>
3477 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3478 function. Move after the definition of in_smallbin_range. Do not
3479 use __builtin_expect for paths that lead to a noreturn function.
3480 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3481 because it is unclear whether this is in fact an unlikely
3483 (_int_malloc, _int_free): Adjust.
3484 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3486 * malloc/arena.c (heap_trim): Likewise.
3488 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3490 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3491 it, free it if needed.
3492 (reauthenticate): Test and use ccwdir.
3493 (child_init_port): In non-resetids case, test and use ccwdir.
3494 (child_chdir): New nested function to set ccwdir.
3495 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3496 * hurd/hurd/port.h (_hurd_port_move): New function.
3497 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3498 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3499 * hurd/Versions (_hurd_port_move): Export function.
3500 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3502 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3503 of dtablesize for allocating dtable_cloexec.
3505 2018-11-09 Martin Sebor <msebor@redhat.com>
3507 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3508 it's already defined.
3509 (_strong_alias): Use __attribute_copy__.
3510 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3511 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3512 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3513 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3514 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3515 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3516 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3517 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3518 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3519 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3520 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3521 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3522 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3523 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3524 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3525 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3526 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3527 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3528 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3530 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3532 * misc/tst-efgcvt.c: Include support/check.h and
3533 support/test-driver.c. Do not include test-skeleton.c.
3534 (error_count): Remove.
3535 (output_error): Replace increments to error_count with calls to
3536 support_record_failure.
3537 (output_r_error): Likewise.
3538 (special): Likewise.
3539 (do_test): Unconditionally return zero.
3540 (TEST_FUNCTION): Remove.
3542 2018-11-09 Joseph Myers <joseph@codesourcery.com>
3544 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3546 ($(linknamespace-header-tests)): Likewise.
3548 * conform/conformtest.py: New file.
3549 * conform/conformtest.pl: Remove.
3550 * conform/GlibcConform.pm: Likewise.
3551 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3552 (KEYWORDS_C99): Likewise.
3553 (KEYWORDS): Likewise.
3554 * conform/Makefile ($(conformtest-header-tests)): Use
3555 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3556 option. Use --header instead of --headers.
3557 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3559 * conform/data/spawn.h-data: Likewise.
3560 * conform/data/fcntl.h-data (openat): Add space after function
3562 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3563 (wcscasecmp_l): Likewise.
3564 * conform/data/termios.h-data (c_cc): Add space after element
3567 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3569 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3570 instead of manually comparing and reporting mismatching strings.
3571 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3572 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3574 2018-11-08 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3577 __ASSUME_SOCKETCALL.
3578 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3579 (__ASSUME_SOCKETCALL): Remove.
3580 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3581 (__ASSUME_SOCKETCALL): Likewise.
3582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3583 (__ASSUME_SOCKETCALL): Likewise.
3584 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3585 (__ASSUME_SOCKETCALL): Likewise.
3586 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3587 (__ASSUME_SOCKETCALL): Likewise.
3588 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3589 (__ASSUME_SOCKETCALL): Likewise.
3590 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3591 (__ASSUME_SOCKETCALL): Likewise.
3593 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3596 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3597 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3598 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3599 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3600 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3603 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3606 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3608 2018-11-07 Joseph Myers <joseph@codesourcery.com>
3611 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3612 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3614 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3616 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3618 * support/support_test_compare_string.c
3619 (support_test_compare_string): Fix printf format.
3621 2018-11-07 Florian Weimer <fweimer@redhat.com>
3623 Implement TEST_COMPARE_STRING.
3624 * support/check.h (TEST_COMPARE_STRING): Define.
3625 (support_test_compare_string): Declare.
3626 * support/Makefile (libsupport-routines): Add
3627 support_test_compare_string.
3628 (tests): Add tst-test_compare_string.
3629 * support/support_test_compare_string.c: New file.
3630 * support/tst-test_compare_string.c: Likewise.
3632 2018-11-07 Andreas Schwab <schwab@suse.de>
3635 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3636 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3639 2018-11-06 Joseph Myers <joseph@codesourcery.com>
3642 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3643 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3644 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3645 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3648 2018-11-06 Florian Weimer <fweimer@redhat.com>
3651 * posix/Makefile (routines): Add spawn_faction_addchdir.
3652 (tests): Add tst-spawn-chdir.
3653 * posix/Versions (GLIBC_2.29): Add
3654 posix_spawn_file_actions_addchdir_np.
3655 * posix/spawn_faction_addchdir.c: New file.
3656 * posix/spawn_faction_destroy.c
3657 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3658 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3659 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3661 * posix/tst-spawn-chdir.c: New file.
3662 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3663 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3664 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3665 posix_spawn_file_actions_addchdir_np.
3666 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3668 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3670 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3671 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3673 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3675 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3677 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3679 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3681 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3683 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3684 (GLIBC_2.29): Likewise.
3685 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3686 (GLIBC_2.29): Likewise.
3687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3688 (GLIBC_2.29): Likewise.
3689 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3690 (GLIBC_2.29): Likewise.
3691 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3694 (GLIBC_2.29): Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3696 (GLIBC_2.29): Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3698 (GLIBC_2.29): Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3700 (GLIBC_2.29): Likewise.
3701 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3703 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3705 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3707 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3708 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3710 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3712 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3714 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3717 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3719 * misc/Makefile (tests): Add tst-ldbl-error.
3720 * misc/tst-ldbl-error.c: New file.
3722 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3724 * misc/Makefile (tests): Add tst-ldbl-warn.
3725 * misc/tst-ldbl-warn.c: New file.
3727 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3729 * argp/Makefile (tests): Add tst-ldbl-argp.
3730 * argp/tst-ldbl-argp.c: New file.
3732 2018-11-05 Arjun Shankar <arjun@redhat.com>
3734 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3735 __gconv_path_elem and call __gconv_get_path unconditionally.
3737 2018-11-05 Andreas Schwab <schwab@suse.de>
3740 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3741 creating the first helper thread failed.
3743 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3745 * sysdeps/mach/hurd/msync.c: New file.
3747 2018-11-02 Florian Weimer <fweimer@redhat.com>
3749 * support/shell-container.c (copy_func): Call
3750 support_copy_file_range instead of copy_file_range to support
3751 cross-device copies.
3753 2018-11-02 Florian Weimer <fweimer@redhat.com>
3755 * support/test-container.c: Include <libc-pointer-arith.h> for
3758 2018-11-01 Zong Li <zong@andestech.com>
3760 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3761 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3762 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3763 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3765 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3766 variable to avoid overlap arguments.
3768 2018-11-01 Joseph Myers <joseph@codesourcery.com>
3770 * posix/bug-regex22.c (main): Use puts with distinct error
3771 messages for unexpected success of re_compile_pattern, not printf
3772 with NULL argument to %s.
3774 * stdio-common/bug22.c: Include <libc-diag.h>.
3775 (do_test): Disable -Wformat-overflow= warnings around fprintf
3776 calls outputting more than INT_MAX characters.
3777 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3778 around printf call with NULL %s argument.
3781 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3782 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3784 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3785 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3786 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3787 (__ASSUME_SENDTO_SYSCALL): Likewise.
3788 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3789 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3791 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3792 (__ASSUME_CONNECT_SYSCALL): Likewise.
3793 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3794 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3795 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3797 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
3799 [__LINUX_KERNEL_VERSION >= 0x040400]
3800 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
3804 (setsockopt): Likewise.
3806 2018-11-01 Fredrik Noring <noring@nocrew.org>
3808 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
3809 with the ISA override.
3811 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
3813 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
3816 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3818 * manual/errno.texi (EIEIO): Document how translators should
3819 translate the error message.
3820 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
3821 printing trailing whitespaces refused by git.
3822 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
3823 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3824 * hurd/Makefile (user-interfaces): Add pci.
3826 2018-10-30 Joseph Myers <joseph@codesourcery.com>
3828 * conform/linknamespace.py: New file.
3829 * conform/linknamespace.pl: Remove file.
3830 * conform/Makefile ($(linknamespace-header-tests)): Use
3831 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
3834 2018-10-30 Florian Weimer <fweimer@redhat.com>
3836 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
3839 2018-10-30 Florian Weimer <fweimer@redhat.com>
3841 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
3843 2018-10-30 Florian Weimer <fweimer@redhat.com>
3845 * stdlib/tst-strtod-overflow.c (do_test): Switch to
3846 support_blob_repeat.
3848 2018-10-30 Florian Weimer <fweimer@redhat.com>
3850 Avoid spurious test failures in stdlib/test-bz22786.
3851 * support/Makefile (libsupport-routines): Add blob_repeat.
3852 (tests): Add tst-support_blob_repeat.
3853 * support/blob_repeat.h: New file.
3854 * support/blob_repeat.c: Likewise.
3855 * support/tst-support_blob_repeat.c: Likewise.
3856 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
3857 support_blob_repeat_allocate.
3859 2018-10-30 Andreas Schwab <schwab@suse.de>
3862 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
3863 Don't use tail call.
3864 * elf/tst-unwind-main.c: New file.
3865 * elf/Makefile (tests): Add tst-unwind-main.
3866 (CFLAGS-tst-unwind-main.c): Define.
3868 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
3871 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
3873 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
3875 2018-10-29 Joseph Myers <joseph@codesourcery.com>
3877 * conform/glibcconform.py: Do not import shutil.
3878 (list_exported_functions): Use tempfile.TemporaryDirectory instead
3881 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
3882 critic_missing for versions before 3.4.
3883 * configure: Regenerated.
3884 * manual/install.texi (Tools for Compilation): Document
3885 requirement for Python to build glibc.
3886 * INSTALL: Regenerated.
3887 * Rules [PYTHON]: Make code unconditional.
3888 * benchtests/Makefile [PYTHON]: Likewise.
3889 * conform/Makefile [PYTHON]: Likewise.
3890 * manual/Makefile [PYTHON]: Likewise.
3891 * math/Makefile [PYTHON]: Likewise.
3893 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3895 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
3896 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
3897 answer to interrupt_operation, return EIEIO instead of EINTR.
3898 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
3899 _hurd_intr_rpc_msg_about_to global point to start of controlled
3900 assembly snippet. Make it check canceled flag.
3901 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
3902 the _hurd_intr_rpc_msg_about_to point.
3903 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
3904 issue, remove cancel flag check.
3906 2018-10-26 Joseph Myers <joseph@codesourcery.com>
3908 * scripts/build-many-glibcs.py: Remove compatibility for missing
3909 os.cpu_count and re.fullmatch.
3911 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3914 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
3915 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
3916 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
3918 2018-10-25 Joseph Myers <joseph@codesourcery.com>
3920 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
3923 2018-10-25 Florian Weimer <fweimer@redhat.com>
3927 XFAIL siginfo_t si_band conform test on sparc64.
3928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3929 (__SI_BAND_TYPE): Only override long int default type on sparc64.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3931 (conformtest-xfail-conds): Add sparc64-linux.
3932 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
3934 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
3936 2018-10-25 Joseph Myers <joseph@codesourcery.com>
3938 * elf/elf.h (NT_MIPS_DSP): New macro.
3939 (NT_MIPS_FP_MODE): Likewise.
3941 2018-10-25 Zong Li <zong@andestech.com>
3943 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
3944 name by adding the file extension (.so).
3946 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3948 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
3949 (test-xfail-ISO11/threads.h/linknamespace,
3950 test-xfail-ISO11/threads.h/conform): Add.
3952 2018-10-24 Joseph Myers <joseph@codesourcery.com>
3954 * math/gen-libm-test.py: Import os.
3955 (ALL_FLOATS_MANUAL): New constant.
3956 (ALL_FLOATS_SUFFIX): Likewise.
3957 (Ulps.all_functions): New function.
3958 (real_all_ulps): Likewise.
3959 (generate_err_table_sub): Likewise.
3960 (generate_err_table): Likewise.
3961 (main): Handle -s and -m options.
3962 * manual/libm-err-tab.pl: Remove.
3963 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
3964 instead of libm-err-tab.pl.
3965 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
3967 * manual/install.texi (Tools for Compilation): Document
3968 requirement for Python to build manual.
3969 * INSTALL: Regenerated.
3971 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3973 * bits/time64.h: New file.
3974 * include/time.h: Replace internal_time_t with __time64_t.
3975 * posix/bits/types (__time64_t): Add.
3976 * stdlib/Makefile: Add bits/time64.h to includes.
3977 * time/tzfile.c: Replace internal_time_t with __time64_t.
3979 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3981 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
3982 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
3983 __posix_spawn_file_actions_init, __posix_spawnattr_init,
3984 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
3985 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
3987 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
3988 * posix/spawn_faction_addclose.c
3989 (__posix_spawn_file_actions_addclose): Add hidden definition.
3990 * posix/spawn_faction_adddup2.c
3991 (__posix_spawn_file_actions_adddup2): Likewise.
3992 * posix/spawn_faction_destroy.c
3993 (__posix_spawn_file_actions_destroy): Likewise.
3994 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
3996 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
3997 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
3998 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4000 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4001 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4004 2018-10-24 Andreas Schwab <schwab@suse.de>
4007 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4009 * elf/cache.c (print_cache): Likewise.
4011 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4013 * bits/timesize.h: New file.
4014 * stdlib/Makefile (headers): Add bits/timesize.h.
4015 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4016 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4017 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4018 (__SEM_PAD_AFTER_TIME): Likewise.
4019 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4020 (__SHM_PAD_AFTER_TIME): Likewise.
4021 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4022 (__MSQ_PAD_BEFORE_TIME): Likewise.
4023 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4024 (__SEM_PAD_BEFORE_TIME): Likewise.
4025 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4026 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4027 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4028 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4030 (__MSQ_PAD_BEFORE_TIME): Likewise.
4031 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4032 (__SEM_PAD_BEFORE_TIME): Likewise.
4033 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4034 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4036 (__MSQ_PAD_BEFORE_TIME): Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4038 (__SEM_PAD_BEFORE_TIME): Likewise.
4039 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4040 (__SHM_PAD_BEFORE_TIME): Likewise.
4041 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4042 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4043 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4045 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4047 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4048 USE_RDTSCP is defined.
4049 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4050 USE_RDTSCP is defined.
4052 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4054 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4058 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4059 independently of other flags.
4061 2018-10-23 Florian Weimer <fweimer@redhat.com>
4063 * time/tst-mktime2.c (N_STRINGS): Remove.
4064 (set_timezone): New function.
4065 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4066 (mktime_test1): Report localtime failure and check errno value.
4068 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4069 (do_test): Remove alarm call. Use set_timezone and array_length.
4071 2018-10-23 Andreas Schwab <schwab@suse.de>
4073 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4074 (__start_context): Use END instead of PSEUDO_END.
4076 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4081 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4085 * wcsmbs/c32rtomb.c: New file.
4086 * wcsmbs/mbrtoc32.c: Likewise.
4087 * wcsmbs/tst-c32-state.c: Likewise.
4088 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4089 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4090 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4091 (tests): Add tst-c32-state.
4092 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4095 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4097 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4098 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4100 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4103 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4104 pair and return 0 in that case, and use saved character to
4105 interpret following character.
4106 * wcsmbs/tst-c16-surrogate.c: New file.
4107 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4108 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4109 Depend on $(gen-locales)
4111 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4114 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4115 (struct siginfo_t): Use correct type for si_band.
4117 2018-10-19 Florian Weimer <fweimer@redhat.com>
4120 * resource/bits/types/struct_rusage.h (struct rusage): Update
4121 comment on struct. Remove extraneous field comment.
4123 2018-10-18 David S. Miller <davem@davemloft.net>
4125 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4126 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4127 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4128 sysdep_routines in subdir elf.
4129 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4130 version for __vdso_clock_gettime.
4131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4133 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4134 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4136 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4138 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4140 * sysdeps/i386/init-arch.h: Removed.
4141 * sysdeps/i386/i586/init-arch.h: Likewise.
4142 * sysdeps/i386/i686/init-arch.h: Likewise.
4143 * sysdeps/i386/i686/hp-timing.h: Likewise.
4144 * sysdeps/x86_64/hp-timing.h: Likewise.
4145 * sysdeps/i386/isa.h: New file.
4146 * sysdeps/i386/i586/isa.h: Likewise.
4147 * sysdeps/i386/i686/isa.h: Likewise.
4148 * sysdeps/x86_64/isa.h: Likewise.
4149 * sysdeps/x86/hp-timing.h: New file.
4150 * sysdeps/x86/init-arch.h: Include <isa.h>.
4152 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4154 * math/libm-test-pow.inc (pow_test_data): Do not allow
4155 divide-by-zero exception for pow(+/- 0, -Inf).
4157 2018-10-17 Zack Weinberg <zackw@panix.com>
4159 * manual/job.texi (Job Control is Optional): Remove node, as
4160 job control has not been optional in quite some time.
4161 (Job Control): Mention briefly that systems older than
4162 POSIX.1-2001 might not support job control.
4163 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4164 defined on systems conforming to POSIX.1-2001.
4166 2018-10-17 Arjun Shankar <arjun@redhat.com>
4169 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4171 * (__gconv_read_conf): Mark function static.
4172 * (once): New static variable.
4173 * (__gconv_load_conf): New function.
4174 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4175 * iconv/gconv_db.c (once): Remove static variable.
4176 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4178 * (__gconv_find_transform): Likewise.
4179 * iconv/tst-iconv-mt.c: New test.
4180 * iconv/Makefile: Add tst-iconv_mt.
4182 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4186 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4187 (shmatt_t): Define as __syscall_ulong_t.
4188 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4189 and [__SHM_PAD_AFTER_TIME].
4190 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4191 Define shm_segsz and associated padding based on
4192 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4193 Use __syscall_ulong_t instead of unsigned long int.
4194 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4196 [__USE_MISC] (struct shm_info): Likewise.
4197 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4198 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4199 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4200 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4201 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4202 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4203 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4204 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4207 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4211 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4212 (SHMLBA): Remove macro.
4213 (__getpagesize): Remove function declaration.
4214 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4216 (SHMLBA): Remove macro.
4217 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4219 (SHMLBA): Remove macro.
4220 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4222 (SHMLBA): Remove macro.
4223 (__getpagesize): Remove function declaration.
4224 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4226 (SHMLBA): Remove macro.
4227 (__getshmlba): Remove function declaration.
4228 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4229 (SHMLBA): Remove macro.
4230 (__getpagesize): Remove function declaration.
4231 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4232 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4234 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4235 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4236 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4237 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4238 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4239 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4240 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4242 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4245 * nptl/tst-mutex10.c: New File.
4246 * nptl/Makefile (tests): Add tst-mutex10.
4247 (tst-mutex10-ENV): New variable.
4248 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4249 Ensure that elision path is used if elision is available.
4250 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4252 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4254 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4255 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4256 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4257 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4259 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4260 (__pthread_mutex_cond_lock_adjust): Likewise.
4261 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4263 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4264 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4265 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4266 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4268 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4269 Use atomic_load_relaxed and atomic_store_relaxed.
4270 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4271 Use atomic_store_relaxed.
4273 2018-10-17 Andreas Schwab <schwab@suse.de>
4275 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4276 * crypt/badsalttest.c (TIMEOUT): Likewise.
4277 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4278 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4279 * io/test-lfs.c (TIMEOUT): Likewise.
4280 * libio/tst-atime.c (TIMEOUT): Likewise.
4281 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4282 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4283 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4284 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4285 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4286 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4287 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4288 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4289 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4290 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4291 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4292 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4293 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4294 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4295 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4296 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4297 * nptl/tst-once2.c (TIMEOUT): Likewise.
4298 * nptl/tst-once3.c (TIMEOUT): Likewise.
4299 * nptl/tst-once4.c (TIMEOUT): Likewise.
4300 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4301 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4302 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4303 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4304 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4305 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4306 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4307 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4308 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4309 * posix/tst-chmod.c (TIMEOUT): Likewise.
4310 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4311 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4312 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4313 * posix/tst-regex2.c (TIMEOUT): Likewise.
4314 * posix/tst-waitid.c (TIMEOUT): Likewise.
4315 * rt/tst-aio.c (TIMEOUT): Likewise.
4316 * rt/tst-aio10.c (TIMEOUT): Likewise.
4317 * rt/tst-aio4.c (TIMEOUT): Likewise.
4318 * rt/tst-aio5.c (TIMEOUT): Likewise.
4319 * rt/tst-aio6.c (TIMEOUT): Likewise.
4320 * rt/tst-aio64.c (TIMEOUT): Likewise.
4321 * rt/tst-aio7.c (TIMEOUT): Likewise.
4322 * rt/tst-aio9.c (TIMEOUT): Likewise.
4323 * rt/tst-clock.c (TIMEOUT): Likewise.
4324 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4325 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4326 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4327 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4328 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4329 * rt/tst-timer4.c (TIMEOUT): Likewise.
4330 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4331 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4332 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4333 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4334 * time/tst-ftime.c (TIMEOUT): Likewise.
4335 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4337 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4339 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4340 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4343 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4347 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4348 instead of <bits/wordsize.h>.
4349 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4350 and [__SEM_PAD_AFTER_TIME].
4351 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4352 __syscall_ulong_t instead of unsigned long int.
4353 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4354 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4355 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4358 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4359 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4360 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4363 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4365 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4367 regex: simplify by using intprops.h
4369 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4370 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4371 intprops.h defines them.
4373 regex: __builtin_expect → __glibc_unlikely
4375 This refactoring was prompted by a problem when the regex code is
4376 used as part of Gnulib and when the builder’s compiler does not grok
4377 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4378 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4379 Although this refactoring does not fix the problem directly,
4380 we might as well have Gawk use the now-preferred glibc style for when
4381 __builtin_expect is unavailable.
4382 * posix/regex_internal.h (BE): Remove.
4383 All uses replaced by __glibc_unlikely or __glibc_likely.
4385 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4389 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4390 instead of <bits/wordsize.h>.
4391 (msgqnum_t): Define as __syscall_ulong_t.
4392 (msglen_t): Likewise.
4393 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4394 and [__MSQ_PAD_AFTER_TIME].
4395 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4396 __syscall_ulong_t instead of unsigned long int.
4397 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4398 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4399 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4401 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4402 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4403 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4404 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4405 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4406 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4407 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4409 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4411 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4412 (struct shmid_ds): Condition padding after time fields on
4414 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4415 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4418 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4419 (struct semid_ds): Condition padding after time fields on
4421 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4422 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4423 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4424 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4426 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4427 (struct msqid_ds): Condition padding after time fields on
4429 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4430 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4431 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4432 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4434 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4436 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4438 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4440 * libio/tst-readline.c (TIMEOUT): Define.
4442 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4444 mktime fix for Gnulib + coreutils
4446 This fix affects only Gnulib. Problem discovered when
4447 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4449 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4450 Do not define since it is not used. Defining an unused static
4451 function prompts a warning from GCC when Coreutils is configured
4452 with --enable-gcc-warnings.
4454 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4456 * benchtests/scripts/compare_bench.py (main): set float type on
4459 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4462 * localedata/locales/kl_GL (mon): Update, the relative case.
4463 (alt_mon): Add, fill with month names in the nominative case.
4464 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4465 (d_fmt): Set to "%b %d %Y".
4467 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4469 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4470 <bits/mman-linux.h>.
4471 (PROT_READ): Don't define here.
4472 (PROT_WRITE): Likewise.
4473 (PROT_EXEC): Likewise.
4474 (PROT_NONE): Likewise.
4475 (PROT_GROWSDOWN): Likewise.
4476 (PROT_GROWSUP): Likewise.
4477 (MAP_SHARED): Likewise.
4478 (MAP_PRIVATE): Likewise.
4479 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4480 [__USE_MISC] (MAP_FILE): Likewise.
4481 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4482 [__USE_MISC] (MAP_ANON): Likewise.
4483 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4484 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4485 (MCL_CURRENT): Likewise.
4486 (MCL_FUTURE): Likewise.
4487 (MCL_ONFAULT): Likewise.
4488 [__USE_MISC] (MADV_NORMAL): Likewise.
4489 [__USE_MISC] (MADV_RANDOM): Likewise.
4490 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4491 [__USE_MISC] (MADV_WILLNEED): Likewise.
4492 [__USE_MISC] (MADV_DONTNEED): Likewise.
4493 [__USE_MISC] (MADV_FREE): Likewise.
4494 [__USE_MISC] (MADV_REMOVE): Likewise.
4495 [__USE_MISC] (MADV_DONTFORK): Likewise.
4496 [__USE_MISC] (MADV_DOFORK): Likewise.
4497 [__USE_MISC] (MADV_HWPOISON): Likewise.
4498 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4499 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4500 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4501 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4502 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4503 (__MAP_ANONYMOUS): New macro.
4504 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4505 <bits/mman-linux.h> inclusion.
4506 (MAP_FIXED): Likewise.
4507 (MS_SYNC): Likewise.
4508 (MS_ASYNC): Likewise.
4509 (MS_INVALIDATE): Likewise.
4510 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4511 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4512 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4513 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4514 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4515 [__USE_MISC] (MADV_DODUMP): Likewise.
4516 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4517 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4522 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4523 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4524 Add test-nldbl-redirect.
4525 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4526 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4527 $(objpfx)libnldbl_nonshared.a.
4529 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4531 * support/support.h (support_objdir_elf_ldso): New variable.
4532 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4533 * support/Makefile (CFLAGS-support_paths.c): Add definition
4534 for OBJDIR_ELF_LDSO_PATH.
4535 * support/test-container.c (main): Search for the ld.so
4536 which is also used by the testsuite.
4538 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4541 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4542 should be "sap" rather than "sab".
4543 (day): Fix spelling of Sunday, should be "sapaat" rather than
4546 2018-10-02 Joseph Myers <joseph@codesourcery.com>
4548 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4550 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4553 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4554 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4555 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4557 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4559 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4561 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4563 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4565 (CFLAGS-elision-unlock.c): Likewise.
4566 (CFLAGS-elision-timed.c): Likewise.
4567 (CFLAGS-elision-trylock.c): Likewise.
4568 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4570 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4573 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4574 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4575 new fd_to_filename interface.
4576 * libio/freopen64.c (freopen64): Likewise.
4577 * libio/tst-memstream.h: New file.
4578 * libio/tst-memstream4.c: Likewise.
4579 * libio/tst-wmemstream4.c: Likewise.
4580 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4581 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4582 and remove internal dynamic allocation.
4584 2018-10-01 Joseph Myers <joseph@codesourcery.com>
4586 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4587 (MREMAP_MAYMOVE): Do not define here.
4588 [__USE_GNU] (MREMAP_FIXED): Likewise.
4589 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4590 (MREMAP_MAYMOVE): Define here instead.
4591 [__USE_GNU] (MREMAP_FIXED): Likewise.
4592 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4593 (MREMAP_MAYMOVE): Remove.
4594 [__USE_GNU] (MREMAP_FIXED): Likewise.
4596 2018-09-28 Joseph Myers <joseph@codesourcery.com>
4598 * math/fromfp.h: Do not include <math_private.h>.
4599 * math/s_cacosh_template.c: Likewise.
4600 * math/s_casin_template.c: Likewise.
4601 * math/s_casinh_template.c: Likewise.
4602 * math/s_ccos_template.c: Likewise.
4603 * math/s_cproj_template.c: Likewise.
4604 * math/s_fdim_template.c: Likewise.
4605 * math/s_fmaxmag_template.c: Likewise.
4606 * math/s_fminmag_template.c: Likewise.
4607 * math/s_iseqsig_template.c: Likewise.
4608 * math/s_ldexp_template.c: Likewise.
4609 * math/s_nextdown_template.c: Likewise.
4610 * math/w_log1p_template.c: Likewise.
4611 * math/w_scalbln_template.c: Likewise.
4612 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4613 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4614 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4615 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4616 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4617 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4618 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4619 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4620 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4621 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4622 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4623 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4624 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4625 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4626 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4627 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4628 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4633 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4634 * sysdeps/ieee754/k_standardf.c: Likewise.
4635 * sysdeps/ieee754/k_standardl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4638 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4644 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4645 * sysdeps/ieee754/s_signgam.c: Likewise.
4646 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4647 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4648 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4649 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4650 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4651 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4652 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4653 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4654 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4655 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4656 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4657 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4658 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4659 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4660 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4661 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4662 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4663 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4664 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4665 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4666 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4667 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4668 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4669 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4670 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4671 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4672 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4673 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4674 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4675 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4676 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4677 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4678 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4679 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4680 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4681 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4682 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4684 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4686 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4689 * sysdeps/i386/dl-cet.c: Removed.
4690 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4692 (_dl_runtime_profile_shstk): Likewise.
4693 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4694 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4696 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4699 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4700 do_test_with_invalid_iov): New tests.
4701 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4702 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4703 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4705 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4706 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4707 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4709 2018-09-27 Joseph Myers <joseph@codesourcery.com>
4711 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4712 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4713 (MATH_REDIRECT_BINARY_ARGS): New macro.
4714 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4715 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4716 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4718 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4720 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4731 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4732 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4737 * sysdeps/generic/math_private_calls.h
4738 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4739 Do not declare and define as an inline function.
4740 * math/divtc3.c (__divtc3): Use copysign functions instead of
4741 __copysign variants.
4742 * math/multc3.c (__multc3): Likewise.
4743 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4744 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4745 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4746 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4748 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4749 (__ieee754_yn): Likewise.
4750 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4751 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4752 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4754 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4756 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4757 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4763 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4764 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4766 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4767 (__ieee754_ynf): Likewise.
4768 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4769 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4770 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4771 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4773 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4774 (__ieee754_ynl): Likewise.
4775 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4776 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4780 (__ieee754_ynl): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4786 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4788 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4789 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4790 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4791 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4792 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4794 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4795 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4796 using MATH_REDIRECT.
4797 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
4799 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
4800 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4801 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4802 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
4803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
4807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
4808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
4809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
4810 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4811 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4813 (round): Redirect to __round.
4814 (__roundl): Call round instead of __round.
4815 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
4817 [_ARCH_PWR5X] (__roundf): Likewise.
4818 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
4819 functions instead of __round variants.
4820 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4821 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4823 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4827 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
4830 (__ieee754_expl): Call roundl instead of __roundl.
4832 2018-09-27 Andreas Schwab <schwab@suse.de>
4835 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
4836 (do_test): Make st1 static.
4838 2018-09-26 Andreas Schwab <schwab@suse.de>
4841 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
4842 * elf/Makefile (tests): Add tst-unwind-ctor.
4843 (modules-names): Add tst-unwind-ctor-lib.
4844 ($(objpfx)tst-unwind-ctor): Depend on
4845 $(objpfx)tst-unwind-ctor-lib.so.
4847 2018-09-26 Joseph Myers <joseph@codesourcery.com>
4849 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
4850 file. Most contents moved from ....
4851 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
4852 and include <bits/mman-map-flags-generic.h>.
4853 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4854 (sysdep_headers): Add bits/mman-map-flags-generic.h.
4855 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
4856 <bits/mman-map-flags-generic.h>.
4857 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
4858 macros defined in <bits/mman-map-flags-generic.h>.
4859 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
4860 <bits/mman-map-flags-generic.h>.
4861 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
4862 defined in <bits/mman-map-flags-generic.h>.
4864 2018-09-26 Andreas Schwab <schwab@suse.de>
4866 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
4869 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
4870 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4871 Fangrui Song <maskray@google.com>
4874 * config.make.in (have-textrel_ifunc): New define.
4875 * configure.ac: Add check if linker supports textrel relocation with
4877 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
4879 (CFLAGS-tst-ifunc-textrel.c): New rule.
4880 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
4881 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
4882 * elf/tst-ifunc-textrel.c: New file.
4884 2018-09-25 Joseph Myers <joseph@codesourcery.com>
4886 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4887 <bits/procfs-prregset.h>.
4888 (prgregset_t): Define using __prgregset_t.
4889 (prfpregset_t): Define using __prfpregset_t.
4890 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4891 (sysdep_headers): Add bits/procfs-prregset.h.
4892 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
4893 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
4894 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
4895 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
4897 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4898 <bits/procfs-id.h> and <bits/procfs-extra.h>.
4899 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
4901 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4902 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
4903 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
4904 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
4905 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
4906 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
4907 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
4908 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
4909 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
4910 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
4911 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
4912 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
4913 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
4914 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
4916 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
4917 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
4918 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
4919 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
4920 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
4921 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
4922 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4924 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
4926 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
4927 AArch64 version. Include <bits/procfs.h>.
4928 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4929 (sysdep_headers): Add bits/procfs.h.
4930 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
4931 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
4932 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
4933 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
4934 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
4935 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
4936 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
4938 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
4939 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
4940 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
4941 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
4942 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
4943 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4944 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4946 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
4948 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4950 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
4953 2018-09-25 Arjun Shankar <arjun@redhat.com>
4955 * iconv/gconv_int.h (__gconv_path_elem): Remove.
4956 (__gconv_max_path_elem_len): Likewise.
4957 (__gconv_nmodules): Likewise.
4958 (__gconv_get_path): Likewise.
4959 (path_elem): Move to ...
4960 * iconv/gconv_conf.c: ... here.
4961 (__gconv_get_path): Mark function static.
4962 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
4963 * iconv/gconv_open.c: ... here.
4965 2018-09-24 Andreas Schwab <schwab@suse.de>
4967 * scripts/haveversions.awk: New file.
4968 * Makerules ($(common-objpfx)Versions.def)
4969 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4970 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4972 * Makeconfig ($(common-objpfx)Versions.def)
4973 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4974 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4976 ($(common-objpfx)Versions.mk): New rule. Include it.
4977 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
4978 Emit error if build-obsolete-nsl = yes.
4979 * manual/install.texi (Configuring and compiling): Describe
4980 --enable-obsolete-nsl as unavaiable after version 2.28.
4981 * INSTALL: Regenerate.
4983 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4985 * NEWS: Add note about new TLE support on powerpc64le.
4986 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
4987 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
4989 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
4990 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
4991 * sysdeps/powerpc/powerpc32/sysdep.h,
4992 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
4993 ABORT_TRANSACTION): Remove macros.
4994 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
4995 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
4996 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
4998 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4999 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5001 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5003 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5006 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5007 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5008 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5009 which is the same as in it_IT.
5010 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5011 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5013 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5015 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5016 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5017 using MATH_REDIRECT.
5018 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5020 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5022 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5024 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5025 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5030 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5031 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5032 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5033 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5034 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5035 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5036 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5038 (ceil): Redirect to __ceil.
5039 (floor): Redirect to __floor.
5040 (trunc): Redirect to __trunc.
5041 (__truncl): Call trunc instead of __trunc.
5042 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5044 [_ARCH_PWR5X] (__truncf): Likewise.
5045 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5046 trunc functions instead of __trunc variants.
5047 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5049 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5051 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5053 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5056 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5057 [__i586__ || __pentium__].
5058 [__i486__]: Handle explicitly.
5059 (HAS_CPUID): Define to 1 if above macros are undefined.
5060 (HAS_I586): Likewise.
5061 (HAS_I686): Likewise.
5063 2018-09-20 Florian Weimer <fweimer@redhat.com>
5065 * misc/tst-gethostid.c: New file.
5066 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5067 (tst-gethostid): Link with -ldl.
5069 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5071 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5072 value from gethostbyname_r.
5074 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5076 * stdlib/tst-setcontext9.c (f1): Rename to...
5078 (f1b): New function implementing lower half of f1 in alternate stack.
5080 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5082 Fix mktime localtime offset confusion
5084 * include/time.h (__mktime_internal): The localtime offset is now
5085 of type long int instead of time_t. This is the longstanding type
5086 in glibc, and it is more than enough to represent difference
5087 between localtime and gmtime even if it is 32 bits and time_t is
5088 64. Changing it now will let us avoid an unnecessary change when
5089 time_t is widened to 64 bits on 32-bit platforms.
5090 * time/mktime-internal.h (mktime_offset_t): Now long int.
5092 Merge mktime, timegm from upstream Gnulib
5093 [BZ #23603][BZ #16346]
5094 This fixes some obscure problems with integer overflow.
5095 Although it looks scary, it is almost all a byte-for-byte copy
5096 from Gnulib, and the Gnulib code has been tested reasonably well.
5097 * include/intprops.h: New file, copied from Gnulib.
5098 * include/verify.h, time/mktime-internal.h:
5099 New tiny files, simplified from Gnulib.
5100 * time/mktime.c: Copy from Gnulib. This has the following changes:
5101 Do not include config.h if DEBUG_MKTIME is nonzero.
5102 Include stdbool.h, intprops.h, verify.h.
5103 Include string.h only if needed.
5104 Include stdlib.h on MS-Windows.
5105 Include mktime-internal.h.
5106 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5107 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5108 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5109 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5110 simplify later conditionals; default the others to zero. Use
5111 these conditionals to express only the code needed on the current
5112 platform. In uses of these conditionals, explicitly spell out how
5113 _LIBC affects things, so it’s easier to review from a glibc
5115 (WRAPV): Remove; no longer needed now that we have
5116 systematic overflow checking.
5117 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5118 compartmentalize tzset issues. Move system-dependent tzsettish
5119 code here from mktime.
5120 (verify): Remove; now done by verify.h. All uses changed.
5121 (long_int): Use a more-conservative definition, to avoid
5123 (SHR): Remove, replacing with ...
5124 (shr): New function, which means we needn’t worry about side
5125 effects in args, and conversion analysis is simpler.
5126 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5127 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5128 (time_t_avg, time_t_add_ok): Remove.
5129 (mktime_min, mktime_max): New constants.
5130 (leapyear, isdst_differ): Use bool for booleans.
5131 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5132 Use long_int, not time_t, for mktime differences.
5133 (long_int_avg): New function, replacing time_t_avg.
5134 INT_ADD_WRAPV replaces time_t_add_ok.
5135 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5137 (convert_time): New function.
5138 (ranged_convert): Use it.
5139 (__mktime_internal): Last arg now points to mktime_offset_t, not
5140 time_t. All uses changed. This is a no-op on glibc, where
5141 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5142 offset guess. Directly check for integer overflow instead of
5143 using a heuristic that works only 99.9...% of the time.
5144 Access *OFFSET only once, to avoid an unlikely race if the
5145 compiler delays a load and if this cascades into a signed integer
5147 (mktime): Move tzsettish code to my_tzset, and move
5148 localtime_offset to within mktime so that it doesn’t
5149 need a separate ifdef.
5150 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5151 instead of localtime.
5152 * time/timegm.c: Copy from Gnulib. This has the following changes:
5153 Include mktime-internal.h.
5154 [!_LIBC]: Include config.h and time.h. Do not include
5155 timegm.h or time_r.h. Make __mktime_internal a macro,
5156 and include mktime-internal.h to get its declaration.
5157 (timegm): Temporary is now mktime_offset_t, not time_t.
5158 This affects only Gnulib.
5160 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5163 * string/test-strstr.c (pr23637): New function.
5164 (test_main): Add tests with longer needles.
5165 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5166 * string/strstr.c (AVAILABLE): Likewise.
5168 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5170 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5172 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5174 * NEWS: Mention pow improvements.
5175 * math/Makefile (type-double-routines): Add e_pow_log_data.
5176 * sysdeps/generic/math_private.h (__exp1): Remove.
5177 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5178 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5179 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5181 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5182 (exp_inline): Remove.
5183 (__ieee754_exp): Only single double input is handled.
5184 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5185 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5186 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5187 (__pow_log_data): Define.
5188 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5189 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5190 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5191 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5193 (CFLAGS-e_pow-fma4.c): Likewise.
5195 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5197 Simplify tzfile fstat failure code
5199 * time/tzfile.c (__tzfile_read): Simplify slightly.
5201 Fix tzfile low-memory assertion failure
5203 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5204 when registering time zone abbreviations.
5206 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5208 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5209 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5210 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5211 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5212 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5213 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5214 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5215 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5220 (__ceill): Call ceil instead of __ceil.
5221 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5223 (__floorl): Call floor instead of __floor.
5225 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5227 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5228 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5229 using MATH_REDIRECT.
5230 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5232 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5235 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5236 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5239 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5244 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5245 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5248 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5249 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5250 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5252 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5253 functions instead of __ceil variants.
5254 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5255 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5257 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5259 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5260 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5262 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5263 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5266 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5268 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5269 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5270 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5271 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5272 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5273 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5274 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5275 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5276 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5277 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5278 (ILL_BADIADDR): Remove constant.
5279 (TRAP_BRANCH): Likewise.
5280 (TRAP_HWBKPT): Likewise.
5282 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5285 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5286 Remove [_MIPS_SIM = _ABIN32] conditional case.
5287 (struct elf_prpsinfo): Likewise.
5290 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5291 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5292 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5294 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5295 elf_prpsinfo): Likewise.
5296 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5297 elf_prpsinfo): Likewise.
5298 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5301 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5302 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5303 using MATH_REDIRECT.
5304 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5306 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5307 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5308 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5309 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5312 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5313 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5316 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5317 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5318 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5319 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5320 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5321 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5322 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5323 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5324 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5329 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5330 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5331 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5332 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5334 * math/e_scalbf.c (invalid_fn): Likewise.
5335 * math/e_scalbl.c (invalid_fn): Likewise.
5336 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5338 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5340 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5341 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5342 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5346 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5348 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5349 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5351 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5352 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5354 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5355 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5356 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5357 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5358 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5359 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5360 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5361 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5362 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5363 && !NO_MATH_REDIRECT] (floor): Likewise.
5364 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5366 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5369 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5370 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5373 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5378 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5379 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5382 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5383 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5384 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5386 [_ARCH_PWR5X] (__floorf): Likewise.
5387 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5389 [__SSE4_1__] (__floorf): Likewise.
5390 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5391 instead of __floor variants.
5392 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5393 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5394 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5395 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5396 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5397 * math/w_tgamma_compat.c (__tgamma): Likewise.
5398 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5399 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5400 * math/w_tgammal_compat.c (__tgammal): Likewise.
5401 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5404 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5405 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5406 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5407 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5409 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5410 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5412 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5420 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5421 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5422 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5423 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5425 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5427 * elf/Makefile (modules-names-tests): New variable.
5429 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5431 * NEWS: Mention log2 improvements.
5432 * math/Makefile (type-double-routines): Add e_log2_data.
5433 * sysdeps/i386/fpu/e_log2_data.c: New file.
5434 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5435 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5436 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5437 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5438 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5439 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5441 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5443 * NEWS: Mention log improvement.
5444 * math/Makefile (type-double-routines): Add e_log_data.
5445 * sysdeps/i386/fpu/e_log_data.c: New file.
5446 * sysdeps/ia64/fpu/e_log_data.c: New file.
5447 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5448 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5449 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5450 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5451 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5452 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5454 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5455 Xuepeng Guo <xuepeng.guo@intel.com>
5458 * sysdeps/i386/start.S: Include <sysdep.h>
5459 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5460 enabled. Add cfi_undefined (eip).
5462 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5464 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5466 (EXTRACT_WORDS64): Likewise.
5467 (INSERT_WORDS64): Likewise.
5468 (GET_FLOAT_WORD): Likewise.
5469 (SET_FLOAT_WORD): Likewise.
5471 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5473 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5474 build, but not for second build if --full-gcc. Use
5475 --enable-languages=all for second build if --full-gcc.
5476 (get_parser): Add --full-gcc option.
5477 (main): Update call to Context.
5479 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5482 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5483 Single Quotation Mark).
5484 (thousands_sep): Likewise.
5485 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5486 * localedata/locales/it_IT (thousands_sep): Use ".".
5487 (grouping): Use "3;3".
5489 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5491 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5492 x86_64 and i686 configs using --enable-obsolete-rpc
5493 --enable-obsolete-nsl.
5495 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5497 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5499 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5501 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5502 Increment size of new_argv by one.
5504 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5507 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5508 * localedata/locales/ar_IN (d_fmt): Likewise.
5509 * localedata/locales/bhb_IN (d_fmt): Likewise.
5510 * localedata/locales/bho_IN (d_fmt): Likewise.
5511 * localedata/locales/bn_BD (d_fmt): Likewise.
5512 * localedata/locales/bn_IN (d_fmt): Likewise.
5513 * localedata/locales/doi_IN (d_fmt): Likewise.
5514 * localedata/locales/gu_IN (d_fmt): Likewise.
5515 * localedata/locales/hi_IN (d_fmt): Likewise.
5516 * localedata/locales/hne_IN (d_fmt): Likewise.
5517 * localedata/locales/kn_IN (d_fmt): Likewise.
5518 * localedata/locales/mag_IN (d_fmt): Likewise.
5519 * localedata/locales/mai_IN (d_fmt): Likewise.
5520 * localedata/locales/mjw_IN (d_fmt): Likewise.
5521 * localedata/locales/ml_IN (d_fmt): Likewise.
5522 * localedata/locales/mni_IN (d_fmt): Likewise.
5523 * localedata/locales/mr_IN (d_fmt): Likewise.
5524 * localedata/locales/pa_IN (d_fmt): Likewise.
5525 * localedata/locales/raj_IN (d_fmt): Likewise.
5526 * localedata/locales/sat_IN (d_fmt): Likewise.
5527 * localedata/locales/sd_IN (d_fmt): Likewise.
5528 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5529 * localedata/locales/ta_IN (d_fmt): Likewise.
5530 * localedata/locales/ta_LK (d_fmt): Likewise.
5531 * localedata/locales/tcy_IN (d_fmt): Likewise.
5532 * localedata/locales/ur_IN (d_fmt): Likewise.
5534 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5535 * localedata/locales/ks_IN (d_fmt): Likewise.
5536 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5538 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5539 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5540 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5541 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5543 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5545 * NEWS: Mention exp and exp2 improvements.
5546 * math/Makefile (libm-support): Remove t_exp.
5547 (type-double-routines): Add math_err and e_exp_data.
5548 * sysdeps/aarch64/libm-test-ulps: Update.
5549 * sysdeps/arm/libm-test-ulps: Update.
5550 * sysdeps/i386/fpu/e_exp_data.c: New file.
5551 * sysdeps/i386/fpu/math_err.c: New file.
5552 * sysdeps/i386/fpu/t_exp.c: Remove.
5553 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5554 * sysdeps/ia64/fpu/math_err.c: New file.
5555 * sysdeps/ia64/fpu/t_exp.c: Remove.
5556 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5557 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5558 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5560 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5561 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5562 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5563 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5564 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5565 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5566 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5567 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5568 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5569 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5573 2018-09-05 Joseph Myers <joseph@codesourcery.com>
5575 * sysdeps/alpha/fpu/math_private.h: Remove.
5577 * sysdeps/generic/math_private.h
5578 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5579 Move this inline function ....
5580 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5581 * include/math.h [!_ISOMAC]: To here....
5583 2018-09-04 Joseph Myers <joseph@codesourcery.com>
5585 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5587 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5588 * include/fenv.h [!_ISOMAC]: ... to here.
5589 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5590 (feraiseexcept): Likewise.
5591 * math/fromfp.h: Do not include <fenv_private.h>.
5592 * math/s_cexp_template.c: Likewise.
5593 * math/s_csin_template.c: Likewise.
5594 * math/s_csinh_template.c: Likewise.
5595 * math/s_ctan_template.c: Likewise.
5596 * math/s_ctanh_template.c: Likewise.
5597 * math/s_iseqsig_template.c: Likewise.
5598 * math/w_acos_compat.c: Likewise.
5599 * math/w_acosf_compat.c: Likewise.
5600 * math/w_acosl_compat.c: Likewise.
5601 * math/w_asin_compat.c: Likewise.
5602 * math/w_asinf_compat.c: Likewise.
5603 * math/w_asinl_compat.c: Likewise.
5604 * math/w_j0_compat.c: Likewise.
5605 * math/w_j0f_compat.c: Likewise.
5606 * math/w_j0l_compat.c: Likewise.
5607 * math/w_j1_compat.c: Likewise.
5608 * math/w_j1f_compat.c: Likewise.
5609 * math/w_j1l_compat.c: Likewise.
5610 * math/w_jn_compat.c: Likewise.
5611 * math/w_jnf_compat.c: Likewise.
5612 * math/w_log10_compat.c: Likewise.
5613 * math/w_log10f_compat.c: Likewise.
5614 * math/w_log10l_compat.c: Likewise.
5615 * math/w_log2_compat.c: Likewise.
5616 * math/w_log2f_compat.c: Likewise.
5617 * math/w_log2l_compat.c: Likewise.
5618 * math/w_log_compat.c: Likewise.
5619 * math/w_logf_compat.c: Likewise.
5620 * math/w_logl_compat.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5626 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5627 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5628 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5629 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5630 * sysdeps/ieee754/k_standardl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5643 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5644 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5648 * math/w_ilogb_template.c: Include <fenv.h> instead of
5650 * math/w_llogb_template.c: Likewise.
5651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5654 2018-09-03 Joseph Myers <joseph@codesourcery.com>
5656 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5657 * math/fromfp.h: Include <fenv_private.h>.
5658 * math/math-narrow.h: Likewise.
5659 * math/s_cexp_template.c: Likewise.
5660 * math/s_csin_template.c: Likewise.
5661 * math/s_csinh_template.c: Likewise.
5662 * math/s_ctan_template.c: Likewise.
5663 * math/s_ctanh_template.c: Likewise.
5664 * math/s_iseqsig_template.c: Likewise.
5665 * math/w_acos_compat.c: Likewise.
5666 * math/w_acosf_compat.c: Likewise.
5667 * math/w_acosl_compat.c: Likewise.
5668 * math/w_asin_compat.c: Likewise.
5669 * math/w_asinf_compat.c: Likewise.
5670 * math/w_asinl_compat.c: Likewise.
5671 * math/w_ilogb_template.c: Likewise.
5672 * math/w_j0_compat.c: Likewise.
5673 * math/w_j0f_compat.c: Likewise.
5674 * math/w_j0l_compat.c: Likewise.
5675 * math/w_j1_compat.c: Likewise.
5676 * math/w_j1f_compat.c: Likewise.
5677 * math/w_j1l_compat.c: Likewise.
5678 * math/w_jn_compat.c: Likewise.
5679 * math/w_jnf_compat.c: Likewise.
5680 * math/w_llogb_template.c: Likewise.
5681 * math/w_log10_compat.c: Likewise.
5682 * math/w_log10f_compat.c: Likewise.
5683 * math/w_log10l_compat.c: Likewise.
5684 * math/w_log2_compat.c: Likewise.
5685 * math/w_log2f_compat.c: Likewise.
5686 * math/w_log2l_compat.c: Likewise.
5687 * math/w_log_compat.c: Likewise.
5688 * math/w_logf_compat.c: Likewise.
5689 * math/w_logl_compat.c: Likewise.
5690 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5691 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5692 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5693 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5718 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5720 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5721 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5722 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5723 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5724 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5725 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5726 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5727 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5728 * sysdeps/ieee754/k_standardl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5765 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5766 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5767 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5768 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5769 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5770 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5771 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5772 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5773 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5774 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5775 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5776 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5777 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5778 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5779 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5780 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5781 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5782 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5783 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5784 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5785 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5786 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5787 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5788 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5789 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5790 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5791 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5792 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5793 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5794 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5795 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5796 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5797 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5798 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5799 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5801 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5804 * include/stdio.h (__libc_fatal): Mention newline in comment.
5805 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
5806 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
5807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5808 * nss/nsswitch.c (__nss_next2): Likewise.
5809 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
5810 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
5811 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
5812 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5813 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
5814 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
5815 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
5816 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
5817 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
5818 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
5819 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
5820 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5821 (__netlink_assert_response): Likewise.
5823 2018-08-31 Joseph Myers <joseph@codesourcery.com>
5825 * conform/glibcconform.py: New file.
5826 * conform/list-header-symbols.py: Likewise.
5827 * conform/list-header-symbols.pl: Remove.
5828 * conform/Makefile (tests-special): Only add linknamespace tests
5830 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
5832 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
5835 * support/Makefile (libsupport-routines): Add
5836 support_copy_file_range and xcopy_file_range.
5837 * support/support.h: Include <sys/types.h>.
5838 (support_copy_file_range): New prototype.
5839 * support/support_copy_file_range.c: New file. Copied and
5840 modified from io/copy_file_range-compat.c.
5841 * support/test-container.c (copy_one_file): Call xcopy_file_rang
5842 instead of copy_file_range.
5843 * support/xcopy_file_range.c: New file.
5844 * support/xunistd.h (xcopy_file_range): New prototype.
5846 2018-08-30 Carlos O'Donell <carlos@redhat.com>
5848 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
5849 xpthread_create and xpthread_join.
5851 2018-08-30 Florian Weimer <fweimer@redhat.com>
5853 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
5855 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
5857 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
5860 2018-08-29 Joseph Myers <joseph@codesourcery.com>
5862 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
5863 and minus_oflow as non-finite.
5865 2018-08-28 Joseph Myers <joseph@codesourcery.com>
5867 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
5868 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
5869 moved to fenv_private.h except for ...
5870 (TOINT_INTRINSICS): Kept in math_private.h.
5871 (roundtoint): Likewise.
5872 (converttoint): Likewise.
5873 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
5874 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5875 * sysdeps/arm/math_private.h: Remove.
5876 * sysdeps/generic/fenv_private.h: New file. Contents moved from
5878 * sysdeps/generic/math_private.h: ... this file. Include
5879 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
5880 Include <fenv_private.h>. Remove functions and macros moved to
5882 * sysdeps/i386/fpu/math_private.h: Remove.
5883 * sysdeps/mips/math_private.h: Move to ....
5884 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
5885 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
5886 [__mips_hard_float] conditional. Include next <fenv_private.h>.
5887 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
5888 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5889 * sysdeps/powerpc/fpu/math_private.h: Do not include
5891 * sysdeps/riscv/rvf/math_private.h: Move to ....
5892 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
5893 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
5895 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
5896 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5897 * sysdeps/sparc/fpu/math_private.h: Remove.
5898 * sysdeps/i386/fpu/fenv_private.h: Move to ....
5899 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
5900 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
5902 * sysdeps/x86_64/fpu/math_private.h: Do not include
5903 <sysdeps/i386/fpu/fenv_private.h>.
5905 2018-08-28 Florian Weimer <fweimer@redhat.com>
5908 * posix/tst-regcomp-truncated.c: New file.
5909 * posix/Makefile (tests): Add it.
5910 (tst-regcomp-truncated.out): Depend on generated locales.
5912 2018-08-28 Florian Weimer <fweimer@redhat.com>
5914 * support/test-container.c (main): Treat unshare failure with
5915 EPERM as an unsupported test.
5917 2018-08-28 Florian Weimer <fweimer@redhat.com>
5920 nscd: Fix use-after-free in addgetnetgrentX and its callers.
5921 * nscd/netgroupcache.c
5922 (addgetnetgrentX): Add tofreep parameter. Do not free
5923 heap-allocated buffer.
5924 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
5925 (addgetnetgrentX_ignore): New function.
5926 (addgetnetgrent): Call it.
5927 (readdgetnetgrent): Likewise.
5929 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5931 * string/memmem.c: Use memcmp for first match.
5933 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5936 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
5938 2018-08-27 DJ Delorie <dj@redhat.com>
5940 * support/Makefile (others): Don't list programs explicitly as a
5941 dependency of "others".
5943 2018-08-27 Joseph Myers <joseph@codesourcery.com>
5945 * sysdeps/generic/math-tests-trap-force.h: New file.
5946 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
5947 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
5948 * sysdeps/powerpc/math-tests.h: Remove file.
5949 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
5951 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
5952 Torvald Riegel <triegel@redhat.com>
5955 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
5956 Update r to include the set wake-request flag if waiters are
5957 remaining after spinning.
5959 2018-08-27 Joseph Myers <joseph@codesourcery.com>
5961 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
5963 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
5966 regex: fix uninitialized memory access
5967 I introduced this bug into gnulib in commit
5968 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
5969 eventually it was merged into glibc. The bug was found by
5970 project-repo <bugs@feusi.co> and reported here:
5971 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
5972 Diagnosis and draft fix reported by Assaf Gordon here:
5973 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
5974 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
5975 * posix/regex_internal.c (build_wcs_upper_buffer):
5976 Fix bug when mbrtowc returns 0.
5978 2018-08-24 Carlos O'Donell <carlos@redhat.com>
5980 * po/be.po: Update translation.
5982 2018-08-24 DJ Delorie <dj@delorie.com>
5984 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
5987 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5990 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
5991 create temporary files in source tree.
5993 2018-08-24 Joseph Myers <joseph@codesourcery.com>
5995 * sysdeps/generic/math-tests-trap.h: New file.
5996 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
5997 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
5998 * sysdeps/aarch64/math-tests.h: Remove file.
5999 * sysdeps/arm/math-tests.h: Likewise.
6000 * sysdeps/riscv/math-tests.h: Likewise.
6001 * sysdeps/aarch64/math-tests-trap.h: New file.
6002 * sysdeps/arm/math-tests-trap.h: Likewise.
6003 * sysdeps/riscv/math-tests-trap.h: Likewise.
6005 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6007 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6008 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6009 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6010 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6011 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6012 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6016 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6017 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6019 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6020 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6021 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6022 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6023 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6024 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6026 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6028 * sysdeps/generic/math-tests-exceptions.h: New file.
6029 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6030 (EXCEPTION_TESTS_float): Do not define here.
6031 (EXCEPTION_TESTS_double): Likewise.
6032 (EXCEPTION_TESTS_long_double): Likewise.
6033 (EXCEPTION_TESTS_float128): Likewise.
6034 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6036 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6037 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6038 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6039 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6040 * sysdeps/mips/math-tests.h: Likewise.
6041 * sysdeps/nios2/math-tests.h: Likewise.
6042 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6043 (EXCEPTION_TESTS_float): Do not define here.
6044 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6045 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6046 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6048 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6050 * NEWS: Move optimized sinf entry to 2.29.
6052 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6054 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6056 2018-08-22 DJ Delorie <dj@redhat.com>
6058 * Makefile (testroot.pristine): New rules to initialize the
6059 test-in-container "testroot".
6060 * Makerules (all-testsuite): Add tests-container.
6061 * Rules (tests-expected): Add tests-container.
6062 (binaries-all-tests): Likewise.
6063 (tests-container): New, run these tests in the testroot container.
6064 * support/Makefile (others): Add *-container, support_paths.c,
6065 xmkdirp, and links-dso-program.
6066 * support/links-dso-program-c.c: New.
6067 * support/links-dso-program.cc: New.
6068 * support/test-container.c: New.
6069 * support/shell-container.c: New.
6070 * support/echo-container.c: New.
6071 * support/true-container.c: New.
6072 * support/xmkdirp.c: New.
6073 * support/xsymlink.c: New.
6074 * support/support_paths.c: New.
6075 * support/support.h: Add support paths prototypes.
6076 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6078 * nss/tst-nss-test3.c: Convert to test-in-container.
6079 * nss/tst-nss-test3.root/: New.
6081 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6083 regex: port Gnulib code to z/OS POSIX environment
6084 Problem reported by Arnold Robbins in:
6085 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6086 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6089 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6091 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6092 (ROUNDING_TESTS_double): Remove.
6093 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6094 (ROUNDING_TESTS_double): Remove.
6095 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6096 (ROUNDING_TESTS_double): Remove.
6097 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6098 (ROUNDING_TESTS_float): Remove.
6099 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6100 (ROUNDING_TESTS_float): Remove.
6101 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6102 (ROUNDING_TESTS_float): Remove.
6103 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6105 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6106 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6108 * sysdeps/generic/math-tests-rounding.h: New file.
6109 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6110 (ROUNDING_TESTS_float): Do not define here.
6111 (ROUNDING_TESTS_double): Likewise.
6112 (ROUNDING_TESTS_long_double): Likewise.
6113 (ROUNDING_TESTS_float128): Likewise.
6114 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6115 (ROUNDING_TESTS_double): Undefine before defining.
6116 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6117 (ROUNDING_TESTS_double): Undefine before defining.
6118 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6119 (ROUNDING_TESTS_double): Undefine before defining.
6120 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6121 (ROUNDING_TESTS_float): Undefine before defining.
6122 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6123 (ROUNDING_TESTS_float): Undefine before defining.
6124 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6125 (ROUNDING_TESTS_float): Undefine before defining.
6126 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6127 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6129 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6130 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6131 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6132 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6133 (ROUNDING_TESTS_float): Do not define here.
6134 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6135 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6136 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6137 (ROUNDING_TESTS_float): Likewise.
6138 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6139 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6140 * sysdeps/mips/math-tests.h [__mips_soft_float]
6141 (ROUNDING_TESTS_float): Likewise.
6142 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6143 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6144 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6145 (ROUNDING_TESTS_double): Likewise.
6146 (ROUNDING_TESTS_long_double): Likewise.
6148 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6150 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6151 (PF_XDP): New macro.
6152 (AF_XDP): New macro.
6153 (SOL_XDP): New macro.
6155 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6157 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6158 (TCP_INQ): Likewise.
6159 (TCP_CM_INQ): Likewise.
6160 (TCP_REPAIR_ON): Likewise.
6161 (TCP_REPAIR_OFF): Likewise.
6162 (TCP_REPAIR_OFF_NO_WP): Likewise.
6163 (struct tcp_zerocopy_receive): New type.
6165 2018-08-21 Florian Weimer <fweimer@redhat.com>
6167 * support/support.h (support_descriptor_supports_holes): Declare.
6168 * support/Makefile (libsupport-routines): Add
6169 support_descriptor_supports_holes.
6170 * support/support_descriptor_supports_holes.c: New file.
6171 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6172 and stop testing if holes are not supported.
6173 * io/test-lfs.c (do_prepare): Likewise.
6174 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6176 * timezone/tst-tzset.c (create_tz_file): Likewise.
6177 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6179 (do_prepare): Set it.
6180 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6182 2018-08-21 Florian Weimer <fweimer@redhat.com>
6185 * Makeconfig (+cflags): Do not sort (and deduplicate).
6187 2018-08-21 Florian Weimer <fweimer@redhat.com>
6189 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6190 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6192 2018-08-20 Florian Weimer <fweimer@redhat.com>
6194 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6195 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6197 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6199 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6200 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6201 and ssi_arch members.
6203 * elf/elf.c (NT_VMCOREDD): New macro.
6204 (AT_MINSIGSTKSZ): Likewise.
6206 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6209 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6210 s_cosf-ppc64 and s_cosf-power8.
6211 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6212 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6213 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6214 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6221 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6222 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6224 2018-08-17 Florian Weimer <fweimer@redhat.com>
6226 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6228 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6230 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6232 2018-08-16 Florian Weimer <fweimer@redhat.com>
6234 * configure.ac: Add --with-nonshared-cflags option.
6235 * config.make.in (extra-nonshared-cflags): Set variable.
6236 * Makeconfig (CFLAGS-.oS): Use it.
6237 * manual/install.texi (Configuring and compiling): Document
6238 --with-nonshared-cflags.
6239 * configure: Regenerate.
6240 * INSTALL: Likewise.
6242 2018-08-16 Florian Weimer <fweimer@redhat.com>
6244 * Makeconfig (ASFLAGS): Always append required assembler flags.
6246 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6248 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6249 (malloc_consolidate): Likewise.
6251 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6253 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6255 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6257 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6260 * benchtests/bench-strlen.c: Print performance numbers in json.
6262 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6264 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6265 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6266 only for little endian.
6267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6268 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6269 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6270 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6271 Add check for little endian.
6272 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6273 (__strcmp_power9): Add check for little endian.
6274 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6275 Add check for little endian.
6276 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6277 (__strncmp_power9): Add check for little endian.
6278 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6279 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6280 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6282 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6284 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6286 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6287 [!STRLEN](STRLEN): Set to __strlen.
6288 * sysdeps/aarch64/multiarch/strlen.c: New file.
6289 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6290 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6291 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6292 (__libc_ifunc_impl_list): Add strlen.
6293 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6294 strlen_generic and strlen_asimd.
6296 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6298 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6299 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6300 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6302 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6304 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6306 2018-08-14 Florian Weimer <fweimer@redhat.com>
6309 * include/stdio.h (__vfxprintf): Declare.
6310 * stdio-common/fxprintf.c (__vfxprintf): New function.
6311 (__fxprintf): Call it.
6312 * misc/err.c (convert_and_print): Remove function.
6313 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6314 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6315 * misc/Makefile (tests): Add tst-warn-wide.
6316 * misc/tst-warn-wide.c: New file.
6318 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6319 Szabolcs Nagy <szabolcs.nagy@arm.com>
6321 * NEWS: Mention sinf, cosf, sincosf.
6322 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6324 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6325 constants rather than including generic sincosf.h.
6326 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6327 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6328 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6329 (reduced_cos): Remove.
6330 (sinf_poly): New function.
6331 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6333 2018-08-14 Florian Weimer <fweimer@redhat.com>
6337 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6338 processing, bail out if no room, and close the stream before
6340 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6341 (tst-nss-files-alias-leak): Link with libdl.
6342 (tst-nss-files-alias-leak.out): Depend on nss_files.
6344 * nss/tst-nss-files-alias-leak.c: New file.
6346 2018-08-14 Florian Weimer <fweimer@redhat.com>
6348 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6349 server_user, stat_user.
6351 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6353 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6355 (io_pgetevents): New syscall.
6358 * manual/install.texi (Configuring and compiling): Do not list
6359 tools used for testing pretty printers here.
6360 (Tools for Compilation): List Python, PExpect and GDB here.
6361 Update descriptions of uses of Perl and Python.
6362 * INSTALL: Regenerate.
6364 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6367 2018-08-13 Florian Weimer <fweimer@redhat.com>
6369 * misc/error.c (error): Add missing va_end call.
6370 (error_at_line): Likewise.
6372 2018-08-13 Florian Weimer <fweimer@redhat.com>
6374 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6376 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6378 * benchtests/scripts/benchout.schema.json (properties): Add
6381 * benchtests/bench-skeleton.c (main): Add duration and
6382 iterations attributes.
6384 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6386 regex: Gnulib unibyte RRI uses bytes not chars
6387 Adjust the non-glibc code to agree with what Gawk needs for
6388 rational range interpretation (RRI) for regular expression ranges.
6389 In unibyte locales, Gawk wants ranges to use the underlying byte
6390 rather than the character code point. This change does not affect
6392 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6393 In unibyte locales, use the byte value rather than
6394 running it through btowc.
6396 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6398 * sysdeps/generic/math-tests-snan.h: New file.
6399 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6400 (SNAN_TESTS_float): Do not define here.
6401 (SNAN_TESTS_double): Likewise.
6402 (SNAN_TESTS_long_double): Likewise.
6403 (SNAN_TESTS_float128): Likewise.
6404 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6405 * sysdeps/i386/fpu/math-tests.h: Remove file.
6406 * sysdeps/ia64/math-tests-snan.h: New file.
6407 * sysdeps/ia64/math-tests.h: Remove file.
6408 * sysdeps/x86/math-tests.h: Likewise.
6409 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6411 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6412 Szabolcs Nagy <szabolcs.nagy@arm.com>
6414 * math/Makefile: Add s_sincosf_data.c.
6415 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6416 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6417 (sincosf_poly): Likewise.
6418 (reduce_small): Likewise.
6419 (reduce_large): Likewise.
6420 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6421 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6422 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6423 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6425 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6426 Szabolcs Nagy <szabolcs.nagy@arm.com>
6428 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6429 (converttoint): Use lround.
6430 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6431 document the semantics when TOINT_INTRINSICS is set.
6432 (converttoint): Likewise.
6433 (TOINT_RINT): Remove.
6434 (TOINT_SHIFT): Remove.
6435 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6438 2018-08-10 Florian Weimer <fweimer@redhat.com>
6441 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6443 (__old_getdents64): Use getdents64. Convert entries without
6445 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6446 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6447 tst-readdir64-compat.
6449 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6451 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6454 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6456 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6457 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6458 code to s390x-mcount.h and #include it.
6459 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6460 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6463 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6465 * stdlib/Versions: Remove __fentry__.
6466 * sysdeps/i386/Versions: Add __fentry__.
6467 * sysdeps/x86_64/Versions: Add __fentry__.
6469 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6471 * sysdeps/s390/Makefile: Register the new tests.
6472 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6473 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6474 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6475 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6476 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6477 * sysdeps/s390/tst-dl-runtime.c: New file.
6479 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6481 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6484 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6486 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6489 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6491 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6494 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6496 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6499 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6501 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6502 Use symbolic offsets for stack variables.
6504 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6506 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6507 Use symbolic offsets for stack variables.
6509 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6511 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6512 Use symbolic offsets for stack variables.
6514 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6516 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6517 Use symbolic offsets for stack variables.
6519 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6521 * math/gen-libm-test.py: New file.
6522 * math/gen-libm-test.pl: Remove.
6523 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6524 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6526 ($(libm-test-c-noauto-obj)): Likewise.
6527 ($(libm-test-c-auto-obj)): Likewise.
6528 ($(libm-test-c-narrow-obj)): Likewise.
6529 (regen-ulps): Likewise.
6530 * math/README.libm-test: Update references to gen-libm-test.pl.
6531 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6532 referencing gen-libm-test.pl.
6533 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6534 * math/libm-test-support.c: Likewise.
6535 * math/libm-test-support.h: Likewise.
6536 * sysdeps/generic/libm-test-ulps: Likewise.
6538 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6540 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6543 2018-08-08 Joseph Myers <joseph@codesourcery.com>
6545 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6546 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6548 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6550 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6552 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6553 __pthread_setspecific): Add hidden proto.
6554 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6555 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
6557 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6559 * benchtests/bench-string.h (buf1_size, buf2_size): New
6561 (init_sizes): New function.
6562 (test_init): Use it.
6563 (alloc_buf, exit_error): New functions.
6564 (alloc_bufs): Use ALLOC_BUF.
6565 (realloc_bufs): Remove.
6566 * benchtests/bench-memcmp.c (do_test): Adjust.
6567 * benchtests/bench-memset-large.c (do_test): Likewise.
6568 * benchtests/bench-memset-walk.c (do_test): Likewise.
6569 * benchtests/bench-memset.c (do_test): Likewise.
6570 * benchtests/bench-strncmp.c (do_test): Likewise.
6572 2018-08-06 Andreas Schwab <schwab@suse.de>
6574 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6575 of CONST_THREAD_AREA.
6577 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6579 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6580 (STATE_SAVE_MASK): Likewise.
6581 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6582 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6583 (STATE_SAVE_MASK): Likewise.
6584 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6585 instead of <cpu-features.h>.
6587 2018-08-03 DJ Delorie <dj@redhat.com>
6589 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
6590 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
6592 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6594 2018-08-03 Joseph Myers <joseph@codesourcery.com>
6596 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6598 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6599 * math/libm-test-logb.inc (logb_test_data): Likewise.
6601 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6603 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6604 * string/strstr.c (AVAILABLE): Likewise.
6606 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6608 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6610 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6611 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6612 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6614 2018-08-03 Carlos O'Donell <carlos@redhat.com>
6616 * po/be.po: Update translation.
6618 * po/be.po: Update translation.
6620 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6622 * sysdeps/x86/cpu-features-offsets.sym
6623 (rtld_global_ro_offsetof): Removed.
6624 (CPU_FEATURES_SIZE): Likewise.
6625 (CPUID_OFFSET): Likewise.
6626 (CPUID_SIZE): Likewise.
6627 (CPUID_EAX_OFFSET): Likewise.
6628 (CPUID_EBX_OFFSET): Likewise.
6629 (CPUID_ECX_OFFSET): Likewise.
6630 (CPUID_EDX_OFFSET): Likewise.
6631 (FAMILY_OFFSET): Likewise.
6632 (MODEL_OFFSET): Likewise.
6633 (FEATURE_OFFSET): Likewise.
6634 (FEATURE_SIZ): Likewise.
6635 (COMMON_CPUID_INDEX_1): Likewise.
6636 (COMMON_CPUID_INDEX_7): Likewise.
6637 (FEATURE_INDEX_1): Likewise.
6638 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6640 2018-08-02 Carlos O'Donell <carlos@redhat.com>
6642 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6643 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6644 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6645 (install-locales): Depend on install-locale-archive.
6646 (install-locale-archive): Define.
6647 (install-locale-files): Define.
6648 (build-one-locale): Define macro.
6649 * manual/install.texi (Running make install): Document.
6650 * manual/INSTALL: Regenerate.
6652 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6654 * benchtests/scripts/compare_strings.py: Import traceback.
6655 (parse_file): Pretty-print error.
6657 * NEWS: Mention the change.
6658 * elf/dl-tunables.list: Rename tune namespace to cpu.
6659 * sysdeps/powerpc/dl-tunables.list: Likewise.
6660 * sysdeps/x86/dl-tunables.list: Likewise.
6661 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6663 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6664 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6665 * manual/README.tunables: Likewise.
6666 * manual/tunables.texi: Likewise.
6667 * sysdeps/powerpc/cpu-features.c: Likewise.
6668 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6669 (init_cpu_features): Likewise.
6670 * sysdeps/x86/cpu-features.c: Likewise.
6671 * sysdeps/x86/cpu-features.h: Likewise.
6672 * sysdeps/x86/cpu-tunables.c: Likewise.
6673 * sysdeps/x86_64/Makefile: Likewise.
6674 * sysdeps/x86/dl-cet.c: Likewise.
6676 2018-08-02 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6680 [__mips_hard_float].
6681 (FE_UNDERFLOW): Likewise.
6682 (FE_OVERFLOW): Likewise.
6683 (FE_DIVBYZERO): Likewise.
6684 (FE_INVALID): Likewise.
6685 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6686 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6687 (FE_UPWARD): Likewise.
6688 (FE_DOWNWARD): Likewise.
6689 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6690 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6691 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6692 [__mips_hard_float].
6693 (FP_ROUNDMODE): Likewise.
6694 (FP_RND_NEAREST): Likewise.
6695 (FP_RND_ZERO): Likewise.
6696 (FP_RND_PINF): Likewise.
6697 (FP_RND_MINF): Likewise.
6698 (FP_EX_INVALID): Likewise.
6699 (FP_EX_OVERFLOW): Likewise.
6700 (FP_EX_UNDERFLOW): Likewise.
6701 (FP_EX_DIVZERO): Likewise.
6702 (FP_EX_INEXACT): Likewise.
6703 (FP_INIT_ROUNDMODE): Likewise.
6704 * sysdeps/mips/nofpu/fesetenv.c: New file.
6705 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6707 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6709 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6710 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6711 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6712 conditional on [FE_UPWARD].
6714 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6716 regex: fix memory leak in Gnulib
6717 Problem and fix reported by Assaf Gordon in:
6718 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6719 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6720 range_ends members too, as they are defined in 'struct
6721 re_charset_t' even if not _LIBC. This affects only Gnulib.
6723 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6725 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6727 (get_common_indices): This.
6728 (init_cpu_features): Updated.
6730 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6732 * sysdeps/generic/math-tests-snan-payload.h: New file.
6733 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6734 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6735 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6736 * sysdeps/generic/math-tests.h: Include
6737 <math-tests-snan-payload.h>.
6738 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6739 * sysdeps/hppa/math-tests.h: Remove file.
6740 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6741 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6742 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6745 * sysdeps/generic/math-tests-snan-cast.h: New file.
6746 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6747 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6748 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6749 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6751 2018-08-01 Carlos O'Donel <carlos@redhat.com>
6753 * version.h (RELEASE): Set to "development".
6754 (VERSION): Set to "2.28.9000".
6755 * NEWS (2.29): New section.
6757 * version.h (RELEASE): Set to "stable".
6758 (VERSION): Set to "2.28".
6759 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6760 * NEWS: Add the list of bugs fixed in 2.28.
6762 * po/ca.po: Update to latest version.
6763 * po/cs.po: Likewise
6764 * po/da.po: Likewise
6765 * po/el.po: Likewise
6766 * po/eo.po: Likewise
6767 * po/es.po: Likewise
6768 * po/fi.po: Likewise
6769 * po/fr.po: Likewise
6770 * po/gl.po: Likewise
6771 * po/hu.po: Likewise
6772 * po/ia.po: Likewise
6773 * po/id.po: Likewise
6774 * po/it.po: Likewise
6775 * po/ja.po: Likewise
6776 * po/ko.po: Likewise
6777 * po/lt.po: Likewise
6778 * po/nb.po: Likewise
6779 * po/nl.po: Likewise
6780 * po/pt_BR.po: Likewise
6781 * po/ru.po: Likewise
6782 * po/rw.po: Likewise
6783 * po/sk.po: Likewise
6784 * po/sl.po: Likewise
6785 * po/tr.po: Likewise
6786 * po/zh_CN.po: Likewise
6787 * po/zh_TW.po: Likewise
6789 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6791 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6793 (init): ... before initializing libpthread.
6795 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6796 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6797 (__mach_setup_tls): ... new function.
6798 (mach_setup_tls): New alias.
6799 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
6800 __mach_setup_thread.
6801 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
6802 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
6803 * mach/Versions [libc] (mach_setup_tls): Add symbol.
6804 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
6806 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6808 * manual/install.texi: Update versions.
6809 * INSTALL: Regenerate.
6811 * manual/contrib.texi (Contributors): Update contributions.
6813 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6815 * po/be.po: Update translations.
6817 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6819 * sysdeps/sh/libm-test-ulps: Update.
6821 2018-07-30 Carlos O'Donell <carlos@redhat.com>
6823 * po/bg.po: Update translations.
6824 * po/de.po: Likewise.
6825 * po/hr.po: Likewise.
6826 * po/pt_BR.po: Likewise.
6827 * po/sv.po: Likewise.
6828 * po/vi.po: Likewise.
6830 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6833 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6834 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
6835 (CFLAGS-tst-cet-property-1.o): New.
6836 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
6837 ($(objpfx)tst-cet-property-2): Likewise.
6838 ($(objpfx)tst-cet-property-2.out): Likewise.
6839 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
6840 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
6841 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
6842 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
6843 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
6845 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6848 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
6850 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6852 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
6853 __sbrk): Do not set attribute_hidden.
6854 * sysdeps/mach/hurd/not-errno.h: New file.
6855 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6856 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
6858 2018-07-27 Carlos O'Donell <carlos@redhat.com>
6860 * po/uk.po: Update translations.
6861 * po/cs.po: Likewise.
6862 * po/pl.po: Likewise.
6864 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
6866 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
6867 parse beyond the note end.
6869 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6871 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
6872 kernel does not support OFD locks.
6873 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
6875 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6877 * sysdeps/mach/hurd/Versions (libc): Make __access and
6878 __access_noerrno external so they can override the ld symbols.
6879 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
6880 __writev, __open64, __access_noerrno extern so they can be overrided.
6881 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
6882 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6884 2018-07-26 Carlos O'Donell <carlos@redhat.com>
6886 * po/libc.pot: Regenerate.
6888 2018-07-26 Joseph Myers <joseph@codesourcery.com>
6890 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6892 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6895 * sysdeps/x86/cpu-features.c (get_extended_indices): New
6897 (init_cpu_features): Call get_extended_indices for both Intel
6899 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
6900 Remove "for AMD" comment.
6902 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6905 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
6906 COMMON_CPUID_INDEX_80000001.
6908 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
6910 * string/tst-xbzero-opt.c (use_test_buffer): New function.
6911 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
6913 2018-07-26 Florian Weimer <fweimer@redhat.com>
6915 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
6916 aliases for symbols not in the implementation namespace.
6918 2018-07-25 Carlos O'Donell <carlos@redhat.com>
6921 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
6922 lowercase in LATIN script.
6923 * localedata/Makefile (test-input): Add en_US.UTF-8.
6924 * localedata/en_US.UTF-8.in: New file.
6925 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
6926 and restore old tests.
6927 * posix/tst-regexloc.c (do_test): Add back range expression test.
6929 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6931 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
6933 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6935 * nptl/threads.h: Move to ...
6936 * sysdeps/nptl/threads.h: ... here.
6937 * sysdeps/hurd/stdc-predef.h: New file.
6939 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6941 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6942 tst-cet-setcontext-1 if CET is enabled.
6943 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
6944 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
6946 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6948 * include/threads.h: Move to ...
6949 * sysdeps/nptl/threads.h: ... here.
6950 * sysdeps/htl/threads.h: New file.
6951 * conform/Makefile (linknamespace-libs-ISO11): Use
6952 static-thread-library instead of linking libpthread.
6953 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
6955 2018-07-25 Florian Weimer <fweimer@redhat.com>
6957 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
6958 nanoseconds into seconds.
6959 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
6960 (do_test): Likewise.
6961 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
6962 (do_test): Likewise. Avoid nanosecond overflow and spurious
6963 timeouts due to system load.
6964 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
6965 (child_wait): Increment it.
6966 (do_test): Wait as long as necessary until all expected threads
6969 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
6970 H.J. Lu <hongjiu.lu@intel.com>
6972 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
6974 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
6975 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
6976 (__push___start_context): New.
6977 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
6979 (__getcontext): Record the current shadow stack base. Save the
6980 caller's shadow stack pointer and base.
6981 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
6982 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
6983 (__push___start_context): New prototype.
6984 (__makecontext): Call __push___start_context to allocate a new
6985 shadow stack, push __start_context onto the new stack as well
6986 as the new shadow stack.
6987 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
6989 (__setcontext): Restore the target shadow stack.
6990 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
6992 (__swapcontext): Record the current shadow stack base. Save
6993 the caller's shadow stack pointer and base. Restore the target
6995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6996 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
6997 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
6999 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7001 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7002 tst-setcontext8 and tst-setcontext9.
7003 * stdlib/tst-setcontext6.c: New file.
7004 * stdlib/tst-setcontext7.c: Likewise.
7005 * stdlib/tst-setcontext8.c: Likewise.
7006 * stdlib/tst-setcontext9.c: Likewise.
7008 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7010 * stdlib/Makefile ((tests): Add tst-setcontext5.
7011 * stdlib/tst-setcontext5.c: New file.
7013 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7015 * stdlib/Makefile (tests): Add tst-setcontext4.
7016 * stdlib/tst-setcontext4.c: New file.
7018 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7020 * stdlib/Makefile (tests): Add tst-swapcontext1.
7021 * stdlib/tst-swapcontext1.c: New test.
7023 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7025 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7026 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7027 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7028 and tst-cet-legacy-4c.
7029 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7030 and tst-cet-legacy-mod-4.
7031 (CFLAGS-tst-cet-legacy-2.c): New.
7032 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7033 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7034 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7035 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7036 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7037 ($(objpfx)tst-cet-legacy-1): Likewise.
7038 ($(objpfx)tst-cet-legacy-2): Likewise.
7039 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7040 ($(objpfx)tst-cet-legacy-2a): Likewise.
7041 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7042 ($(objpfx)tst-cet-legacy-4): Likewise.
7043 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7044 ($(objpfx)tst-cet-legacy-4a): Likewise.
7045 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7046 (tst-cet-legacy-4a-ENV): Likewise.
7047 ($(objpfx)tst-cet-legacy-4b): Likewise.
7048 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7049 (tst-cet-legacy-4b-ENV): Likewise.
7050 ($(objpfx)tst-cet-legacy-4c): Likewise.
7051 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7052 (tst-cet-legacy-4c-ENV): Likewise.
7053 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7054 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7055 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7056 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7057 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7058 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7059 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7060 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7061 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7062 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7063 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7065 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7067 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7068 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7070 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7071 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7074 2018-07-25 Andreas Schwab <schwab@suse.de>
7077 * locale/weightwc.h (findidx): Handle the case where usrc is a
7078 prefix of cp but one character too short.
7080 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7082 * NEWS: Add ISO C threads addition.
7084 2018-07-24 Florian Weimer <fweimer@redhat.com>
7086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7087 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7088 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7091 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7093 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7094 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7095 <sys/prctl.h> and <asm/prctl.h>.
7096 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7097 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7099 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7100 ARCH_CET_LEGACY_BITMAP.
7101 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7102 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7103 * sysdeps/x86/libc-start.c: Include <startup.h>.
7105 2018-07-24 Florian Weimer <fweimer@redhat.com>
7107 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7108 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7110 2018-07-24 Rical Jasan <rj@2c3t.io>
7111 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7112 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7115 * manual/debug.texi: Update adjacent chapter name.
7116 * manual/probes.texi: Likewise.
7117 * manual/threads.texi (ISO C Threads): New section.
7118 (POSIX Threads): Convert to a section.
7120 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7121 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7124 * nptl/Makefile (tests): Add new test files.
7125 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7126 * nptl/tst-cnd-basic.c: Likewise.
7127 * nptl/tst-cnd-broadcast.c: Likewise.
7128 * nptl/tst-cnd-timedwait.c: Likewise.
7129 * nptl/tst-mtx-basic.c: Likewise.
7130 * nptl/tst-mtx-recursive.c: Likewise.
7131 * nptl/tst-mtx-timedlock.c: Likewise.
7132 * nptl/tst-mtx-trylock.c: Likewise.
7133 * nptl/tst-thrd-basic.c: Likewise.
7134 * nptl/tst-thrd-detach.c: Likewise.
7135 * nptl/tst-thrd-sleep.c: Likewise.
7136 * nptl/tst-tss-basic.c: Likewise.
7138 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7141 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7142 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7144 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7145 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7146 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7147 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7148 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7149 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7150 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7151 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7153 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7154 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7155 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7163 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7164 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7165 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7166 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7169 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7171 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7172 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7173 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7174 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7175 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7177 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7178 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7179 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7180 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7181 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7182 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7183 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7184 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7185 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7186 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7187 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7188 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7195 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7197 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7198 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7201 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7205 * conform/data/threads.h-data (thread_local): New macro.
7206 (TSS_DTOR_ITERATIONS): Likewise.
7208 (tss_dtor_t): Likewise.
7209 (tss_create): New function.
7210 (tss_get): Likewise.
7211 (tss_set): Likewise.
7212 (tss_delete): Likewise.
7213 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7214 tss_get, and tss_set objects.
7215 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7216 * nptl/tss_create.c: New file.
7217 * nptl/tss_delete.c: Likewise.
7218 * nptl/tss_get.c: Likewise.
7219 * nptl/tss_set.c: Likewise.
7220 * sysdeps/nptl/threads.h (thread_local): New define.
7221 (TSS_DTOR_ITERATIONS): Likewise.
7222 (tss_t): New typedef.
7223 (tss_dtor_t): Likewise.
7224 (tss_create): New prototype.
7225 (tss_get): Likewise.
7226 (tss_set): Likewise.
7227 (tss_delete): Likewise.
7230 * conform/data/threads.h-data (cnd_t): New type.
7231 (cnd_init): New function.
7232 (cnd_signal): Likewise.
7233 (cnd_broadcast): Likewise.
7234 (cnd_wait): Likewise.
7235 (cnd_timedwait): Likewise.
7236 (cnd_destroy): Likewise.
7237 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7238 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7240 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7241 * nptl/cnd_broadcast.c: New file.
7242 * nptl/cnd_destroy.c: Likewise.
7243 * nptl/cnd_init.c: Likewise.
7244 * nptl/cnd_signal.c: Likewise.
7245 * nptl/cnd_timedwait.c: Likewise.
7246 * nptl/cnd_wait.c: Likewise.
7247 * sysdeps/nptl/threads.h (cnd_t): New type.
7248 (cnd_init): New prototype.
7249 (cnd_signa): Likewise.
7250 (cnd_broadcast): Likewise.
7251 (cnd_wait): Likewise.
7252 (cnd_timedwait): Likewise.
7253 (cnd_destroy): Likewise.
7256 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7257 (once_flag): New type.
7258 (call_once): New function.
7259 * nptl/Makefile (libpthread-routines): Add call_once object.
7260 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7261 * nptl/call_once.c: New file.
7262 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7263 (once_flag): New type.
7264 (call_once): New prototype.
7267 * conform/data/threads.h-data (mtx_plain): New constant.
7268 (mtx_recursive): Likewise.
7269 (mtx_timed): Likewise.
7271 (mtx_init): New function.
7272 (mtx_lock): Likewise.
7273 (mtx_timedlock): Likewise.
7274 (mtx_trylock): Likewise.
7275 (mtx_unlock): Likewise.
7276 (mtx_destroy): Likewise.
7277 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7278 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7279 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7280 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7281 * nptl/mtx_destroy.c: New file.
7282 * nptl/mtx_init.c: Likewise.
7283 * nptl/mtx_lock.c: Likewise.
7284 * nptl/mtx_timedlock.c: Likewise.
7285 * nptl/mtx_trylock.c: Likewise.
7286 * nptl/mtx_unlock.c: Likewise.
7287 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7288 (mtx_recursive): Likewise.
7289 (mtx_timed): Likewise.
7291 (mtx_init): New prototype.
7292 (mtx_lock): Likewise.
7293 (mtx_timedlock): Likewise.
7294 (mtx_trylock): Likewise.
7295 (mtx_unlock): Likewise.
7296 (mtx_destroy): Likewise.
7299 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7300 (linknamespace-libs-ISO11): Add libpthread.a.
7301 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7303 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7304 * nptl/Makefile (headers): Add threads.h.
7305 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7306 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7308 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7309 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7310 thrd_join, thrd_sleep, and thrd_yield symbols.
7311 * nptl/descr.h (struct pthread): Add c11 field.
7312 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7313 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7314 routine with expected function prototype.
7315 (__pthread_create_2_1): Add C11 threads check based on attribute
7317 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7318 * nptl/thrd_create.c: New file.
7319 * nptl/thrd_current.c: Likewise.
7320 * nptl/thrd_detach.c: Likewise.
7321 * nptl/thrd_equal.c: Likewise.
7322 * nptl/thrd_exit.c: Likewise.
7323 * nptl/thrd_join.c: Likewise.
7324 * nptl/thrd_priv.h: Likewise.
7325 * nptl/thrd_sleep.c: Likewise.
7326 * nptl/thrd_yield.c: Likewise.
7327 * include/threads.h: Likewise.
7329 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7331 * bits/indirect-return.h: New file.
7332 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7333 * sysdeps/x86/bits/indirect-return.h: Likewise.
7334 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7335 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7336 (swapcontext): Add __INDIRECT_RETURN.
7337 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7338 (prepare_test_buffer): Use it.
7340 2018-07-24 Andreas Schwab <schwab@suse.de>
7343 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7344 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7346 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7348 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7349 Redefine if shadow stack is enabled.
7350 (SYSCALL_ERROR_LABEL): Likewise.
7351 (__vfork): Pop shadow stack and jump back to to caller directly
7352 when shadow stack is in use.
7353 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7354 Redefine if shadow stack is enabled.
7355 (SYSCALL_ERROR_LABEL): Likewise.
7356 (__vfork): Pop shadow stack and jump back to to caller directly
7357 when shadow stack is in use.
7359 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7361 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7364 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7367 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7369 * scripts/build-many-glibcs.py (Context.checkout): Default
7370 binutils version to 2.31 branch.
7372 2018-07-20 Zong Li <zong@andestech.com>
7374 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7375 URL of gcc's tarball.
7377 2018-07-20 Florian Weimer <fweimer@redhat.com>
7380 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7381 not compare an extra byte after the end of the weights.
7383 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7385 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7387 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7389 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7390 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7391 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7392 list of libraries whose stack executability is expected.
7393 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7394 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7396 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7397 libc.so libpthread.so.
7399 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7401 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7403 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7405 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7407 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7409 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7411 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7412 library to improve command line parsing.
7413 (__main__): make schema file as optional parameter (--schema),
7414 defaulting to benchtests/scripts/benchout.schema.json.
7415 (main): move out of the parsing stuff to __main_ and leave it
7416 only as caller of main comparison functions.
7418 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7420 * NEWS: Add a note for Intel CET status.
7421 * manual/install.texi: Likewise.
7422 * INSTALL: Regenerated.
7424 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7427 * localedata/locales/oc_FR (mon): Rename to...
7428 (alt_mon): This, then update October (typo fix).
7429 (mon): New content (genitive case, month names preceded by
7433 * localedata/locales/oc_FR (abday): Update all items.
7434 (day): Update Wednesday and Saturday (typo fixes).
7435 (abmon): Update all items, except May.
7436 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7437 (LC_IDENTIFICATION): Bump the revision number and date.
7438 Keep the "category" entries in alphabetic order.
7439 (LC_ADDRESS): Remove no longer needed comment.
7440 (LC_COLLATE): Use “copy "ca_ES"”.
7441 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7444 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7446 * grp/tst_fgetgrent.c: Include <unistd.h>.
7447 (main): Use mkstemp instead of tmpnam.
7448 * io/test-utime.c (main): Likewise.
7449 * posix/annexc.c (macrofile): Change to modifiable array.
7450 (main): Remove macrofile here.
7451 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7453 (check_header): Do not remove macrofile here.
7454 * posix/bug-getopt1.c: Include <stdlib.h>.
7455 (do_test): Use mkstemp instead of tmpnam.
7456 * posix/bug-getopt2.c: Include <stdlib.h>.
7457 (do_test): Use mkstemp instead of tmpnam.
7458 * posix/bug-getopt3.c: Include <stdlib.h>.
7459 (do_test): Use mkstemp instead of tmpnam.
7460 * posix/bug-getopt4.c: Include <stdlib.h>.
7461 (do_test): Use mkstemp instead of tmpnam.
7462 * posix/bug-getopt5.c: Include <stdlib.h>.
7463 (do_test): Use mkstemp instead of tmpnam.
7464 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7465 (main): Use mkstemp instead of tmpnam.
7466 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7467 (main): Use mkstemp instead of tmpnam.
7468 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7469 (main): use mkstemp instead of tmpnam.
7470 * stdlib/isomac.c (macrofile): Change to modifiable array.
7471 (main): Remove macrofile here.
7472 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7474 (check_header): Do not remove macrofile here.
7476 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7478 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7479 glibc.tune.x86_shstk.
7481 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7483 * NEWS: Mention --enable-cet.
7484 * manual/install.texi: Document --enable-cet.
7485 * INSTALL: Regenerated.
7487 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7489 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7490 Add _CET_NOTRACK before indirect jump to jump table.
7492 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7494 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7495 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7498 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7500 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7501 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7504 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7506 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7507 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7510 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7513 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7516 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7518 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7519 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7521 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7523 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7525 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7526 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7529 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7531 * sysdeps/i386/i686/multiarch/memset-sse2.S
7532 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7535 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7537 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7538 indirect jump to jump table.
7540 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7543 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7547 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7549 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
7550 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7554 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7556 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7557 _CET_NOTRACK before indirect jump to jump table.
7559 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7561 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7562 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7565 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7567 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7568 indirect jump to jump table.
7570 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7573 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7574 (LOCALES): Likewise.
7575 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7576 * localedata/locales/sah_RU: New file.
7577 * localedata/sah_RU.UTF-8.in: New file.
7579 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7581 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7583 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7584 _CET_ENDBR to indirect jump targets and adjust jump destination
7586 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7588 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7589 _CET_ENDBR to indirect jump targets and adjust jump destination
7591 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7593 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7594 _CET_ENDBR to indirect jump targets and adjust jump destination
7597 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7599 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7602 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7604 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7606 (_dl_tlsdesc_undefweak): Likewise.
7607 (_dl_tlsdesc_dynamic): Likewise.
7608 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7609 (_dl_tlsdesc_resolve_rel): Likewise.
7610 (_dl_tlsdesc_resolve_rela): Likewise.
7611 (_dl_tlsdesc_resolve_hold): Likewise.
7612 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7613 (_dl_tlsdesc_undefweak): Likewise.
7614 (_dl_tlsdesc_dynamic): Likewise.
7615 (_dl_tlsdesc_resolve_rela): Likewise.
7616 (_dl_tlsdesc_resolve_hold): Likewise.
7618 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7620 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7622 * sysdeps/x86_64/crti.S (_init): Likewise.
7625 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7628 * localedata/locales/os_RU (mon): Rename to...
7630 (mon): Import from CLDR (genitive case).
7632 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7634 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7635 cet-tunables.h> when CET is enabled.
7637 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7640 * configure.ac: Add --enable-cet.
7641 * configure: Regenerated.
7642 * elf/Makefille (all-built-dso): Add a comment.
7643 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7644 Include <dl-prop.h>.
7645 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7647 * elf/dl-open.c: Include <dl-prop.h>.
7648 (dl_open_worker): Call _dl_open_check.
7649 * elf/rtld.c: Include <dl-prop.h>.
7650 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7652 * sysdeps/generic/dl-prop.h: New file.
7653 * sysdeps/i386/dl-cet.c: Likewise.
7654 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7655 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7656 * sysdeps/x86/cet-tunables.h: Likewise.
7657 * sysdeps/x86/check-cet.awk: Likewise.
7658 * sysdeps/x86/configure: Likewise.
7659 * sysdeps/x86/configure.ac: Likewise.
7660 * sysdeps/x86/dl-cet.c: Likewise.
7661 * sysdeps/x86/dl-procruntime.c: Likewise.
7662 * sysdeps/x86/dl-prop.h: Likewise.
7663 * sysdeps/x86/libc-start.h: Likewise.
7664 * sysdeps/x86/link_map.h: Likewise.
7665 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7667 (_dl_runtime_profile): Likewise.
7668 (_dl_runtime_resolve_shstk): New.
7669 (_dl_runtime_profile_shstk): Likewise.
7670 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7672 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7673 (CFLAGS-.os): Likewise.
7674 (CFLAGS-.op): Likewise.
7675 (CFLAGS-.oS): Likewise.
7676 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7678 (tests-special): Add $(objpfx)check-cet.out.
7679 (cet-built-dso): New.
7680 (+$(cet-built-dso:=.note)): Likewise.
7681 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7682 ($(objpfx)check-cet.out): New.
7683 (generated): Add check-cet.out.
7684 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7686 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7687 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7688 (init_cpu_features): Call get_cet_status to check CET status
7689 and update dl_x86_feature_1 with CET status. Call
7690 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7691 (set_x86_shstk). Disable and lock CET in libc.a.
7692 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7693 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7694 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7695 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7696 (_CET_ENDBR): Define if not defined.
7697 (ENTRY): Add _CET_ENDBR.
7698 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7700 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7702 (_dl_runtime_profile): Likewise.
7704 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7708 restore r2 on longjmp.
7709 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7711 Added rules to build test tst-setjmp-bug21895-static.
7712 Added module setjmp-bug21895 and rules to build a shared object from it.
7713 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7714 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7716 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7718 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7719 * benchtests/bench-strstr.c: Likewise.
7720 * string/memmem.c (FASTSEARCH): Define.
7721 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7722 Add support for FASTSEARCH.
7723 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7724 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7725 (FASTSEARCH): Define.
7726 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7727 * string/test-strstr.c: Likewise.
7729 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7732 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7734 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7735 H.J. Lu <hongjiu.lu@intel.com>
7737 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7738 (__longjmp): Restore shadow stack pointer if shadow stack is
7739 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7740 isn't defined for __longjmp_cancel.
7741 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7742 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7743 and SHADOW_STACK_POINTER_OFFSET is defined.
7744 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7745 (setjmp): Save shadow stack pointer if shadow stack is enabled
7746 and SHADOW_STACK_POINTER_OFFSET is defined.
7747 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7748 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7749 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7750 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7752 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7753 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7754 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7755 Remove jmp_buf-ssp.sym.
7756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7758 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7759 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7760 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7762 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7763 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7764 (__longjmp): Restore shadow stack pointer if shadow stack is
7765 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7766 isn't defined for __longjmp_cancel.
7767 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7768 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7769 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7771 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7774 * nptl/pthread_create.c: Include <tls-setup.h>.
7775 (__pthread_create_2_1): Call tls_setup_tcbhead.
7776 * sysdeps/generic/tls-setup.h: New file.
7777 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7778 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7779 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7781 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7783 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7784 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7785 (X86_FEATURE_1_SHSTK): Likewise.
7786 (CET_ENABLED): Likewise.
7787 (IBT_ENABLED): Likewise.
7788 (SHSTK_ENABLED): Likewise.
7790 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7793 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7794 (LOCALES): Likewise.
7795 * localedata/dsb_DE.UTF-8.in: New file.
7796 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7798 2018-07-12 Florian Weimer <fweimer@redhat.com>
7800 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
7801 __mprotect, not mprotect.
7803 2018-07-11 Florian Weimer <fweimer@redhat.com>
7805 * io/Makefile (headers): Add bits/statx.h.
7807 2018-07-10 Mike FABIAN <mfabian@redhat.com>
7809 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
7810 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
7812 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
7813 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
7816 2018-07-10 Florian Weimer <fweimer@redhat.com>
7818 * io/Makefile (routines): Add statx.
7819 (tests-internal): Add tst-statx.
7820 * io/Versions (GLIBC_2.28): Export statx.
7821 * io/bits/statx.h: New file.
7822 * io/sys/stat.h [__USE_GNU]: Include it.
7823 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
7824 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
7826 * io/statx.c: New file.
7827 * io/statx_generic.: Likewise.
7828 * io/tst-statx.: Likewise.
7829 * include/bits/statx.h: Likewise.
7830 * sysdeps/unix/sysv/linux/kernel-features.h
7831 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
7832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7833 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
7834 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
7836 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7837 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
7838 * sysdeps/unix/sysv/linux/statx.c: New file.
7839 * manual/filesys.texi: Note that statx is undocumented.
7840 * sysdeps/**/libc*.abilist: Update.
7842 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7844 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
7845 a kernel issue which lead to test failure in some cases.
7847 2018-07-10 Florian Weimer <fweimer@redhat.com>
7850 * posix/regexec.c (check_node_accept_bytes): When comparing
7851 weights, do not compare an extra byte after the end of the
7854 2018-07-10 Florian Weimer <fweimer@redhat.com>
7856 * libio/readline.c: Fix copyright year.
7857 * libio/tst-readline.c Likewise.
7858 * nss/tst-nss-files-hosts-getent.c: Likewise.
7860 2018-07-06 Florian Weimer <fweimer@redhat.com>
7863 * nss/nss_files/files-XXX.c (internal_getent): Use
7864 __libc_readline_unlocked. Seek back to the start of the line if
7865 parsing failes with ERANGE.
7866 (get_contents_ret, get_contents): Remove.
7867 * nss/tst-nss-files-hosts-getent.c: New file.
7868 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
7869 (tst-nss-files-hosts-getent): Link with -ldl.
7871 2018-07-06 Florian Weimer <fweimer@redhat.com>
7873 * include/stdio.h (__libc_readline_unlocked): Declare.
7874 (__ftello64, __fseeko64): Declare aliases.
7875 * libio/readline.c: New file.
7876 * libio/tst-readline.c: Likewise.
7877 (routines): Add readline.
7878 (tests-internal): Add tst-readlime.
7879 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
7880 __libc_readline_unlocked.
7881 * libio/fseeko.c (__fseeko): Rename from fseeko.
7882 (fseeko): Add alias.
7883 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
7884 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
7885 (fseeko64): Add alias.
7886 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
7887 * libio/ftello64.c (__ftello64): Rename from ftello64.
7888 (ftello64): Add alias.
7890 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7892 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
7895 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7897 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
7898 Use dl_hwcap without masking.
7899 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
7902 2018-07-06 Florian Weimer <fweimer@redhat.com>
7904 * conform/conformtest.pl (checknamespace): Escape literal braces
7905 in regular expressions.
7907 2018-07-06 Amit Pawar <amit.pawar@amd.com>
7909 * sysdeps/x86/cpu-features.c (get_common_indeces):
7910 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
7911 * sysdeps/x86/cpu-features.c (init_cpu_features):
7912 AVX_Fast_Unaligned_Load is disabled for Excavator core.
7914 2018-07-05 Florian Weimer <fweimer@redhat.com>
7916 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
7918 (CFLAGS-elf-init.oS): Likewise.
7920 2018-07-05 Florian Weimer <fweimer@redhat.com>
7921 Carlos O'Donell <carlos@redhat.com>
7923 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
7924 $(no-stack-protector). stack_chk_fail_local.c can be compiled
7925 with stack protector enabled because there is no risk of infinite
7928 2018-07-05 Maciej W. Rozycki <macro@mips.com>
7932 * libc-abis (ABSOLUTE): New ABI.
7933 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
7934 * NEWS: Mention the new ABI.
7936 2018-07-05 Florian Weimer <fweimer@redhat.com>
7939 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
7940 (RENAME_WHITEOUT): Define.
7941 [__USE_GNU] (renameat2): Declare.
7942 * stdio-common/Makefile (routines): Add renameat2.
7943 (tests): Add tst-renameat2.
7944 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
7945 * stdio-common/renameat2.c: New file.
7946 * stdio-common/tst-renameat2.c: Likewise.
7947 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
7948 * manual/filesys.texi (Temporary Files): Note that renameat2 is
7950 * sysdeps/unix/sysv/linux/kernel-features.h
7951 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
7952 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7953 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7955 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7956 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7957 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
7958 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7959 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
7960 * include/stdio.h (__renameat): Add alias for renameat.
7961 * stdio-common/renameat.c (__renameat): Rename from renameat.
7962 Add hidden definition and alias.
7963 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7964 * sysdeps/mach/hurd/renameat.c: Likewise.
7965 * sysdeps/**/libc*.abilist: Add renameat2.
7967 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7969 * posix/bug-regex33.c: Fix build after regex sync.
7971 2018-07-04 Carlos O'Donell <carlos@redhat.com>
7974 * localedata/tst-langinfo-setlocale.c: New file.
7975 * localedata/tst-langinfo-setlocale-static.c: New file.
7976 * localedata/tst-langinfo-newlocale.c: New file.
7977 * localedata/tst-langinfo-newlocale-static.c: New file.
7978 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
7979 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
7980 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
7981 (tests-static): Remove tst-langinfo-static. Add
7982 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
7983 (tests-special): Remove $(objpfx)tst-langinfo.out,
7984 $(objpfx)tst-langinfo-static.out. Add
7985 $(objpfx)tst-langinfo-setlocale.out,
7986 $(objpfx)tst-langinfo-newlocale.out,
7987 $(objpfx)tst-langinfo-setlocale-static.out,
7988 $(objpfx)tst-langinfo-newlocale-static.out.
7989 ($(objpfx)tst-langinfo.out): Remove.
7990 ($(objpfx)tst-langinfo-static.out): Remove.
7991 ($(objpfx)tst-langinfo-newlocale.out): New target.
7992 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
7993 (test-xfail-tst-langinfo-newlocale-static): Add.
7994 ($(objpfx)tst-langinfo-setlocale.out): New target.
7995 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
7996 * localedata/tst-langinfo.c: Call test_locale.
7997 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8000 2018-07-04 Florian Weimer <fweimer@redhat.com>
8002 testrun.sh: Implement --tool=strace, --tool=valgrind
8003 * Makefile (testrun-script): Define variable.
8004 (testrun.sh): Use variable.
8005 * manual/install.texi (Tools for Compilation): make 4.0 or later
8007 * configure.ac: Check for make 4.0 or later.
8008 * INSTALL: Regenerate.
8009 * configure: Likewise.
8011 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8017 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8018 * posix/PCRE.tests: Remove invalid test.
8019 * posix/bug-regex28.c: Fix expected values for used syntax.
8020 * posix/bug-regex37.c: New file.
8021 * posix/bug-regex38.c: Likewise.
8022 * posix/regcomp.c: Sync with gnulib.
8023 * posix/regex.c: Likewise.
8024 * posix/regex.h: Likewise.
8025 * posix/regex_internal.c: Likewise.
8026 * posix/regex_internal.h: Likewise.
8027 * posix/regexec.c: Likewise.
8029 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8032 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8033 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8034 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8035 * localedata/unicode-gen/PropList.txt: likewise.
8036 * localedata/unicode-gen/UnicodeData.txt: likewise.
8037 * localedata/charmaps/UTF-8: Regenerate.
8038 * localedata/locales/i18n_ctype: likewise.
8039 * localedata/locales/tr_TR: likewise.
8040 * localedata/locales/translit_circle: likewise.
8041 * localedata/locales/translit_cjk_compat: likewise.
8042 * localedata/locales/translit_combining: likewise.
8043 * localedata/locales/translit_compat: likewise.
8044 * localedata/locales/translit_font: likewise.
8045 * localedata/locales/translit_fraction: likewise.
8047 2018-07-03 Florian Weimer <fweimer@redhat.com>
8050 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8051 * stdio-common/tst-printf.sh: Adjust expected output.
8054 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8056 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8059 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8061 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8062 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8063 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8064 * stdio-common/tst-printfsz-islongdouble.c: New file.
8065 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8067 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8068 [subdir == stdio-common] (tests-internal): Add
8069 test-printf-size-ieee128, and test-printf-size-ibm128.
8070 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8071 (CFLAGS-test-printf-size-ibm128.c): New variables.
8072 [subdir == stdio-common] (tests-special): Add
8073 $(objpfx)test-printf-size-ieee128.out and
8074 $(objpfx)test-printf-size-ibm128.out.
8075 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8076 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8077 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8078 __printf_sizeieee128.
8079 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8081 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8083 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8086 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8088 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8089 (exp2f_inline): Likewise.
8090 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8091 (__math_uflowf): Likewise.
8092 (__math_may_uflowf): Likewise.
8093 (__math_divzerof): Likewise.
8094 (__math_invalidf): Likewise.
8095 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8096 (__math_oflowf): Likewise.
8097 (__math_uflowf): Likewise.
8098 (__math_may_uflowf): Likewise.
8099 (__math_divzerof): Likewise.
8100 (__math_invalidf): Likewise.
8102 2018-06-29 DJ Delorie <dj@redhat.com>
8103 Carlos O'Donell <carlos@redhat.com>
8106 * include/libc-symbols.h: Comment the freeres framework.
8107 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8108 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8109 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8110 * dlfcn/dlerror.c: Include libc-symbols.h
8111 (__dlerror_main_freeres): New function.
8112 * dlfcn/dlfreeres.c: New file.
8113 * dlfcn/sdlfreeres.c: New file.
8114 * include/dlfcn.h: Declare __dlerror_main_freeres.
8115 * malloc/set-freeres.c: Declare __libdl_freeres, and
8116 __libpthread_freeres.
8117 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8118 the releavant libraries are loaded.
8119 * malloc/thread-freeres.c: Add comments.
8120 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8121 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8122 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8123 (__free_stacks): Rename to...
8124 (free_stacks): ...this. Mark static.
8125 (queue_stack): Call free_stacks.
8126 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8127 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8128 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8129 ptr_freeres element from struct.
8130 (pthread_functions): Remove .ptr_freeres from struct initializer.
8131 [SHARED] (nptl_freeres): Remove.
8132 * nptl/nptlfreeres.c: New file.
8134 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8135 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8137 (__free_stacks): Rename to...
8138 (__nptl_stacks_freeres): ...this.
8139 (__shm_directory_freeres): Declare.
8140 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8141 (__nptl_unwind_freeres): ...this.
8142 * resolv/res-close.c: Add comment.
8143 * resolv/resolv_conf.c: Include libc-symbols.h.
8144 * string/strerror_l.c: Include libc-symbols.h.
8145 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8146 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8147 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8148 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8150 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8152 * stdlib/tst-strfmon_l.c: Add tests for long double.
8154 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8157 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8158 * localedata/locales/dsb_DE: New file.
8160 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8163 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8165 (alt_mon): New entry, import from CLDR (nominative case).
8167 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8170 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8172 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8174 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8175 Use vector registers.
8177 * sysdeps/aarch64/multiarch/memmove_falkor.S
8178 (__memcpy_falkor): Use vector registers.
8180 2018-06-29 Martin Sebor <msebor@redhat.com>
8182 * manual/stdio.texi (Customizing Printf): Mention interaction
8185 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8188 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8189 `st_value' is 0 if `st_shndx' is SHN_ABS.
8190 * elf/tst-absolute-zero.c: New file.
8191 * elf/tst-absolute-zero-lib.c: New file.
8192 * elf/tst-absolute-zero-lib.lds: New file.
8193 * elf/Makefile (tests): Add `tst-absolute-zero'.
8194 (modules-names): Add `tst-absolute-zero-lib'.
8195 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8196 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8197 ($(objpfx)tst-absolute-zero: New dependency.
8199 2018-06-29 Zack Weinberg <zackw@panix.com>
8201 * configure.ac: New command-line option --disable-crypt.
8202 Force --disable-nss-crypt when --disable-crypt is given, with a
8203 warning if it was explicitly enabled.
8204 * configure: Regenerate.
8205 * config.make.in: New boolean substitution variable $(build-crypt).
8206 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8207 when $(build-crypt).
8208 * manual/install.texi: Document --disable-crypt.
8209 * INSTALL: Regenerate.
8211 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8213 * conform/Makefile: Only include libcrypt.a in
8214 linknamespace-libs-xsi and linknamespace-libs-XPG4
8215 when $(build-crypt).
8216 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8217 USE_CRYPT to 1 when $(build-crypt).
8218 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8219 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8220 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8222 2018-06-29 Zack Weinberg <zackw@panix.com>
8224 * crypt/crypt.h, posix/unistd.h: Update comments and
8225 prototypes for crypt and crypt_r.
8227 * manual/crypt.texi (Cryptographic Functions): New initial
8229 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8230 (Unpredictable Bytes): Improve initial exposition. Clarify error
8231 behavior of getentropy and getrandom.
8232 * manual/examples/genpass.c: Generate a salt using getentropy
8233 instead of the current time. Use hash $5$ (SHA-2-256).
8234 * manual/examples/testpass.c: Demonstrate validation against
8235 hashes generated with three different one-way functions.
8237 * manual/intro.texi: crypt.texi does not need an overview
8240 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8241 * manual/terminal.texi: Consistently refer to "passphrases"
8242 * instead of "passwords", and to the "user database" instead
8243 * of the "password database".
8244 * manual/users.texi: Similarly. Add notes about how actual
8245 passphrase hashes are now stored in the shadow database.
8246 Remove 20-year-old junk todo note.
8248 2018-06-29 Zack Weinberg <zackw@panix.com>
8250 * manual/crypt.texi: Use a normal top-level @node declaration.
8251 Move most of the introductory text to the 'crypt' section.
8252 Move the example programs below the @deftypefun for 'crypt_r'.
8253 Move the 'getpass' section...
8254 * manual/terminal.texi: ...here.
8256 2018-06-29 Zack Weinberg <zackw@panix.com>
8257 Florian Weimer <fweimer@redhat.com>
8259 * posix/unistd.h: Do not declare encrypt.
8260 (_XOPEN_CRYPT): Remove macro definition.
8261 (crypt): Declare only for _USE_MISC.
8262 * stdlib/stdlib.h: Do not declare setkey.
8263 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8264 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8266 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8267 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8268 into compat symbols. Don't define initial_perm if it's not
8270 * crypt/cert.c: Link explicitly with the expected versions for
8271 setkey and encrypt. If they are not available at all, mark
8272 the test as unsupported.
8274 * sunrpc/des_crypt.c: Unconditionally block linkage with
8275 cbc_crypt and ecb_crypt for new binaries.
8276 * sunrpc/des_soft.c: Unconditionally block linkage with
8277 des_setparity for new binaries.
8279 * manual/crypt.texi: Remove the entire "DES Encryption"
8280 section. Also remove the paragraph talking about FIPS 140-2
8281 from the introduction.
8282 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8283 of libgcrypt for "real" encryption, not DES.
8284 * manual/conf.texi (Constants for Sysconf): Mention that
8285 _XOPEN_CRYPT is no longer impelemented.
8287 * conform/data/unistd.h-data: Remove crypt function declaration.
8289 2018-06-29 Florian Weimer <fweimer@redhat.com>
8292 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8293 (disallow_malloc_check): Remove variable.
8294 (__malloc_check_init): Adjust.
8295 (malloc_set_state): Update comment.
8296 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8299 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8302 * localedata/locales/ast_ES (mon): Rename to...
8304 (mon): Import from CLDR (genitive case).
8306 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8307 Jakub Sitnicki <jkbs@redhat.com>
8310 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8313 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8315 * manual/llio.texi: Remove spurious space.
8317 2018-06-28 Florian Weimer <fweimer@redhat.com>
8320 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8323 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8325 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8326 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8327 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8328 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8329 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8330 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8331 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8333 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8336 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8337 Copy and null-terminate entries that are not terminated, in
8338 addition to empty ones.
8340 2018-06-27 Florian Weimer <fweimer@redhat.com>
8343 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8344 (extend_alloca_account): Remove.
8345 * manual/stdio.texi (Variable Arguments Output): Update comment.
8347 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8349 * nptl/sockperf.c: Remove file.
8351 2018-06-27 Florian Weimer <fweimer@redhat.com>
8354 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8355 scratch_buffer instead of extend_alloca.
8357 2018-06-27 Florian Weimer <fweimer@redhat.com>
8360 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8361 scratch_buffer instead of extend_alloca. Update comments.
8363 2018-06-27 Florian Weimer <fweimer@redhat.com>
8366 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8367 instead of extend_alloca.
8369 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8372 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8373 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8375 * scripts/test-installation.pl: Put temporary files in build
8376 directory, not /tmp.
8377 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8378 (CFLAGS-bug4.c): Likewise.
8379 (CFLAGS-bug5.c): Likewise.
8380 (CFLAGS-test-fseek.c): Likewise.
8381 (CFLAGS-test-popen.c): Likewise.
8382 (CFLAGS-test_rdwr.c): Likewise.
8383 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8385 * stdio-common/bug4.c (main): Likewise.
8386 * stdio-common/bug5.c (main): Likewise.
8387 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8388 * stdio-common/test-popen.c (do_test): Likewise.
8389 * stdio-common/test_rdwr.c (main): Likewise.
8391 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8393 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8394 (sem_open): Set sem.newsem.pad to zero for valgrind.
8396 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8399 * NEWS: Mention fcntl64 addition.
8400 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8401 * login/utmp_file.c: Likewise.
8402 * sysdeps/posix/fdopendir.c: Likewise.
8403 * sysdeps/posix/opendir.c: Likewise.
8404 * sysdeps/unix/pt-fcntl.c: Likewise.
8405 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8406 __fcntl64_nocancel_adjusted): New prototype.
8407 (__fcntl_nocancel_adjusted): Remove prototype.
8408 * io/Makefile (routines): Add fcntl64.
8409 (CFLAGS-fcntl64.c): New rule.
8410 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8411 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8412 * io/fcntl.h (fcntl64): Add prototype and redirect if
8413 __USE_FILE_OFFSET64 is defined.
8414 * io/fcntl64.c: New file.
8415 * manual/llio.text: Add a note for which commands fcntl acts a
8417 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8418 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8419 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8421 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8422 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8424 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8425 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8426 to __fcntl64_nocancel.
8427 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8428 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8429 to __fcntl64_nocancel.
8430 * sysdeps/generic/not-cancel.h: Likewise.
8431 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8432 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8433 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8434 (fcntl64): New symbol.
8435 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8443 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8447 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8448 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8449 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8450 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8451 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8452 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8453 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8454 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8455 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8460 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8461 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8462 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8464 2018-06-26 Florian Weimer <fweimer@redhat.com>
8466 Run thread shutdown functions in an explicit order.
8467 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8469 (__libc_thread_freeres): Call thread shutdown functions
8471 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8472 * include/string.h (__strerror_thread_freeres): Declare.
8473 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8474 arena_thread_freeres. No longer static. Remove thread shutdown
8476 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8478 * resolv/res-close.c (__res_thread_freeres): Renamed from
8479 res_thread_freeres. No longer static. Remove thread shutdown
8481 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8482 * resolv/resolv_conf.c (freeres): Remove incorrect section
8483 attribute and use libc_freeres_fn.
8484 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8485 strerror_thread_freeres. No longer static. Remove thread
8486 shutdown hook registration.
8487 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8488 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8489 shutdown hook registration.
8490 * Makerules (shlib.lds): Do not provide section boundary symbols
8491 for __libc_thread_subfreeres.
8492 * manual/memory.texi (Basic Allocation): Update comment.
8494 2018-06-26 Florian Weimer <fweimer@redhat.com>
8496 Remove always-defined _RPC_THREAD_SAFE_ macro.
8497 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8498 Do not define _RPC_THREAD_SAFE_.
8499 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8501 * sunrpc/clnt_perr.c: Likewise.
8502 * sunrpc/clnt_raw.c: Likewise.
8503 * sunrpc/clnt_simp.c: Likewise.
8504 * sunrpc/key_call.c: Likewise.
8505 * sunrpc/rpc_common.c: Likewise.
8506 * sunrpc/rpc_main.c: Likewise.
8507 * sunrpc/rpc_thread.c: Likewise.
8508 * sunrpc/svc.c: Likewise.
8509 * sunrpc/svc_raw.c: Likewise.
8510 * sunrpc/svc_simple.c: Likewise.
8511 * sumrpc/svcauth_des.c: Likewise.
8513 2018-06-26 Florian Weimer <fweimer@redhat.com>
8515 * libio/Makefile (tests-internal): Add tst-vtables,
8516 tst-vtables-interposed.
8517 * libio/tst-vtables.c: New file.
8518 * libio/tst-vtables-common.c: Likewise.
8519 * libio/tst-vtables-interposed.c: Likewise.
8521 2018-06-26 Florian Weimer <fweimer@redhat.com>
8523 * support/support_test_main.c (support_test_main): Only call
8524 setvbuf if not disables.
8525 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8526 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8528 2018-06-26 Florian Weimer <fweimer@redhat.com>
8531 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8533 2018-06-25 Florian Weimer <fweimer@redhat.com>
8536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8537 Use struct scratch_buffer instead of extend_alloca.
8539 2018-06-25 Florian Weimer <fweimer@redhat.com>
8542 * nss/getent.c (initgroups_keys): Use dynarray instead of
8545 2018-06-25 Florian Weimer <fweimer@redhat.com>
8548 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8549 Use struct scratch_buffer instead of extend_alloca.
8551 2018-06-25 Florian Weimer <fweimer@redhat.com>
8554 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8555 back to malloc directly, without stack allocations.
8557 2018-06-25 Florian Weimer <fweimer@redhat.com>
8560 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8563 2018-06-25 Florian Weimer <fweimer@redhat.com>
8566 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8568 * nscd/hstcache.c (addhstbyX): Likewise.
8569 * nscd/pwdcache.c (addpwbyX): Likewise.
8570 * nscd/servicescache.c (addservbyX): Likewise.
8572 2018-06-25 Florian Weimer <fweimer@redhat.com>
8575 * nscd/connections.c (read_cmdline): New function.
8576 (restart): Use it. Update comment.
8578 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8581 * localedata/locales/csb_PL (mon): Rename to...
8583 (abmon): Rename to...
8585 (mon): Add with proper genitive forms, copy from Wikipedia.
8588 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8591 * localedata/locales/csb_PL (mon): Fix typos:
8592 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8593 (yesstr): Add, value is "jo".
8594 (nostr): Add, value is "nié".
8596 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8598 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8599 all log1p and significand functions on m680x0.
8600 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8601 of s_significand.c..
8602 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8603 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8604 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8605 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8606 s_log1p.c and include it..
8608 2018-06-21 Vincent Chen <vincentc@andestech.com>
8610 * elf/elf.h (R_NDS32_NONE): New define.
8611 (R_NDS32_32_RELA): Likewise.
8612 (R_NDS32_COPY): Likewise.
8613 (R_NDS32_GLOB_DAT): Likewise.
8614 (R_NDS32_JUMP_SLOT): Likewise.
8615 (R_NDS32_RELATIVE): Likewise.
8616 (R_NDS32_TLS_TPOFF): Likewise.
8617 (R_NDS32_TLS_DESC): Likewise.
8619 2018-06-21 Mark Wielaard <mark@klomp.org>
8621 * elf/elf.h (R_BPF_MAP_FD): Removed.
8622 (R_BPF_64_64, R_BPF_64_32): New.
8624 2018-06-21 Florian Weimer <fweimer@redhat.com>
8627 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8628 Renamed from libc_feholdsetround_ctx.
8629 (default_libc_feresetround_ctx): Renamed from
8630 libc_feresetround_ctx.
8631 (default_libc_feholdsetround_noex_ctx): Renamed from
8632 libc_feholdsetround_noex_ctx.
8633 (default_libc_feresetround_noex_ctx): Renamed from
8634 libc_feresetround_noex_ctx.
8635 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8636 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8637 forwardning to the old implementations under the new names.
8638 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8639 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8640 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8641 (libc_feresetround_ctx): Forward to default implements for i386
8642 and MATH_SET_BOTH_ROUNDING_MODES.
8643 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8644 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8646 2018-06-20 Joseph Myers <joseph@codesourcery.com>
8648 * string/tst-cmp.c: Include <libc-diag.h>.
8649 (strncmp_max): Disable -Wstringop-overflow= around call to
8651 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8654 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8655 (main): Disable -Wunused-value around call to strpbrk.
8656 * string/bug-strspn1.c: Include <libc-diag.h>.
8657 (main): Disable -Wunused-value around call to strspn.
8659 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8660 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8662 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8663 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8665 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8667 * math/Makefile (libm-calls): Move s_significandF to...
8668 (gen-libm-calls): ... here.
8669 * math/s_significand_template.c: New file.
8670 * math/s_significand.c: Removed.
8671 * math/s_significandf.c: Removed.
8672 * math/s_significandl.c: Removed.
8673 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8674 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8676 * math/e_exp2_template.c (declare_mgen_finite_alias,
8677 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8678 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8679 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8681 2018-06-20 Florian Weimer <fweimer@redhat.com>
8683 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8685 2018-06-19 Joseph Myers <joseph@codesourcery.com>
8688 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8689 floating-point number to strtod functions rather than possibly
8690 negating result of those functions.
8691 * stdio-common/tst-scanf-round.c: New file.
8692 * stdio-common/Makefile (tests): Add tst-scanf-round.
8693 ($(objpfx)tst-scanf-round): Depend on $(libm).
8695 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8697 * sysdeps/mach/hurd/localplt.data: Move to...
8698 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8699 R_386_GLOB_DAT like on Linux i386.
8701 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8703 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8704 (SHM_STAT_ANY): New macro.
8705 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8706 (SHM_STAT_ANY): Likewise.
8707 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8708 (SHM_STAT_ANY): Likewise.
8709 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8710 (SHM_STAT_ANY): Likewise.
8711 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8712 (SHM_STAT_ANY): Likewise.
8713 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8714 (SHM_STAT_ANY): Likewise.
8715 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8716 (SHM_STAT_ANY): Likewise.
8717 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8718 (SHM_STAT_ANY): Likewise.
8719 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8720 (SHM_STAT_ANY): Likewise.
8721 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8722 (SHM_STAT_ANY): Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8724 (SHM_STAT_ANY): Likewise.
8725 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8726 (SHM_STAT_ANY): Likewise.
8728 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8729 (SEM_STAT_ANY): New macro.
8730 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8731 (SEM_STAT_ANY): Likewise.
8732 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8733 (SEM_STAT_ANY): Likewise.
8734 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8735 (SEM_STAT_ANY): Likewise.
8736 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8737 (SEM_STAT_ANY): Likewise.
8738 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8739 (SEM_STAT_ANY): Likewise.
8740 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8741 (SEM_STAT_ANY): Likewise.
8742 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8743 (SEM_STAT_ANY): Likewise.
8744 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8745 (SEM_STAT_ANY): Likewise.
8746 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8747 (SEM_STAT_ANY): Likewise.
8749 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8750 (MSG_STAT_ANY): New macro.
8751 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8752 (MSG_STAT_ANY): Likewise.
8753 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8754 (MSG_STAT_ANY): Likewise.
8755 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8756 (MSG_STAT_ANY): Likewise.
8757 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8758 (MSG_STAT_ANY): Likewise.
8759 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8760 (MSG_STAT_ANY): Likewise.
8761 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8762 (MSG_STAT_ANY): Likewise.
8763 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8764 (MSG_STAT_ANY): Likewise.
8765 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8766 (MSG_STAT_ANY): Likewise.
8767 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8768 (MSG_STAT_ANY): Likewise.
8770 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8771 (MAP_TYPE): Change value to 0x2b.
8773 2018-06-18 Florian Weimer <fweimer@redhat.com>
8776 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8777 socket with SOCK_CLOEXEC.
8779 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8782 * sysdeps/powerpc/powerpc64/le/Makefile
8783 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8784 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8785 (gnulib-tests): Also add $(f128-loader-link) for
8786 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8788 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8790 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8791 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8793 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8794 (sendfile64): New strong alias.
8795 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8796 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8797 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
8798 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
8800 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
8801 ___pthread_get_cleanup_stack.
8802 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
8803 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
8804 * mach/shortcut.awk: Make syscall stubs include
8805 <mach-shortcuts-hidden.h> and add hidden definition.
8806 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
8807 (__mach_msg): Add hidden prototype.
8808 * mach/msg.c: Include <mach.h>.
8809 (__mach_msg): Add hidden definition.
8810 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
8811 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
8812 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
8813 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8814 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
8815 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
8816 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
8817 prototype and definition.
8818 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
8819 hidden target for _hurd_self_sigstate.
8821 2018-06-15 Joseph Myers <joseph@codesourcery.com>
8824 * stdlib/tst-strtod-nan-sign-main.c: New file.
8825 * stdlib/tst-strtod-nan-sign.c: Likewise.
8826 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
8827 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
8828 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
8829 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
8830 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
8832 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
8835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
8838 2018-06-14 Florian Weimer <fweimer@redhat.com>
8841 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
8842 that the result stays within the ISO-8859-1 range.
8843 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
8844 characters are defined in IBM273.
8846 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8848 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
8849 __mach_task_self): Remove attribute_hidden.
8851 2018-06-14 Joseph Myers <joseph@codesourcery.com>
8853 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
8854 ignore -Wrestrict for one test.
8856 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
8857 Szabolcs Nagy <szabolcs.nagy@arm.com>
8859 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
8861 2018-06-14 Florian Weimer <fweimer@redhat.com>
8863 * scripts/update-abilist.sh: Accept empty list of files to patch.
8865 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8867 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
8868 test-xfail-check-abi-libmachuser): Add.
8869 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
8870 __libc_read and __libc_write to __read and __write.
8871 * sysdeps/hurd/include/hurd/port.h: New file.
8872 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
8873 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
8874 __thread_switch, __evc_wait): Move declarations to...
8875 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
8877 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
8878 use PLT to call _hurd_self_sigstate.
8880 2018-06-13 Joseph Myers <joseph@codesourcery.com>
8883 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
8884 MAX_EXP as overflowing.
8885 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
8887 (round_str): Output also whether result overflows in each rounding
8889 * stdlib/tst-strtod-round-data: Add more tests.
8890 * stdlib/tst-strtod-round-data.h: Regenerated.
8891 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
8892 (TEST): Handle extra arguments for overflow flags.
8893 (struct test_overflow): New type.
8894 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
8895 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
8896 (test_in_one_mode): Take argument with overflow information.
8897 (do_test): Update calls to test_in_one_mode.
8899 2018-06-12 Carlos O'Donell <carlos@redhat.com>
8901 * elf/dl-load (_dl_dst_substitute): Correct comment.
8902 (_dl_dst_count): Likewise.
8904 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
8905 lll_futex_timed_wait.
8907 2018-06-12 Joseph Myers <joseph@codesourcery.com>
8910 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
8912 * math/test-nan-const.c: New file.
8913 * math/Makefile (tests): Add test-nan-const.
8914 (CFLAGS-test-nan-const.c): New variable.
8916 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8918 * benchtests/scripts/compare_strings.py (process_results): Add
8919 funcs argument. Compare only functions which are selected.
8920 (main): Check if base function is among selected functions.
8921 Pass selected functions to process_results.
8922 (__main__): Add -f/--functions argument.
8924 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
8925 Hongbo Zhang <hongbo.zhang@linaro.org>
8927 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
8928 __memcpy_falkor for phecda core.
8929 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
8930 __memmove_falkor for phecda core.
8931 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
8932 __memset_falkor for phecda core.
8933 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
8935 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
8936 macro to identify phecda core.
8938 2018-06-12 Carlos O'Donell <carlos@redhat.com>
8939 Andreas Schwab <schwab@suse.de>
8940 Dmitry V. Levin <ldv@altlinux.org>
8941 Florian Weimer <fweimer@redhat.com>
8948 * elf/dl-dst.h: Remove DL_DST_COUNT.
8949 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
8950 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
8951 (is_dst): Comment. Support ELF gABI.
8952 (_dl_dst_count): Comment. Simplify and count DSTs.
8953 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
8954 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
8957 2018-06-12 Zack Weinberg <zackw@panix.com>
8959 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
8960 * sysdeps/unix/sysv/linux/dl-sysdep.c
8961 Include not-cancel.h. Use __close_nocancel instead of __close,
8962 __open64_nocancel instead of __open, __read_nocancel instead of
8963 __libc_read, and __write_nocancel instead of __libc_write.
8965 * csu/check_fds.c (check_one_fd)
8966 * sysdeps/posix/fdopendir.c (__fdopendir)
8967 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
8968 instead of __fcntl and/or __libc_fcntl.
8970 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
8971 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
8972 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
8973 Use __open64_nocancel instead of __open_nocancel.
8975 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
8976 hidden_proto declarations to the end and issue them if either
8977 IS_IN(libc) or IS_IN(rtld).
8978 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
8979 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
8980 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
8981 read_nocancel, waitpid_nocancel, write_nocancel.
8983 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
8984 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
8985 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
8987 * nptl/pt-fcntl.c: New file.
8988 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
8989 (libpthread-routines): Add pt-fcntl.
8990 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
8991 (__libc_fcntl): Remove attribute_hidden.
8992 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
8993 __fcntl_nocancel_adjusted, not fcntl_common.
8994 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
8995 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
8996 to fcntl_nocancel.c.
8997 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9000 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9002 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9003 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9004 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9005 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9006 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9007 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9008 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9009 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9010 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9011 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9012 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9013 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9014 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9015 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9016 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9017 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9018 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9019 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9020 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9021 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9023 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9024 libpthread-routines.
9025 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9028 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9029 __libc_read, and __write instead of __libc_write. Define
9030 __open64 in addition to __open.
9032 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9036 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9037 to _private_tm[3] and add __glibc_reserved2.
9038 Add _Static_assert of offset of __private_ss == 0x30.
9039 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9040 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9042 2018-06-12 Florian Weimer <fweimer@redhat.com>
9044 x86: Make strncmp usable from rtld.
9045 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9046 __strncmp_ia32 if in libc (and not in rtld).
9047 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9048 strncmp if not in libc (and not to __strncmp_sse2).
9050 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9053 * localedata/locales/gd_GB (mon): Rename to...
9055 (mon): Import from CLDR (genitive case).
9056 * localedata/locales/hsb_DE (mon): Rename to...
9058 (mon): Import from CLDR (genitive case).
9059 * localedata/locales/wa_BE (mon): Rename to...
9061 (mon): Add, fill with the proper genitive forms, but CLDR data
9062 is incomplete; completed according to the comments in this file.
9063 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9065 * localedata/locales/wa_BE (country_name): Reword
9066 "Beljike" -> "Beldjike".
9068 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9071 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9072 cases of non-finite arguments.
9073 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9075 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9078 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9080 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9083 * include/unistd.h (__execvpex): New prototype.
9084 * posix/Makefile (tests): Add tst-spawn4.
9085 (tests-internal): Add tst-spawn4-compat.
9086 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9087 * posix/tst-spawn4-compat.c: New file.
9088 * posix/tst-spawn4.c: Likewise.
9089 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9090 binaries as shell scripts.
9091 * sysdeps/posix/spawni.c (__spawni): Likewise.
9093 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9096 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9097 ($(all-built-dso:=.dynsym): New target.
9098 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9099 ($(objpfx)check-initfini.out): New target.
9100 (generated): Add check-initfini.out.
9101 * scripts/check-initfini.awk: New file.
9102 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9104 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9106 * sysdeps/arm/crti.S (_init): Mark as hidden.
9108 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9110 * sysdeps/i386/crti.S (_init): Mark as hidden.
9112 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9114 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9116 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9118 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9120 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9122 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9124 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9126 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9128 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9130 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9132 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9134 * sysdeps/sh/crti.S (_init): Mark as hidden.
9136 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9138 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9141 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9143 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9144 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9145 and TF redirection to KFtype and KF only when the default
9146 long double type is not the IEEE 128-bit floating point type.
9148 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9150 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9152 (HWCAP_USCAT): Likewise.
9153 (HWCAP_ILRCPC): Likewise.
9154 (HWCAP_FLAGM): Likewise.
9155 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9157 (_dl_aarch64_cap_flags): Add new flag names.
9159 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9160 (MAP_FIXED_NOREPLACE): New macro.
9161 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9162 (MAP_FIXED_NOREPLACE): Likewise.
9163 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9164 (MAP_FIXED_NOREPLACE): Likewise.
9165 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9166 (MAP_FIXED_NOREPLACE): Likewise.
9167 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9168 (MAP_FIXED_NOREPLACE): Likewise.
9169 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9170 (MAP_FIXED_NOREPLACE): Likewise.
9171 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9172 (MAP_FIXED_NOREPLACE): Likewise.
9173 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9174 (MAP_FIXED_NOREPLACE): Likewise.
9175 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9176 (MAP_FIXED_NOREPLACE): Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9178 (MAP_FIXED_NOREPLACE): Likewise.
9179 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9180 (MAP_FIXED_NOREPLACE): Likewise.
9181 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9182 (MAP_FIXED_NOREPLACE): Likewise.
9183 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9184 (MAP_FIXED_NOREPLACE): Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9186 (MAP_FIXED_NOREPLACE): Likewise.
9187 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9188 (MAP_FIXED_NOREPLACE): Likewise.
9190 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9193 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9195 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9198 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9200 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9202 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9204 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9206 * benchtests/scripts/compare_string.py: (process_results) Catch
9207 exception in non-existent base_func and catch exception in
9208 non-existent attribute.
9209 (parse_file) Catch exception if input file does not exist.
9211 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9213 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9214 options to avoid diff calculation and omit header, respectively.
9215 (main): process --no-diff and --no-header
9217 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9218 H.J. Lu <hongjiu.lu@intel.com>
9220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9221 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9224 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9225 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9227 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9228 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9229 AVX unaligned load is fast and vzeroupper is preferred.
9230 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9231 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9232 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9233 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9234 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9235 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9236 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9237 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9238 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9239 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9242 2018-06-01 Florian Weimer <fweimer@redhat.com>
9244 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9245 configuring with --disable-multi-arch, building with
9246 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9249 2018-06-01 Florian Weimer <fweimer@redhat.com>
9251 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9252 results from building with “-march=x86-64 -mtune=generic
9253 -mfpmath=sse” and running on a Haswell-era CPU.
9255 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9258 * soft-fp/sqrttf2.c: Remove file.
9259 * soft-fp/sqrtdf2.c: Move to ....
9260 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9262 (__sqrtdf2): Make conditional on
9263 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9265 * soft-fp/sqrtsf2.c: Move to ....
9266 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9268 (__sqrtsf2): Make conditional on
9269 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9271 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9272 (gcc-double-routines): Remove sqrtdf2.
9273 (gcc-quad-routines): Remove sqrttf2.
9274 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9275 Do not filter out sqrtsf2 and sqrtdf2.
9276 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9277 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9279 2018-06-01 Florian Weimer <fweimer@redhat.com>
9281 * sysdeps/generic/libcidn.abilist: Remove file.
9283 2018-06-01 Florian Weimer <fweimer@redhat.com>
9286 * libio/strfile.h (struct _IO_str_fields): Rename members to
9287 discourage their use and add comment.
9288 (_IO_STR_DYNAMIC): Remove unused macro.
9289 * libio/strops.c (_IO_str_init_static_internal): Do not use
9290 callback pointers. Call malloc and free.
9291 (_IO_str_overflow): Do not use callback pointers. Call malloc
9293 (enlarge_userbuf): Likewise.
9294 (_IO_str_finish): Call free.
9295 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9296 _allocate_buffer_unused.
9297 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9299 (enlarge_userbuf): Likewise.
9300 (_IO_wstr_finish): Call free.
9301 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9302 _allocate_buffer_unused, _free_buffer_unused.
9303 * libio/memstream.c (__open_memstream): Likewise.
9304 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9305 * libio/wmemstream.c (open_wmemstream): Likewise.
9307 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9309 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9312 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9314 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9315 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9316 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9318 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9320 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9322 2018-05-29 Florian Weimer <fweimer@redhat.com>
9324 * support/Makefile (libsupport-routines): Add
9325 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9326 xpthread_barrierattr_setpshared.
9327 * support/xpthread_barrierattr_destroy.c: New file.
9328 * support/xpthread_barrierattr_init.c: Likewise.
9329 * support/xpthread_barrierattr_setpshared.c: Likewise.
9331 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9334 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9335 _r_debug and update DT_DEBUG for debugger.
9337 2018-05-29 Florian Weimer <fweimer@redhat.com>
9339 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9340 (tst-strtod5i.out): Likewise.
9342 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9345 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9346 (sparc64-quad-routines): New variable. Moved from ....
9347 [$(subdir) = soft-fp] (sysdep_routines): Add
9348 $(sparc64-quad-routines). Moved from ....
9349 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9350 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9351 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9353 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9354 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9355 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9356 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9357 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9358 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9359 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9360 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9361 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9362 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9363 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9364 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9365 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9366 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9367 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9368 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9369 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9370 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9371 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9372 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9373 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9374 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9375 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9376 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9377 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9378 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9379 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9380 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9381 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9382 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9383 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9384 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9385 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9386 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9387 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9388 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9389 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9390 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9391 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9392 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9393 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9394 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9395 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9396 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9397 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9398 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9399 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9400 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9401 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9402 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9403 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9404 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9405 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9406 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9407 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9408 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9410 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9412 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9413 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9414 (sparc32-quad-routines): New variable. Moved from ....
9415 [$(subdir) = soft-fp] (sysdep_routines): Add
9416 $(sparc32-quad-routines). Moved from ....
9417 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9418 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9420 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9421 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9422 * sysdeps/sparc/sparc32/q_add.c: ... here.
9423 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9424 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9425 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9426 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9427 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9428 * sysdeps/sparc/sparc32/q_div.c: ... here.
9429 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9430 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9431 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9432 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9433 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9434 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9435 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9436 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9437 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9438 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9439 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9440 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9441 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9442 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9443 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9444 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9445 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9446 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9447 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9448 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9449 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9450 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9451 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9452 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9453 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9454 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9455 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9456 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9457 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9458 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9459 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9460 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9461 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9462 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9463 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9464 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9465 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9466 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9467 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9468 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9469 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9470 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9471 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9472 * sysdeps/sparc/sparc32/q_util.c: ... here.
9473 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9474 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9475 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9476 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9478 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9479 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9481 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9482 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9483 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9484 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9486 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9492 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9493 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9495 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9498 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9501 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9503 * sysdeps/sh/Implies: Remove sh/soft-fp.
9504 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9505 * sysdeps/sh/sfp-machine.h: ... here.
9507 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9509 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9510 (__mempcpy_erms): Skip zero length.
9511 (__memmove_erms): Likewise.
9512 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9513 (__memset_erms): Likewise.
9515 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9517 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9518 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9519 Add functions moved from ....
9520 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9521 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9522 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9524 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9525 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9526 * sysdeps/alpha/e_sqrtl.c: ... here.
9527 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9528 * sysdeps/alpha/local-soft-fp.h: ... here.
9529 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9530 * sysdeps/alpha/ots_add.c: ... here.
9531 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9532 * sysdeps/alpha/ots_cmp.c: ... here.
9533 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9534 * sysdeps/alpha/ots_cmpe.c: ... here.
9535 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9536 * sysdeps/alpha/ots_cvtqux.c: ... here.
9537 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9538 * sysdeps/alpha/ots_cvtqx.c: ... here.
9539 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9540 * sysdeps/alpha/ots_cvttx.c: ... here.
9541 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9542 * sysdeps/alpha/ots_cvtxq.c: ... here.
9543 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9544 * sysdeps/alpha/ots_cvtxt.c: ... here.
9545 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9546 * sysdeps/alpha/ots_div.c: ... here.
9547 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9548 * sysdeps/alpha/ots_mul.c: ... here.
9549 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9550 * sysdeps/alpha/ots_nintxq.c: ... here.
9551 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9552 * sysdeps/alpha/ots_sub.c: ... here.
9553 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9554 * sysdeps/alpha/sfp-machine.h: ... here.
9556 2018-05-23 Florian Weimer <fweimer@redhat.com>
9564 Switch to extern IDNA implementation (libidn2).
9565 * libidn: Remove subdirectory.
9566 * LICENSES: Do not mention licensing conditions for the removed
9568 * config.h.in (HAVE_LIBIDN): Remove.
9569 * include/dlfcn.h (__libc_dlopen): Update comment.
9570 * include/idna.h: Remove file.
9571 * inet/Makefile (routines): Add idna.
9572 (tests-static, tests-internal): Add tst-idna_name_classify.
9573 (LOCALES): Generate locales for tests.
9574 (tst-idna_name_classify.out): Depend on generated locales.
9575 * inet/idna_name_classify.c: New file.
9576 * inet/tst-idna_name_classify.c: Likewise.
9577 * inet/net-internal.h (__idna_to_dns_encoding)
9578 (__idna_from_dns_encoding): Declare.
9579 * inet/net-internal.h (enum idna_name_classification): Define.
9580 (__idna_name_classify): Declare.
9581 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9582 __idna_from_dns_encoding.
9583 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9584 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9585 name as a fallback in case of encoding errors.
9586 (getnameinfo): Use DEPRECATED_NI_IDN.
9587 * inet/idna.c: New file.
9588 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9589 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9590 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9591 (modules-names): Add tst-no-libidn2.
9592 (extra-test-objs): Add tst-no-libidn2.os.
9593 (LDFLAGS-tst-no-libidn2.so): Set soname.
9594 (LOCALES): Set, and generate locales.
9595 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9596 (tst-resolv-ai_idn-latin1): Likewise.
9597 (tst-resolv-ai_idn-nolibidn2): Likewise.
9598 (tst-resolv-ai_idn.out): Depend on locales.
9599 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9600 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9602 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9603 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9604 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9605 * resolv/tst-resolv-ai_idn.c: New file.
9606 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9607 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9608 * resolv/tst-no-libidn2.c: Likewise.
9609 * support/support_format_addrinfo.c (format_ai_flags): Do not
9610 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9611 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9612 (gaih_inet): Call __idna_to_dns_encoding and
9613 __idna_from_dns_encoding, and use the original (punycode) name if
9614 __idna_from_dns_encoding fails due to an encoding error.
9615 (getaddrinfo): Use DEPRECATED_AI_IDN.
9616 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9617 * sysdeps/unix/inet/configure: Remove file.
9618 * sysdeps/unix/inet/configure.ac: Likewise.
9620 2018-05-23 Florian Weimer <fweimer@redhat.com>
9622 Implement allocate_once.
9623 * include/allocate_once.h: New file.
9624 * misc/allocate_once.c: Likewise.
9625 * misc/tst-allocate_once.c: Likewise.
9626 * misc/Makefile (routines): Add allocate_once.
9627 (tests-internal): Add tst-allocate_once.
9628 (generated): Add tst-allocate_once.mtrace,
9629 tst-allocate_once-mem.out.
9630 (tests-special): Add tst-allocate_once-mem.out.
9631 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9632 (tst-allocate_once-mem.out): Call mtrace.
9633 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9635 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9638 * string/test-memcpy.c (do_test1): New function.
9639 (test_main): Call it.
9641 2018-05-23 Andreas Schwab <schwab@suse.de>
9645 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9646 (L(preloop_large)): Save initial destination pointer in %r11 and
9647 use it instead of %rax after the loop.
9648 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9650 2018-05-22 Joseph Myers <joseph@codesourcery.com>
9652 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9653 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9654 -I../soft-fp. Moved from ....
9655 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9656 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9657 * sysdeps/aarch64/e_sqrtl.c: ... here.
9658 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9659 * sysdeps/aarch64/sfp-machine.h: ... here.
9661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9662 -Wmaybe-uninitialized around access to fq[0].
9663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9667 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9668 aliases for non-libc case of versioned symbols.
9669 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9670 (llseek): Define as compat symbol if
9671 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9673 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9674 Make into a compat symbol, disabled for minimum symbol version
9675 GLIBC_2.28 and later.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9678 2018-05-22 Florian Weimer <fweimer@redhat.com>
9680 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9681 not add -mpreferred-stack-boundary=4.
9682 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9683 (stack-align-test-flags): Likewise.
9684 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9686 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9687 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9688 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9689 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9690 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9691 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9692 (CFLAGS-tst-align2.c): Likewise.
9694 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9696 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9697 (index_arch_Prefer_FSRM): Likewise.
9698 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9699 Also check Prefer_FSRM.
9700 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9701 Also return OPTIMIZE (erms) for Prefer_FSRM.
9703 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9705 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9706 (index_cpu_FSRM): Likewise.
9707 (reg_FSRM): Likewise.
9709 2018-05-18 Joseph Myers <joseph@codesourcery.com>
9711 * math/gen-tgmath-tests.py: Import sys.
9712 (Tests.__init__): Initialize macros_seen.
9713 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9714 if requested to do so for this macro.
9715 (Tests.add_all_tests): Take argument for macro for which to
9717 (Tests.check_macro_list): New function.
9718 (main): Handle check-list argument and argument specifying macro
9719 for which to generate tests.
9720 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9721 [PYTHON] (tgmath3-macro-tests): Likewise.
9722 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9723 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9725 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9726 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9728 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9730 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9732 [PYTHON] (tests-special): Add
9733 $(objpfx)test-tgmath3-macro-list.out.
9734 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9736 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9737 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9741 * time/tzset.c (SECSPERDAY): Cast to time_t.
9742 * time/tst-y2039.c: New file.
9743 * time/Makefile (tests): Add tst-y2039.
9745 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9747 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9748 (PREFETCH_ONE_SET): Remove duplicate line.
9750 2018-05-17 Florian Weimer <fweimer@redhat.com>
9752 * sysdeps/generic/math-type-macros-double.h: Include
9753 <math-nan-payload-double.h> after <libm-alias-double.h>.
9754 * sysdeps/generic/math-type-macros-float.h: Include
9755 <math-nan-payload-float.h> after <libm-alias-float.h>.
9756 * sysdeps/generic/math-type-macros-float128.h: Include
9757 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9758 * sysdeps/generic/math-type-macros-ldouble.h: Include
9759 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9761 2018-05-17 Andreas Schwab <schwab@suse.de>
9763 * resolv/res_send.c (__res_context_send): Don't set errno when
9764 returing error after malloc failure.
9766 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9768 * nptl/allocatestack.c (allocate_stack): Remove the
9769 !__ASSUME_PRIVATE_FUTEX paths.
9770 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9771 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9773 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9774 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9775 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9776 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9777 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9778 !__ASSUME_PRIVATE_FUTEX path.
9779 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9780 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9781 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9782 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9783 !__ASSUME_PRIVATE_FUTEX macros.
9784 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9786 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9787 * sysdeps/unix/sysv/linux/kernel-features.h
9788 (__ASSUME_PRIVATE_FUTEX): Removed.
9790 2018-05-17 Joseph Myers <joseph@codesourcery.com>
9792 * math/Makefile (libm-narrow-fns): Add div.
9793 (libm-test-funcs-narrow): Likewise.
9794 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9795 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9796 * math/gen-auto-libm-tests.c (test_functions): Add div.
9797 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9798 (NARROW_DIV_ROUND_TO_ODD): Likewise.
9799 (NARROW_DIV_TRIVIAL): Likewise.
9800 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
9802 (__ddivl): Likewise.
9803 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
9805 (CFLAGS-nldbl-ddiv.c): New variable.
9806 (CFLAGS-nldbl-fdiv.c): Likewise.
9807 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
9811 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
9812 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
9813 * math/auto-libm-test-in: Add tests of div.
9814 * math/auto-libm-test-out-narrow-div: New generated file.
9815 * math/libm-test-narrow-div.inc: New file.
9816 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
9819 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
9820 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
9821 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
9830 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
9831 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
9832 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
9833 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
9834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9835 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9836 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9837 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9838 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9841 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9843 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9844 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9845 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9847 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9852 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9853 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9854 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9855 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9857 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9858 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9859 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9861 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9864 * nscd/nscd-client.h (sendfileall): Remove prototype.
9865 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
9866 (handle_request): Use writeall instead of sendfileall.
9867 * nscd/aicache.c (addhstaiX): Likewise.
9868 * nscd/grpcache.c (cache_addgr): Likewise.
9869 * nscd/hstcache.c (cache_addhst): Likewise.
9870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9871 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
9872 * nscd/pwdcache.c (cache_addpw): Likewise.
9873 * nscd/servicescache.c (cache_addserv): Likewise.
9874 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
9875 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
9876 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
9879 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
9881 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
9882 Include <string/strncat.c>.
9883 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
9885 (__GI___strncat): New hidden alias.
9887 2018-05-16 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/mips/mips32/libm-test-ulps: Update.
9890 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9892 2018-05-16 Florian Weimer <fweimer@redhat.com>
9894 * support/Makefile (libsupport-routines): Add support_quote_blob,
9895 support_test_compare_blob.
9896 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
9897 * support/check.h (TEST_COMPARE_BLOB): Define.
9898 (support_test_compare_blob): Declare.
9899 * support/support.h (support_quote_blob): Declare.
9900 * support/support_quote_blob.c: New file.
9901 * support/support_test_compare_blob.c: Likewise.
9902 * support/tst-support_quote_blob.c: Likewise.
9903 * support/tst-test_compare_blob.c: Likewise.
9905 2018-05-16 Florian Weimer <fweimer@redhat.com>
9907 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
9908 of <strtod_nan_double.h>.
9909 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
9910 instead of SET_MANTISSA.
9911 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
9912 of include <strtod_nan_float.h>.
9913 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
9914 instead of <strtod_nan_ldouble.h>.
9915 * stdlib/strtod_nan_double.h: Move to ...
9916 * sysdeps/generic/math-nan-payload-double.h: ... here.
9917 (FLOAT): Remove definition.
9918 (SET_MANTISSA): Rename to ...
9919 (SET_NAN_PAYLOAD): ... this.
9920 * stdlib/strtod_nan_float.h: Move to ...
9921 * sysdeps/generic/math-nan-payload-float.h: ... here.
9922 (FLOAT): Remove definition.
9923 (SET_MANTISSA): Rename to ...
9924 (SET_NAN_PAYLOAD): ... this.
9925 * sysdeps/generic/math-type-macros-double.h: Include
9926 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
9927 instead of <math-svid-compat.h>.
9928 * sysdeps/generic/math-type-macros-float.h: Include
9929 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
9930 instead of <math-svid-compat.h>.
9931 * sysdeps/generic/math-type-macros-float128.h: Include
9932 <math-nan-payload-float128.h>.
9933 * sysdeps/generic/math-type-macros-ldouble.h: Include
9934 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
9935 instead of <math-svid-compat.h>.
9936 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
9937 check for definition.
9938 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
9939 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
9940 Include <ieee754_float128.h>.
9941 (FLOAT): Remove definition.
9942 (SET_MANTISSA): Rename to ...
9943 (SET_NAN_PAYLOAD): ... this.
9944 * sysdeps/ieee754/float128/strtof128_nan.c: Include
9945 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
9946 Do not include <float128_private.h>.
9947 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
9949 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
9950 (FLOAT): Remove definition.
9951 (SET_MANTISSA): Rename to ...
9952 (SET_NAN_PAYLOAD): ... this.
9953 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
9954 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
9955 (FLOAT): Remove definition.
9956 (SET_MANTISSA): Rename to ...
9957 (SET_NAN_PAYLOAD): ... this.
9958 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
9959 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
9960 (FLOAT): Remove definition.
9961 (SET_MANTISSA): Rename to ...
9962 (SET_NAN_PAYLOAD): ... this.
9963 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
9964 of "../stdlib/strtod_nan_double.h".
9965 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
9966 of "../stdlib/strtod_nan_float.h".
9967 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
9968 instead of "../stdlib/strtod_nan_ldouble.h".
9969 * manual/arith.texi (Parsing of Floats): Adjust comment.
9971 2018-05-16 Joseph Myers <joseph@codesourcery.com>
9973 * math/Makefile (libm-narrow-fns): Add mul.
9974 (libm-test-funcs-narrow): Likewise.
9975 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
9976 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
9977 * math/gen-auto-libm-tests.c (test_functions): Add mul.
9978 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
9979 (NARROW_MUL_ROUND_TO_ODD): Likewise.
9980 (NARROW_MUL_TRIVIAL): Likewise.
9981 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
9982 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
9984 (__dmull): Likewise.
9985 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
9987 (CFLAGS-nldbl-dmul.c): New variable.
9988 (CFLAGS-nldbl-fmul.c): Likewise.
9989 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9991 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
9993 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
9994 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
9995 * math/auto-libm-test-in: Add tests of mul.
9996 * math/auto-libm-test-out-narrow-mul: New generated file.
9997 * math/libm-test-narrow-mul.inc: New file.
9998 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10001 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10002 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10003 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10004 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10005 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10006 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10011 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10012 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10013 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10014 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10015 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10017 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10018 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10024 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10025 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10026 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10034 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10035 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10036 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10038 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10041 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10043 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10045 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10046 with *%eax in call.
10048 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10050 * sysdeps/i386/ldsodefs.h: Removed.
10051 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10052 * sysdeps/x86/ldsodefs.h: This.
10053 (La_i86_regs): New.
10054 (La_i86_retval): Likewise.
10055 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10056 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10058 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10060 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10063 2018-05-13 Alan Modra <amodra@gmail.com>
10065 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10066 R_PARISC_TLS_DTPOFF32 reloc addend.
10068 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10070 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10071 * math/math.h: Restrict the prototype definition for the functions
10072 issignaling(_Float128) and iszero(_Float128); and template
10073 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10074 __HAVE_FLOAT128_UNLIKE_LDBL.
10075 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10076 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10077 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10078 __f128() constants; define the type _Float128 as long double;
10079 and reuse long double in __CFLOAT128.
10081 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10083 * sysdeps/generic/math_private.h: Do not include
10085 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10087 * math/fromfp.h: Include <math-barriers.h>.
10088 * math/math-narrow.h: Likewise.
10089 * math/s_nextafter.c: Likewise.
10090 * math/s_nexttowardf.c: Likewise.
10091 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10092 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10093 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10094 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10095 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10096 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10097 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10110 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10112 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10113 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10114 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10115 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10116 * sysdeps/ieee754/k_standardl.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10133 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10134 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10135 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10136 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10137 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10138 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10140 2018-05-11 Florian Weimer <fweimer@redhat.com>
10142 Use 64-bit epoch values in the time zone file parser.
10143 * include/time.h (internal_time_t): Define.
10144 (__tzfile_compute): Use it.
10145 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10147 (transitions): Switch to internal_time_t.
10148 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10150 (__tzfile_compute): Use internal_time_t for timer argument. Check
10151 for truncation before calling __offtime.
10153 2018-05-11 Florian Weimer <fweimer@redhat.com>
10156 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10157 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10159 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10160 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10161 export without --enable-obsolete-rpc.
10162 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10163 symbol. This should not have been exported, ever.
10165 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10168 * localedata/locales/gd_GB (abmon): Fix typo in May:
10169 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10171 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10173 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10174 Use multiple registers to copy data in loop tail.
10176 * sysdeps/aarch64/multiarch/memmove_falkor.S
10177 (__memmove_falkor): Use multiple registers to move data in
10180 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10182 * math/math-underflow.h: New file.
10183 * sysdeps/generic/math_private.h: Do not include <float.h>.
10184 (fabs_tg): Remove macro. Moved to math-underflow.h.
10185 (min_of_type_f): Likewise.
10186 (min_of_type_): Likewise.
10187 (min_of_type_l): Likewise.
10188 (min_of_type_f128): Likewise.
10189 (min_of_type): Likewise.
10190 (math_check_force_underflow): Likewise.
10191 (math_check_force_underflow_nonneg): Likewise.
10192 (math_check_force_underflow_complex): Likewise.
10193 * math/e_exp2_template.c: Include <math-underflow.h>.
10194 * math/k_casinh_template.c: Likewise.
10195 * math/s_catan_template.c: Likewise.
10196 * math/s_catanh_template.c: Likewise.
10197 * math/s_ccosh_template.c: Likewise.
10198 * math/s_cexp_template.c: Likewise.
10199 * math/s_clog10_template.c: Likewise.
10200 * math/s_clog_template.c: Likewise.
10201 * math/s_csin_template.c: Likewise.
10202 * math/s_csinh_template.c: Likewise.
10203 * math/s_csqrt_template.c: Likewise.
10204 * math/s_ctan_template.c: Likewise.
10205 * math/s_ctanh_template.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10226 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10227 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10228 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10229 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10230 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10231 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10284 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10286 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10291 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10293 * sysdeps/generic/math-barriers.h: New file.
10294 * sysdeps/generic/math_private.h [!math_opt_barrier]
10295 (math_opt_barrier): Move to math-barriers.h.
10296 [!math_opt_barrier] (math_force_eval): Likewise.
10297 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10298 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10300 (math_force_eval): Likewise.
10301 * sysdeps/alpha/fpu/math-barriers.h: New file.
10302 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10304 (math_force_eval): Likewise.
10305 * sysdeps/x86/fpu/math-barriers.h: New file.
10306 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10308 (math_force_eval): Likewise.
10309 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10310 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10311 multiple-include guard for rename.
10312 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10313 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10315 (math_force_eval): Likewise.
10317 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10321 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10323 * stdlib/Makefile (test-bz22786): New test.
10324 * stdlib/test-bz22786.c: New test.
10326 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10328 * include/math-narrow-eval.h: New file. Contents moved from ....
10329 * sysdeps/generic/math_private.h: ... here.
10330 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10331 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10332 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10333 * stdlib/strtod_l.c: Likewise.
10334 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10335 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10336 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10349 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10350 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10351 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10352 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10353 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10354 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10355 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10356 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10358 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10359 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10360 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10361 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10364 2018-05-08 Andreas Schwab <schwab@suse.de>
10366 * sysdeps/nptl/internaltypes.h: Fix comment.
10368 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10370 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10371 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10374 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10376 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10377 of I into loop header.
10378 * benchtests/bench-memmove-walk.c
10379 (test_main): Likewise.
10381 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10384 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10385 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10387 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10390 * elf/dl-load.c (open_verify): Fix stack overflow.
10391 * elf/Makefile (tst-big-note): New test.
10392 * elf/tst-big-note-lib.S: New.
10393 * elf/tst-big-note.c: New.
10395 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10397 * scripts/abilist.awk: Ignore absolute symbols.
10398 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10399 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10400 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10401 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10402 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10403 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10404 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10405 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10406 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10407 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10408 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10409 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10410 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10411 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10412 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10413 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10414 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10415 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10416 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10417 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10418 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10419 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10420 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10421 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10422 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10423 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10424 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10425 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10426 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10427 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10454 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10455 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10456 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10457 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10458 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10459 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10460 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10461 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10462 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10463 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10466 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10467 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10469 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10470 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10471 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10472 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10473 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10474 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10475 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10476 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10477 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10478 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10479 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10480 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10481 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10482 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10483 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10485 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10487 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10489 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10491 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10493 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10494 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10495 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10497 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10500 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10501 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10505 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10506 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10507 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10508 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10509 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10510 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10511 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10513 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10515 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10516 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10518 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10523 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10524 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10525 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10526 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10527 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10529 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10530 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10531 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10533 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10534 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10535 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10536 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10537 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10538 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10539 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10540 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10541 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10543 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10544 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10545 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10546 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10547 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10548 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10549 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10550 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10551 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10552 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10554 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10555 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10556 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10557 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10558 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10559 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10560 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10561 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10562 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10563 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10564 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10565 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10566 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10567 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10568 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10569 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10570 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10571 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10573 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10642 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10644 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10668 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10672 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10673 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10674 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10675 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10687 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10688 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10698 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10712 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10722 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10723 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10725 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10736 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10743 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10744 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10751 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10754 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10755 Use atomic_load_acquire to load __tid.
10757 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10759 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10760 Restore the pointer into %rdx, after syscall and use %rdx,
10761 instead of %rsi, to restore context.
10763 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10765 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10766 Pop the pointer into %rdx after syscall and use %rdx, instead
10767 of %rsi, to restore context.
10769 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10771 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10772 handlers after setjmp.
10773 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10775 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10776 <libc-pointer-arith.h>.
10777 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10778 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10779 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10780 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10781 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10782 * sysdeps/x86/__longjmp_cancel.S: New file.
10783 * sysdeps/x86/longjmp.c: Likewise.
10784 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10786 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10788 * NEWS: Add ustat.h deprecation entry.
10789 * bits/ustat.h: Remove file.
10790 * misc/sys/ustat.h: Likewise.
10791 * misc/ustat.h: Likewise.
10792 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10793 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10794 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10795 compatibility mode.
10796 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10797 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10798 generic Linux implementation.
10800 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10802 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
10803 * math/w_expl_compat.c: Likewise.
10804 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
10806 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10808 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10810 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10812 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
10813 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
10814 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
10816 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10818 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10819 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
10820 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
10823 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10825 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
10827 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
10828 * math/w_asin_template.c: Likewise.
10829 * math/w_atanh_template.c: Likewise.
10831 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10833 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
10834 to powerpc/powerpc64/be for big-endian.
10835 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
10838 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
10839 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
10840 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
10841 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
10842 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10843 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
10844 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
10845 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
10846 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
10847 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10848 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
10849 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
10850 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
10851 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
10852 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
10853 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
10854 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
10855 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
10856 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
10857 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
10858 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
10859 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10860 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
10861 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
10862 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
10863 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10864 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
10865 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
10866 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
10867 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10868 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10869 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10871 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
10872 adjusted to imply powerpc64 and older processors on powerpc64/be.
10873 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
10874 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
10875 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
10876 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
10877 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
10878 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
10879 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
10880 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
10881 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
10882 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
10883 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
10884 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
10885 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
10886 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
10887 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
10888 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
10889 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
10890 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
10891 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
10892 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
10893 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
10894 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
10895 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
10896 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
10897 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
10898 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
10899 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
10900 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
10901 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
10902 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
10903 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
10905 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
10906 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
10907 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
10908 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
10910 * sysdeps/powerpc/powerpc64/be/Implies: New file.
10911 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
10912 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
10913 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
10915 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
10916 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
10917 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
10918 * sysdeps/powerpc/powerpc64le/configure: Likewise.
10919 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
10920 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
10921 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
10922 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
10923 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
10924 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
10925 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
10927 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
10928 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
10929 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
10930 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
10931 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
10932 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
10933 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
10934 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
10935 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
10936 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
10937 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
10939 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
10940 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
10941 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
10942 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
10943 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
10944 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
10945 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
10946 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
10947 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
10948 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
10949 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
10950 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
10952 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
10953 and adjusted to imply olders processors.
10954 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
10955 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
10956 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
10957 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
10958 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
10959 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
10960 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
10961 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
10962 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
10963 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
10964 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
10983 powerpc64 and adjusted.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
10989 2018-04-27 Joseph Myers <joseph@codesourcery.com>
10991 * sysdeps/tile: Remove.
10992 * sysdeps/unix/sysv/linux/tile: Likewise.
10993 * README (tilegx-*-linux-gnu): Remove from list of supported
10995 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
10996 contribution of support for generic Linux kernel syscall
10998 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
10999 tilegx configurations.
11000 (Config.install_linux_headers): Do not handle tile.
11001 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11003 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11004 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11005 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11006 conditional undefine and redefine.
11007 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11009 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11010 conditional undefine and redefine.
11012 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11014 * signal/tst-sigaction.c: New file to test BZ #23069.
11015 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11017 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11020 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11021 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11022 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11023 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11025 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11027 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11028 _DIRENT_MATCHES_DIRENT64 is not defined.
11029 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11030 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11032 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11033 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11035 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11037 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11038 version to GCC 8 branch.
11040 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11042 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11043 (check_no_hidden): Use type of original function when declaring
11046 * sysdeps/unix/sysv/linux/sys/ptrace.h
11047 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11048 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11049 (struct __ptrace_seccomp_metadata): New type.
11050 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11051 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11052 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11053 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11055 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11057 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11059 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11061 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11062 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11063 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11064 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11065 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11067 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11069 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11071 * dirent/versionsort.c (versionsort): Likewise.
11072 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11073 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11074 * dirent/versionsort64.c (versionsort64): Likewise.
11075 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11076 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11077 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11078 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11079 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11080 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11081 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11082 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11083 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11084 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11090 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11092 * elf/elf.h (NT_PPC_PKEY): New macro.
11094 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11097 * localedata/locales/hr_HR: fix thousands_sep and
11100 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11102 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11103 (XTABS): Define to TAB3.
11105 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11107 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11109 * dirent/scandir-tail-common.c: New file.
11110 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11111 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11112 * dirent/scandir.c: Use scandir-tail-common.c.
11113 * dirent/scandirat.c: Likewise.
11114 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11115 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11116 if _DIRENT_MATCHES_DIRENT64 is defined.
11117 * dirent/scandirat64.c (scandirat64): Likewise.
11118 * include/dirent.h (__scandir_tail): Only define iff
11119 _DIRENT_MATCHES_DIRENT64 is not defined.
11120 (__scandir64_tail): Define regardless.
11121 (__scandirat, scandirat64): Remove libc_hidden_proto.
11122 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11123 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11125 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11126 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11127 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11128 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11130 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11132 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11134 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11136 (_dl_aarch64_cap_flags): Add asimdfhm.
11138 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11140 * sysdeps/nios2/libm-test-ulps: Update.
11142 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11144 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11145 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11147 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11149 (_DIRENT_MATCHES_DIRENT64): Undef
11150 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11151 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11152 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11153 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11154 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11155 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11156 use getdents64 syscalls as base.
11157 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11158 symbol if required.
11159 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11160 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11161 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11162 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11163 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11165 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11166 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11168 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11169 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11171 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11173 * scripts/test_printers_common.py (init_test): Disable lock elision.
11175 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11177 * math/test-tgmath.c (count_double, count_float,
11178 count_ldouble, count_cdouble, count_cfloat,
11179 count_cldouble): Use volatile int.
11181 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11183 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11184 (conformtest-xfail-conds): Add i386-gnu.
11185 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11187 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11188 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11189 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11190 msqid_ds.msg_lrpid): Likewise.
11191 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11193 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11194 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11195 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11196 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11198 (struct statvfs64): Likewise.
11199 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11201 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11202 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11203 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11204 instead of wait_queue.
11205 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11206 instead of vm_area_struct.
11207 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11208 struct sched_param definition to it.
11209 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11210 * bits/types/struct_sched_param.h: New file.
11211 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11212 <bits/types/struct_sched_param.h> instead of <sched.h>.
11213 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11214 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11215 generic version but include <bits/pthreadtypes.h> to make struct
11216 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11217 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11219 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11220 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11221 [__USE_XOPEN] (OFDEL): New macro.
11222 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11223 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11224 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11226 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11227 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11228 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11230 * sysdeps/i386/sys/ucontext.h: Likewise.
11231 * sysdeps/m68k/sys/ucontext.h: Likewise.
11232 * sysdeps/mips/sys/ucontext.h: Likewise.
11233 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11234 * sysdeps/mach/hurd/i386/Makefile
11235 (test-xfail-POSIX/fcntl.h/conform): Add.
11236 (test-xfail-POSIX/signal.h/conform): Add.
11237 (test-xfail-POSIX/semaphore.h/conform): Add.
11238 (test-xfail-POSIX/regex.h/conform): Add.
11239 (test-xfail-POSIX/aio.h/conform): Add.
11240 (test-xfail-POSIX/mqueue.h/conform): Add.
11241 (test-xfail-POSIX/sys/types.h/conform): Add.
11242 (test-xfail-UNIX98/fcntl.h/conform): Add.
11243 (test-xfail-UNIX98/netdb.h/conform): Add.
11244 (test-xfail-UNIX98/signal.h/conform): Add.
11245 (test-xfail-UNIX98/semaphore.h/conform): Add.
11246 (test-xfail-UNIX98/regex.h/conform): Add.
11247 (test-xfail-UNIX98/aio.h/conform): Add.
11248 (test-xfail-UNIX98/ftw.h/conform): Add.
11249 (test-xfail-UNIX98/mqueue.h/conform): Add.
11250 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11251 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11252 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11253 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11254 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11255 (test-xfail-UNIX98/sys/types.h/conform): Add.
11256 (test-xfail-UNIX98/stdlib.h/conform): Add.
11257 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11258 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11259 (test-xfail-POSIX2008/netdb.h/conform): Add.
11260 (test-xfail-POSIX2008/signal.h/conform): Add.
11261 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11262 (test-xfail-POSIX2008/regex.h/conform): Add.
11263 (test-xfail-POSIX2008/aio.h/conform): Add.
11264 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11265 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11266 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11267 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11268 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11269 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11270 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11271 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11272 (test-xfail-XOPEN2K/signal.h/conform): Add.
11273 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11274 (test-xfail-XOPEN2K/regex.h/conform): Add.
11275 (test-xfail-XOPEN2K/aio.h/conform): Add.
11276 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11277 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11278 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11279 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11280 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11281 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11282 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11283 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11284 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11285 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11286 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11287 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11288 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11289 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11290 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11291 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11292 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11293 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11294 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11295 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11296 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11297 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11298 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11299 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11300 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11301 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11302 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11304 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11305 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11307 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11309 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11310 --enable-obsolete for powerpc-linux-gnuspe.
11312 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11314 * conform/data/sys/un.h-data: Allow sun_ prefix.
11315 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11317 * sysdeps/mach/include/mach.h: Likewise.
11318 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11319 * sysdeps/mach/include/mach_error.h: Likewise.
11321 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11323 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11324 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11325 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11326 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11328 2018-04-16 Andreas Schwab <schwab@suse.de>
11331 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11333 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11335 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11336 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11338 2018-04-12 DJ Delorie <dj@redhat.com>
11340 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11343 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11345 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11346 (struct kernel_sigaction): Use the same definition on 31bit as is used
11349 2018-04-09 Florian Weimer <fweimer@redhat.com>
11352 * resolv/res_send.c (send_dg): Use designated initializers instead
11353 of assignment to zero-initialize other fields of struct mmsghdr.
11355 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11357 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11358 __READDIR_ALIAS): Undefine after usage.
11359 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11360 __READDIR_R_ALIAS): Likewise.
11361 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11362 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11363 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11364 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11365 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11367 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11368 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11370 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11372 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11373 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11374 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11375 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11376 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11377 * sysdeps/unix/sysv/linux/readdir.c: New file.
11378 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11379 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11380 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11382 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11384 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11386 * manual/charset.texi (Converting a Character): Fix typo.
11388 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11392 * sysdeps/arm/libm-test-ulps: Update.
11394 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11395 as base implementation.
11396 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11397 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11401 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11402 remove unrequired definitions and update comments.
11403 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11404 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11405 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11406 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11407 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11408 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11409 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11412 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11413 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11414 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11415 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11416 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11417 and RESET_SA_RESTORER hooks.
11419 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11421 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11423 2018-04-05 Florian Weimer <fweimer@redhat.com>
11425 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11426 integer overflow, memory leak on error, and indeterminate errno
11427 value. Add a null wide character to terminate the result string.
11428 * manual/charset.texi (Converting a Character): Mention embedded
11429 null bytes in the mbrtowc input string. Explain what happens in
11430 the -2 result case. Do not claim that mbrtowc is simple or
11431 obvious to use. Adjust the description of the code example. Use
11432 @code, not @var, for concrete variables.
11434 2018-04-05 Florian Weimer <fweimer@redhat.com>
11436 * manual/examples/mbstouwcs.c: New file.
11437 * manual/charset.texi (Converting a Character): Include it.
11439 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11441 * include/dirent.h (dirfd): Add hidden proto.
11442 * dirent/dirfd.c (dirfd): Add hidden def.
11443 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11444 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11446 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11448 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11449 sin, cos and sincos to 1 ULP.
11451 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11454 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11456 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11457 * elf/tst-absolute-sym.c: New file.
11458 * elf/tst-absolute-sym-lib.c: New file.
11459 * elf/tst-absolute-sym-lib.lds: New file.
11460 * elf/Makefile (tests): Add `tst-absolute-sym'.
11461 (modules-names): Add `tst-absolute-sym-lib'.
11462 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11463 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11464 ($(objpfx)tst-absolute-sym): New dependency.
11467 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11469 (SYMBOL_ADDRESS): New macro.
11470 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11471 SYMBOL_ADDRESS for symbol address calculation.
11472 * elf/dl-runtime.c (_dl_fixup): Likewise.
11473 (_dl_profile_fixup): Likewise.
11474 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11475 * elf/rtld.c (dl_main): Likewise.
11476 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11477 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11478 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11479 (elf_machine_rela): Likewise.
11480 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11481 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11482 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11483 (elf_machine_rela): Likewise.
11484 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11485 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11486 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11487 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11489 (elf_machine_reloc): Likewise.
11490 (elf_machine_got_rel): Likewise.
11491 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11492 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11493 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11497 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11498 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11500 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11502 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11507 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11508 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11510 2018-04-04 Zack Weinberg <zackw@panix.com>
11512 * sysdeps/generic/internal-signals.h: Include signal.h,
11513 sigsetops.h, and stdbool.h.
11514 (__libc_signal_block_all): Actually block all signals.
11515 (__libc_signal_block_app): Likewise.
11516 (__libc_signal_restore_set): Actually restore the signal mask.
11518 2018-04-04 Florian Weimer <fweimer@redhat.com>
11520 inet: Actually build and run tst-deadline.
11521 * inet/Makefile (tests-internal): Add tst-deadline and do not
11522 overwrite the variable.
11523 (tests-static-internal): Remove variable.
11525 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11528 * bits/uio-ext.h (RWF_APPEND): New.
11529 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11530 * manual/llio.texi: Document RWF_APPEND.
11531 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11532 (RWF_SUPPORTED): Add RWF_APPEND.
11534 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11537 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11538 check for internal nptl signals.
11539 * nptl/sigaction.c (__sigaction): Likewise.
11540 * signal/sigaddset.c (sigaddset): Likewise.
11541 * signal/sigdelset.c (sigdelset): Likewise.
11542 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11543 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11545 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11546 to filter out internal nptl signals.
11547 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11548 also check realtime signals using standard macros.
11549 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11550 __is_internal_signal, __libc_signal_block_all,
11551 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11552 * sysdeps/nptl/sigfillset.c: Remove file.
11553 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11554 Change return to bool.
11555 (__clear_internal_signals): Remove SIGTIMER clean since it is
11556 equal to SIGCANEL on Linux.
11557 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11558 signal set was constructed using standard functions.
11560 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11562 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11563 ifname is too long.
11564 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11565 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
11566 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11568 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
11569 * signal/sigaddset.c: Include <sigsetopts.h>.
11570 * signal/sigdelset.c: Likewise.
11572 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11576 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11577 logic as sin and cos.
11579 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11581 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11582 inputs. Return correct sign.
11583 (do_sincos): Remove small input check before do_sin, let do_sin set
11588 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11590 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11591 (do_cos_slow): Likewise.
11592 (do_sin_slow): Likewise.
11593 (reduce_and_compute): Likewise.
11598 (sloww1): Likewise.
11599 (sloww2): Likewise.
11601 (bslow1): Likewise.
11602 (bslow2): Likewise.
11603 (cslow2): Likewise.
11605 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11607 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11608 (do_cos): Remove corp parameter and calculations.
11609 (do_sin): Likewise.
11610 (do_sincos): Remove cor variable.
11611 (__sin): Use do_sincos for huge inputs.
11613 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11614 (reduce_and_compute_sincos): Remove unused function.
11616 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11618 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11619 reduce_sincos, improve accuracy to 136 bits.
11620 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11621 (__sin): Use improved reduction and simplified do_sincos calculation.
11623 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11625 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11627 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11628 (do_sincos_2): Likewise.
11629 (__sin): Remove middle range reduction case.
11631 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11634 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11636 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11640 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11642 2018-04-03 Joseph Myers <joseph@codesourcery.com>
11644 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11647 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11649 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11650 Remove definitions.
11651 (opendir_oflags): Use O_DIRECTORY regardless.
11652 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11653 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11655 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11657 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11658 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11660 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11661 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11662 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11663 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
11664 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11665 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
11667 * htl/Makefile: Bump licence to LGPL 2.1+.
11668 * htl/alloca_cutoff.c: Likewise.
11669 * htl/cthreads-compat.c: Likewise.
11670 * htl/lockfile.c: Likewise.
11671 * htl/pt-alloc.c: Likewise.
11672 * htl/pt-cancel.c: Likewise.
11673 * htl/pt-cleanup.c: Likewise.
11674 * htl/pt-create.c: Likewise.
11675 * htl/pt-dealloc.c: Likewise.
11676 * htl/pt-detach.c: Likewise.
11677 * htl/pt-exit.c: Likewise.
11678 * htl/pt-getattr.c: Likewise.
11679 * htl/pt-initialize.c: Likewise.
11680 * htl/pt-internal.h: Likewise.
11681 * htl/pt-join.c: Likewise.
11682 * htl/pt-self.c: Likewise.
11683 * htl/pt-setcancelstate.c: Likewise.
11684 * htl/pt-setcanceltype.c: Likewise.
11685 * htl/pt-sigmask.c: Likewise.
11686 * htl/pt-spin-inlines.c: Likewise.
11687 * htl/pt-testcancel.c: Likewise.
11688 * htl/pt-yield.c: Likewise.
11689 * htl/tests/test-1.c: Likewise.
11690 * htl/tests/test-10.c: Likewise.
11691 * htl/tests/test-11.c: Likewise.
11692 * htl/tests/test-12.c: Likewise.
11693 * htl/tests/test-13.c: Likewise.
11694 * htl/tests/test-14.c: Likewise.
11695 * htl/tests/test-15.c: Likewise.
11696 * htl/tests/test-16.c: Likewise.
11697 * htl/tests/test-17.c: Likewise.
11698 * htl/tests/test-2.c: Likewise.
11699 * htl/tests/test-3.c: Likewise.
11700 * htl/tests/test-4.c: Likewise.
11701 * htl/tests/test-5.c: Likewise.
11702 * htl/tests/test-6.c: Likewise.
11703 * htl/tests/test-7.c: Likewise.
11704 * htl/tests/test-8.c: Likewise.
11705 * htl/tests/test-9.c: Likewise.
11706 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11707 * sysdeps/htl/bits/cancelation.h: Likewise.
11708 * sysdeps/htl/bits/pthread-np.h: Likewise.
11709 * sysdeps/htl/bits/pthread.h: Likewise.
11710 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11711 * sysdeps/htl/bits/semaphore.h: Likewise.
11712 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11713 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11714 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11715 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11716 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11717 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11718 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11719 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11720 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11721 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11722 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11723 * sysdeps/htl/old_pt-atfork.c: Likewise.
11724 * sysdeps/htl/pt-atfork.c: Likewise.
11725 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11726 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11727 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11728 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11729 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11730 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11731 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11732 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11733 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11734 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11735 * sysdeps/htl/pt-attr-init.c: Likewise.
11736 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11737 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11738 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11739 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11740 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11741 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11742 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11743 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11744 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11745 * sysdeps/htl/pt-attr.c: Likewise.
11746 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11747 * sysdeps/htl/pt-barrier-init.c: Likewise.
11748 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11749 * sysdeps/htl/pt-barrier.c: Likewise.
11750 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11751 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11752 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11753 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11754 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11755 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11756 * sysdeps/htl/pt-cond-init.c: Likewise.
11757 * sysdeps/htl/pt-cond-signal.c: Likewise.
11758 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11759 * sysdeps/htl/pt-cond-wait.c: Likewise.
11760 * sysdeps/htl/pt-cond.c: Likewise.
11761 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11762 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11763 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11764 * sysdeps/htl/pt-condattr-init.c: Likewise.
11765 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11766 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11767 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11768 * sysdeps/htl/pt-equal.c: Likewise.
11769 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11770 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11771 * sysdeps/htl/pt-getschedparam.c: Likewise.
11772 * sysdeps/htl/pt-getspecific.c: Likewise.
11773 * sysdeps/htl/pt-init-specific.c: Likewise.
11774 * sysdeps/htl/pt-key-create.c: Likewise.
11775 * sysdeps/htl/pt-key-delete.c: Likewise.
11776 * sysdeps/htl/pt-key.h: Likewise.
11777 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11778 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11779 * sysdeps/htl/pt-mutex-init.c: Likewise.
11780 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11781 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11782 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11783 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11784 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11785 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11786 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11787 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11788 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11789 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11790 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11791 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11792 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11793 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11794 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11795 * sysdeps/htl/pt-mutexattr.c: Likewise.
11796 * sysdeps/htl/pt-once.c: Likewise.
11797 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11798 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
11799 * sysdeps/htl/pt-rwlock-init.c: Likewise.
11800 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
11801 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
11802 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
11803 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
11804 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
11805 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
11806 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
11807 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
11808 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
11809 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
11810 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
11811 * sysdeps/htl/pt-setconcurrency.c: Likewise.
11812 * sysdeps/htl/pt-setschedparam.c: Likewise.
11813 * sysdeps/htl/pt-setschedprio.c: Likewise.
11814 * sysdeps/htl/pt-setspecific.c: Likewise.
11815 * sysdeps/htl/pt-spin.c: Likewise.
11816 * sysdeps/htl/pt-startup.c: Likewise.
11817 * sysdeps/htl/pthread.h: Likewise.
11818 * sysdeps/htl/sem-close.c: Likewise.
11819 * sysdeps/htl/sem-destroy.c: Likewise.
11820 * sysdeps/htl/sem-getvalue.c: Likewise.
11821 * sysdeps/htl/sem-init.c: Likewise.
11822 * sysdeps/htl/sem-open.c: Likewise.
11823 * sysdeps/htl/sem-post.c: Likewise.
11824 * sysdeps/htl/sem-timedwait.c: Likewise.
11825 * sysdeps/htl/sem-trywait.c: Likewise.
11826 * sysdeps/htl/sem-unlink.c: Likewise.
11827 * sysdeps/htl/sem-wait.c: Likewise.
11828 * sysdeps/hurd/htl/pt-kill.c: Likewise.
11829 * sysdeps/i386/htl/pt-machdep.h: Likewise.
11830 * sysdeps/mach/htl/pt-block.c: Likewise.
11831 * sysdeps/mach/htl/pt-spin.c: Likewise.
11832 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
11833 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
11834 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
11835 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
11836 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
11837 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
11838 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
11839 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
11840 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
11841 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
11842 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
11843 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
11844 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
11845 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
11846 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
11847 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
11848 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
11849 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
11850 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
11851 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
11852 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
11853 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
11854 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
11855 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
11856 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
11857 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
11858 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
11859 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
11860 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
11861 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
11862 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
11863 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
11864 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
11865 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
11866 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
11867 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
11868 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
11869 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
11870 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
11871 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
11872 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
11873 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
11874 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
11876 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
11877 * README: Remove the mention of out-of-tree patches needed for
11880 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
11881 (UTIME_NOW, UTIME_OMIT): Define macros.
11883 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
11884 instead of pthread_detach.
11885 (__cthread_fork): Call __pthread_create instead of pthread_create.
11886 (__cthread_keycreate): Call __pthread_key_create instead of
11887 pthread_key_create.
11888 (__cthread_getspecific): Call __pthread_getspecific instead of
11889 pthread_getspecific.
11890 (__cthread_setspecific): Call __pthread_setspecific instead of
11891 pthread_setspecific.
11892 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
11893 __pthread_mutex_unlock instead of pthread_mutex_lock and
11894 pthread_mutex_unlock.
11895 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
11896 ___pthread_get_cleanup_stack.
11897 (__pthread_get_cleanup_stack): New strong alias.
11898 * htl/pt-create.c: Include <pthreadP.h>.
11899 (entry_point): Call __pthread_exit instead of pthread_exit.
11900 (pthread_create): Rename to __pthread_create.
11901 (pthread_create): New strong alias.
11902 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
11903 (pthread_detach): New strong alias.
11904 (__pthread_detach): Call __pthread_cond_broadcast instead of
11905 pthread_cond_broadcast.
11906 * htl/pt-exit.c: Include <pthreadP.h>.
11907 (__pthread_exit): Call __pthread_setcancelstate and
11908 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
11909 __pthread_get_cleanup_stack.
11910 * htl/pt-testcancel.c: Include <pthreadP.h>.
11911 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
11912 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
11913 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
11914 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
11915 pthread_attr_getstacksize.
11916 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
11917 Rename to __pthread_attr_getstackaddr.
11918 (pthread_attr_getstackaddr): New strong alias.
11919 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
11920 Rename to __pthread_attr_getstacksize.
11921 (pthread_attr_getstacksize): New strong alias.
11922 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
11923 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
11924 (pthread_attr_setstack): New strong alias.
11925 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
11926 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
11927 pthread_attr_getstacksize, pthread_attr_setstacksize and
11928 pthread_attr_setstackaddr.
11929 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
11930 Rename to __pthread_attr_setstackaddr.
11931 (pthread_attr_setstackaddr): New strong alias.
11932 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
11933 Rename to __pthread_attr_setstacksize.
11934 (pthread_attr_setstacksize): New strong alias.
11935 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
11936 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
11938 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
11939 (__pthread_key_create): New hidden def.
11940 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
11941 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
11942 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
11943 __pthread_exit, __pthread_key_create, __pthread_getspecific,
11944 __pthread_setspecific, __pthread_setcancelstate,
11945 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
11946 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
11947 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
11949 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
11950 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
11951 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
11952 (pthread_attr_setstackaddr): New strong alias.
11953 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
11954 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
11955 (pthread_attr_setstacksize): New strong alias.
11956 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
11957 (call_exit): Call __pthread_exit instead of pthread_exit.
11958 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
11959 (_pthread_mutex_init): New hidden definition.
11960 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
11961 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
11962 instead of pthread_attr_init and pthread_attr_setstack.
11964 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
11965 __vm_deallocate instead of vm_allocate and vm_deallocate.
11966 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
11968 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
11970 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
11972 * hurd/siginfo.c: Include <libioP.h>.
11973 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
11974 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
11976 * mach/devstream.c: Include <libioP.h>.
11977 (dealloc_ref): Call __mach_port_deallocate instead of
11978 mach_port_deallocate.
11979 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
11980 Call __mach_port_deallocate instead of mach_port_deallocate.
11981 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
11983 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
11985 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
11986 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
11987 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
11989 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
11991 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
11992 instead of sysconf.
11993 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
11994 __clock_gettime instead of clock_gettime.
11995 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
11996 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11997 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
11998 * sysdeps/unix/bsd/stty.c (stty): Likewise.
11999 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12001 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12002 __clock_gettime and __nanosleep instead of clock_gettime and
12004 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12005 __hurd_catch_signal.
12006 (hurd_catch_signal): New strong alias.
12007 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12008 __hurd_catch_signal instead of hurd_catch_signal.
12009 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12010 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12011 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12012 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12013 (_hurd_thread_sigstate): Add hidden def.
12014 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12016 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12017 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12018 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12019 __hurd_file_name_path_lookup.
12020 (hurd_file_name_path_lookup): New strong alias.
12021 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12022 hurd_file_name_path_lookup.
12023 * mach/errstring.c (mach_error_type): Add hidden def.
12024 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12025 * mach/mutex-init.c (__mutex_init): Add hidden def.
12026 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12027 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12028 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12029 * sysdeps/mach/hurd/getcwd.c
12030 (_hurd_canonicalize_directory_name_internal): Rename to
12031 __hurd_canonicalize_directory_name_internal.
12032 (_hurd_canonicalize_directory_name_internal): New strong alias.
12033 (__canonicalize_directory_name_internal, __getcwd): Call
12034 __hurd_canonicalize_directory_name_internal instead of
12035 _hurd_canonicalize_directory_name_internal.
12036 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12037 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12039 * sysdeps/hurd/include/hurd.h: New file.
12040 * sysdeps/hurd/include/hurd/fd.h: New file.
12041 * sysdeps/hurd/include/hurd/signal.h: New file.
12042 * sysdeps/mach/include/lock-intern.h: New file.
12043 * sysdeps/mach/include/mach.h: New file.
12044 * sysdeps/mach/include/mach/mig_support.h: New file.
12045 * sysdeps/mach/include/mach_error.h: New file.
12046 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12048 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12049 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12050 _HEADER_H_HIDDEN_DEF macro.
12051 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12052 _hurd_fd_error_signal): Add hidden prototype.
12053 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12055 * libio/iolibio.h (_IO_puts): New hidden prototype.
12056 * libio/ioputs.c (_IO_puts): New hidden def.
12057 * sysdeps/mach/hurd/localplt.data: New file.
12059 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12060 Amos Jeffries <squid3@treenet.co.nz>
12061 David Michael <fedora.dm0@gmail.com>
12062 Marco Gerards <marco@gnu.org>
12063 Marcus Brinkmann <marcus@gnu.org>
12064 Neal H. Walfield <neal@gnu.org>
12065 Pino Toscano <toscano.pino@tiscali.it>
12066 Richard Braun <rbraun@sceen.net>
12067 Roland McGrath <roland@gnu.org>
12068 Samuel Thibault <samuel.thibault@ens-lyon.org>
12069 Thomas DiModica <ricinwich@yahoo.com>
12070 Thomas Schwinge <tschwinge@gnu.org>
12072 * htl: New directory.
12073 * sysdeps/htl: New directory.
12074 * sysdeps/hurd/htl: New directory.
12075 * sysdeps/i386/htl: New directory.
12076 * sysdeps/mach/htl: New directory.
12077 * sysdeps/mach/hurd/htl: New directory.
12078 * sysdeps/mach/hurd/i386/htl: New directory.
12079 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12080 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12081 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12083 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12085 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12086 signals in thread created for runing timers.
12088 2018-04-01 Florian Weimer <fweimer@redhat.com>
12090 * support/support_format_addrinfo.c (support_format_addrinfo):
12091 Include unknown error number in formatted result.
12093 2018-03-29 Florian Weimer <fweimer@redhat.com>
12095 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12098 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12100 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12101 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12102 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12103 (__ASSUME_CLONE_BACKWARDS): Define.
12105 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12108 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12109 early when linux sentinel value is set.
12111 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12113 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12115 2018-03-27 Andreas Schwab <schwab@suse.de>
12118 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12119 allocation of private copy of nsaddr_list fails.
12121 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12124 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12125 * sysdeps/unix/sysv/linux/umount.c: ... here.
12126 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12127 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12128 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12129 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12131 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12132 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12134 2018-03-26 Andreas Schwab <schwab@suse.de>
12136 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12137 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12138 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12139 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12140 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12141 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12142 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12143 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12144 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12145 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12146 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12147 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12148 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12149 (R_RISCV_NUM): Define.
12151 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12153 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12154 TLS declaration of errno.
12155 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12157 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12158 (ARCH_SETUP_TLS): Likewise.
12159 * sysdeps/mach/hurd/libc-start.h: New file copied from
12160 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12161 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12162 instead of __libc_setup_tls.
12163 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12164 __libc_setup_tls before initializing libpthread and running _hurd_init
12165 which starts the signal thread.
12166 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12168 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12170 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12173 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12174 after it is defined.
12176 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12177 Max Horn <max@quendi.de>
12181 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12183 * string/test-memmove.c (do_test2): New testcase.
12185 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12187 * sysdeps/generic/frame.h: Remove file.
12188 * sysdeps/arm/frame.h: Likewise.
12189 * sysdeps/hppa/frame.h: Likewise.
12190 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12192 (GET_FRAME): Likewise.
12193 (GET_STACK): Likewise.
12194 (CALL_SIGHANDLER): Likewise.
12195 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12197 (GET_FRAME): Likewise.
12198 (GET_STACK): Likewise.
12199 (CALL_SIGHANDLER): Likewise.
12200 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12201 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12202 (GET_FRAME): Likewise.
12203 (GET_STACK): Likewise.
12204 (CALL_SIGHANDLER): Likewise.
12205 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12206 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12207 (GET_FRAME): Likewise.
12208 (GET_STACK): Likewise.
12209 (ADVANCE_STACK_FRAME): Likewise.
12210 (CALL_SIGHANDLER): Likewise.
12211 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12212 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12213 (GET_FRAME): Likewise.
12214 (GET_STACK): Likewise.
12215 (CALL_SIGHANDLER): Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12217 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12218 (GET_FRAME): Likewise.
12219 (GET_STACK): Likewise.
12220 (CALL_SIGHANDLER): Likewise.
12221 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12222 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12223 (GET_FRAME): Likewise.
12224 (GET_STACK): Likewise.
12225 (CALL_SIGHANDLER): Likewise.
12226 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12227 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12228 (GET_FRAME): Likewise.
12229 (GET_STACK): Likewise.
12230 (CALL_SIGHANDLER): Likewise.
12231 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12232 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12233 (GET_FRAME): Likewise.
12234 (GET_STACK): Likewise.
12235 (CALL_SIGHANDLER): Likewise.
12236 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12237 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12238 (GET_FRAME): Likewise.
12239 (GET_STACK): Likewise.
12240 (CALL_SIGHANDLER): Likewise.
12241 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12242 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12243 (GET_FRAME): Likewise.
12244 (GET_STACK): Likewise.
12245 (CALL_SIGHANDLER): Likewise.
12246 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12247 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12248 (GET_FRAME): Likewise.
12249 (GET_STACK): Likewise.
12250 (CALL_SIGHANDLER): Likewise.
12251 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12252 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12253 (GET_FRAME): Likewise.
12254 (GET_STACK): Likewise.
12255 (CALL_SIGHANDLER): Likewise.
12256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12257 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12258 (FIRST_FRAME_POINTER): Likewise.
12259 (ADVANCE_STACK_FRAME): Likewise.
12260 (GET_STACK): Likewise.
12261 (GET_FRAME): Likewise.
12262 (CALL_SIGHANDLER): Likewise.
12263 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12264 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12265 (ADVANCE_STACK_FRAME): Likewise.
12266 (GET_STACK): Likewise.
12267 (GET_FRAME): Likewise.
12268 (CALL_SIGHANDLER): Likewise.
12269 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12270 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12271 (GET_FRAME): Likewise.
12272 (GET_STACK): Likewise.
12273 (CALL_SIGHANDLER): Likewise.
12274 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12275 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12276 (GET_FRAME): Likewise.
12277 (GET_STACK): Likewise.
12278 (CALL_SIGHANDLER): Likewise.
12280 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12282 * sysdeps/x86_64/backtrace.c: Move to ....
12283 * debug/backtrace.c: ... here.
12284 * sysdeps/aarch64/backtrace.c: Remove file.
12285 * sysdeps/alpha/backtrace.c: Likewise.
12286 * sysdeps/hppa/backtrace.c: Likewise.
12287 * sysdeps/ia64/backtrace.c: Likewise.
12288 * sysdeps/mips/backtrace.c: Likewise.
12289 * sysdeps/nios2/backtrace.c: Likewise.
12290 * sysdeps/riscv/backtrace.c: Likewise.
12291 * sysdeps/sh/backtrace.c: Likewise.
12292 * sysdeps/tile/backtrace.c: Likewise.
12294 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12297 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12300 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12303 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12304 possibly overflowing computations.
12306 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12308 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12309 values from Linux-specific section now that it is in the GNU section.
12310 * sysdeps/gnu/errlist.c: Regenerate.
12312 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12314 * math/Makefile (libm-narrow-fns): Add sub.
12315 (libm-test-funcs-narrow): Likewise.
12316 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12317 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12318 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12319 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12320 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12321 (NARROW_SUB_TRIVIAL): Likewise.
12322 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12324 (__dsubl): Likewise.
12325 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12327 (CFLAGS-nldbl-dsub.c): New variable.
12328 (CFLAGS-nldbl-fsub.c): Likewise.
12329 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12333 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12334 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12335 * math/auto-libm-test-in: Add tests of sub.
12336 * math/auto-libm-test-out-narrow-sub: New generated file.
12337 * math/libm-test-narrow-sub.inc: New file.
12338 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12339 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12341 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12342 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12343 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12350 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12352 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12353 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12354 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12355 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12357 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12385 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12388 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12390 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12392 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12394 2018-03-18 Richard Braun <rbraun@sceen.net>
12396 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12399 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12401 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12402 (__libc_cleanup_fct): Define function.
12403 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12404 __libc_cleanup_end): Rewrite implementation using
12405 __attribute__ ((__cleanup__)).
12406 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12407 * hurd/Makefile (routines): Add hurdlock.
12408 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12410 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12411 * hurd/hurdpid.c: Include <lowlevellock.h>
12412 (_S_msg_proc_newids): Use lll_wait to synchronize.
12413 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12414 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12415 * mach/Makefile (lock-headers): Remove machine-lock.h.
12416 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12418 (__spin_lock_t): New type.
12419 (__SPIN_LOCK_INITIALIZER): New macro.
12420 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12421 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12422 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12423 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12424 (__mutex_init): Initialize with lll.
12425 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12426 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12428 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12429 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12430 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12431 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12432 (__setpgid): Use lll for synchronization.
12433 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12434 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12435 instead of <cthreads.h>.
12436 (_IO_lock_inexpensive): New macro
12437 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12438 (__libc_lock_self0): New declaration.
12439 (__libc_lock_owner_self): New macro.
12440 (__libc_key_t): Remove type.
12441 (_LIBC_LOCK_INITIALIZER): New macro.
12442 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12443 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12444 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12445 __libc_lock_define_initialized_recursive,
12446 __rtld_lock_define_initialized_recursive,
12447 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12448 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12449 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12450 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12451 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12452 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12453 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12455 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12456 * hurd/hurdlock.c: New file.
12457 * hurd/hurdlock.h: New file.
12458 * mach/lowlevellock.h: New file
12460 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12462 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12463 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12464 when opening a symlink with O_NOFOLLOW.
12465 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12466 path when flags contains O_NOFOLLOW.
12467 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12468 if flags contains O_DIRECTORY and the result is a directory.
12469 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12470 oneself when the pointer given in D is nul (as set by ext2fs).
12471 * sysdeps/mach/hurd/mlockall.c: New file.
12472 * sysdeps/mach/hurd/munlockall.c: New file.
12474 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12476 * hurd/hurdsig.c: Include <pthread.h>.
12477 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12478 get the signal thread stack layout.
12479 * hurd/Makefile (headers): Remove threadvar.h.
12480 (inline-headers): Remove threadvar.h.
12481 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12482 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12483 __hurd_threadvar_max, __hurd_errno_location.
12484 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12485 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12486 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12487 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12488 unless TLS is not initialized yet, in which case we do not need a
12489 critical section yet anyway.
12490 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12492 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12494 (__hurd_threadvar_index): Remove enum.
12495 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12496 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12498 (__hurd_reply_port0): New variable declaration.
12499 (__hurd_local_reply_port): New macro.
12500 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12501 (interrupted_reply_port_location): Add thread_t parameter. Use it
12502 with THREAD_TCB to access thread-local variables.
12503 (_hurdsig_abort_rpcs): Pass ss->thread to
12504 interrupted_reply_port_location.
12505 (_hurd_internal_post_signal): Likewise.
12506 (_hurdsig_init): Use presence of cthread_fork instead of
12507 __hurd_threadvar_stack_mask to start signal thread by hand.
12508 Remove signal thread threadvar initialization.
12509 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12510 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12511 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12513 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12515 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12516 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12517 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12518 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12519 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12520 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12521 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12523 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12524 <hurd/threadvar.h>.
12525 [IS_IN(rtld)] (rtld_errno): New variable.
12526 [IS_IN(rtld)] (__errno_location): New weak function.
12527 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12528 * sysdeps/mach/hurd/errno.c: Remove file.
12529 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12530 (__fork): Remove THREADVAR_SPACE macro and its use.
12531 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12533 (init): Do not initialize threadvar.
12534 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12536 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12537 __hurd_local_reply_port instead of threadvar.
12538 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12539 _hurd_sigstate fields.
12540 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12541 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12542 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12543 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12544 instead of threadvar.
12545 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12546 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12547 (use_threadvar, global_reply_port): Remove variables.
12548 (__hurd_reply_port0): New variable.
12549 (__mig_get_reply_port): Use __hurd_local_reply_port and
12550 __hurd_reply_port0 instead of threadvar.
12551 (__mig_dealloc_reply_port): Likewise.
12552 (__mig_init): Do not initialize threadvar.
12553 * sysdeps/mach/hurd/profil.c: Fix comment.
12554 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12555 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12556 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12557 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12558 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12559 __cthread_setspecific.
12560 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12561 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12562 __cthread_t instead of cthread_fork, cthread_detach,
12563 pthread_getattr_np, pthread_attr_getstack.
12564 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12565 __cthread_keycreate.
12566 (cthread_getspecific): Rename to __cthread_getspecific.
12567 (cthread_setspecific): Rename to __cthread_setspecific.
12568 (__libc_getspecific): Use __cthread_getspecific instead of
12569 cthread_getspecific.
12570 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12571 __cthread_keycreate instead of cthread_keycreate.
12572 (__libc_setspecific): Use __cthread_setspecific instead of
12573 cthread_setspecific.
12574 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12577 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12578 testing whether it is defined.
12580 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12582 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12584 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12585 * sysdeps/mach/i386/thread_state.h
12586 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12588 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12590 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12592 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12593 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12595 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12597 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12598 descriptor instead of creating a new one.
12599 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12601 * mach/setup-thread.c: Include <ldsodefs.h>.
12602 (__mach_setup_thread): Call _dl_allocate_tls, pass
12603 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12604 MACHINE_THREAD_STATE_FLAVOR, before getting
12605 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12606 MACHINE_THREAD_STATE_FLAVOR with the result.
12607 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12608 MACHINE_THREAD_STATE_FIX_NEW.
12609 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12610 too. Add original thread parameter.
12612 2018-03-16 Joseph Myers <joseph@codesourcery.com>
12614 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12615 Remove inline function.
12617 * sysdeps/i386/fpu/libm-test-ulps: Update.
12618 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12620 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12622 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12625 2018-03-15 Joseph Myers <joseph@codesourcery.com>
12627 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12628 (__sincos_code): Remove define and undefine.
12629 [__FAST_MATH__] (__sincos): Remove inline function.
12630 [__FAST_MATH__] (__sincosf): Remove inline function.
12631 [__FAST_MATH__] (__sincosl): Remove inline function.
12632 (__atan2l): Remove inline functions.
12633 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12634 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12636 (floor): Remove inline function.
12638 [__FAST_MATH__] (__ldexp_code): Remove macro.
12639 [__FAST_MATH__] (ldexp): Remove inline function.
12640 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12641 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12642 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12643 [__USE_ISOC99] (__lrint_code): Remove macro.
12644 [__USE_ISOC99] (__llrint_code): Likewise.
12645 [__USE_ISOC99] (lrintf): Remove inline function.
12646 [__USE_ISOC99] (lrint): Likewise.
12647 [__USE_ISOC99] (lrintl): Likewise.
12648 [__USE_ISOC99] (llrint): Likewise.
12649 [__USE_ISOC99] (llrintf): Likewise.
12650 [__USE_ISOC99] (llrintl): Likewise.
12652 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12654 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12655 (__ieee754_sqrtf): Remove.
12656 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12657 (__ieee754_sqrtf): Remove.
12658 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12659 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12660 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12661 (__ieee754_sqrtf): Remove.
12662 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12663 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12666 (__ieee754_sqrt): Remove.
12667 (__ieee754_sqrtf): Remove.
12668 (__ieee754_sqrtl): Remove.
12669 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12670 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12671 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12672 (__ieee754_sqrtf): Remove.
12673 (__ieee754_sqrtl): Remove.
12675 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12677 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12678 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12679 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12680 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12681 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12682 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12683 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12686 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12687 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12688 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12689 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12690 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12691 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12692 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12693 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12694 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12695 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12696 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12697 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12698 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12699 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12700 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12701 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12702 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12703 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12704 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12707 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12708 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12709 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12710 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12711 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12714 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12715 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12716 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12717 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12719 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12720 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12721 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12723 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12724 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12725 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12727 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12729 * include/math.h (sqrt): Declare with asm redirect.
12732 (sqrtf128): Likewise.
12733 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12734 nonlib and libnldbl with -fmath-errno.
12735 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12736 * math/w_sqrt_template.c: Likewise.
12737 * math/w_sqrtf_compat.c: Likewise.
12738 * math/w_sqrtl_compat.c: Likewise.
12739 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12740 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12741 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12744 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12746 * benchtests/Makefile: Define _ISOMAC.
12747 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12748 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12749 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12750 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12751 * benchtests/bench-timing.h: Define attribute_hidden.
12753 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12755 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12758 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12761 * localedata/locales/cs_CZ (mon): Rename to...
12763 (mon): Import from CLDR (genitive case).
12765 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12768 * localedata/locales/el_CY (abmon): Rename to...
12769 (ab_alt_mon): This.
12770 (abmon): Import from CLDR (abbreviated genitive case).
12771 * localedata/locales/el_GR (abmon): Rename to...
12772 (ab_alt_mon): This.
12773 (abmon): Import from CLDR (abbreviated genitive case).
12775 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12778 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12780 2018-03-15 Robert Buj <robert.buj@gmail.com>
12783 * localedata/locales/ca_ES (abmon): Rename to...
12784 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12785 (mon): Rename to...
12787 (abmon): Import from CLDR (genitive case, month names preceded by
12790 (abday): Synchronize with CLDR.
12791 (d_t_fmt): Likewise.
12795 (LC_TIME): Improve indentation.
12796 (LC_TELEPHONE): Likewise.
12797 (LC_NAME): Likewise.
12798 (LC_ADDRESS): Likewise.
12800 2018-03-14 Joseph Myers <joseph@codesourcery.com>
12802 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
12803 (lrintf): Remove definitions used only with old GCC.
12804 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
12805 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
12806 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
12807 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
12808 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
12809 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
12810 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
12811 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
12812 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
12813 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
12814 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
12815 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
12816 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
12817 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
12818 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
12819 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
12820 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
12821 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
12822 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
12823 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
12824 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
12825 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
12826 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
12827 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
12828 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
12829 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
12830 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
12831 [__FAST_MATH__] (__M_SQRT2): Remove macro.
12833 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12835 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
12836 instruction to unbreak builds with binutils 2.26 and older.
12838 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
12840 * sysdeps/aarch64/strncmp.S (count): New macro.
12841 (strncmp): Store misaligned length in SRC1 in COUNT.
12842 (mutual_align): Adjust.
12843 (misaligned8): Load dword at a time when it is safe.
12845 2018-03-12 Zack Weinberg <zackw@panix.com>
12849 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
12850 if the _IO_EOF_SEEN bit is already set; update commentary.
12851 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
12852 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12854 * support/support_openpty.c, support/tty.h: New files.
12855 * support/Makefile (libsupport-routines): Add support_openpty.
12857 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
12859 * libio/Makefile (tests): Add tst-fgetc-after-eof.
12860 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
12862 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
12864 * po/pt_BR.po: Update translations.
12866 2018-03-12 David Michael <fedora.dm0@gmail.com>
12868 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
12869 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
12870 get a port to the startup server.
12872 2018-03-11 Zack Weinberg <zackw@panix.com>
12874 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
12875 before nldbl-compat.h.
12877 2018-03-10 Zack Weinberg <zackw@panix.com>
12879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
12880 math.h or math_private.h.
12882 * sysdeps/alpha/fpu/s_isnan.c
12883 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
12884 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
12885 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
12886 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
12887 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
12888 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
12889 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
12890 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
12891 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
12893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
12894 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
12895 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
12896 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
12897 Include math_private.h.
12899 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
12900 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
12901 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
12902 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
12903 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
12904 * sysdeps/powerpc/power7/fpu/s_logb.c:
12905 Include math.h and math_private.h.
12907 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
12908 uses of $at in .set noat / .set at.
12910 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
12912 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
12913 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
12914 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
12918 2018-03-09 Florian Weimer <fweimer@redhat.com>
12920 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
12923 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
12926 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
12927 Add nop before __startcontext, add explaining comments.
12929 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12932 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
12934 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12935 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
12936 Do not build hardware transactional code for __SPE__.
12937 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12938 (__lll_trylock_elision): Likewise.
12939 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12940 (__lll_unlock_elision): Likewise.
12942 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
12943 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
12944 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12945 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
12946 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
12947 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
12948 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
12949 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
12950 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
12951 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
12952 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
12953 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
12954 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
12955 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
12958 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
12959 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
12960 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
12961 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
12962 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
12963 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12964 (__ASSUME_CLONE_BACKWARDS): Define.
12965 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
12966 __clone2 if __NR_clone2 is defined.
12967 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12968 (__ASSUME_CLONE_BACKWARDS): Likewise.
12969 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12970 (__ASSUME_CLONE_BACKWARDS): Likewise.
12971 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12972 (__ASSUME_CLONE2): Likewise.
12973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12974 (__ASSUME_CLONE_BACKWARDS3): Likewise.
12975 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
12976 variants and the define architecture can use.
12977 (__ASSUME_CLONE_DEFAULT): Define as default.
12978 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12979 (__ASSUME_CLONE_BACKWARDS): Likewise.
12980 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12981 (__ASSUME_CLONE_BACKWARDS): Likewise.
12982 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12983 (__ASSUME_CLONE_BACKWARDS2): Likewise.
12985 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
12987 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
12989 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
12992 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
12993 (do_test_limit): Likewise.
12995 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
12996 for every implementation.
12997 (do_test): Likewise.
12999 * benchtests/bench-strncmp.c: Convert output to json.
13001 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13003 * io/futimens.c: Add missing start-of-file descriptive comment.
13004 * io/utime.c: Likewise.
13005 * misc/futimesat.c: Likewise.
13006 * misc/utimes.c: Likewise.
13007 * sysdeps/mach/hurd/futimesat.c: Likewise.
13008 * sysdeps/mach/hurd/utimes.c: Likewise.
13009 * sysdeps/posix/utime.c: Likewise.
13010 * sysdeps/posix/utimes.c: Likewise.
13011 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13012 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13013 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13014 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13016 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13018 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13020 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13021 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13022 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13023 (__futimens): Move implementation to...
13024 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13025 utime_tvalue_from_tspec): ... new helper functions.
13026 (hurd_futimens): New function.
13027 * sysdeps/mach/hurd/futimesat.c: New file.
13028 * sysdeps/mach/hurd/utimensat.c: New file.
13030 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13032 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13033 UTIME_OMIT): New macros.
13034 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13035 before reverting to converting time spec to time value and calling
13037 * sysdeps/mach/hurd/utime-helper.c: New file.
13038 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13039 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13040 reverting to utime_tvalue_from_tval and __file_utimes.
13041 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13042 (__lutimes): Just call hurd_futimens after lookup.
13043 * sysdeps/mach/hurd/utimes.c: Likewise.
13045 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13047 * bits/sigaction.h: Add include guard.
13048 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13049 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13050 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13051 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13052 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13053 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13054 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13055 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13056 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13058 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13060 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13061 -Wmaybe-uninitialized for -Os.
13062 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13065 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13067 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13068 __INO_T_MATCHES_INO64_T is defined.
13069 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13070 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13072 * dirent/alphasort64.c: Likewise.
13073 * dirent/scandir.c: Likewise.
13074 * dirent/scandir64-tail.c: Likewise.
13075 * dirent/scandir64.c: Likewise.
13076 * dirent/scandirat.c: Likewise.
13077 * dirent/scandirat64.c: Likewise.
13078 * dirent/versionsort.c: Likewise.
13079 * dirent/versionsort64.c: Likewise.
13080 * include/dirent.h: Likewise.
13082 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13083 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13084 for socketpair endpoint.
13085 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13086 WRITE_BUFFER_SIZE as buffer size for sending socket.
13087 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13088 issue on system where send is implemented with sendto syscall.
13089 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13090 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13091 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13092 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13095 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13096 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13097 sa_restorer for vDSO case.
13098 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13100 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13102 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13103 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13104 * hurd/hurd/ioctl.h: Include <mach/port.h>
13105 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13106 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13107 <mach/mach_types.h> and <mach/message.h>.
13108 (headers): Move mach/param.h to bits/mach/param.h.
13109 * sysdeps/mach/i386/mach/param.h: Move file to ...
13110 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13111 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13113 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13114 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13115 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13116 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13117 trivial, for C++ conformity.
13118 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13119 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13120 Process mig output through $(migheadersed).
13121 * hurd/Makefile (migheadersed): Define variable.
13122 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13123 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13125 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13126 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13127 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13128 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13129 <bits/types/sigset_t.h>.
13130 [!defined __USE_GNU]: Do not #error out.
13131 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13132 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13133 Include <stddef.h> and <bits/types/sigset_t.h>
13134 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13135 instead of sighandler_t.
13136 * stdlib/errno.h (error_t): Move definition to...
13137 * bits/types/error_t.h: ... new header.
13138 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13139 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13140 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13141 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13142 * hurd/hurd.h: Include <bits/types/error_t.h>
13143 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13144 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13145 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13146 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13147 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13148 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13149 * sysdeps/mach/hurd/futimens.c: New file.
13151 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13154 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13155 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13156 * nscd/gai.c (__nss_hosts_database): Readd definition.
13157 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13158 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13159 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13161 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13163 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13164 (ifunc_one): Likewise.
13166 2018-03-01 DJ Delorie <dj@delorie.com>
13169 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13172 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13174 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13175 `match_pid' parameter.
13176 (td_ta_thr_iter): Update accordingly.
13178 2018-03-01 Florian Weimer <fweimer@redhat.com>
13180 * nptl/Makefile (install-lib-ldscripts): Remove.
13181 (install): Remove rule.
13182 ($(inst_libdir)/libpthread.so): Likewise.
13184 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13187 * localedata/locales/an_ES: update month and day names,
13188 improve d_fmt, improve postal_fmt, add country_post,
13191 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13193 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13194 Ukrainian instead of Bulgarian.
13196 2018-03-01 Florian Weimer <fweimer@redhat.com>
13198 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13201 2018-03-01 Florian Weimer <fweimer@redhat.com>
13203 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13204 * nptl/Makefile (routines): Add pthread_atfork.
13205 (static-only-routines): Set to pthread_atfork.
13206 (libpthread-routines): Remove pthread_atfork.
13207 (libpthread-static-only-routines): Remove.
13208 (install): Update comment.
13209 (libpthread.so): Do not install libpthread_nonshared.a.
13210 (tests): Do not link with libpthread_nonshared.a.
13211 (generated): Remove libpthread_nonshared.a.
13212 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13213 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13214 with libpthread_nonshared.a.
13216 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13219 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13220 (libc_feholdexcept_setroundf128): New macro.
13221 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13224 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13226 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13227 * include/inttypes.h: New file.
13229 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13231 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13232 -Os in two more places.
13234 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13236 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13237 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13238 be sorted correctly at the moment because of a bug.
13240 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13242 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13243 treat ñ as a primary different character, sync the collation
13244 for Spanish with CLDR.
13245 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13246 * localedata/Makefile: Add new test files.
13247 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13248 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13250 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13251 * localedata/am_ET.UTF-8.in: New test file.
13252 * localedata/az_AZ.UTF-8.in: Likewise.
13253 * localedata/be_BY.UTF-8.in: Likewise.
13254 * localedata/ber_DZ.UTF-8.in: Likewise.
13255 * localedata/ber_MA.UTF-8.in: Likewise.
13256 * localedata/bg_BG.UTF-8.in: Likewise.
13257 * localedata/br_FR.UTF-8.in: Likewise.
13258 * localedata/cmn_TW.UTF-8.in: Likewise.
13259 * localedata/crh_UA.UTF-8.in: Likewise.
13260 * localedata/csb_PL.UTF-8.in: Likewise.
13261 * localedata/cv_RU.UTF-8.in: Likewise.
13262 * localedata/cy_GB.UTF-8.in: Likewise.
13263 * localedata/dz_BT.UTF-8.in: Likewise.
13264 * localedata/eo.UTF-8.in: Likewise.
13265 * localedata/es_ES.UTF-8.in: Likewise.
13266 * localedata/fa_IR.UTF-8.in: Likewise.
13267 * localedata/fi_FI.UTF-8.in: Likewise.
13268 * localedata/fil_PH.UTF-8.in: Likewise.
13269 * localedata/fur_IT.UTF-8.in: Likewise.
13270 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13271 * localedata/ha_NG.UTF-8.in: Likewise.
13272 * localedata/ig_NG.UTF-8.in: Likewise.
13273 * localedata/ik_CA.UTF-8.in: Likewise.
13274 * localedata/kk_KZ.UTF-8.in: Likewise.
13275 * localedata/ku_TR.UTF-8.in: Likewise.
13276 * localedata/ky_KG.UTF-8.in: Likewise.
13277 * localedata/ln_CD.UTF-8.in: Likewise.
13278 * localedata/mi_NZ.UTF-8.in: Likewise.
13279 * localedata/ml_IN.UTF-8.in: Likewise.
13280 * localedata/mn_MN.UTF-8.in: Likewise.
13281 * localedata/mr_IN.UTF-8.in: Likewise.
13282 * localedata/mt_MT.UTF-8.in: Likewise.
13283 * localedata/nb_NO.UTF-8.in: Likewise.
13284 * localedata/om_KE.UTF-8.in: Likewise.
13285 * localedata/os_RU.UTF-8.in: Likewise.
13286 * localedata/ps_AF.UTF-8.in: Likewise.
13287 * localedata/ro_RO.UTF-8.in: Likewise.
13288 * localedata/ru_RU.UTF-8.in: Likewise.
13289 * localedata/sc_IT.UTF-8.in: Likewise.
13290 * localedata/se_NO.UTF-8.in: Likewise.
13291 * localedata/sq_AL.UTF-8.in: Likewise.
13292 * localedata/sv_SE.UTF-8.in: Likewise.
13293 * localedata/szl_PL.UTF-8.in: Likewise.
13294 * localedata/tg_TJ.UTF-8.in: Likewise.
13295 * localedata/tk_TM.UTF-8.in: Likewise.
13296 * localedata/tt_RU.UTF-8.in: Likewise.
13297 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13298 * localedata/ug_CN.UTF-8.in: Likewise.
13299 * localedata/uz_UZ.UTF-8.in: Likewise.
13300 * localedata/vi_VN.UTF-8.in: Likewise.
13301 * localedata/yi_US.UTF-8.in: Likewise.
13302 * localedata/yo_NG.UTF-8.in: Likewise.
13303 * localedata/zh_CN.UTF-8.in: Likewise.
13304 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13305 file and fix bugs in the collation.
13306 * localedata/locales/az_AZ: Likewise.
13307 * localedata/locales/be_BY: Likewise.
13308 * localedata/locales/ber_DZ: Likewise.
13309 * localedata/locales/ber_MA: Likewise.
13310 * localedata/locales/bg_BG: Likewise.
13311 * localedata/locales/br_FR: Likewise.
13312 * localedata/locales/br_FR@euro: Likewise.
13313 * localedata/locales/ca_ES: Likewise.
13314 * localedata/locales/cns11643_stroke: Likewise.
13315 * localedata/locales/crh_UA: Likewise.
13316 * localedata/locales/cs_CZ: Likewise.
13317 * localedata/locales/csb_PL: Likewise.
13318 * localedata/locales/cv_RU: Likewise.
13319 * localedata/locales/cy_GB: Likewise.
13320 * localedata/locales/da_DK: Likewise.
13321 * localedata/locales/dz_BT: Likewise.
13322 * localedata/locales/en_CA: Likewise.
13323 * localedata/locales/eo: Likewise.
13324 * localedata/locales/es_CU: Likewise.
13325 * localedata/locales/es_EC: Likewise.
13326 * localedata/locales/es_ES: Likewise.
13327 * localedata/locales/es_US: Likewise.
13328 * localedata/locales/et_EE: Likewise.
13329 * localedata/locales/fa_IR: Likewise.
13330 * localedata/locales/fi_FI: Likewise.
13331 * localedata/locales/fil_PH: Likewise.
13332 * localedata/locales/fur_IT: Likewise.
13333 * localedata/locales/gez_ER@abegede: Likewise.
13334 * localedata/locales/ha_NG: Likewise.
13335 * localedata/locales/hr_HR: Likewise.
13336 * localedata/locales/hsb_DE: Likewise.
13337 * localedata/locales/hu_HU: Likewise.
13338 * localedata/locales/ig_NG: Likewise.
13339 * localedata/locales/ik_CA: Likewise.
13340 * localedata/locales/is_IS: Likewise.
13341 * localedata/locales/iso14651_t1_pinyin: Likewise.
13342 * localedata/locales/kk_KZ: Likewise.
13343 * localedata/locales/ku_TR: Likewise.
13344 * localedata/locales/ky_KG: Likewise.
13345 * localedata/locales/ln_CD: Likewise.
13346 * localedata/locales/lt_LT: Likewise.
13347 * localedata/locales/lv_LV: Likewise.
13348 * localedata/locales/mi_NZ: Likewise.
13349 * localedata/locales/ml_IN: Likewise.
13350 * localedata/locales/mn_MN: Likewise.
13351 * localedata/locales/mr_IN: Likewise.
13352 * localedata/locales/mt_MT: Likewise.
13353 * localedata/locales/nb_NO: Likewise.
13354 * localedata/locales/om_KE: Likewise.
13355 * localedata/locales/os_RU: Likewise.
13356 * localedata/locales/pl_PL: Likewise.
13357 * localedata/locales/ps_AF: Likewise.
13358 * localedata/locales/ro_RO: Likewise.
13359 * localedata/locales/ru_RU: Likewise.
13360 * localedata/locales/ru_UA: Likewise.
13361 * localedata/locales/sc_IT: Likewise.
13362 * localedata/locales/se_NO: Likewise.
13363 * localedata/locales/si_LK: Likewise.
13364 * localedata/locales/sq_AL: Likewise.
13365 * localedata/locales/sv_FI: Likewise.
13366 * localedata/locales/sv_FI@euro: Likewise.
13367 * localedata/locales/sv_SE: Likewise.
13368 * localedata/locales/szl_PL: Likewise.
13369 * localedata/locales/tg_TJ: Likewise.
13370 * localedata/locales/ti_ER: Likewise.
13371 * localedata/locales/tk_TM: Likewise.
13372 * localedata/locales/tl_PH: Likewise.
13373 * localedata/locales/tr_TR: Likewise.
13374 * localedata/locales/tt_RU: Likewise.
13375 * localedata/locales/tt_RU@iqtelif: Likewise.
13376 * localedata/locales/ug_CN: Likewise.
13377 * localedata/locales/uk_UA: Likewise.
13378 * localedata/locales/uz_UZ: Likewise.
13379 * localedata/locales/uz_UZ@cyrillic: Likewise.
13380 * localedata/locales/vi_VN: Likewise.
13381 * localedata/locales/yi_US: Likewise.
13382 * localedata/locales/yo_NG: Likewise.
13384 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13386 * gen-locales.mk: Make test files which contain @ modifiers in their
13388 * localedata/gen-locale.sh: Likewise.
13390 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13392 * posix/tst-fnmatch.input: Fix results for range expressions
13394 * posix/tst-regexloc.c: Do not use a range expression for
13395 de_DE.ISO-8859-1 locale.
13397 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13399 * posix/bug-regex5.c: Fix test case because with the new
13400 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13401 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13404 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13406 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13407 downloaded from ISO, the collation order of @-. and space has changed.
13408 Therefore, this test file needed to be adapted.
13409 * localedata/fr_CA.UTF-8.in: Likewise.
13410 * localedata/fr_FR.UTF-8.in: Likewise.
13411 * localedata/uk_UA.UTF-8.in: Likewise.
13413 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13415 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13416 order of ȥ in the new iso14651_t1_common file.
13417 * localedata/pl_PL.UTF-8.in: Likewise.
13419 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13421 * localedata/locales/iso14651_t1_common: Add sections for various
13422 scripts to the iso14651_t1_common file.
13424 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13426 * localedata/locales/iso14651_t1_common: Use the code point of a
13427 character in the fourth collation level instead of IGNORE for all
13428 entries which have IGNORE on all 4 levels.
13430 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13432 * localedata/locales/iso14651_t1_common: Add some convenient collation
13433 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13434 rules similar to those in CLDR.
13436 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13438 * localedata/locales/iso14651_t1_common: The new version of this
13439 file downloaded from ISO contained several syntax errors which
13440 are fixed by this patch.
13442 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13444 * localedata/locales/iso14651_t1_common: replace all <U.....>
13445 with <U000.....> because glibc understands only 4 digit or 8 digit
13447 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13449 * localedata/locales/iso14651_t1_common: Necessary changes
13450 to make the file downloaded from ISO usable by glibc.
13452 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13455 * localedata/locales/iso14651_t1_common: Update file to
13456 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13458 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13460 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13461 of <nptl/pthreadP.h>
13462 (thread_attr_compare): Move function to...
13463 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13464 * sysdeps/nptl/timer_routines.h: ... new header.
13465 * sysdeps/mach/hurd/gai_misc.h: New file.
13467 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13469 * string/strcoll_l.c: Include <libc-diag.h>.
13470 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13471 declarations of seq1 and seq2.
13474 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13475 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13477 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13482 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13483 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13484 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13485 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13486 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13488 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13491 macros used in __ptrace_request.
13493 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13496 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13499 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13503 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13506 * ctype/ctype.c (tolower): Use libc_hidden_def.
13507 (toupper): Likewise.
13508 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13509 [!_ISOMAC] (toupper): Likewise.
13511 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13513 * localedata/Makefile: Remove --quiet argument when
13516 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13519 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13521 * localedata/locales/pt_PT (LC_TIME): likewise
13523 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13526 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13527 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13528 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13530 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13534 * nptl/Makefile (routines): Remove unregister-atfork.
13535 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13536 (fork_handler_alloc): Remove function.
13537 (fork_handlers, fork_handler_init): New variables.
13538 (__fork_lock): Rename to atfork_lock.
13539 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13540 to use a dynamic array to add/remove atfork handlers.
13541 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13542 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13543 Remove declaration.
13544 (fork_handler): Remove next, refcntr, and need_signal member.
13545 (__run_fork_handler_type): New enum.
13546 (__run_fork_handlers): New prototype.
13547 * nptl/register-atfork.c: Remove file.
13548 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13550 * sysdeps/nptl/nptl-signals.h: Move to ...
13551 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13553 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13554 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13555 unnecessary check for SIGTIMER.
13556 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13557 remove unnecessary removal of SIGTIMER.
13558 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13559 include-signals.h rename.
13560 * nptl/pthreadP.h: Likewise.
13561 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13562 __is_internal_signal instead of __nptl_is_internal_signal.
13564 2018-02-22 Andrew Waterman <andrew@sifive.com>
13567 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13568 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13569 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13570 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13572 2018-02-22 DJ Delorie <dj@delorie.com>
13574 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13576 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13578 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13579 do_misaligned, not misaligned8.
13581 2018-02-22 Steve Ellcey <sellcey@cavium.com>
13583 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13584 Add memcpy_thunderx2.
13585 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13587 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13588 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13589 and IS_THUNDERX2PA checks.
13590 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13591 Use macro to set name appropriately.
13592 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13593 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13594 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13596 (IS_THUNDERX2): New macro.
13598 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13602 2018-02-21 Zack Weinberg <zackw@panix.com>
13604 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13605 Define here, unconditionally.
13606 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13607 * libio/libioP.h: Remove #if 0 blocks.
13608 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13609 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13610 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13612 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13613 Assume weak_alias is always defined.
13615 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13616 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13617 Remove #if 0 and #ifdef TODO blocks.
13618 Assume text_set_element is always defined.
13620 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13621 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13622 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13624 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13625 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13626 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13627 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13628 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13629 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13630 Reformat bit flags for _flags field to make occupancy clearer.
13632 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13633 Keep definitions consistent with those in libio/libio.h.
13635 * libio/libio.h (_IO_file_flags): Remove macro.
13636 All uses changed to _flags.
13638 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13639 (__HAVE_COLUMN, _IO_BE): Don't define.
13640 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13641 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13642 * libio/libioP.h (EOF): Don't define.
13643 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13644 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13645 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13646 testing _IO_UNIFIED_JUMPTABLES.
13648 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13649 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13650 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13651 (_IO_size_t): Delete; all uses changed to size_t.
13652 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13653 (_IO_off_t): Delete; all uses changed to off_t.
13654 (_IO_off64_t): Delete; all uses changed to off64_t.
13655 (_IO_pid_t): Delete; all uses changed to pid_t.
13656 (_IO_uid_t): Delete; all uses changed to uid_t.
13657 (_IO_wint_t): Delete; all uses changed to wint_t.
13658 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13659 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13660 (_IO_cookie_io_functions_t): Delete; all uses changed to
13661 cookie_io_functions_t.
13662 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13663 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13664 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13665 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13667 * libio/iofopncook.c: Remove unnecessary forward declarations.
13668 * libio/iolibio.h: Correct outdated commentary.
13669 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13670 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13671 Remove unnecessary casts.
13672 * stdio-common/getline.c: Use _IO_getdelim directly.
13673 Don't redefine ssize_t.
13674 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13675 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13676 Remove outdated comments.
13677 * stdio-common/vfscanf.c: Don't redefine va_list.
13679 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13680 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13681 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13682 which are always true, and __cplusplus, which is always false.
13684 2018-02-21 Joseph Myers <joseph@codesourcery.com>
13688 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13689 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13690 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13691 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13693 [!_ISOMAC] (putc_unlocked): Likewise.
13694 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13695 define inline if [__USE_EXTERN_INLINES].
13696 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13701 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13702 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13703 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13704 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13705 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13707 * time/tzfile.c (__tzfile_read): Likewise.
13709 2018-02-21 Mike FABIAN <mfabian@redhat.com>
13712 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13714 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13716 * io/fcntl.h: Fix a typo in a comment.
13718 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13721 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13722 define _DEFAULT_SOURCE.
13723 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13725 2018-02-21 Florian Weimer <fweimer@redhat.com>
13728 * elf/cache.c (save_cache): Call fsync on temporary file before
13730 (save_aux_cache): Call fdatasync on temporary file before renaming
13733 2018-02-21 Florian Weimer <fweimer@redhat.com>
13736 * include/caller.h: Remove file.
13737 * elf/dl-caller.c: Likewise.
13738 * elf/Makefile (dl-routines): Remove dl-caller.
13739 (shared-only-routines): Do not add dl-caller.
13740 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13742 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13744 (dl_open_worker): Do not call __check_caller.
13745 (_dl_open): Do not set caller_dl_open member.
13746 * elf/rtld.c (_rtld_global_ro): Do not initialize
13747 _dl_check_caller member.
13748 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13749 _dl_check_caller member.
13750 (_dl_check_caller): Remove declaration.
13751 * sysdeps/unix/sysv/linux/dl-execstack.c
13752 (_dl_make_stack_executable): Do not call __check_caller.
13754 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
13757 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
13759 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13761 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13764 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13767 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13768 of 199606L, 200112L, and 200809L.
13769 (_XOPEN_SOURCE): Document special values of 600 and 700.
13770 (_ISOC11_SOURCE): Document macro.
13771 (_ATFILE_SOURCE): Likewise.
13772 (_FORTIFY_SOURCE): Likewise.
13774 2018-02-19 Joseph Myers <joseph@codesourcery.com>
13778 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13779 and define as weak alias of __ferror_unlocked. Use
13781 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13783 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13784 function if [__USE_EXTERN_INLINES].
13785 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13788 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
13791 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13793 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13796 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13797 the GLIBC_2.1 version.
13799 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13802 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
13803 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
13804 intl/tst-gettext-de.po from po/de.po by removing the
13805 POT-Creation-Date line.
13806 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
13808 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
13811 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13813 * mach/Makefile (headers): Add mach/param.h.
13814 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
13815 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
13816 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
13817 (__ptsname_r): Move implementation to...
13818 (__ptsname_internal): ... new function. Add filling the STP
13821 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
13823 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
13826 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
13828 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
13831 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13833 * nptl/Makefile (tst-mutex8-ENV): Delete.
13834 * nptl/tst-mutex8.c (check_type):
13835 Add runtime check if mutex will be elided.
13837 2018-02-15 Joseph Myers <joseph@codesourcery.com>
13841 * manual/install.texi (Configuring and compiling): Describe
13842 passing CC and CFLAGS on configure command line, not as
13843 environment variables. Use @code markup on those variables.
13844 Specify what options go in CC and what go in CFLAGS. Note the
13845 requirement to compile with optimization.
13846 * INSTALL: Regenerated.
13849 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
13850 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
13851 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
13852 __sigprocmask instead of sigprocmask.
13853 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
13855 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
13856 __sigsetjmp and sigprocmask.
13859 * include/argz.h (argz_next): Use libc_hidden_proto.
13860 (__argz_next): Likewise.
13861 * string-argz-next.c (__argz_next): Use libc_hidden_def.
13862 (argz_next): Use libc_hidden_weak.
13865 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
13867 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
13871 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
13873 * libio/iofputs.c (fputs): Use libc_hidden_weak.
13877 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
13878 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
13879 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
13880 (__feof_unlocked): New declaration, and inline function if
13881 [__USE_EXTERN_INLINES].
13882 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
13883 instead of feof_unlocked.
13884 * intl/localealias.c [_LIBC] (FEOF): Likewise.
13885 * nss/nsswitch.c (nss_parse_file): Likewise.
13886 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
13888 * time/getdate.c (__getdate_r): Likewise.
13889 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
13890 Define as macro to call __feof_unlocked.
13892 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13894 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
13896 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13898 * math/Makefile: Remove mpexp.c and mplog.c
13899 * sysdeps/i386/fpu/mpexp.c: Delete file.
13900 * sysdeps/i386/fpu/mplog.c: Likewise.
13901 * sysdeps/ia64/fpu/mpexp.c: Likewise.
13902 * sysdeps/ia64/fpu/mplog.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
13904 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
13905 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
13906 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13907 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
13908 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
13909 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
13910 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
13911 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13913 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
13914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13915 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13916 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
13917 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13918 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13920 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13922 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13924 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13926 * sysdeps/sh/libm-test-ulps: Update.
13928 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13930 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
13933 2018-02-12 Zack Weinberg <zackw@panix.com>
13936 * posix/sys/types.h: Don't include sys/sysmacros.h.
13937 * misc/sys/sysmacros.h: Remove the conditional deprecation
13938 warnings for the macros defined by this header.
13940 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13942 * manual/probes.texi: Remove slowexp probes.
13943 * math/Makefile: Remove slowexp.
13944 * sysdeps/generic/math_private.h (__slowexp): Remove.
13945 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
13946 document error bounds.
13947 * sysdeps/i386/fpu/slowexp.c: Remove.
13948 * sysdeps/ia64/fpu/slowexp.c: Remove.
13949 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
13950 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
13951 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
13952 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
13953 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
13954 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
13955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
13956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
13957 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
13958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
13959 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
13961 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
13964 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
13965 * benchtests/pow-inputs: Update comment for slow path cases.
13966 * manual/probes.texi (slowpow_p10): Delete removed probe.
13967 (slowpow_p10): Likewise.
13968 * math/Makefile: Remove halfulp.c and slowpow.c.
13969 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
13970 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
13971 (__halfulp): Remove.
13972 (__slowpow): Remove.
13973 * sysdeps/i386/fpu/halfulp.c: Delete file.
13974 * sysdeps/i386/fpu/slowpow.c: Likewise.
13975 * sysdeps/ia64/fpu/halfulp.c: Likewise.
13976 * sysdeps/ia64/fpu/slowpow.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
13978 improve comments and add error analysis.
13979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
13980 (power1): Remove function:
13981 (log1): Remove error argument, add error analysis.
13982 (my_log2): Remove function.
13983 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
13984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13985 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
13986 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
13987 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
13989 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
13990 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
13991 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
13992 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
13993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
13994 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13995 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13996 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13998 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14000 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14001 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14003 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14006 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14007 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14008 and PTRACE_SETHBPREGS.
14010 2018-02-10 Zack Weinberg <zackw@panix.com>
14013 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14015 * malloc/tst-malloc-stats-cancellation.c: New test case.
14016 * malloc/Makefile: Add new test case.
14018 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14020 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14022 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14024 * math/Makefile (libm-narrow-fns): Add add.
14025 (libm-test-funcs-narrow): Likewise.
14026 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14027 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14028 * math/gen-auto-libm-tests.c (test_functions): Add add.
14029 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14030 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14031 (NARROW_ADD_TRIVIAL): Likewise.
14032 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14034 (__daddl): Likewise.
14035 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14037 (CFLAGS-nldbl-dadd.c): New variable.
14038 (CFLAGS-nldbl-fadd.c): Likewise.
14039 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14043 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14044 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14045 * math/auto-libm-test-in: Add tests of add.
14046 * math/auto-libm-test-out-narrow-add: New generated file.
14047 * math/libm-test-narrow-add.inc: New file.
14048 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14051 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14052 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14053 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14062 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14063 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14064 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14065 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14067 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14095 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14096 (f128-pairs): New variable.
14097 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14098 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14100 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14101 Also make tests add $(f128-loader-link) to gnulib-tests.
14103 2018-02-09 DJ Delorie <dj@redhat.com>
14106 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14107 64-bit ELF type for 64-bit ELF objects.
14109 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14111 * math/libm-test-driver.c (snan_tests_arg): New variable.
14112 * math/libm-test-support.h (snan_tests_arg): New declaration.
14113 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14115 * math/Makefile (test-type-pairs): New variable.
14116 (test-type-pairs-f64xf128-yes): Likewise.
14117 (tests): Add test-narrow-macros.
14118 (libm-test-funcs-narrow): New variable.
14119 (libm-test-c-narrow): Likewise.
14120 (generated): Add $(libm-test-c-narrow).
14121 (libm-tests-base-narrow): New variable.
14122 (libm-tests-narrow): Likewise.
14123 (libm-tests): Add $(libm-tests-narrow).
14124 (libm-tests-for-type): Handle $(libm-tests-narrow).
14125 (libm-test-c-narrow-obj): New variable.
14126 ($(libm-test-c-narrow-obj)): New rule.
14127 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14128 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14129 $(o-iterator) to set dependencies and CFLAGS.
14130 * math/gen-auto-libm-tests.c: Document use for narrowing
14132 (output_for_one_input_case): Take argument NARROW.
14133 (generate_output): Likewise. Update call to
14134 output_for_one_input_case.
14135 (main): Take --narrow option. Update call to generate_output.
14136 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14137 (apply_lit): Update call to _apply_lit.
14138 (apply_arglit): New function.
14139 (parse_args): Handle "a" arguments.
14140 (parse_auto_input): Handle format names using ":".
14141 * math/README.libm-test: Document "a" parameter type.
14142 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14143 (ARG_TYPE_TRUE_MIN): Likewise.
14144 (ARG_TYPE_MAX): Likwise.
14145 (ARG_MIN_EXP): Likewise.
14146 (ARG_MAX_EXP): Likewise.
14147 (ARG_MANT_DIG): Likewise.
14148 (TEST_COND_arg_ibm128): Likewise.
14149 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14150 (TEST_COND_arg_fmt): New macro.
14151 (init_max_error): Update prototype.
14152 * math/libm-test-support.c (test_ibm128): New variable.
14153 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14154 instead of using [TEST_COND_ibm128] conditional.
14155 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14156 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14157 [TEST_NARROW] (TEST_MSG): New definition.
14158 (arg_plus_zero): New macro.
14159 (arg_minus_zero): Likewise.
14160 (arg_plus_infty): Likewise.
14161 (arg_minus_infty): Likewise.
14162 (arg_qnan_value_pl): Likewise.
14163 (arg_qnan_value): Likewise.
14164 (arg_snan_value_pl): Likewise.
14165 (arg_snan_value): Likewise.
14166 (arg_max_value): Likewise.
14167 (arg_min_value): Likewise.
14168 (arg_min_subnorm_value): Likewise.
14169 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14170 (RUN_TEST_LOOP_aa_f): New macro.
14171 (TEST_SUFF): New macro.
14172 (TEST_SUFF_STR): Likewise.
14173 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14174 (TEST_COND_any_ibm128): New macro.
14175 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14176 this_func. Update call to init_max_error.
14177 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14178 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14179 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14180 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14181 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14182 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14183 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14184 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14185 * math/test-math-vector.h (TEST_NARROW): Likewise.
14186 * math/test-arg-double.h: New file.
14187 * math/test-arg-float128.h: Likewise.
14188 * math/test-arg-float32x.h: Likewise.
14189 * math/test-arg-float64.h: Likewise.
14190 * math/test-arg-float64x.h: Likewise.
14191 * math/test-arg-ldouble.h: Likewise.
14192 * math/test-math-narrow.h: Likewise.
14193 * math/test-narrow-macros.c: Likewise.
14194 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14195 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14196 test-narrow-macros-ldbl-64.
14197 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14199 * math/bits/mathcalls-narrow.h: New file.
14200 * include/bits/mathcalls-narrow.h: Likewise.
14201 * math/math-narrow.h: Likewise.
14202 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14203 (__MATHCALL_NARROW_ARGS_2): Likewise.
14204 (__MATHCALL_NARROW_ARGS_3): Likewise.
14205 (__MATHCALL_NARROW_NORMAL): Likewise.
14206 (__MATHCALL_NARROW_REDIR): Likewise.
14207 (__MATHCALL_NARROW): Likewise.
14208 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14209 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14211 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14212 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14213 (libm-narrow-fns): New variable.
14214 (libm-narrow-types-basic): Likewise.
14215 (libm-narrow-types-ldouble-yes): Likewise.
14216 (libm-narrow-types-float128-yes): Likewise.
14217 (libm-narrow-types-float128-alias-yes): Likewise.
14218 (libm-narrow-types): Likewise.
14219 (libm-routines): Add narrowing functions.
14220 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14221 (libc_feholdexcept_setroundf128): New macro.
14222 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14223 * sysdeps/ieee754/float128/float128_private.h: Include
14224 <math/math-narrow.h>.
14225 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14226 Undefine and redefine.
14227 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14228 (libm_alias_float_ldouble): Undefine and redefine.
14229 (libm_alias_double_ldouble): Likewise.
14231 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14233 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14235 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14238 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14240 * manual/creature.texi: Convert references to gcc.info to gcc.
14241 * manual/stdio.texi: Likewise.
14242 * manual/string.texi: Likewise.
14244 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14247 * posix/bits/types.h (__int_least8_t): New typedef.
14248 (__uint_least8_t): Likewise.
14249 (__int_least16_t): Likewise.
14250 (__uint_least16_t): Likewise.
14251 (__int_least32_t): Likewise.
14252 (__uint_least32_t): Likewise.
14253 (__int_least64_t): Likewise.
14254 (__uint_least64_t): Likewise.
14255 * sysdeps/generic/stdint.h (int_least8_t): Define using
14257 (int_least16_t): Define using __int_least16_t.
14258 (int_least32_t): Define using __int_least32_t.
14259 (int_least64_t): Define using __int_least64_t.
14260 (uint_least8_t): Define using __uint_least8_t.
14261 (uint_least16_t): Define using __uint_least16_t.
14262 (uint_least32_t): Define using __uint_least32_t.
14263 (uint_least64_t): Define using __uint_least64_t.
14264 * wcsmbs/uchar.h: Include <bits/types.h>.
14265 (char16_t): Define using __uint_least16_t conditional only on
14267 (char32_t): Define using __uint_least32_t conditional only on
14269 * wcsmbs/test-char-types.c: New file.
14270 * wcsmbs/Makefile (tests): Add test-char-types.
14272 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14275 2018-02-07 Zack Weinberg <zackw@panix.com>
14277 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14278 Delete all contents except for definitions of _G_HAVE_MMAP and
14279 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14280 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14281 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14284 * libio/libio.h: Don't include bits/_G_config.h here.
14285 Include stddef.h with __need_wchar_t defined. Include
14286 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14287 Define _IO_iconv_t here, directly.
14288 Don't define _IO_HAVE_ST_BLKSIZE.
14289 * libio/libioP.h: Include _G_config.h here. Move include of
14290 shlib-compat.h up with rest of includes. Simplify conditionals
14291 controlling definition of _IO_JUMPS_OFFSET.
14293 * csu/init.c: Remove always-true #if around entire file.
14294 Don't include stdio.h. Set _IO_stdin_used to hardwired
14295 constant 0x20001, and update commentary.
14296 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14297 Replace all uses of _G_va_list with __gnuc_va_list.
14298 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14299 instead of #if _IO_HAVE_ST_BLKSIZE.
14300 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14301 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14304 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14305 multiple-include guard to match.
14306 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14308 Remove preprocessor conditionals that are always true and/or
14309 redundant to other preprocessor conditionals in the same nest.
14310 Include shlib-compat.h unconditionally.
14311 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14312 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14313 defined after including stdio.h.
14314 Use __BEGIN_DECLS/__END_DECLS.
14316 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14317 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14318 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14320 2018-02-07 Zack Weinberg <zackw@panix.com>
14322 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14323 New single-type headers split from _G_config.h.
14324 * libio/bits/types/cookie_io_functions_t.h
14325 * libio/bits/types/struct_FILE.h
14326 New single-type headers split from libio.h.
14328 * libio/Makefile: Install the above new headers. Don't install
14329 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14331 * libio/_G_config.h, libio/libio.h: Delete file.
14333 * libio/bits/libio.h: Remove improper-inclusion guard.
14334 Include stdio.h and don't repeat anything that it does.
14335 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14336 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14337 __io_read_fn as cookie_read_function_t,
14338 __io_write_fn as cookie_write_function_t,
14339 __io_seek_fn as cookie_seek_function_t,
14340 __io_close_fn as cookie_close_function_t,
14341 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14342 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14343 here, in the "compatibility defines" section. Remove an #if 0
14344 block. Use the "body" macros from bits/types/struct_FILE.h to
14345 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14346 and _IO_ferror_unlocked.
14347 Move prototypes of __uflow and __overflow...
14349 * libio/stdio.h: ...here. Don't include bits/libio.h.
14350 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14351 directly from stdarg.h. Include bits/types/__fpos_t.h,
14352 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14353 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14354 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14355 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14356 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14357 __ssize_t, not _IO_ssize_t. Unconditionally define
14358 BUFSIZ as 8192 and EOF as (-1).
14360 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14361 macros from bits/types/struct_FILE.h instead of _IO_* macros
14362 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14363 instead of _IO_ssize_t.
14364 * libio/bits/stdio2.h: Similarly.
14366 * libio/iolibio.h: Add multiple-include guard.
14367 Include bits/libio.h after stdio.h.
14368 * libio/libioP.h: Add multiple-include guard.
14369 Include stdio.h and bits/libio.h before iolibio.h.
14371 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14372 * include/bits/types/cookie_io_functions_t.h
14373 * include/bits/types/struct_FILE.h: New wrappers.
14375 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14376 Get definitions of _G_fpos_t and _G_fpos64_t from
14377 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14378 respectively. Remove improper-inclusion guards.
14380 * conform/data/stdio.h-data: Update expectations of va_list.
14381 * scripts/check-installed-headers.sh: Remove special case for
14382 libio.h and _G_config.h.
14384 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14388 * include/sys/sysmacros.h [!_ISOMAC]
14389 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14390 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14391 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14392 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14394 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14395 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14397 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14398 Undefine and redefine to add use __gnu_dev_ prefix.
14399 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14401 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14402 and define as hidden inline function.
14403 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14405 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14407 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14408 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14409 (gnu_dev_minor): Likewise.
14410 (gnu_dev_makedev): Likewise.
14411 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14413 * posix/wordexp.c (exec_comm_child): Likewise.
14414 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14415 instead of minor and __gnu_dev_major instead of major.
14416 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14417 __gnu_dev_major instead of major.
14418 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14419 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14420 instead of gnu_dev_minor.
14421 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14422 (SLAVE_P): Likewise.
14423 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14424 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14428 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14430 * locale/weightwc.h (findidx): Likewise.
14432 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14434 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14435 (slowlog_inexact): Likewise
14436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14437 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14439 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14442 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14443 missing second underscore to parameter name.
14445 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14451 * bits/byteswap.h: Update file comment. Do not include
14452 <bits/byteswap-16.h>.
14453 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14455 (__bswap_16): Define as inline function.
14456 (__bswap_constant_32): Reformat definition.
14457 (__bswap_32): Always define as inline function, not macro, using
14458 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14459 otherwise __bswap_constant_32.
14460 (__bswap_constant_64): Reformat definition. Do not use
14461 __extension__ here.
14462 (__bswap_64): Always define as inline function, not macro. Use
14463 __extension__ on function definition. Use __builtin_bswap64 if
14464 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14465 * string/test-endian-file-scope.c: New file.
14466 * string/test-endian-sign-conversion.c: Likewise.
14467 * string/Makefile (headers): Remove bits/byteswap-16.h.
14468 (tests): Add test-endian-file-scope and
14469 test-endian-sign-conversion.
14470 (CFLAGS-test-endian-sign-conversion.c): New variable.
14471 * bits/byteswap-16.h: Remove file.
14472 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14473 * sysdeps/ia64/bits/byteswap.h: Likewise.
14474 * sysdeps/m68k/bits/byteswap.h: Likewise.
14475 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14476 * sysdeps/s390/bits/byteswap.h: Likewise.
14477 * sysdeps/tile/bits/byteswap.h: Likewise.
14478 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14479 * sysdeps/x86/bits/byteswap.h: Likewise.
14482 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14483 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14484 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14485 199901L] (__restrict): Define to restrict.
14488 * string/testcopy.c: Include <support/support.h>. Do not include
14489 <malloc.h>. Use <support/test-driver.c>.
14490 (main): Rename to do_test. Make static. Use xmalloc instead of
14494 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14495 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14496 (SSIZE_MAX): Define to INT_MAX.
14497 * posix/test-ssize-max.c: New file.
14498 * posix/Makefile (tests): Add test-ssize-max.
14501 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14502 <support/support.h>. Do not include <malloc.h>.
14503 (query_auxv): Use xmalloc instead of malloc.
14506 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14507 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14510 2018-02-06 Florian Weimer <fweimer@redhat.com>
14513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14514 Use scratch_buffer instead of extend_alloca.
14516 2018-02-06 Zack Weinberg <zackw@panix.com>
14518 * libio/stdio.h: Don't define getc or putc as macros.
14519 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14520 not _IO_getc and _IO_putc.
14522 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14523 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14525 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14527 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14528 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14530 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14533 * elf/elf.h (NT_PRFPREG): New macro.
14534 (NT_S390_VXRS_LOW): Likewise.
14535 (NT_S390_VXRS_HIGH): Likewise.
14536 (NT_S390_GS_CB): Likewise.
14537 (NT_S390_GS_BC): Likewise.
14538 (NT_S390_RI_CB): Likewise.
14540 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14541 (MAP_SYNC): New macro.
14542 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14544 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14545 (MAP_SYNC): Likewise.
14546 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14547 (MAP_SYNC): Likewise.
14548 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14549 (MAP_SYNC): Likewise.
14550 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14551 (MAP_SYNC): Likewise.
14552 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14553 (MAP_SYNC): Likewise.
14554 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14555 (MAP_SYNC): Likewise.
14556 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14558 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14561 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14562 (MAP_SHARED_VALIDATE): New macro.
14563 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14564 (MAP_SHARED_VALIDATE): Likewise.
14566 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14568 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14569 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14570 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14572 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14574 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14575 (DT_NUM): Updated to 35.
14577 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14580 __builtin_expect with __glibc_likely and __glibc_unlikely.
14581 (elf_machine_rela): Likewise.
14582 (elf_machine_lazy_rel): Likewise.
14584 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
14587 __builtin_expect with __glibc_likely and __glibc_unlikely.
14588 (elf_machine_lazy_rel): Likewise.
14590 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14593 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14595 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
14597 2018-02-05 Andreas Schwab <schwab@suse.de>
14600 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14603 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14605 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14606 not check against PTHREAD_STACK_MIN.
14608 2018-02-02 Sean McKean <smckean83@gmail.com>
14611 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14613 2018-02-02 Florian Weimer <fweimer@redhat.com>
14616 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14617 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14618 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14619 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14620 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14621 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14622 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14623 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14624 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14625 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14626 * misc/tst-preadvwritev2.c (do_test): Call it.
14627 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14629 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14631 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14633 * benchtests/bench-memcmp.c: Print json instead of plain text.
14635 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14638 2018-02-01 Joseph Myers <joseph@codesourcery.com>
14640 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14642 (s390_sthyi): New syscall.
14644 * sysdeps/generic/ldbl-classify-compat.h: New file.
14645 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14646 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14647 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14648 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14649 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14650 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14652 <ldbl-classify-compat.h>.
14653 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14654 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14655 <ldbl-classify-compat.h>.
14656 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14657 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14658 <ldbl-classify-compat.h>.
14659 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14660 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14661 <ldbl-classify-compat.h>.
14662 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14664 <ldbl-classify-compat.h>.
14665 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14667 <ldbl-classify-compat.h>.
14668 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14669 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14670 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14671 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14672 * sysdeps/microblaze/math_private.h: Likewise.
14673 * sysdeps/nios2/math_private.h: Likewise.
14674 * sysdeps/sh/math_private.h: Likewise.
14676 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14677 * sysdeps/m68k/coldfire/math_private.h: ... here.
14678 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14679 * sysdeps/tile/math_private.h: Likewise.
14680 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14682 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14685 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14687 (libc_fetestexcept): Likewise.
14688 (libc_feupdateenv_test): Likewise.
14689 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14690 (libc_fetestexcept): Likewise.
14691 (libc_feupdateenv_test): Likewise.
14692 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14693 (libc_fetestexcept): Likewise.
14694 (libc_feupdateenv_test): Likewise.
14695 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14696 (libc_fetestexcept): Likewise.
14697 (libc_feupdateenv_test): Likewise.
14699 * sysdeps/generic/math_private.h
14700 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14701 New inline function.
14702 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14705 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14706 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14707 * sysdeps/generic/math_private.h
14708 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14710 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14712 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14714 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14716 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14718 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14720 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14721 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14722 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14723 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14724 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14725 (__fegetenv): Likewise.
14726 (fesetenv): Likewise.
14727 (__fesetenv): Likewise.
14728 (feupdateenv): Likewise.
14729 (__feupdateenv): Likewise.
14730 (fegetround): Likewise.
14731 (__fegetround): Likewise.
14732 (fesetround): Likewise.
14733 (__fesetround): Likewise.
14735 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14736 (feraiseexcept): New macro.
14737 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14738 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14740 (__feraiseexcept): Likewise.
14741 (feclearexcept): Likewise.
14742 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14743 (__feraiseexcept): Likewise.
14744 (feclearexcept): Likewise.
14745 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14746 (__feraiseexcept): Likewise.
14747 (feclearexcept): Likewise.
14748 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14749 (__feraiseexcept): Likewise.
14750 (feclearexcept): Likewise.
14751 (fetestexcept): Likewise.
14753 * sysdeps/m68k/coldfire/math-tests.h: New file.
14755 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14756 * sysdeps/m68k/bits/fenv.h: ... here.
14757 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14759 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14761 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14763 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14765 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14767 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14769 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14770 (__FE_UNDEFINED): New enum constant.
14771 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14773 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14775 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14777 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14778 to match generic bits/fenv.h.
14779 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14782 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14784 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14785 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14786 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14787 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14789 2018-02-01 Carlos O'Donell <carlos@redhat.com>
14790 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14791 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14795 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14796 computation using c.
14797 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14798 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
14799 computation using c.
14801 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14803 * version.h (RELEASE): Set to "development".
14804 (VERSION): Set to "2.27.9000".
14805 * NEWS (2.28): New section.
14807 * version.h (RELEASE): Set to "stable".
14808 (VERSION): Set to "2.27".
14809 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
14811 * NEWS: Add the list of bugs fixed in 2.27.
14813 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14815 * stdlib/test-atexit-race-common.c (do_test): Check stack size
14816 against PTHREAD_STACK_MIN.
14818 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14820 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
14822 (Rafal Luzynski, Andreas Schwab): Update.
14824 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
14827 * NEWS: List the languages which actually use the alternative
14828 months feature in this release. Also explain that "alt_mon" and
14829 "ab_alt_mon" are optional.
14831 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
14834 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
14836 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
14838 * manual/install.texi (Tools for Compilation): Update the newest
14839 versions of gcc, binutils, texinfo, gawk, bison, and sed.
14840 * INSTALL: Regenerated.
14842 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14844 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
14845 instead of __builtin_expect.
14847 2018-01-30 Florian Weimer <fweimer@redhat.com>
14849 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
14851 * nss/tst-nss-getpwent.c (do_test): Likewise.
14853 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
14856 * localedata/locales/hr_HR (mon): Rename to...
14858 (mon): Import from CLDR (genitive case).
14859 (d_t_fmt): Update the comment.
14861 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
14863 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
14864 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
14865 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
14867 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14869 * mach/Versions: Fix version when __mach_host_self_ was added.
14870 * hurd/Versions: Fix version when _hurd_exec_paths was added.
14871 * sysdeps/mach/hurd/i386/ld.abilist: New file.
14872 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
14873 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
14874 * sysdeps/mach/hurd/i386/libc.abilist: New file.
14875 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
14876 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
14877 * sysdeps/mach/hurd/i386/libm.abilist: New file.
14878 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
14879 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
14880 * sysdeps/mach/hurd/i386/librt.abilist: New file.
14881 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
14882 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
14883 || to respect codestyle.
14884 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
14885 (do_test_bz20181): Rename accordingly.
14886 * malloc/malloc.c: Include <assert.h>.
14887 (assert): Do not define.
14888 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
14889 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
14890 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
14891 * sysdeps/mach/hurd/hp-timing.h: New file.
14892 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
14894 2018-01-29 Darius Rad <darius@bluespec.com>
14896 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
14898 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
14900 * sysdeps/init_array/crti.S (.section .init_array): Add
14901 PREINIT_FUNCTION when defined.
14902 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
14903 * config.h.in: Regenerate.
14904 * manual/platform.texi: Add RISC-V documenation for
14905 __riscv_flush_icache.
14906 * sysdeps/riscv/__longjmp.S: New file.
14907 * sysdeps/riscv/backtrace.c: Likewise.
14908 * sysdeps/riscv/bits/endian.h: Likewise.
14909 * sysdeps/riscv/bits/setjmp.h: Likewise.
14910 * sysdeps/riscv/bits/wordsize.h: Likewise.
14911 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
14912 * sysdeps/riscv/bsd-setjmp.c: Likewise.
14913 * sysdeps/riscv/dl-trampoline.S: Likewise.
14914 * sysdeps/riscv/gccframe.h: Likewise.
14915 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
14916 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
14917 * sysdeps/riscv/machine-gmon.h: Likewise.
14918 * sysdeps/riscv/memusage.h: Likewise.
14919 * sysdeps/riscv/setjmp.S: Likewise.
14920 * sysdeps/riscv/sys/asm.h: Likewise.
14921 * sysdeps/riscv/tls-macros.h: Likewise.
14922 * sysdeps/riscv/dl-tls.h: New file.
14923 * sysdeps/riscv/libc-tls.c: Likewise.
14924 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
14925 * sysdeps/riscv/nptl/tls.h: Likewise.
14926 * sysdeps/riscv/stackinfo.h: Likewise.
14927 * sysdeps/riscv/bits/fenv.h: New file.
14928 * sysdeps/riscv/e_sqrtl.c: Likewise.
14929 * sysdeps/riscv/fpu_control.h: Likewise.
14930 * sysdeps/riscv/math-tests.h: Likewise.
14931 * sysdeps/riscv/nofpu/Implies: Likewise.
14932 * sysdeps/riscv/sfp-machine.h: Likewise.
14933 * sysdeps/riscv/tininess.h: Likewise.
14934 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
14935 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
14936 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
14937 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
14938 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
14939 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
14940 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
14941 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
14942 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
14943 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
14944 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
14945 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
14946 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
14947 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
14948 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
14949 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
14950 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
14951 * sysdeps/riscv/rvd/s_finite.c: Likewise.
14952 * sysdeps/riscv/rvd/s_fma.c: Likewise.
14953 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
14954 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
14955 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
14956 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
14957 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
14958 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
14959 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
14960 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
14961 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
14962 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
14963 * sysdeps/riscv/rvf/fegetround.c: Likewise.
14964 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
14965 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
14966 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
14967 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
14968 * sysdeps/riscv/rvf/fesetround.c: Likewise.
14969 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
14970 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
14971 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
14972 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
14973 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
14974 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
14975 * sysdeps/riscv/rvf/math_private.h: Likewise.
14976 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
14977 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
14978 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
14979 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
14980 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
14981 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
14982 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
14983 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
14984 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
14985 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
14986 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
14987 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
14988 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
14989 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
14990 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
14991 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
14992 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
14993 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
14994 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
14995 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
14996 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
14997 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14998 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
14999 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15000 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15001 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15002 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15003 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15004 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15005 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15006 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15007 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15008 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15009 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15010 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15011 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15012 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15013 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15014 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15015 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15016 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15017 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15018 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15019 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15020 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15021 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15022 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15023 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15024 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15025 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15026 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15027 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15028 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15029 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15030 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15031 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15032 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15033 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15034 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15035 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15036 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15044 * sysdeps/riscv/Implies: New file.
15045 * sysdeps/riscv/Makefile: Likewise.
15046 * sysdeps/riscv/configure: Likewise.
15047 * sysdeps/riscv/configure.ac: Likewise.
15048 * sysdeps/riscv/nptl/Makefile: Likewise.
15049 * sysdeps/riscv/preconfigure: Likewise.
15050 * sysdeps/riscv/rv64/Implies-after: Likewise.
15051 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15052 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15053 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15054 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15055 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15056 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15057 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15058 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15059 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15060 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15061 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15062 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15063 (Config): Likewise.
15065 2018-01-29 Florian Weimer <fweimer@redhat.com>
15068 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15069 libnsl_hidden_proto.
15070 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15071 libnsl_hidden_proto.
15072 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15073 * nis/Makefile (libnsl-routines): Add nss-default only for
15074 build-obsolete-nsl.
15075 * nis/nis_defaults.c (__nis_default_ttl): Add
15076 libnsl_hidden_nolink_def.
15077 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15079 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15080 * nis/ypclnt.c (yp_maplist): Likewise.
15082 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15085 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15087 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15089 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15090 clean -dxfq for git updates when replacing sources.
15092 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15093 --disable-libcilkrts unconditionally, not just for the final GCC
15096 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15099 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15102 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15105 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15108 * localedata/locales/be_BY (mon): Rename to...
15109 (alt_mon): This, then synchronize with CLDR (nominative case).
15110 (abmon): Rename to...
15111 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15112 (mon): Import from CLDR (genitive case).
15114 * localedata/locales/be_BY@latin (mon): Rename to...
15116 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15118 * localedata/locales/be_BY@latin (lang_name): Reworded to
15119 "biełaruskaja mova".
15121 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15124 * localedata/locales/el_CY (mon): Renamed to...
15126 (mon): Import from CLDR (genitive case).
15127 * localedata/locales/el_GR: Likewise.
15129 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15132 * localedata/locales/ru_RU (mon): Rename to...
15134 (abmon): Rename to...
15135 (ab_alt_mon): This.
15136 (mon): Import from CLDR (genitive case).
15137 (abmon): Copy from the old content except the 5th month which is
15138 now in the genitive case, even when abbreviated.
15139 * localedata/locales/ru_UA: Likewise.
15140 * time/tst-strptime.c (day_tests): Add an actual example of
15141 a difference between %b and %Ob in Russian.
15143 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15145 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15146 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15148 * resolv/res-close.c: Include <stdlib.h>.
15149 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15150 <sys/wait.h>, <time.h>, <sys/uio.h>.
15151 (NOT_CANCEL_H): Add inclusion guard.
15152 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15153 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15154 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15156 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15157 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15158 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15160 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15161 timer_ptr2id to cast struct timer_node * to void *.
15162 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15163 --disable-libcilkrts to gcc configure.
15164 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15165 and make them the default for now.
15166 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15167 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15168 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15169 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15170 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15172 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15173 __task_terminate would ever return successfully.
15174 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15176 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15177 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15178 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15179 critical section to make code simpler and avoid warning.
15180 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15181 critical section to make code simpler and avoid warning.
15182 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15183 const char * instead of char *.
15184 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15185 __hurd_file_name_split, hurd_file_name_split,
15186 __hurd_directory_name_split, hurd_directory_name_split,
15187 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15188 hurd_file_name_path_lookup): Make lookup function parameter take a
15189 const char *name instead of char *name.
15190 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15191 __hurd_directory_name_split): Likewise.
15192 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15193 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15194 * sysdeps/mach/hurd/check_native.c: New file.
15195 * sysdeps/mach/hurd/check_pf.c: New file.
15196 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15197 (__freeifaddrs): Define macro to freeifaddrs.
15198 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15199 * sysdeps/mach/libmachuser.abilist: New file.
15200 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15201 (do_test_bz20181): Rename accordingly.
15202 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15203 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15205 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15206 version only if __USE_EXTERN_INLINES is defined.
15207 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15208 __hurd_sockfail): Likewise.
15209 (_hurd_fd_get): Always declare functions, and provide inline versions
15210 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15211 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15212 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15213 _hurd_port_set): Always declare functions, and provide inline versions
15214 only if __USE_EXTERN_INLINES and _LIBC are defined and
15216 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15217 _hurd_critical_section_unlock): Likewise.
15218 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15219 * __hurd_threadvar_location): Likewise.
15220 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15221 _hurd_userlink_clear): Likewise.
15222 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15223 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15224 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15225 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15226 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15227 __spin_lock_locked): Likewise.
15228 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15229 __spin_lock_locked): Likewise.
15230 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15231 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15232 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15233 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15234 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15235 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15236 _POSIX_NO_TRUNC): Define to 0.
15237 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15238 check size against PTHREAD_STACK_MIN.
15239 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15240 IS_IN(libpthread)]: Include <sigsetops.h>.
15241 * mach/Makefile (user-interfaces): Add mach/gnumach.
15242 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15243 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15244 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15245 instead of invalid -1.
15246 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15247 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15248 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15251 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15253 * hurd/fcntl-internal.h: New file.
15255 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15257 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15259 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15261 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15264 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15265 Build only shared objects.
15267 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15269 * README: Update for hppa.
15271 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15273 * sysdeps/sparc/fpu/libm-test-ulps: Update
15274 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15276 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15280 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15283 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15284 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15285 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15286 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15289 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15292 * bits/types/__cancel_jmp_buf_tag.h: New file.
15293 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15294 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15295 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15296 * nptl/Makefile (headers): Add
15297 bits/types/__cancel_jmp_buf_tag.h.
15298 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15299 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15300 * sysdeps/nptl/pthread.h: Include
15301 <bits/types/__cancel_jmp_buf_tag.h>.
15302 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15304 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15306 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15309 * localedata/locales/uk_UA (mon): Renamed to...
15311 (alt_digits): "0" removed and then renamed to...
15313 (date_fmt): Definition changed not to use the alternative
15316 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15318 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15319 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15320 * elf/elf.h (EF_RISCV_RVC): New define.
15321 (EF_RISCV_FLOAT_ABI): Likewise.
15322 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15323 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15324 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15325 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15326 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15328 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15330 2018-01-25 Andreas Schwab <schwab@suse.de>
15332 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15334 * sysdeps/gnu/configure: Regenerate.
15335 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15336 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15338 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15339 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15340 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15341 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15342 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15344 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15346 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15347 URL, and run autoconf, make it the default for now.
15349 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15351 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15352 soft-float ColdFire configuration.
15354 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15355 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15356 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15358 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15361 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15363 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15365 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15368 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15369 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15370 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15373 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15376 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15377 Rename to __reserved and add comment.
15378 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15379 Rename to __reserved.
15381 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15383 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15384 i686-gnu configurations.
15385 (Context.run_builds): Include mig, gnumach and hurd in components
15387 (Context.checkout): Add mig, gnumach and hurd to components.
15388 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15390 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15391 (Config.build): Install gnumach headers, build mig and install
15392 hurd headers for 'gnu' OS.
15393 (Config.install_gnumach_headers): New function.
15394 (Config.install_hurd_headers): Likewise.
15395 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15396 when building for 'gnu' OS.
15398 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15400 * manual/tunables.texi (Hardware Capability Tunables): Fix
15403 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15405 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15406 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15407 (ALTMON_11, ALTMON_12): Improve documentation.
15408 * manual/time.texi (strftime): Likewise.
15410 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15413 * localedata/locales/pl_PL: Alternative month names added,
15414 primary month names are genitive now.
15415 * time/tst-strptime.c (day_tests): Actually use a genitive case
15416 of a month name in Polish language.
15418 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15421 * manual/locale.texi: Document ALTMON_1..12 constants for
15422 nl_langinfo. Specify when to use ALTMON instead of MON.
15423 * manual/time.texi (strftime, strptime): Document GNU extension
15424 permitting O modifier with %B and %b. Specify when to use
15427 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15430 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15431 names, define them as the same as abbreviated month names explicitly.
15432 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15433 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15434 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15435 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15436 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15437 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15438 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15439 _NL_WABALTMON_12): New enum constants.
15440 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15441 wab_alt_mon, and ab_alt_mon_defined members.
15442 (time_output): Output ab_alt_mon and wab_alt_mon members.
15443 (time_read): Read them, initialize them as copies of abmon and wabmon
15444 respectively if they are missing, initialize ab_alt_mon_defined.
15445 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15446 * locale/programs/locfile-kw.h: Regenerate.
15447 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15448 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15450 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15451 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15452 (__strftime_internal): Handle %Ob and %Oh formats.
15453 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15454 (__strptime_internal): Handle %Ob and %Oh formats.
15455 * time/tst-strptime.c (day_tests): Add more tests to parse different
15456 forms of month names including the new %Ob format specifier.
15458 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15461 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15462 define them as the same as primary full month names explicitly.
15463 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15464 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15465 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15466 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15467 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15468 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15469 _NL_WALTMON_12): New enum constants.
15470 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15471 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15473 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15474 walt_mon, and alt_mon_defined members.
15475 (time_output): Output alt_mon and walt_mon members.
15476 (time_read): Read them, initialize them as copies of mon and wmon
15477 respectively if they are missing, initialize alt_mon_defined.
15478 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15479 * locale/programs/locfile-kw.h: Regenerate.
15480 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15481 * localedata/tst-langinfo.c (map): Add tests for the new constants
15482 ALTMON_1 .. ALTMON_12.
15483 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15485 * time/strftime_l.c (f_altmonth): New macro.
15486 (__strftime_internal): Handle %OB format.
15487 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15488 (__strptime_internal): Handle %OB format.
15489 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15490 of month names including the new %OB format specifier.
15492 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15495 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15496 from ABORT_TRANSACTION.
15497 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15498 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15499 ABORT_TRANSACTION_IMPL): Likewise.
15500 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15501 Linux code, but remove the code that aborts transactions.
15503 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15505 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15507 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15509 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15510 in date: "2004-14-09" should be "2004-09-14".
15511 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15512 "2003-15-09" should be "2003-09-15".
15514 2018-01-18 Arjun Shankar <arjun@redhat.com>
15520 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15522 (_int_memalign): check for integer overflow before calling
15524 * malloc/tst-malloc-too-large.c: New test.
15525 * malloc/Makefile: Add tst-malloc-too-large.
15527 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15529 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15530 in date: "2017-24-07" should be "2017-07-24".
15531 * localedata/locales/mai_IN: Likewise.
15532 * localedata/locales/mai_NP: Likewise.
15534 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15536 * po/ru.po: Update translations.
15538 2018-01-17 Joseph Myers <joseph@codesourcery.com>
15541 * sysdeps/hppa/backtrace.c: New file.
15543 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15546 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15547 align La_x86_64_retval to VEC_SIZE.
15549 2018-01-16 Joseph Myers <joseph@codesourcery.com>
15551 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15552 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15554 2018-01-16 Florian Weimer <fweimer@redhat.com>
15556 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15557 Move tst-thread-exit-clobber ...
15558 [$(CXX)] (tests-unsupported): ... to here.
15560 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15562 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15563 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15564 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15565 (_dl_aarch64_cap_flags): Update.
15566 (_DL_HWCAP_COUNT): Update.
15568 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15570 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15571 (_DL_HWCAP_LAST): Remove.
15572 (_DL_HWCAP_COUNT): Move to ...
15573 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15574 (_DL_HWCAP_COUNT): ... here.
15576 2018-01-16 Florian Weimer <fweimer@redhat.com>
15578 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15579 mode with GNU extensions.
15581 2018-01-15 Alan Hayward <alan.hayward@arm.com>
15583 * elf/elf.h (NT_ARM_SVE): Define.
15585 2018-01-15 Florian Weimer <fweimer@redhat.com>
15588 * nptl/tst-minstack-throw.cc: New file.
15589 * nptl/Makefile (tests): Add tst-minstack-throw.
15590 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15591 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15593 2018-01-15 Joseph Myers <joseph@codesourcery.com>
15595 * scripts/build-many-glibcs.py (Context.checkout): Default
15596 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15599 2018-01-13 Carlos O'Donell <carlos@redhat.com>
15602 * elf/elf.h (DF_1_STUB): Define.
15603 (DF_1_PIE): Define.
15605 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15609 Do not add 0.5 to integer or out-of-range arguments.
15611 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15613 * po/bg.po: Update translations.
15614 * po/cs.po: Likewise.
15615 * po/de.po: Likewise.
15616 * po/ko.po: Likewise.
15617 * po/pl.po: Likewise.
15618 * po/sv.po: Likewise.
15619 * po/uk.po: Likewise.
15620 * po/vi.po: Likewise.
15622 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15624 * aarch64/start.S (_start): Use __wrap_main.
15625 (__wrap_main): New local symbol.
15627 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15631 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15632 generic_getcwd if the path returned by getcwd syscall is not absolute.
15633 * io/tst-getcwd-abspath.c: New test.
15634 * io/Makefile (tests): Add tst-getcwd-abspath.
15636 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15638 * malloc/malloc.c (malloc_consolidate): Add size check.
15640 2018-01-12 Florian Weimer <fweimer@redhat.com>
15642 * support/write_message.c (write_message): Preserve errno.
15643 * support/check.c (print_failure): Likewise.
15644 * support/support_test_verify_impl.c (support_test_verify_impl):
15646 * support/support_test_compare_failure.c
15647 (support_test_compare_failure): Likewise.
15649 2018-01-12 Florian Weimer <fweimer@redhat.com>
15652 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15653 Prevent installation of libnsl.so.
15654 (libnsl-inhibit-o): Do not build (or install) static libraries.
15656 2018-01-12 Egmont Koblinger <egmont@gmail.com>
15659 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15660 before the day number which may produce a double space.
15661 (date_fmt): Likewise.
15663 2018-01-12 Joseph Myers <joseph@codesourcery.com>
15665 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15666 instead of fegetenv.
15668 2018-01-11 Joseph Myers <joseph@codesourcery.com>
15671 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15672 comment to say exceptions are discarded.
15673 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15675 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15678 2018-01-11 Florian Weimer <fweimer@redhat.com>
15680 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15683 2018-01-11 Florian Weimer <fweimer@redhat.com>
15686 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15687 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15689 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15692 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15693 negative arguments in test for NaN or infinity argument.
15695 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15697 * po/libc.pot: Regenerate.
15699 2018-01-10 Florian Weimer <fweimer@redhat.com>
15702 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15703 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15705 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15707 * hurd/hurd/fd.h: Include <fcntl.h>
15708 (__hurd_at_flags): New function.
15709 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15710 with call to __hurd_at_flags.
15711 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15712 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15714 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15715 (__access_noerrno): Use __faccessat_common instead of access_common.
15716 (__access): Likewise.
15717 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15718 with a call to __faccessat.
15719 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15720 (__faccessat_common): ... this. Move implementation of __access into it when
15721 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15722 reauthenticate_cwdir_at helper to implement AT mechanism.
15723 (__faccessat_noerrno): New function, just calls __faccessat_common.
15724 (__faccessat): New function, just calls __faccessat_common.
15725 (faccessat): Define weak alias.
15727 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15730 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15731 (CFLAGS-s_fmaxmagl.c): New variable.
15732 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15736 long int for arguments of possibly overflowing addition or
15738 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15740 2018-01-09 Joseph Myers <joseph@codesourcery.com>
15743 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15744 (CFLAGS-e_remainderl.c): New variable.
15747 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15749 (CFLAGS-s_cacoshl.c): Likewise.
15750 (CFLAGS-s_casinhl.c): Likewise.
15751 (CFLAGS-s_catanl.c): Likewise.
15752 (CFLAGS-s_catanhl.c): Likewise.
15753 (CFLAGS-s_cexpl.c): Likewise.
15754 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15755 (CFLAGS-s_csinhl.c): Likewise.
15756 (CFLAGS-s_clogl.c): Likewise.
15757 (CFLAGS-s_clog10l.c): Likewise.
15758 (CFLAGS-s_csinl.c): Likewise.
15759 (CFLAGS-s_csqrtl.c): Likewise.
15761 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
15762 2017-01-09 Svante Signell <svante.signell@gmail.com>
15764 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15765 (_hurd_exec_paths): New function.
15766 * hurd/hurd.h (_hurd_exec): Deprecate function.
15767 (_hurd_exec_paths): Declare function.
15768 * hurd/Versions: Export _hurd_exec_paths.
15769 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15770 (__execve): Use __getcwd to build absolute path, and use
15771 _hurd_exec_paths instead of _hurd_exec.
15772 * sysdeps/mach/hurd/spawni.c: Likewise.
15773 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15776 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15778 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15779 test instead of failing in case of ENOENT returned by posix_openpt.
15781 2018-01-08 Florian Weimer <fweimer@redhat.com>
15783 resolv: Support binary labels in test framework.
15784 * support/resolv_test.c (struct to_be_freed): Remove.
15785 (struct compressed_name): New.
15786 (allocate_compressed_name, ascii_tolower)
15787 (compare_compressed_name): New functions.
15788 (struct resolv_response_builder): Update type of
15789 compression_offsets for use with tsearch. Rempve to_be_freed.
15790 (response_push_pointer_to_free): Remove function.
15791 (resolv_response_add_name): Rewrite using struct compressed_name
15792 and tsearch instead of hsearch_r.
15793 (response_builder_allocate): Remove initialization of
15794 compression_offsets.
15795 (response_builder_free): Update for removal of to_be_freed. Use
15796 tdestroy instead of hdestroy_r.
15797 * resolv/Makefile (tests): Add tst-resolv-binary.
15798 (tst-resolv-binary): Link with -lresolv -lpthread.
15800 2018-01-08 Florian Weimer <fweimer@redhat.com>
15802 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
15803 time. Pass positive flag instead of negative flag to
15804 support_test_compare_failure.
15805 (support_test_compare_failure): Change negative parameter to
15807 * support/support_test_compare_failure.c (report)
15808 (support_test_compare_failure): Likewise.
15809 * support/tst-test_compare.c (return_ssize_t, return_int): New.
15810 (do_test): Check int/size_t, ssize_t/size_t comparisons.
15812 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15815 * nptl/descr.h (stackblock, stackblock_size): Update comments.
15816 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
15817 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
15819 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15821 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
15823 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15824 Add s_sincosf-sse2 and s_sincosf-fma.
15825 (CFLAGS-s_sincosf-fma.c): New.
15826 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
15827 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
15828 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
15829 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
15830 __sincosf is defined.
15832 2018-01-08 Florian Weimer <fweimer@redhat.com>
15834 * nptl/tst-thread-exit-clobber.cc: New file.
15835 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
15837 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
15838 (tests): Add tst-thread-exit-clobber.
15839 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
15841 2018-01-08 Florian Weimer <fweimer@redhat.com>
15843 * support/check.h (support_static_assert): Define.
15844 (TEST_COMPARE): Use it.
15846 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
15848 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
15849 [!__RLIM_T_MATCHES_RLIM64_T]
15850 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
15851 __getrlimit64. Add libc_hidden_weak.
15853 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
15855 * elf/elf.h (R_RISCV_NONE): New define.
15856 (R_RISCV_32): Likewise.
15857 (R_RISCV_64): Likewise.
15858 (R_RISCV_RELATIVE): Likewise.
15859 (R_RISCV_COPY): Likewise.
15860 (R_RISCV_JUMP_SLOT): Likewise.
15861 (R_RISCV_TLS_DTPMOD32): Likewise.
15862 (R_RISCV_TLS_DTPMOD64): Likewise.
15863 (R_RISCV_TLS_DTPREL32): Likewise.
15864 (R_RISCV_TLS_DTPREL64): Likewise.
15865 (R_RISCV_TLS_TPREL32): Likewise.
15866 (R_RISCV_TLS_TPREL64): Likewise.
15867 * Makerules (make-link-multidir): Make directories before linking into
15869 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
15871 (VDSO_HASH_LINUX_4_15): Likewise.
15872 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
15873 in subdirectories of lib.
15874 * nptl/Makefile (/librt.so): Always depend on
15875 "$(shared-thread-library)".
15877 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15879 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
15880 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
15881 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
15883 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
15884 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
15886 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
15887 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
15888 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
15889 * sysdeps/gnu/glob-lstat-compat.c: New file.
15890 * sysdeps/gnu/glob64-lstat-compat.c: New file.
15891 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
15893 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15895 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
15896 Reserve 16 chars to reloc_addr before calling _itoa_word.
15898 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15901 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
15902 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
15904 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
15905 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
15907 * resource/tst-getrlimit.c: Add copyright header.
15909 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15910 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15912 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15913 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
15914 Define __GI_getrlimit64 as weak alias of __getrlimit64.
15915 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
15917 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15918 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
15919 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
15920 RLIM64_INFINITY): Fix values to match the kernel ones.
15921 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
15922 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
15923 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
15924 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
15925 getrlimit64@@GLIBC_2_27.
15926 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
15928 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
15929 getrlimit, setrlimit, getrlimit64 and setrlimit64.
15930 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
15931 setrlimit, getrlimit64 and setrlimit64.
15933 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15936 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
15937 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
15939 2018-01-04 Joseph Myers <joseph@codesourcery.com>
15941 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
15942 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
15943 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
15945 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15949 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
15950 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
15954 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
15955 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
15956 * sysdeps/alpha/fpu/s_floor.c: Likewise.
15957 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
15959 2018-01-04 Florian Weimer <fweimer@redhat.com>
15962 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15963 Align the stack before calling exit.
15964 * stdlib/tst-makecontext-align.c: New file.
15965 * stdlib/Makefile (tests): Add tst-makecontext-align.
15967 2018-01-04 Florian Weimer <fweimer@redhat.com>
15969 Add support for calling dlvsym from libc.so.
15970 * include/dlfcn.h (__libc_dlvsym): Declare.
15971 * elf/Makefile (tests-static-internal): Add
15972 tst-libc_dlvsym-static.
15973 (tests-internal): Add tst-libc_dlvsym.
15974 (modules-names): Add tst-libc_dlvsym-dso.
15975 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
15976 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
15977 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
15978 object tst-libc_dlvsym-dso.so needs to be built before running
15980 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
15981 * elf/Versions: Export __libc_dlvsym.
15982 * elf/dl-libc.c (struct do_dlvsym_args): New.
15983 (do_dlvsym, __libc_dlvsym): New functions.
15984 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
15985 (_dl_open_hook2): New variable.
15986 (__libc_register_dl_open_hook): Set it.
15987 * elf/tst-libc_dlvsym-dso.c: New file.
15988 * elf/tst-libc_dlvsym-static.c: Likewise.
15989 * elf/tst-libc_dlvsym.c: Likewise.
15990 * elf/tst-libc_dlvsym.h: Likewise.
15992 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15994 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
15995 include <sys/mount.h>.
15997 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
15999 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16000 Add __NO_MATH_ERRNO__ check.
16002 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16004 * sysdeps/mips/mips32/libm-test-ulps: Update.
16005 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16007 2018-01-02 Florian Weimer <fweimer@redhat.com>
16009 * misc/tst-pselect.c: Add copyright header.
16011 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16013 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16015 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16017 (settrlimit): Rename into setrlimit.
16018 (__sttrlimit): Rename into __setrlimit.
16020 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16021 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16022 never defined in that case.
16024 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16026 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16028 * sysdeps/arm/libm-test-ulps: Update.
16030 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16031 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16033 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16035 * NEWS: Add cosf and sincosf to list of optimized functions.
16037 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16040 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16041 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16042 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16043 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16045 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16048 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16050 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16051 making a copy of it.
16053 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16055 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16056 trailing whitespace removed.
16057 * scripts/config.guess: Update to version 2018-01-01.
16058 * scripts/config.sub: Update to version 2018-01-01.
16059 * scripts/move-if-change: Update from gnulib.
16061 * NEWS: Update copyright dates.
16062 * catgets/gencat.c (print_version): Likewise.
16063 * csu/version.c (banner): Likewise.
16064 * debug/catchsegv.sh: Likewise.
16065 * debug/pcprofiledump.c (print_version): Likewise.
16066 * debug/xtrace.sh (do_version): Likewise.
16067 * elf/ldconfig.c (print_version): Likewise.
16068 * elf/ldd.bash.in: Likewise.
16069 * elf/pldd.c (print_version): Likewise.
16070 * elf/sotruss.sh: Likewise.
16071 * elf/sprof.c (print_version): Likewise.
16072 * iconv/iconv_prog.c (print_version): Likewise.
16073 * iconv/iconvconfig.c (print_version): Likewise.
16074 * locale/programs/locale.c (print_version): Likewise.
16075 * locale/programs/localedef.c (print_version): Likewise.
16076 * login/programs/pt_chown.c (print_version): Likewise.
16077 * malloc/memusage.sh (do_version): Likewise.
16078 * malloc/memusagestat.c (print_version): Likewise.
16079 * malloc/mtrace.pl: Likewise.
16080 * manual/libc.texinfo: Likewise.
16081 * nptl/version.c (banner): Likewise.
16082 * nscd/nscd.c (print_version): Likewise.
16083 * nss/getent.c (print_version): Likewise.
16084 * nss/makedb.c (print_version): Likewise.
16085 * posix/getconf.c (main): Likewise.
16086 * scripts/test-installation.pl: Likewise.
16087 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16089 * All files with FSF copyright notices: Update copyright dates
16090 using scripts/update-copyrights.
16091 * locale/programs/charmap-kw.h: Regenerated.
16092 * locale/programs/locfile-kw.h: Likewise.
16094 2017-12-31 Zack Weinberg <zackw@panix.com>
16096 * libio/bits/libio-ldbl.h: Correct check for improper
16097 inclusion. Add own multiple include guard.
16099 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16100 Dmitry V. Levin <ldv@altlinux.org>
16104 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16105 string token expansion. Check for NULL pointer or empty string possibly
16106 returned by expand_dynamic_string_token.
16107 (decompose_rpath): Check for empty path after dynamic string
16110 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16113 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16115 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16116 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16117 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16118 and PTRACE_SYSCALL.
16119 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16120 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16123 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16124 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16126 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16127 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16128 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16129 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16131 bits/ptrace-shared.h.
16132 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16133 <bits/ptrace-shared.h>.
16134 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16135 __ptrace_peeksiginfo_flags, ptrace): Remove.
16136 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16138 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16139 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16140 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16142 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16145 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16146 end of the loop. Improve comments.
16148 2017-12-29 Zack Weinberg <zackw@panix.com>
16151 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16152 might be set on success.
16154 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16157 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16158 is unchanged on success.
16160 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16162 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16164 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16165 expand_dynamic_string_token): Likewise.
16166 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16169 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16172 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16173 is set and name contains ':', and all code depending on these checks.
16175 2017-12-24 Zack Weinberg <zackw@panix.com>
16177 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16178 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16180 * libio/libio.h: Rename the original version of this file to
16181 libio/bits/libio.h. Error out if not included by stdio.h or the
16183 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16184 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16185 if not included by bits/libio.h or the stub _G_config.h.
16186 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16187 sysdeps/unix/sysv/linux/bits. Error out if not included by
16188 bits/libio.h or the stub _G_config.h.
16189 * libio/stdio.h: Include bits/libio.h, not libio.h.
16190 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16191 well as libio.h and _G_config.h.
16193 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16194 * libio/strfile.h, stdio-common/vfscanf.c
16195 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16196 Include stdio.h, not _G_config.h nor libio.h.
16197 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16198 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16200 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16202 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16205 * stdlib/getrandom.c (getrandom): Fix comment.
16206 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16208 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16211 * manual/arith.texi (strtoul): Fix a typo.
16214 * manual/arith.texi (finite): Fix the description of the return
16217 2017-12-22 Eric Blake <ebb9@byu.net>
16219 Avoid gcc warnings on cygwin
16220 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16221 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16222 Avoid unused variable.
16224 2017-12-22 Florian Weimer <fweimer@redhat.com>
16226 * io/Makefile (routines): Add copy_file_range.
16227 (tests): Add tst-copy_file_range.
16228 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16229 * io/Versions (GLIBC_2.27): Export copy_file_range.
16230 * io/copy_file_range-compat.c: New file.
16231 * io/copy_file_range.c: Likewise.
16232 * io/tst-copy_file_range-compat.c: Likewise.
16233 * io/tst-copy_file_range.c: Likewise.
16234 * manual/llio.texi (Copying File Data): New section.
16235 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16236 * support/Makefile (libsupport-routines): Add support-xfstat,
16237 xftruncate, xlseek.
16238 * support/support-xfstat.c: New file.
16239 * support/xftruncate.c: Likewise.
16240 * support/xlseek.c: Likewise.
16241 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16242 * sysdeps/unix/sysv/linux/**.abilist: Update.
16243 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16245 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16247 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16248 disable-multi-arch variant to aarch64-linux-gnu.
16250 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16252 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16253 trailing whitespace removed.
16254 * scripts/config.guess: Update to version 2017-12-17.
16255 * scripts/config.sub: Update to version 2017-11-23.
16256 * scripts/install-sh: Update to version 2017-09-23.17.
16257 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16259 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16261 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16262 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16263 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16264 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16265 * sysdeps/tile/crtn.S: Likewise.
16266 * sysdeps/tile/dl-start.S (_start): Likewise.
16267 * sysdeps/tile/dl-trampoline.S: Likewise.
16268 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16269 * sysdeps/tile/start.S (_start): Likewise.
16270 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16271 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16272 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16273 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16274 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16275 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16276 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16278 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16280 * sysdeps/tile/preconfigure: Remove tilegx folder.
16281 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16282 * sysdeps/tile/Implies: ... here.
16283 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16284 * sysdeps/tile/Makefile: ... here.
16285 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16286 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16287 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16288 * sysdeps/tile/bits/wordsize.h: ... here.
16289 * sysdeps/tile/tilegx/*: Move to ...
16290 * sysdeps/tile/*: ... here.
16291 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16292 * sysdeps/tile/tilegx32/Implies: ... here.
16293 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16294 * sysdeps/tile/tilegx64/Implies: ... here.
16295 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16297 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16298 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16299 * sysdeps/unix/sysv/linux/tile/*: ... here.
16300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16301 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16303 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16305 * README: Remove tilepro-*-linux-gnu from supported architecture.
16306 * scripts/build-many-glibcs.py: Likewise.
16307 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16308 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16309 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16310 elf_machine_matches_host, elf_machine_dynamic,
16311 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16312 howto, elf_machine_rela): Likewise.
16313 * sysdeps/tile/dl-start.S (_start): Likewise.
16314 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16315 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16316 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16317 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16318 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16319 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16321 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16322 * sysdeps/tile/preconfigure: Likewise.
16323 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16324 POINTER_CHK_GUARD): Likewise.
16325 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16326 * sysdeps/tile/start.S (_start): Likewise.
16327 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16329 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16330 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16332 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16333 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16334 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16336 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16337 * sysdeps/tile/tilepro/Implies: Remove file.
16338 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16339 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16340 * sysdeps/tile/tilepro/memchr.c: Likewise.
16341 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16342 * sysdeps/tile/tilepro/memset.c: Likewise.
16343 * sysdeps/tile/tilepro/memusage.h: Likewise.
16344 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16345 * sysdeps/tile/tilepro/strchr.c: Likewise.
16346 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16347 * sysdeps/tile/tilepro/strlen.c: Likewise.
16348 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16349 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16350 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16351 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16352 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16353 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16354 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16356 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16359 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16360 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16361 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16362 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16363 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16364 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16365 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16366 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16367 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16368 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16369 tilepro mention in comment.
16371 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16372 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16373 * nptl/pthread_join_common.c: New file: common function used on
16374 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16375 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16376 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16377 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16378 (cleanup): Move definition to pthread_join_common.c.
16379 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16380 Remove superflous checks.
16381 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16384 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16386 * sysdeps/aarch64/libm-test-ulps: Update.
16388 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16390 * sysdeps/aarch64/memset.S (MEMSET): Define.
16392 2017-12-20 Florian Weimer <fweimer@redhat.com>
16395 nptl: Provide full implementation of pthread_self in libc.so.
16396 * nptl/Makefile (routines): Add pthread_self.
16397 (libpthread-routines): Replace pthread_self with
16398 compat-pthread_self.
16399 * nptl/forward.c (pthread_self): Remove.
16400 * nptl/nptl-init.c (pthread_functions): Do not initialize
16402 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16403 * nptl/compat-pthread_self.c: New file.
16404 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16405 Remove ptr_pthread_self.
16407 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16409 * posix/regcomp.c: Fix spelling in comments.
16410 * posix/regex.h: Likewise.
16411 * posix/regex_internal.c: Likewise.
16412 * posix/regexec.c: Likewise.
16414 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16417 * math/Makefile [C++] (tests): Add test for iseqsig.
16418 * math/math.h [C++] (iseqsig): New implementation, which does
16419 not rely on __MATH_TG/__builtin_types_compatible_p.
16420 * math/test-math-iseqsig.cc: New file.
16421 * sysdeps/powerpc/powerpc64le/Makefile
16422 (CFLAGS-test-math-iseqsig.cc): New variable.
16424 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16426 * elf/dl-load.c (is_trusted_path): Remove.
16427 (fillin_rpath): Remove check_trusted argument and its use,
16428 all callers changed.
16430 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16433 * Makeconfig (link-pie-before-libc): Replace -pie with
16434 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16435 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16436 (tst-dlopen-aout-no-pie): New.
16437 (LDFLAGS-tst-prelink): Removed.
16438 (tst-prelink-no-pie): New.
16439 (LDFLAGS-tst-main1): Removed.
16440 (tst-main1-no-pie): New.
16441 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16442 (tst-gmon-no-pie): New.
16444 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16446 * manual/install.texi: Document that --enable-static-pie
16448 * INSTALL: Regenerated.
16450 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16453 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16456 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16460 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16464 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16467 <errno.h>. Include "eexp.tbl".
16468 (half): New constant.
16470 (__ieee754_exp): Rewrite.
16471 (__slowexp): Remove prototype.
16472 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16473 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16474 * sysdeps/i386/fpu/slowexp.c: Likewise.
16475 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16476 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16477 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16479 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16480 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16481 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16483 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16484 (CPPFLAGS-slowexp.c): Remove variable.
16485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16486 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16487 (CFLAGS-slowexp-fma.c): Remove variable.
16488 (CFLAGS-slowexp-fma4.c): Likewise.
16489 (CFLAGS-slowexp-avx.c): Likewise.
16490 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16494 * math/Makefile (type-double-routines): Remove slowexp.
16495 * manual/probes.texi (slowexp_p6): Remove.
16496 (slowexp_p32): Likewise.
16498 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16500 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16503 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16505 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16509 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16511 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16512 <errno.h>. Include "eexp.tbl".
16513 (half): New constant.
16515 (__ieee754_exp): Rewrite.
16516 (__slowexp): Remove prototype.
16517 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16518 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16519 * sysdeps/i386/fpu/slowexp.c: Likewise.
16520 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16521 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16522 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16524 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16525 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16526 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16528 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16529 (CPPFLAGS-slowexp.c): Remove variable.
16530 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16531 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16532 (CFLAGS-slowexp-fma.c): Remove variable.
16533 (CFLAGS-slowexp-fma4.c): Likewise.
16534 (CFLAGS-slowexp-avx.c): Likewise.
16535 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16538 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16539 * math/Makefile (type-double-routines): Remove slowexp.
16540 * manual/probes.texi (slowexp_p6): Remove.
16541 (slowexp_p32): Likewise.
16543 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16544 James Clarke <jrtc27@jrtc27.com>
16547 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16550 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16553 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16556 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16559 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16560 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16561 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16562 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16565 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16568 * bits/types/__cancel_jmp_buf_tag.h: New file.
16569 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16570 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16571 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16572 * nptl/Makefile (headers): Add
16573 bits/types/__cancel_jmp_buf_tag.h.
16574 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16575 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16576 * sysdeps/nptl/pthread.h: Include
16577 <bits/types/__cancel_jmp_buf_tag.h>.
16578 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16580 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16582 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16584 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16585 --enable-static-pie variants to x86_64, x32 and i686.
16587 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16590 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16591 argument for attrubutes. All callers changed.
16592 (__inline_mathop1): Likewise. All callers changed.
16593 (__inline_mathop): Likewise. All callers changed.
16594 [__USE_MISC] (scalbn): Use __inline_forward instead of
16595 __inline_forward_c.
16596 [__USE_ISOC99] (scalbln): Likewise.
16597 [__USE_ISOC99] (nearbyint): Likewise.
16598 [__USE_ISOC99] (lrint): Likewise.
16599 [__USE_MISC] (scalbnf): Likewise.
16600 [__USE_ISOC99] (scalblnf): Likewise.
16601 [__USE_ISOC99] (nearbyintf): Likewise.
16602 [__USE_ISOC99] (lrintf): Likewise.
16603 [__USE_MISC] (scalbnl): Likewise.
16604 [__USE_ISOC99] (scalblnl): Likewise.
16605 [__USE_ISOC99] (nearbyintl): Likewise.
16606 [__USE_ISOC99] (lrintl): Likewise.
16607 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16608 __inline_mathop and __m81_defun changed.
16610 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16611 CPU or FPU for ARM hard-float configurations.
16613 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16615 * nptl/tst-attr3.c: Include <libc-diag.h>.
16616 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16618 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16620 * string/tester.c (test_strncat): Also disable -Warray-bounds
16621 warnings for two tests.
16623 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16626 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16627 $(cc-pie-default) == yes.
16628 * config.make.in (cc-pie-default): New.
16629 * configure.ac (libc_cv_pie_default): Renamed to ...
16630 (libc_cv_cc_pie_default): This.
16631 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16632 * configure: Regenerated.
16634 2017-12-18 Florian Weimer <fweimer@redhat.com>
16637 ld.so: Harden dl-libc/libdl hooks.
16638 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16639 (rtld_active): New function.
16640 * dlfcn/dladdr.c (__dladdr): Call it.
16641 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16642 * dlfcn/dlclose.c (__dlcose): Likewise.
16643 * dlfcn/dlerror.c (__dlerror): Likewise.
16644 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16645 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16646 * dlfcn/dlopen.c (__dlopen): Likewise.
16647 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16648 * dlfcn/dlsym.c (__dlsym): Likewise.
16649 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16650 * libio/vtables.c (_IO_vtable_check): Likewise.
16651 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16652 (__libc_dlclose): Likewise.
16653 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16656 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16659 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16660 buffers for readlink input and output.
16662 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16665 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16666 inhibit_stack_protector.
16669 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16670 inhibit_stack_protector.
16672 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16675 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16676 code and invocation.
16678 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16680 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16682 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16685 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16687 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16689 * sysdeps/s390/fpu/libm-test-ulps: Update.
16691 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16695 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16697 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16698 constants to s_sincosf.h file.
16699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16702 * sysdeps/ieee754/flt-32/s_sincosf.h:
16705 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16708 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16711 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16714 * INSTALL: Regenerated.
16715 * Makeconfig (real-static-start-installed-name): New.
16716 (pic-default): Updated for --enable-static-pie.
16717 (pie-default): New for --enable-static-pie.
16718 (default-pie-ldflag): Likewise.
16719 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16720 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16721 Replace $(static-start-installed-name) with
16722 $(real-static-start-installed-name).
16723 (+prectorT): Updated for --enable-static-pie.
16724 (+postctorT): Likewise.
16725 (CFLAGS-.o): Add $(pie-default).
16726 (CFLAGS-.op): Likewise.
16727 * NEWS: Mention --enable-static-pie.
16728 * config.h.in (ENABLE_STATIC_PIE): New.
16729 * configure.ac (--enable-static-pie): New configure option.
16730 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16731 (have-static-pie): Likewise.
16732 Enable static PIE if linker supports --no-dynamic-linker.
16733 (ENABLE_STATIC_PIE): New AC_DEFINE.
16734 (enable-static-pie): New LIBC_CONFIG_VAR.
16735 * configure: Regenerated.
16736 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16737 gr$(start-installed-name) for --enable-static-pie.
16738 (extra-objs): Likewise.
16739 (install-lib): Likewise.
16740 (extra-objs): Add static-reloc.o and static-reloc.os
16741 ($(objpfx)$(start-installed-name)): Also depend on
16742 $(objpfx)static-reloc.o.
16743 ($(objpfx)r$(start-installed-name)): New.
16744 ($(objpfx)g$(start-installed-name)): Also depend on
16745 $(objpfx)static-reloc.os.
16746 ($(objpfx)gr$(start-installed-name)): New.
16747 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16749 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16751 * csu/static-reloc.c: New file.
16752 * elf/Makefile (routines): Add dl-reloc-static-pie.
16753 (elide-routines.os): Likewise.
16754 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16755 (tst-tls1-static-non-pie-no-pie): New.
16756 * elf/dl-reloc-static-pie.c: New file.
16757 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16758 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16759 STATIC_PIE_BOOTSTRAP.
16760 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16761 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16762 (tests-static): Likewise.
16763 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16764 (tst-gmon-static-no-pie): New.
16765 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16766 (CRT-tst-gmon-static-pie): Likewise.
16767 (tst-gmon-static-pie-ENV): Likewise.
16768 (tests-special): Likewise.
16769 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16770 (clean-tst-gmon-static-pie-data): Likewise.
16771 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16772 * gmon/tst-gmon-static-pie.c: New file.
16773 * manual/install.texi: Document --enable-static-pie.
16774 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16775 (_dl_get_dl_main_map): Likewise.
16776 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16777 * sysdeps/x86_64/configure.ac: Likewise.
16778 * sysdeps/i386/configure: Regenerated.
16779 * sysdeps/x86_64/configure: Likewise.
16780 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16781 (ASFLAGS-.op): Likewise.
16783 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16785 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16786 * posix/tst-mmap-offset.c (fname): Use /tmp.
16787 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16789 2017-12-15 Steve Ellcey <sellcey@cavium.com>
16791 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16793 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16795 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16798 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16800 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16801 --with-float=hard for arm-linux-gnueabihf configurations.
16804 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
16805 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
16806 ($(mo-installed)): Use $(objpfx)%.mo.
16807 (realclean): Remove rule.
16809 * po/Makefile (linguas): Remove rule and dependencies.
16810 (linguas.mo): Likewise.
16811 (.PHONY): Do not depend on linguas and linguas.mo.
16812 (podir): Remove variable.
16813 (pofiles): Likewise.
16814 [$(pofiles)] (%.po): Remove rule.
16816 * sysdeps/sparc/sparc32/Makefile
16817 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
16818 start-of-line whitespace in argument of echo.
16819 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
16820 with whitespace. Generate __wrap_.udiv alias.
16821 * sysdeps/sparc/sparc32/rem.S: Regenerated.
16822 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16823 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16824 * sysdeps/sparc/sparc32/urem.S: Likewise.
16826 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16828 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
16829 for aligned inputs.
16831 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16833 * benchtests/bench-strcmp.c: Print output in JSON format.
16835 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
16837 2017-12-14 Florian Weimer <fweimer@redhat.com>
16841 * elf/dl-load.c (_dl_init_paths): Compute number of components in
16842 the expanded path string.
16844 2017-12-14 Florian Weimer <fweimer@redhat.com>
16848 * elf/dl-load.c (system_dirs): Update comment.
16849 (nsystem_dirs_len): Use array_length.
16850 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
16852 2017-12-14 Florian Weimer <fweimer@redhat.com>
16854 Simplify compiling most of support/ outside of glibc.
16855 * support/check_addrinfo.c: Include <string.h>.
16856 * support/check_dns_packet.c: Likewise.
16857 * support/check_hostent.c: Likewise.
16858 * support/support_can_chroot.c: Include <support/xunistd.h>.
16859 * support/support_format_addrinfo.c: Include <stdlib.h>
16860 * support/support_format_dns_packet.c: Include <stdbool.h>.
16861 * support/support_format_hostent.c: Include <stdlib.h>.
16862 * support/support_format_netent.c: Likewise.
16863 * support/support_write_string.c: Include <support/xunistd.h>.
16864 * support/xdlfcn.c: Include <stddef.h>.
16866 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
16868 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
16870 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16871 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16873 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16874 (sysdeps_routines): Add memset-niagara7.
16875 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
16877 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
16879 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
16880 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16881 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
16882 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
16883 Add niagara7 option.
16884 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
16887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16888 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
16889 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
16891 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
16893 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
16894 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
16895 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16896 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
16897 and __memmove_niagara7.
16898 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
16899 Add niagara7 option.
16900 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
16901 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
16902 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
16903 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
16904 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
16906 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
16908 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
16909 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
16910 * sysdeps/sparc/sparc64/memmove.S: Likewise.
16911 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
16913 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
16914 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
16915 _dl_sparc_cap_flags array.
16916 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
16918 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16920 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
16921 time whenever possible.
16923 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16925 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
16926 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
16928 2017-12-12 Joseph Myers <joseph@codesourcery.com>
16930 * soft-fp/fmadf4.c: Move to ....
16931 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
16932 * soft-fp/fmasf4.c: Move to ....
16933 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
16934 * soft-fp/fmatf4.c: Move to ....
16935 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
16936 * sysdeps/ieee754/soft-fp/Makefile: New file.
16937 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
16938 * sysdeps/arm/preconfigure: Regenerated.
16939 * sysdeps/arm/nofpu/Implies: New file.
16940 * sysdeps/arm/s_fma.c: Remove file.
16941 * sysdeps/arm/s_fmaf.c: Likewise.
16942 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
16943 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
16944 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16945 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
16946 * sysdeps/microblaze/s_fma.c: Remove file.
16947 * sysdeps/microblaze/s_fmaf.c: Likewise.
16948 * sysdeps/mips/mips32/nofpu/Implies: New file.
16949 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
16950 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
16951 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
16952 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
16953 * sysdeps/mips/ieee754/s_fma.c: Remove file.
16954 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
16955 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
16957 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
16958 * sysdeps/nios2/s_fma.c: Remove file.
16959 * sysdeps/nios2/s_fmaf.c: Likewise.
16960 * sysdeps/sh/nofpu/Implies: New file.
16961 * sysdeps/sh/s_fma.c: Remove file.
16962 * sysdeps/sh/s_fmaf.c: Likewise.
16963 * sysdeps/tile/Implies: Add ieee754/soft-fp.
16964 * sysdeps/tile/s_fma.c: Remove file.
16965 * sysdeps/tile/s_fmaf.c: Likewise.
16967 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
16969 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16970 Add s_cosf-sse2 and s_cosf-fma.
16971 (CFLAGS-s_cosf-fma.c): New.
16972 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
16973 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
16974 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
16976 2017-12-12 Steve Ellcey <sellcey@cavium.com>
16978 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
16980 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16982 * libio/Makefile (tests): Add tst-bz22415.
16983 (tst-bz22415-ENV): New rule.
16984 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
16985 (tests-special): Add tst-bz22415-mem.out.
16986 ($(objpfx)tst-bz22415-mem.out): New rule.
16987 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
16988 in case of a successful seek operation.
16989 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16990 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
16991 buffer is required.
16992 * libio/tst-bz22415.c: New test.
16994 * sysdeps/ia64/fpu/libm-test-ulps: Update.
16996 2017-12-12 James Clarke <jrtc27@jrtc27.com>
16998 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
16999 __IPC_64 to 0 to avoid IPC_64 being set.
17001 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17004 * math/bits/mathcalls.h (nextafter): Remove const.
17005 (nexttoward): Likewise.
17007 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17009 * configure.ac (--with-fp): Remove configure option.
17010 (with_fp_cond): New variable.
17011 (libc_cv_with_fp): New configure test. Use this variable instead
17013 * configure: Regenerated.
17014 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17015 * manual/install.texi (Configuring and compiling): Remove
17017 * INSTALL: Regenerated.
17018 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17019 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17020 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17021 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17022 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17023 use --without-fp to configure glibc.
17025 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17027 * manual/locale.texi (nl_langinfo): Fix a typo.
17029 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17032 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17034 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17036 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17037 (CFLAGS-argp-parse.c): Likewise.
17038 (CFLAGS-argp-fmtstream.c): Likewise.
17039 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17040 (CPPFLAGS-sha512-crypt.c): Likewise.
17041 (CPPFLAGS-md5-crypt.c): Likewise.
17042 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17043 (CFLAGS-stack_chk_fail_local.c): Likewise.
17044 (CFLAGS-backtrace.c): Likewise.
17045 (CFLAGS-sprintf_chk.c): Likewise.
17046 (CFLAGS-snprintf_chk.c): Likewise.
17047 (CFLAGS-vsprintf_chk.c): Likewise.
17048 (CFLAGS-vsnprintf_chk.c): Likewise.
17049 (CFLAGS-asprintf_chk.c): Likewise.
17050 (CFLAGS-vasprintf_chk.c): Likewise.
17051 (CFLAGS-obprintf_chk.c): Likewise.
17052 (CFLAGS-dprintf_chk.c): Likewise.
17053 (CFLAGS-vdprintf_chk.c): Likewise.
17054 (CFLAGS-printf_chk.c): Likewise.
17055 (CFLAGS-fprintf_chk.c): Likewise.
17056 (CFLAGS-vprintf_chk.c): Likewise.
17057 (CFLAGS-vfprintf_chk.c): Likewise.
17058 (CFLAGS-gets_chk.c): Likewise.
17059 (CFLAGS-fgets_chk.c): Likewise.
17060 (CFLAGS-fgets_u_chk.c): Likewise.
17061 (CFLAGS-fread_chk.c): Likewise.
17062 (CFLAGS-fread_u_chk.c): Likewise.
17063 (CFLAGS-swprintf_chk.c): Likewise.
17064 (CFLAGS-vswprintf_chk.c): Likewise.
17065 (CFLAGS-wprintf_chk.c): Likewise.
17066 (CFLAGS-fwprintf_chk.c): Likewise.
17067 (CFLAGS-vwprintf_chk.c): Likewise.
17068 (CFLAGS-vfwprintf_chk.c): Likewise.
17069 (CFLAGS-fgetws_chk.c): Likewise.
17070 (CFLAGS-fgetws_u_chk.c): Likewise.
17071 (CFLAGS-read_chk.c): Likewise.
17072 (CFLAGS-pread_chk.c): Likewise.
17073 (CFLAGS-pread64_chk.c): Likewise.
17074 (CFLAGS-recv_chk.c): Likewise.
17075 (CFLAGS-recvfrom_chk.c): Likewise.
17076 (CFLAGS-tst-longjmp_chk.c): Likewise.
17077 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17078 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17079 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17080 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17081 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17082 (CFLAGS-tst-chk1.c): Likewise.
17083 (CFLAGS-tst-chk2.c): Likewise.
17084 (CFLAGS-tst-chk3.c): Likewise.
17085 (CFLAGS-tst-chk4.cc): Likewise.
17086 (CFLAGS-tst-chk5.cc): Likewise.
17087 (CFLAGS-tst-chk6.cc): Likewise.
17088 (CFLAGS-tst-lfschk1.c): Likewise.
17089 (CFLAGS-tst-lfschk2.c): Likewise.
17090 (CFLAGS-tst-lfschk3.c): Likewise.
17091 (CFLAGS-tst-lfschk4.cc): Likewise.
17092 (CFLAGS-tst-lfschk5.cc): Likewise.
17093 (CFLAGS-tst-lfschk6.cc): Likewise.
17094 (CFLAGS-tst-ssp-1.c): Likewise.
17095 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17096 (CFLAGS-scandir64.c): Likewise.
17097 (CFLAGS-scandir-tail.c): Likewise.
17098 (CFLAGS-scandir64-tail.c): Likewise.
17099 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17100 (CFLAGS-dl-tunables.c): Likewise.
17101 (CFLAGS-dl-runtime.c): Likewise.
17102 (CFLAGS-dl-lookup.c): Likewise.
17103 (CFLAGS-dl-iterate-phdr.c): Likewise.
17104 (CFLAGS-vismain.c): Likewise.
17105 (CFLAGS-tst-linkall-static.c): Likewise.
17106 (CFLAGS-tst-linkall-static.c): Likewise.
17107 (CPPFLAGS-dl-load.c): Likewise.
17108 (CFLAGS-ldconfig.c): Likewise.
17109 (CFLAGS-dl-cache.c): Likewise.
17110 (CFLAGS-cache.c): Likewise.
17111 (CFLAGS-rtld.c): Likewise.
17112 (CFLAGS-multiload.c): Likewise.
17113 (CFLAGS-filtmod1.c): Likewise.
17114 (CFLAGS-tst-align.c): Likewise.
17115 (CFLAGS-tst-align2.c): Likewise.
17116 (CFLAGS-tst-alignmod.c): Likewise.
17117 (CFLAGS-tst-alignmod2.c): Likewise.
17118 (CPPFLAGS-tst-execstack.c): Likewise.
17119 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17120 (CFLAGS-tst-latepthreadmod.c): Likewise.
17121 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17122 (CFLAGS-getgrnam_r.c): Likewise.
17123 (CFLAGS-getgrent_r.c): Likewise.
17124 (CFLAGS-getgrent.c): Likewise.
17125 (CFLAGS-fgetgrent.c): Likewise.
17126 (CFLAGS-fgetgrent_r.c): Likewise.
17127 (CFLAGS-putgrent.c): Likewise.
17128 (CFLAGS-initgroups.c): Likewise.
17129 (CFLAGS-getgrgid.c): Likewise.
17130 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17131 (CFLAGS-getsgent.c): Likewise.
17132 (CFLAGS-fgetsgent.c): Likewise.
17133 (CFLAGS-fgetsgent_r.c): Likewise.
17134 (CFLAGS-putsgent.c): Likewise.
17135 (CFLAGS-getsgnam.c): Likewise.
17136 (CFLAGS-getsgnam_r.c): Likewise.
17137 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17138 (CFLAGS-iconv_charmap.c): Likewise.
17139 (CFLAGS-dummy-repertoire.c): Likewise.
17140 (CFLAGS-charmap.c): Likewise.
17141 (CFLAGS-linereader.c): Likewise.
17142 (CFLAGS-simple-hash.c): Likewise.
17143 (CFLAGS-gconv_conf.c): Likewise.
17144 (CFLAGS-iconvconfig.c): Likewise.
17145 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17146 (CFLAGS-gethstbyad.c): Likewise.
17147 (CFLAGS-gethstbynm_r.c): Likewise.
17148 (CFLAGS-gethstbynm.c): Likewise.
17149 (CFLAGS-gethstbynm2_r.c): Likewise.
17150 (CFLAGS-gethstbynm2.c): Likewise.
17151 (CFLAGS-gethstent_r.c): Likewise.
17152 (CFLAGS-gethstent.c): Likewise.
17153 (CFLAGS-rcmd.c): Likewise.
17154 (CFLAGS-getnetbynm_r.c): Likewise.
17155 (CFLAGS-getnetbynm.c): Likewise.
17156 (CFLAGS-getnetbyad_r.c): Likewise.
17157 (CFLAGS-getnetbyad.c): Likewise.
17158 (CFLAGS-getnetent_r.c): Likewise.
17159 (CFLAGS-getnetent.c): Likewise.
17160 (CFLAGS-getaliasent_r.c): Likewise.
17161 (CFLAGS-getaliasent.c): Likewise.
17162 (CFLAGS-getrpcent_r.c): Likewise.
17163 (CFLAGS-getrpcent.c): Likewise.
17164 (CFLAGS-getservent_r.c): Likewise.
17165 (CFLAGS-getservent.c): Likewise.
17166 (CFLAGS-getprtent_r.c): Likewise.
17167 (CFLAGS-getprtent.c): Likewise.
17168 (CFLAGS-either_ntoh.c): Likewise.
17169 (CFLAGS-either_hton.c): Likewise.
17170 (CFLAGS-getnetgrent.c): Likewise.
17171 (CFLAGS-getnetgrent_r.c): Likewise.
17172 (CFLAGS-tst-checks-posix.c): Likewise.
17173 (CFLAGS-tst-sockaddr.c): Likewise.
17174 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17175 (CFLAGS-tst-translit.c): Likewise.
17176 (CFLAGS-tst-gettext2.c): Likewise.
17177 (CFLAGS-tst-codeset.c): Likewise.
17178 (CFLAGS-tst-gettext3.c): Likewise.
17179 (CFLAGS-tst-gettext4.c): Likewise.
17180 (CFLAGS-tst-gettext5.c): Likewise.
17181 (CFLAGS-tst-gettext6.c): Likewise.
17182 * io/Makefile (CFLAGS-open.c): Likewise.
17183 (CFLAGS-open64.c): Likewise.
17184 (CFLAGS-creat.c): Likewise.
17185 (CFLAGS-creat64.c): Likewise.
17186 (CFLAGS-fcntl.c): Likewise.
17187 (CFLAGS-poll.c): Likewise.
17188 (CFLAGS-ppoll.c): Likewise.
17189 (CFLAGS-lockf.c): Likewise.
17190 (CFLAGS-statfs.c): Likewise.
17191 (CFLAGS-fstatfs.c): Likewise.
17192 (CFLAGS-statvfs.c): Likewise.
17193 (CFLAGS-fstatvfs.c): Likewise.
17194 (CFLAGS-fts.c): Likewise.
17195 (CFLAGS-fts64.c): Likewise.
17196 (CFLAGS-ftw.c): Likewise.
17197 (CFLAGS-ftw64.c): Likewise.
17198 (CFLAGS-lockf.c): Likewise.
17199 (CFLAGS-posix_fallocate.c): Likewise.
17200 (CFLAGS-posix_fallocate64.c): Likewise.
17201 (CFLAGS-fallocate.c): Likewise.
17202 (CFLAGS-fallocate64.c): Likewise.
17203 (CFLAGS-read.c): Likewise.
17204 (CFLAGS-write.c): Likewise.
17205 (CFLAGS-test-stat.c): Likewise.
17206 (CFLAGS-test-lfs.c): Likewise.
17207 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17208 (CFLAGS-fputc.c): Likewise.
17209 (CFLAGS-fputwc.c): Likewise.
17210 (CFLAGS-freopen64.c): Likewise.
17211 (CFLAGS-freopen.c): Likewise.
17212 (CFLAGS-fseek.c): Likewise.
17213 (CFLAGS-fseeko64.c): Likewise.
17214 (CFLAGS-fseeko.c): Likewise.
17215 (CFLAGS-ftello64.c): Likewise.
17216 (CFLAGS-ftello.c): Likewise.
17217 (CFLAGS-fwide.c): Likewise.
17218 (CFLAGS-genops.c): Likewise.
17219 (CFLAGS-getc.c): Likewise.
17220 (CFLAGS-getchar.c): Likewise.
17221 (CFLAGS-getwc.c): Likewise.
17222 (CFLAGS-getwchar.c): Likewise.
17223 (CFLAGS-iofclose.c): Likewise.
17224 (CFLAGS-iofflush.c): Likewise.
17225 (CFLAGS-iofgetpos64.c): Likewise.
17226 (CFLAGS-iofgetpos.c): Likewise.
17227 (CFLAGS-iofgets.c): Likewise.
17228 (CFLAGS-iofgetws.c): Likewise.
17229 (CFLAGS-iofputs.c): Likewise.
17230 (CFLAGS-iofputws.c): Likewise.
17231 (CFLAGS-iofread.c): Likewise.
17232 (CFLAGS-iofsetpos64.c): Likewise.
17233 (CFLAGS-iofsetpos.c): Likewise.
17234 (CFLAGS-ioftell.c): Likewise.
17235 (CFLAGS-iofwrite.c): Likewise.
17236 (CFLAGS-iogetdelim.c): Likewise.
17237 (CFLAGS-iogetline.c): Likewise.
17238 (CFLAGS-iogets.c): Likewise.
17239 (CFLAGS-iogetwline.c): Likewise.
17240 (CFLAGS-ioputs.c): Likewise.
17241 (CFLAGS-ioseekoff.c): Likewise.
17242 (CFLAGS-ioseekpos.c): Likewise.
17243 (CFLAGS-iosetbuffer.c): Likewise.
17244 (CFLAGS-iosetvbuf.c): Likewise.
17245 (CFLAGS-ioungetc.c): Likewise.
17246 (CFLAGS-ioungetwc.c): Likewise.
17247 (CFLAGS-oldfileops.c): Likewise.
17248 (CFLAGS-oldiofclose.c): Likewise.
17249 (CFLAGS-oldiofgetpos64.c): Likewise.
17250 (CFLAGS-oldiofgetpos.c): Likewise.
17251 (CFLAGS-oldiofsetpos64.c): Likewise.
17252 (CFLAGS-oldiofsetpos.c): Likewise.
17253 (CFLAGS-peekc.c): Likewise.
17254 (CFLAGS-putc.c): Likewise.
17255 (CFLAGS-putchar.c): Likewise.
17256 (CFLAGS-putwc.c): Likewise.
17257 (CFLAGS-putwchar.c): Likewise.
17258 (CFLAGS-rewind.c): Likewise.
17259 (CFLAGS-wfileops.c): Likewise.
17260 (CFLAGS-wgenops.c): Likewise.
17261 (CFLAGS-oldiofopen.c): Likewise.
17262 (CFLAGS-iofopen.c): Likewise.
17263 (CFLAGS-iofopen64.c): Likewise.
17264 (CFLAGS-oldtmpfile.c): Likewise.
17265 (CFLAGS-tst_putwc.c): Likewise.
17266 * locale/Makefile (CFLAGS-md5.c): Likewise.
17267 (CFLAGS-charmap.c): Likewise.
17268 (CFLAGS-locfile.c): Likewise.
17269 (CFLAGS-charmap-dir.c): Likewise.
17270 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17271 (CFLAGS-getpt.c): Likewise.
17272 (CFLAGS-pt_chown.c): Likewise.
17273 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17274 (CFLAGS-obstack.c): Likewise.
17275 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17276 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17277 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17278 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17279 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17280 (CFLAGS-test-tgmath.c): Likewise.
17281 (CFLAGS-test-tgmath2.c): Likewise.
17282 (CFLAGS-test-tgmath-ret.c): Likewise.
17283 (CFLAGS-test-powl.c): Likewise.
17284 (CFLAGS-test-snan.c): Likewise.
17285 (CFLAGS-test-signgam-finite.c): Likewise.
17286 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17287 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17288 (CFLAGS-test-signgam-uchar.c): Likewise.
17289 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17290 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17291 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17292 (CFLAGS-test-signgam-uint.c): Likewise.
17293 (CFLAGS-test-signgam-uint-init.c): Likewise.
17294 (CFLAGS-test-signgam-uint-static.c): Likewise.
17295 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17296 (CFLAGS-test-signgam-ullong.c): Likewise.
17297 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17298 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17299 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17300 (CFLAGS-test-math-cxx11.cc): Likewise.
17301 (CFLAGS-test-math-isinff.cc): Likewise.
17302 (CFLAGS-test-math-iszero.cc): Likewise.
17303 (CFLAGS-test-math-issignaling.cc): Likewise.
17304 (CFLAGS-test-math-iscanonical.cc): Likewise.
17305 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17306 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17307 (CFLAGS-test-flt-eval-method.c): Likewise.
17308 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17309 (CFLAGS-test-finite-macros.c): Likewise.
17310 * misc/Makefile (CFLAGS-select.c): Likewise.
17311 (CFLAGS-tsearch.c): Likewise.
17312 (CFLAGS-lsearch.c): Likewise.
17313 (CFLAGS-pselect.c): Likewise.
17314 (CFLAGS-readv.c): Likewise.
17315 (CFLAGS-writev.c): Likewise.
17316 (CFLAGS-preadv.c): Likewise.
17317 (CFLAGS-preadv64.c): Likewise.
17318 (CFLAGS-pwritev.c): Likewise.
17319 (CFLAGS-pwritev64.c): Likewise.
17320 (CFLAGS-preadv2.c): Likewise.
17321 (CFLAGS-preadv64v2.c): Likewise.
17322 (CFLAGS-pwritev2.c): Likewise.
17323 (CFLAGS-pwritev64v2.c): Likewise.
17324 (CFLAGS-usleep.c): Likewise.
17325 (CFLAGS-syslog.c): Likewise.
17326 (CFLAGS-error.c): Likewise.
17327 (CFLAGS-getpass.c): Likewise.
17328 (CFLAGS-mkstemp.c): Likewise.
17329 (CFLAGS-mkstemp64.c): Likewise.
17330 (CFLAGS-getsysstats.c): Likewise.
17331 (CFLAGS-getusershell.c): Likewise.
17332 (CFLAGS-err.c): Likewise.
17333 (CFLAGS-tst-tsearch.c): Likewise.
17334 (CFLAGS-msync.c): Likewise.
17335 (CFLAGS-fdatasync.c): Likewise.
17336 (CFLAGS-fsync.c): Likewise.
17337 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17338 (CFLAGS-unwind.c): Likewise.
17339 (CFLAGS-unwind-forcedunwind.c): Likewise.
17340 (CFLAGS-pthread_cancel.c): Likewise.
17341 (CFLAGS-pthread_setcancelstate.c): Likewise.
17342 (CFLAGS-pthread_setcanceltype.c): Likewise.
17343 (CFLAGS-cancellation.c): Likewise.
17344 (CFLAGS-libc-cancellation.c): Likewise.
17345 (CFLAGS-pthread_exit.c): Likewise.
17346 (CFLAGS-forward.c): Likewise.
17347 (CFLAGS-pthread_testcancel.c): Likewise.
17348 (CFLAGS-pthread_join.c): Likewise.
17349 (CFLAGS-pthread_timedjoin.c): Likewise.
17350 (CFLAGS-pthread_once.c): Likewise.
17351 (CFLAGS-pthread_cond_wait.c): Likewise.
17352 (CFLAGS-sem_wait.c): Likewise.
17353 (CFLAGS-sem_timedwait.c): Likewise.
17354 (CFLAGS-fcntl.c): Likewise.
17355 (CFLAGS-lockf.c): Likewise.
17356 (CFLAGS-pread.c): Likewise.
17357 (CFLAGS-pread64.c): Likewise.
17358 (CFLAGS-pwrite.c): Likewise.
17359 (CFLAGS-pwrite64.c): Likewise.
17360 (CFLAGS-wait.c): Likewise.
17361 (CFLAGS-waitpid.c): Likewise.
17362 (CFLAGS-sigwait.c): Likewise.
17363 (CFLAGS-msgrcv.c): Likewise.
17364 (CFLAGS-msgsnd.c): Likewise.
17365 (CFLAGS-tcdrain.c): Likewise.
17366 (CFLAGS-open.c): Likewise.
17367 (CFLAGS-open64.c): Likewise.
17368 (CFLAGS-pause.c): Likewise.
17369 (CFLAGS-recv.c): Likewise.
17370 (CFLAGS-send.c): Likewise.
17371 (CFLAGS-accept.c): Likewise.
17372 (CFLAGS-sendto.c): Likewise.
17373 (CFLAGS-connect.c): Likewise.
17374 (CFLAGS-recvfrom.c): Likewise.
17375 (CFLAGS-recvmsg.c): Likewise.
17376 (CFLAGS-sendmsg.c): Likewise.
17377 (CFLAGS-close.c): Likewise.
17378 (CFLAGS-read.c): Likewise.
17379 (CFLAGS-write.c): Likewise.
17380 (CFLAGS-nanosleep.c): Likewise.
17381 (CFLAGS-sigsuspend.c): Likewise.
17382 (CFLAGS-msync.c): Likewise.
17383 (CFLAGS-fdatasync.c): Likewise.
17384 (CFLAGS-fsync.c): Likewise.
17385 (CFLAGS-pt-system.c): Likewise.
17386 (CFLAGS-tst-cleanup2.c): Likewise.
17387 (CFLAGS-tst-cleanupx2.c): Likewise.
17388 (CFLAGS-flockfile.c): Likewise.
17389 (CFLAGS-ftrylockfile.c): Likewise.
17390 (CFLAGS-funlockfile.c): Likewise.
17391 (CFLAGS-tst-initializers1.c): Likewise.
17392 (CFLAGS-tst-initializers1-c89.c): Likewise.
17393 (CFLAGS-tst-initializers1-c99.c): Likewise.
17394 (CFLAGS-tst-initializers1-c11.c): Likewise.
17395 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17396 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17397 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17398 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17399 (CFLAGS-nscd_getgr_r.c): Likewise.
17400 (CFLAGS-nscd_gethst_r.c): Likewise.
17401 (CFLAGS-nscd_getai.c): Likewise.
17402 (CFLAGS-nscd_initgroups.c): Likewise.
17403 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17404 (CFLAGS-pause.c): Likewise.
17405 (CFLAGS-pread.c): Likewise.
17406 (CFLAGS-pread64.c): Likewise.
17407 (CFLAGS-pwrite.c): Likewise.
17408 (CFLAGS-pwrite64.c): Likewise.
17409 (CFLAGS-sleep.c): Likewise.
17410 (CFLAGS-wait.c): Likewise.
17411 (CFLAGS-waitid.c): Likewise.
17412 (CFLAGS-waitpid.c): Likewise.
17413 (CFLAGS-getopt.c): Likewise.
17414 (CFLAGS-wordexp.c): Likewise.
17415 (CFLAGS-sysconf.c): Likewise.
17416 (CFLAGS-pathconf.c): Likewise.
17417 (CFLAGS-fpathconf.c): Likewise.
17418 (CFLAGS-spawn.c): Likewise.
17419 (CFLAGS-spawnp.c): Likewise.
17420 (CFLAGS-spawni.c): Likewise.
17421 (CFLAGS-glob.c): Likewise.
17422 (CFLAGS-glob64.c): Likewise.
17423 (CFLAGS-getconf.c): Likewise.
17424 (CFLAGS-nanosleep.c): Likewise.
17425 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17426 (CFLAGS-getpwent.c): Likewise.
17427 (CFLAGS-getpw.c): Likewise.
17428 (CFLAGS-fgetpwent_r.c): Likewise.
17429 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17430 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17431 (CFLAGS-mq_timedreceive.c): Likewise.
17432 (CFLAGS-mq_timedsend.c): Likewise.
17433 (CFLAGS-clock_nanosleep.c): Likewise.
17434 (CFLAGS-librt-cancellation.c): Likewise.
17435 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17436 (CFLAGS-getspent.c): Likewise.
17437 (CFLAGS-fgetspent.c): Likewise.
17438 (CFLAGS-fgetspent_r.c): Likewise.
17439 (CFLAGS-putspent.c): Likewise.
17440 (CFLAGS-getspnam.c): Likewise.
17441 (CFLAGS-getspnam_r.c): Likewise.
17442 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17443 (CFLAGS-sigsuspend.c): Likewise.
17444 (CFLAGS-sigtimedwait.c): Likewise.
17445 (CFLAGS-sigwait.c): Likewise.
17446 (CFLAGS-sigwaitinfo.c): Likewise.
17447 (CFLAGS-sigreturn.c): Likewise.
17448 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17449 (CFLAGS-vfwprintf.c): Likewise.
17450 (CFLAGS-tmpfile.c): Likewise.
17451 (CFLAGS-tmpfile64.c): Likewise.
17452 (CFLAGS-tempname.c): Likewise.
17453 (CFLAGS-psignal.c): Likewise.
17454 (CFLAGS-vprintf.c): Likewise.
17455 (CFLAGS-cuserid.c): Likewise.
17456 (CFLAGS-errlist.c): Likewise.
17457 (CFLAGS-siglist.c): Likewise.
17458 (CFLAGS-scanf15.c): Likewise.
17459 (CFLAGS-scanf17.c): Likewise.
17460 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17461 (CFLAGS-msort.c): Likewise.
17462 (CFLAGS-qsort.c): Likewise.
17463 (CFLAGS-system.c): Likewise.
17464 (CFLAGS-fmtmsg.c): Likewise.
17465 (CFLAGS-strfmon.c): Likewise.
17466 (CFLAGS-strfmon_l.c): Likewise.
17467 (CFLAGS-strfromd.c): Likewise.
17468 (CFLAGS-strfromf.c): Likewise.
17469 (CFLAGS-strfroml.c): Likewise.
17470 (CFLAGS-tst-bsearch.c): Likewise.
17471 (CFLAGS-tst-qsort.c): Likewise.
17472 (CFLAGS-tst-makecontext2.c): Likewise.
17473 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17474 (CFLAGS-xnlm_prot.c): Likewise.
17475 (CFLAGS-xrstat.c): Likewise.
17476 (CFLAGS-xyppasswd.c): Likewise.
17477 (CFLAGS-xklm_prot.c): Likewise.
17478 (CFLAGS-xrex.c): Likewise.
17479 (CFLAGS-xsm_inter.c): Likewise.
17480 (CFLAGS-xmount.c): Likewise.
17481 (CFLAGS-xrusers.c): Likewise.
17482 (CFLAGS-xspray.c): Likewise.
17483 (CFLAGS-xnfs_prot.c): Likewise.
17484 (CFLAGS-xrquota.c): Likewise.
17485 (CFLAGS-xkey_prot.c): Likewise.
17486 (CFLAGS-auth_unix.c): Likewise.
17487 (CFLAGS-key_call.c): Likewise.
17488 (CFLAGS-pmap_rmt.c): Likewise.
17489 (CFLAGS-clnt_perr.c): Likewise.
17490 (CFLAGS-openchild.c): Likewise.
17491 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17492 (CFLAGS-msgsnd.c): Likewise.
17493 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17494 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17495 (CFLAGS-tzset.c): Likewise.
17496 (CFLAGS-getdate.c): Likewise.
17497 (CFLAGS-test_time.c): Likewise.
17498 (CPPFLAGS-tst-tzname.c): Likewise.
17499 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17500 (CFLAGS-zic.c): Likewise.
17501 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17502 (CFLAGS-wcswidth.c): Likewise.
17503 (CFLAGS-wcstol.c): Likewise.
17504 (CFLAGS-wcstoul.c): Likewise.
17505 (CFLAGS-wcstoll.c): Likewise.
17506 (CFLAGS-wcstoull.c): Likewise.
17507 (CFLAGS-wcstod.c): Likewise.
17508 (CFLAGS-wcstold.c): Likewise.
17509 (CFLAGS-wcstof128.c): Likewise.
17510 (CFLAGS-wcstof.c): Likewise.
17511 (CFLAGS-wcstol_l.c): Likewise.
17512 (CFLAGS-wcstoul_l.c): Likewise.
17513 (CFLAGS-wcstoll_l.c): Likewise.
17514 (CFLAGS-wcstoull_l.c): Likewise.
17515 (CFLAGS-wcstod_l.c): Likewise.
17516 (CFLAGS-wcstold_l.c): Likewise.
17517 (CFLAGS-wcstof128_l.c): Likewise.
17518 (CFLAGS-wcstof_l.c): Likewise.
17519 (CPPFLAGS-tst-wchar-h.c): Likewise.
17520 (CPPFLAGS-wcstold_l.c): Likewise.
17522 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17524 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17526 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17527 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17529 * manual/tunables.texi (Hardware Capability Tunables): Document
17530 glibc.tune.cached_memopt.
17531 * sysdeps/powerpc/cpu-features.c: New file.
17532 * sysdeps/powerpc/cpu-features.h: New file.
17533 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17534 _dl_powerpc_cpu_features.
17535 * sysdeps/powerpc/dl-tunables.list: New file.
17536 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17537 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17538 (INIT_ARCH): Initialize use_aligned_memopt.
17539 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17540 IS_IN(rtld))]: Restrict dl_platform_init availability and
17541 initialize CPU features used by tunables.
17542 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17543 Add memcpy-power8-cached.
17544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17545 __memcpy_power8_cached.
17546 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17547 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17550 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17552 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17553 (CFLAGS-noinl-tester.c): Likewise.
17554 (CFLAGS-tst-strlen.c): Likewise.
17555 (CFLAGS-stratcliff.c): Likewise.
17556 (CFLAGS-test-ffs.c): Likewise.
17557 (CFLAGS-tst-inlcall.c): Likewise.
17558 (CFLAGS-tst-xbzero-opt.c): Likewise.
17559 (CFLAGS-memcpy.c): Likewise.
17560 (CFLAGS-wordcopy.c): Likewise.
17562 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17564 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17565 Store r15 on stack and add cfi rule.
17566 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17569 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
17572 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17575 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17577 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17578 Add s_sinf-sse2 and s_sinf-fma.
17579 (CFLAGS-s_sinf-fma.c): New.
17580 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17581 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17584 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17586 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17588 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17591 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17592 part of result to imaginary part of argument if it is zero and the
17593 real part of the argument is not finite.
17594 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17595 of result to real part of argument if it is zero and the imaginary
17596 part of the argument is not finite.
17598 2017-12-07 Mike FABIAN <mfabian@redhat.com>
17601 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17602 and to the list of locales to be built for testing.
17603 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17604 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17605 and build the collation rules upon that.
17607 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17609 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17610 * manual/math.texi (Mathematics): Document support for _Float32.
17611 * math/Makefile (test-types): Add float32.
17612 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17613 * stdlib/Versions (GLIBC_2.27): Likewise.
17614 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17615 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17616 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17677 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17678 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17683 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17684 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17686 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17688 * stdlib/strtof.c: Include <bits/floatn.h>
17689 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17690 and later undefine as macro. Define as weak alias if
17692 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17693 and later undefine as macro. Define as weak alias if
17695 * stdlib/strtof_l.c: Include <bits/floatn.h>
17696 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17697 and later undefine as macro. Define as weak alias if
17699 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17700 and later undefine as macro. Define as weak alias if
17703 * stdlib/strfromf.c: Include <bits/floatn.h>.
17704 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17705 and later undefine as macro and define as weak alias.
17707 * math/test-float32.h: New file.
17709 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17710 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17711 (libm_alias_float_other_r): Create f32 alias.
17712 (libm_alias_float_r): Use semicolon before call to
17713 libm_alias_float_other_r.
17715 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17716 second argument to libm_alias_float_other.
17717 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17718 second argument to libm_alias_float_other.
17719 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17720 argument to libm_alias_float_other.
17723 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17724 real part of result for argument 0 + i * NaN.
17725 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17726 results for tests of 0 + i * NaN.
17728 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17730 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17732 2017-12-06 David S. Miller <davem@davemloft.net>
17734 * sysdeps/sparc/fpu/libm-test-ulps: Update
17735 exp_{downward,towardzero,upward} ulps.
17737 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17739 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17742 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17744 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17746 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17748 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17751 2017-12-06 Mike FABIAN <mfabian@redhat.com>
17754 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17755 and to the list of locales to be built for testing.
17756 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17757 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17758 and build the collation rules upon that.
17760 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17762 * NEWS: Add sinf to list of optimized functions.
17764 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17766 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17767 (__HAVE_FLOAT32X): Likewise.
17768 * manual/math.texi (Mathematics): Document support for _Float64
17770 * math/Makefile (test-types): Add float64 and float32x.
17771 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17773 * stdlib/Versions (GLIBC_2.27): Likewise.
17774 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17776 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17836 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17842 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17843 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17845 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17847 * bits/floatn-common.h: Include <bits/long-double.h>.
17848 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17849 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
17850 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17851 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
17852 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17853 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
17854 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17855 (__builtin_huge_valf64): Use __builtin_huge_vall.
17856 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17857 (__builtin_inff64): Use __builtin_infl.
17858 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17859 (__builtin_nanf64): Use __builtin_nanl.
17860 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17861 (__builtin_nansf64): Use __builtin_nansl.
17863 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
17864 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17865 Carlos O'Donnell <carlos@redhat.com>
17867 * elf/dl-tunables.list: Add elision parameters.
17868 * manual/tunables.texi: Add entries about elision tunable.
17869 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
17870 Add callback functions to dynamically enable/disable elision.
17871 Add multiple callbacks functions to set elision parameters.
17872 Deleted __libc_enable_secure check.
17873 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
17874 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
17875 * configure: Regenerated.
17876 * configure.ac: Option enable_lock_elision was deleted.
17877 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
17878 * config.make.in: Remove references to enable_lock_elision.
17879 * manual/install.texi: Elision configure option was removed.
17880 * INSTALL: Regenerated to remove enable_lock_elision.
17882 Disable elision so it can verify error case for destroying a mutex.
17883 * sysdeps/powerpc/nptl/elide.h:
17884 Cleanup ENABLE_LOCK_ELISION check.
17885 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
17886 * sysdeps/s390/configure: Regenerated.
17887 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
17888 * nptl/tst-mutex8.c:
17889 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
17890 * sysdeps/powerpc/powerpc32/sysdep.h:
17891 Deleted all ENABLE_LOCK_ELISION checks.
17892 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17893 * sysdeps/powerpc/sysdep.h: Likewise.
17894 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
17895 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
17896 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17897 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17898 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17899 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
17900 enable-lock-elision.
17902 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17904 * stdlib/strtod.c: Include <bits/floatn.h>.
17905 (BUILD_DOUBLE): New macro.
17906 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17907 (strtof64): Define and later undefine as macro. Define as weak
17908 alias if [!USE_WIDE_CHAR].
17909 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17910 (wcstof64): Define and later undefine as macro. Define as weak
17911 alias if [USE_WIDE_CHAR].
17912 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17913 (strtof32x): Define and later undefine as macro. Define as weak
17914 alias if [!USE_WIDE_CHAR].
17915 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17916 (wcstof32x): Define and later undefine as macro. Define as weak
17917 alias if [USE_WIDE_CHAR].
17918 * stdlib/strtod_l.c: Include <bits/floatn.h>.
17919 (BUILD_DOUBLE): New macro.
17920 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17921 (strtof64_l): Define and later undefine as macro. Define as weak
17922 alias if [!USE_WIDE_CHAR].
17923 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17924 (wcstof64_l): Define and later undefine as macro. Define as weak
17925 alias if [USE_WIDE_CHAR].
17926 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17927 (strtof32x_l): Define and later undefine as macro. Define as weak
17928 alias if [!USE_WIDE_CHAR].
17929 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17930 (wcstof32x_l): Define and later undefine as macro. Define as weak
17931 alias if [USE_WIDE_CHAR].
17933 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17935 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
17936 (reduced): Use ones as double instead of integer.
17938 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
17940 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
17942 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17944 * stdlib/strfromd.c: Include <bits/floatn.h>.
17945 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
17946 and later undefine as macro and define as weak alias.
17947 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
17950 * math/test-float32x.h: New file.
17951 * math/test-float64.h: Likewise.
17953 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
17954 (libm_alias_double_other_r_f64): New macro.
17955 (libm_alias_double_other_r_f32x): Likewise.
17956 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17957 libm_alias_double_other_r_f32x.
17958 (libm_alias_double_r): Use semicolon before call to
17959 libm_alias_double_other_r.
17960 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
17962 (libm_alias_double_other_r_f64): New macro.
17963 (libm_alias_double_other_r_f32x): Likewise.
17964 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17965 libm_alias_double_other_r_f32x.
17967 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
17969 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
17971 (SINF_FUNC): Likewise. Replace floor with simple casts.
17973 2017-12-05 Mike FABIAN <mfabian@redhat.com>
17976 * localedata/Makefile: Add et_EE.UTF-8 to test-input
17977 and to the list of locales to be built for testing.
17978 * localedata/et_EE.UTF-8.in: New file for testing the collation.
17979 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
17980 and build the collation rules upon that.
17982 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
17984 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
17985 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
17986 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
17987 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
17988 instead of __insn__xxx.
17989 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
17990 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
17991 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
17992 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
17993 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
17994 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
17996 2017-12-05 Florian Weimer <fweimer@redhat.com>
17998 Linux: Implement interfaces for memory protection keys
17999 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18001 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18002 * support/xunistd.h (xsysconf): Declare.
18003 * support/xraise.c: New file.
18004 * support/xsigaction.c: Likewise.
18005 * support/xsignal.c: Likewise.
18006 * support/xsysconf.c: Likewise.
18007 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18008 pkey_set, pkey_get, pkey_mprotect.
18009 [misc] (tests): Add tst-pkey.
18010 (tst-pkey): Link with -lpthread.
18011 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18012 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18013 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18014 (PKEY_DISABLE_WRITE): Define.
18015 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18017 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18018 (SEGV_PKUERR): Add.
18019 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18020 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18021 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18022 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18024 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18025 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18026 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18027 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18028 * sysdeps/unix/sysv/linux/**.abilist: Update.
18030 2017-12-05 Florian Weimer <fweimer@redhat.com>
18032 * support/tst-test_compare.c (subprocess): Use long long instead
18033 of long argument for consistent type width across 32-bit and
18034 64-bit architectures.
18035 (do_test): Adjust expected output.
18037 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18039 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18040 (cosf): Define using libm_alias_float.
18041 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18042 (fabsf): Define using libm_alias_float.
18043 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18044 (fmaf): Define using libm_alias_float.
18045 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18046 (rintf): Define using libm_alias_float.
18047 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18048 (sinf): Define using libm_alias_float.
18049 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18050 <libm-alias-float.h>.
18051 (modff): Define using libm_alias_float.
18052 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18053 <libm-alias-float.h>.
18054 (logbf): Define using libm_alias_float.
18055 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18056 <libm-alias-float.h>.
18057 (ceilf): Define using libm_alias_float.
18058 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18059 <libm-alias-float.h>.
18060 (copysignf): Define using libm_alias_float.
18061 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18062 <libm-alias-float.h>.
18063 (floorf): Define using libm_alias_float.
18064 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18065 <libm-alias-float.h>.
18066 (llrintf): Define using libm_alias_float.
18067 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18068 <libm-alias-float.h>.
18069 (llroundf): Define using libm_alias_float.
18070 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18071 <libm-alias-float.h>.
18072 (lrintf): Define using libm_alias_float.
18073 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18074 <libm-alias-float.h>.
18075 (lroundf): Define using libm_alias_float.
18076 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18077 <libm-alias-float.h>.
18078 (nearbyintf): Define using libm_alias_float.
18079 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18080 <libm-alias-float.h>.
18081 (rintf): Define using libm_alias_float.
18082 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18083 <libm-alias-float.h>.
18084 (roundf): Define using libm_alias_float.
18085 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18086 <libm-alias-float.h>.
18087 (truncf): Define using libm_alias_float.
18088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18089 Include <libm-alias-float.h>.
18090 (ceilf): Define using libm_alias_float.
18091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18092 Include <libm-alias-float.h>.
18093 (copysignf): Define using libm_alias_float.
18094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18095 Include <libm-alias-float.h>.
18096 (floorf): Define using libm_alias_float.
18097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18098 Include <libm-alias-float.h>.
18099 (llrintf): Define using libm_alias_float.
18100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18101 Include <libm-alias-float.h>.
18102 (llroundf): Define using libm_alias_float.
18103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18104 Include <libm-alias-float.h>.
18105 (logbf): Define using libm_alias_float.
18106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18107 Include <libm-alias-float.h>.
18108 (lrintf): Define using libm_alias_float.
18109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18110 Include <libm-alias-float.h>.
18111 (lroundf): Define using libm_alias_float.
18112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18113 Include <libm-alias-float.h>.
18114 (modff): Define using libm_alias_float.
18115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18116 Include <libm-alias-float.h>.
18117 (roundf): Define using libm_alias_float.
18118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18119 Include <libm-alias-float.h>.
18120 (truncf): Define using libm_alias_float.
18121 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18122 <libm-alias-float.h>.
18123 (llrintf): Define using libm_alias_float.
18124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18125 <libm-alias-float.h>.
18126 (llroundf): Define using libm_alias_float.
18127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18128 <libm-alias-float.h>.
18129 (ceilf): Define using libm_alias_float.
18130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18131 <libm-alias-float.h>.
18132 (floorf): Define using libm_alias_float.
18133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18134 <libm-alias-float.h>.
18135 (llroundf): Define using libm_alias_float.
18136 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18137 <libm-alias-float.h>.
18138 (lroundf): Define using libm_alias_float.
18139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18140 <libm-alias-float.h>.
18141 (roundf): Define using libm_alias_float.
18142 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18143 <libm-alias-float.h>.
18144 (truncf): Define using libm_alias_float.
18145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18146 <libm-alias-float.h>.
18147 (copysignf): Define using libm_alias_float.
18148 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18149 <libm-alias-float.h>.
18150 (llrintf): Define using libm_alias_float.
18151 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18152 <libm-alias-float.h>.
18153 (llroundf): Define using libm_alias_float.
18154 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18155 <libm-alias-float.h>.
18156 (lrintf): Define using libm_alias_float.
18157 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18158 <libm-alias-float.h>.
18159 (lroundf): Define using libm_alias_float.
18160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18161 <libm-alias-float.h>.
18162 (ceilf): Define using libm_alias_float.
18163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18164 <libm-alias-float.h>.
18165 (copysignf): Define using libm_alias_float.
18166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18167 <libm-alias-float.h>.
18168 (cosf): Define using libm_alias_float.
18169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18170 <libm-alias-float.h>.
18171 (floorf): Define using libm_alias_float.
18172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18173 <libm-alias-float.h>.
18174 (llrintf): Define using libm_alias_float.
18175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18176 <libm-alias-float.h>.
18177 (llroundf): Define using libm_alias_float.
18178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18179 <libm-alias-float.h>.
18180 (logbf): Define using libm_alias_float.
18181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18182 <libm-alias-float.h>.
18183 (modff): Define using libm_alias_float.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18185 <libm-alias-float.h>.
18186 (roundf): Define using libm_alias_float.
18187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18188 <libm-alias-float.h>.
18189 (sinf): Define using libm_alias_float.
18190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18191 <libm-alias-float.h>.
18192 (truncf): Define using libm_alias_float.
18193 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18194 <libm-alias-float.h>.
18195 (ceilf): Define using libm_alias_float.
18196 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18197 <libm-alias-float.h>.
18198 (copysignf): Define using libm_alias_float.
18199 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18200 <libm-alias-float.h>.
18201 (floorf): Define using libm_alias_float.
18202 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18203 <libm-alias-float.h>.
18204 (llrintf): Define using libm_alias_float.
18205 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18206 <libm-alias-float.h>.
18207 (llroundf): Define using libm_alias_float.
18208 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18209 <libm-alias-float.h>.
18210 (nearbyintf): Define using libm_alias_float.
18211 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18212 <libm-alias-float.h>.
18213 (rintf): Define using libm_alias_float.
18214 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18215 <libm-alias-float.h>.
18216 (roundf): Define using libm_alias_float.
18217 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18218 <libm-alias-float.h>.
18219 (truncf): Define using libm_alias_float.
18220 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18221 <libm-alias-float.h>.
18222 (ceilf): Define using libm_alias_float.
18223 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18224 <libm-alias-float.h>.
18225 (floorf): Define using libm_alias_float.
18226 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18227 <libm-alias-float.h>.
18228 (llroundf): Define using libm_alias_float.
18229 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18230 <libm-alias-float.h>.
18231 (roundf): Define using libm_alias_float.
18232 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18233 <libm-alias-float.h>.
18234 (truncf): Define using libm_alias_float.
18235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18236 <libm-alias-float.h>.
18237 (copysignf): Define using libm_alias_float.
18238 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18239 <libm-alias-float.h>.
18240 (llrintf): Define using libm_alias_float.
18241 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18242 <libm-alias-float.h>.
18243 (llroundf): Define using libm_alias_float.
18244 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18245 <libm-alias-float.h>.
18246 (cosf): Define using libm_alias_float.
18247 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18248 <libm-alias-float.h>.
18249 (llrintf): Define using libm_alias_float.
18250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18251 <libm-alias-float.h>.
18252 (llroundf): Define using libm_alias_float.
18253 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18254 <libm-alias-float.h>.
18255 (sinf): Define using libm_alias_float.
18257 2017-12-04 Florian Weimer <fweimer@redhat.com>
18259 * support/check.h (TEST_COMPARE): Define.
18260 (support_test_compare_failure): Declare.
18261 * support/Makefile (libsupport-routines): Add
18262 support_test_compare_failure.
18263 (tests): Add tst-test_compare.
18264 * support /support_test_compare_failure.c: New file.
18265 * support/tst-test_compare.c: Likewise.
18267 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18270 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18271 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18272 available, this rewrite of the collation rules does reproduce
18273 the test file in the same order.
18275 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18278 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18279 digraphs in the month and day names. Using single code points for
18280 digraphs is deprecated. While there are dedicated Unicode
18281 codepoints, for the digraphs, these are included for backwards
18282 compatibility and modern texts use a sequence of Basic Latin
18283 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18284 This makes the month and day names agree exactly with CLDR now,
18285 CLDR does not use the single code points for the digraphs either.
18287 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18289 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18291 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18293 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18296 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18298 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18299 Define only for libc.so.
18301 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18304 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18305 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18306 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18309 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18312 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18314 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18317 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18318 PREINIT_FUNCTION_WEAK is nonzero.
18319 (gmon_initializer): New function. Put procedure label for it in
18320 .init_array section.
18321 (_init): Don't call PREINIT_FUNCTION.
18322 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18323 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18324 value when map argument is null.
18326 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18327 depi instruction from PIC pc-relative sequence.
18328 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18329 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18330 (elf_machine_load_address): Likewise.
18331 (elf_machine_runtime_setup): Likewise.
18333 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18335 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18336 <libm-alias-double.h>.
18337 (logb): Define using libm_alias_double.
18338 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18339 <libm-alias-double.h>.
18340 (copysign): Define using libm_alias_double.
18341 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18342 <libm-alias-double.h>.
18343 (llrint): Define using libm_alias_double.
18344 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18345 <libm-alias-double.h>.
18346 (llround): Define using libm_alias_double.
18347 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18348 <libm-alias-double.h>.
18349 (lrint): Define using libm_alias_double.
18350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18351 <libm-alias-double.h>.
18352 (lround): Define using libm_alias_double.
18353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18354 Include <libm-alias-double.h>.
18355 (copysign): Define using libm_alias_double.
18356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18357 Include <libm-alias-double.h>.
18358 (llrint): Define using libm_alias_double.
18359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18360 Include <libm-alias-double.h>.
18361 (llround): Define using libm_alias_double.
18362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18363 <libm-alias-double.h>.
18364 (logb): Define using libm_alias_double.
18365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18366 Include <libm-alias-double.h>.
18367 (lrint): Define using libm_alias_double.
18368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18369 Include <libm-alias-double.h>.
18370 (lround): Define using libm_alias_double.
18371 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18372 <libm-alias-double.h>.
18373 (llrint): Define using libm_alias_double.
18374 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18375 <libm-alias-double.h>.
18376 (llround): Define using libm_alias_double.
18377 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18378 <libm-alias-double.h>.
18379 (llround): Define using libm_alias_double.
18380 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18381 <libm-alias-double.h>.
18382 (lround): Define using libm_alias_double.
18383 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18384 <libm-alias-double.h>.
18385 (copysign): Define using libm_alias_double.
18386 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18387 <libm-alias-double.h>.
18388 (llrint): Define using libm_alias_double.
18389 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18390 <libm-alias-double.h>.
18391 (llround): Define using libm_alias_double.
18392 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18393 <libm-alias-double.h>.
18394 (lrint): Define using libm_alias_double.
18395 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18396 <libm-alias-double.h>.
18397 (lround): Define using libm_alias_double.
18398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18399 <libm-alias-double.h>.
18400 (copysign): Define using libm_alias_double.
18401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18402 <libm-alias-double.h>.
18403 (llrint): Define using libm_alias_double.
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18406 <libm-alias-double.h>.
18407 (llround): Define using libm_alias_double.
18408 (lround): Likewise.
18409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18410 <libm-alias-double.h>.
18411 (logb): Define using libm_alias_double.
18412 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18413 <libm-alias-double.h>.
18414 (copysign): Define using libm_alias_double.
18415 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18416 <libm-alias-double.h>.
18417 (llrint): Define using libm_alias_double.
18419 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18420 <libm-alias-double.h>.
18421 (llround): Define using libm_alias_double.
18422 (lround): Likewise.
18423 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18424 <libm-alias-double.h>.
18425 (llround): Define using libm_alias_double.
18426 (lround): Likewise.
18427 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18428 <libm-alias-double.h>.
18429 (copysign): Define using libm_alias_double.
18430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18431 <libm-alias-double.h>.
18432 (llrint): Define using libm_alias_double.
18434 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18435 <libm-alias-double.h>.
18436 (llround): Define using libm_alias_double.
18437 (lround): Likewise.
18438 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18439 <libm-alias-double.h>.
18440 (llrint): Define using libm_alias_double.
18442 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18443 <libm-alias-double.h>.
18444 (llround): Define using libm_alias_double.
18445 (lround): Likewise.
18447 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18450 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18451 compat symbol based on llround.
18453 * sysdeps/powerpc/power7/fpu/s_logb.c
18454 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18455 symbol based on __logb, not on logb.
18456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18457 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18459 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18461 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18462 (rint): Define using libm_alias_double.
18463 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18464 <libm-alias-double.h>.
18465 (modf): Define using libm_alias_double.
18466 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18467 <libm-alias-double.h>.
18468 (ceil): Define using libm_alias_double.
18469 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18470 <libm-alias-double.h>.
18471 (floor): Define using libm_alias_double.
18472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18473 <libm-alias-double.h>.
18474 (nearbyint): Define using libm_alias_double.
18475 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18476 <libm-alias-double.h>.
18477 (rint): Define using libm_alias_double.
18478 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18479 <libm-alias-double.h>.
18480 (round): Define using libm_alias_double.
18481 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18482 <libm-alias-double.h>.
18483 (trunc): Define using libm_alias_double.
18484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18485 <libm-alias-double.h>.
18486 (ceil): Define using libm_alias_double.
18487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18488 Include <libm-alias-double.h>.
18489 (floor): Define using libm_alias_double.
18490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18491 <libm-alias-double.h>.
18492 (modf): Define using libm_alias_double.
18493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18494 Include <libm-alias-double.h>.
18495 (round): Define using libm_alias_double.
18496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18497 Include <libm-alias-double.h>.
18498 (trunc): Define using libm_alias_double.
18499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18500 <libm-alias-double.h>.
18501 (ceil): Define using libm_alias_double.
18502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18503 <libm-alias-double.h>.
18504 (floor): Define using libm_alias_double.
18505 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18506 <libm-alias-double.h>.
18507 (round): Define using libm_alias_double.
18508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18509 <libm-alias-double.h>.
18510 (trunc): Define using libm_alias_double.
18511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18512 <libm-alias-double.h>.
18513 (ceil): Define using libm_alias_double.
18514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18515 <libm-alias-double.h>.
18516 (floor): Define using libm_alias_double.
18517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18518 <libm-alias-double.h>.
18519 (modf): Define using libm_alias_double.
18520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18521 <libm-alias-double.h>.
18522 (round): Define using libm_alias_double.
18523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18524 <libm-alias-double.h>.
18525 (trunc): Define using libm_alias_double.
18526 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18527 <libm-alias-double.h>.
18528 (ceil): Define using libm_alias_double.
18529 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18530 <libm-alias-double.h>.
18531 (floor): Define using libm_alias_double.
18532 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18533 <libm-alias-double.h>.
18534 (nearbyint): Define using libm_alias_double.
18535 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18536 <libm-alias-double.h>.
18537 (rint): Define using libm_alias_double.
18538 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18539 <libm-alias-double.h>.
18540 (round): Define using libm_alias_double.
18541 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18542 <libm-alias-double.h>.
18543 (trunc): Define using libm_alias_double.
18544 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18545 <libm-alias-double.h>.
18546 (ceil): Define using libm_alias_double.
18547 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18548 <libm-alias-double.h>.
18549 (floor): Define using libm_alias_double.
18550 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18551 <libm-alias-double.h>.
18552 (round): Define using libm_alias_double.
18553 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18554 <libm-alias-double.h>.
18555 (trunc): Define using libm_alias_double.
18557 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18558 (fabs): Define using libm_alias_double.
18559 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18560 (fma): Define using libm_alias_double.
18561 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18563 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18564 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18566 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18568 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18570 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18571 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18572 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18575 due redirect macro.
18577 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18579 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18581 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18583 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18584 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18585 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18586 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18589 (libm-sysdep_routines): Add s_nearbyintf-generic and
18590 s_nearbyint-generic.
18591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18604 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18615 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18626 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18637 (sysdep_calls): New rule.
18638 (sysdep_routines): Use sysdep_calls as base.
18639 (libm-sysdep_routines): Add generic rule for symbols shared with
18640 libc. Add s_copysign-generic and s_copysign-generic objects.
18641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18650 2017-12-01 Mike FABIAN <mfabian@redhat.com>
18653 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18654 the list of locales to be built for testing.
18655 * localedata/is_IS.UTF-8.in: New file.
18656 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18659 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18661 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18662 <libm-alias-float.h>.
18663 (fabsf): Define using libm_alias_float.
18665 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18667 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18669 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18671 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18672 <libm-alias-float.h>.
18673 (fabsf): Define using libm_alias_float.
18674 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18675 <libm-alias-float.h>.
18676 (lrintf): Define using libm_alias_float.
18677 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18678 <libm-alias-float.h>.
18679 (rintf): Define using libm_alias_float.
18681 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18682 <libm-alias-double.h>.
18683 (fabs): Define using libm_alias_double.
18684 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18685 <libm-alias-double.h>.
18686 (lrint): Define using libm_alias_double.
18687 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18688 <libm-alias-double.h>.
18689 (rint): Define using libm_alias_double.
18691 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18692 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18693 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18694 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18695 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18696 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18697 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18698 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18699 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18700 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18701 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18702 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18703 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18704 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18705 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18706 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18707 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18708 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18710 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18711 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18712 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18714 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18715 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18716 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18718 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18719 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18720 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18721 s_expm1_template.c.
18722 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18723 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18724 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18726 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18727 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18728 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18729 s_floor_template.c.
18730 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18731 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18732 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18733 s_frexp_template.c.
18734 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18735 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18736 s_lrint_template.c.
18737 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18738 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18739 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18741 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18742 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18743 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18744 s_nearbyint_template.c.
18745 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18746 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18747 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18748 s_remquo_template.c.
18749 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18750 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18751 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18753 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18754 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18755 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18757 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18758 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18759 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18760 s_sincos_template.c.
18761 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18762 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18763 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18765 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18766 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18767 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18769 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18770 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18771 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18772 s_trunc_template.c.
18773 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18774 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18775 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18776 s_atan.c instead of including s_atan.c.
18777 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18778 s_atanf.c instead of including s_atanf.c.
18779 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18780 s_atanl.c instead of including s_atanl.c.
18781 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18782 instead of s_atan.c.
18783 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18784 instead of s_atanf.c.
18785 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18786 instead of s_atanl.c.
18788 * scripts/update-copyrights: Do not handle intl/plural.c
18791 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18794 * configure.ac (BISON): Require to be present.
18795 * configure: Regenerated.
18796 * intl/Makefile (generated): Add plural.c.
18797 [$(BISON) != no]: Make code unconditional.
18798 (plural.c): Change rule to $(objpfx)plural.c.
18799 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
18800 * intl/plural.c: Remove.
18801 * manual/install.texi (Tools for Compilation): Document bison as
18803 * INSTALL: Regenerated.
18805 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18807 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
18808 <libm-alias-double.h>.
18809 (llrint): Define using libm_alias_double.
18810 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
18811 <libm-alias-float.h>.
18812 (llrintf): Define using libm_alias_float.
18813 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
18814 <libm-alias-ldouble.h>.
18815 (llrintl): Define using libm_alias_ldouble.
18817 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
18818 declare_mgen_alias instead of weak_alias.
18819 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
18820 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
18821 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
18823 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18825 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18827 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
18828 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
18829 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
18831 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18832 Add submul_1-generic.
18833 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
18834 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
18835 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
18837 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18838 Add addmul_1-generic.
18839 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
18840 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
18841 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
18843 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18845 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
18846 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
18847 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
18849 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18851 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
18852 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
18853 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
18855 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18857 According to CLDR, collation rules for Serbian and Bosnian
18858 should be the same as for Croatian.
18861 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
18862 and to the list of locales to be built for testing.
18863 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18864 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18865 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
18866 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
18868 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18870 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
18871 to make test case pass.
18872 * localedata/hr_HR.UTF-8.in: Add more test strings.
18874 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18876 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
18878 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
18880 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
18881 the list of locales to built for testing.
18882 * localedata/hr_HR.UTF-8.in: New file.
18884 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
18887 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
18889 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
18890 CLDR (except use ligatures for the digraphs, CLDR does not use
18891 the ligatures), add first_workday, some fixes in the date and time
18893 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
18895 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
18896 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
18897 Add int_p_cs_precedes and int_n_cs_precedes.
18898 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
18899 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
18901 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
18902 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
18904 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
18905 and lang_lib. Change postal_fmt.
18907 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18909 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
18911 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18912 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
18913 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18914 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
18915 * sysdeps/generic/setjmpP.h: New file.
18916 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
18917 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
18918 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
18919 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
18920 Add jmp_buf-ssp.sym.
18921 (tests): Add tst-saved_mask-1.
18923 2017-11-30 Arjun Shankar <arjun@redhat.com>
18927 * malloc/malloc.c (__libc_malloc): Use checked_request2size
18928 instead of request2size.
18930 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
18933 (__lllrint): Remove alias.
18934 (lllrint): Likewise.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
18936 (__lllrintf): Likewise.
18937 (lllrintf): Likewise.
18939 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
18940 <libm-alias-float.h>.
18941 (copysignf): Define using libm_alias_float.
18942 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
18943 <libm-alias-float.h>.
18944 (fabsf): Define using libm_alias_float.
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18946 Include <libm-alias-float.h>.
18947 (copysignf): Define using libm_alias_float.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
18949 <libm-alias-float.h>.
18950 (fabsf): Define using libm_alias_float.
18951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
18952 <libm-alias-float.h>.
18953 (fdimf): Define using libm_alias_float.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
18955 <libm-alias-float.h>.
18956 (fmaf): Define using libm_alias_float.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
18958 <libm-alias-float.h>.
18959 (llrintf): Define using libm_alias_float.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18961 Include <libm-alias-float.h>.
18962 (nearbyintf): Define using libm_alias_float.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
18964 <libm-alias-float.h>.
18965 (rintf): Define using libm_alias_float.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
18967 <libm-alias-float.h>.
18968 (llrintf): Define using libm_alias_float.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
18970 <libm-alias-float.h>.
18971 (lrintf): Define using libm_alias_float.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
18973 <libm-alias-float.h>.
18974 (nearbyintf): Define using libm_alias_float.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
18976 <libm-alias-float.h>.
18977 (rintf): Define using libm_alias_float.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
18979 <libm-alias-float.h>.
18980 (ceilf): Define using libm_alias_float.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
18982 <libm-alias-float.h>.
18983 (floorf): Define using libm_alias_float.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
18985 <libm-alias-float.h>.
18986 (fmaf): Define using libm_alias_float.
18987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
18988 <libm-alias-float.h>.
18989 (lrintf): Define using libm_alias_float.
18990 (llrintf): Likewise.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
18992 <libm-alias-float.h>.
18993 (nearbyintf): Define using libm_alias_float.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
18995 <libm-alias-float.h>.
18996 (rintf): Define using libm_alias_float.
18997 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
18998 <libm-alias-float.h>.
18999 (truncf): Define using libm_alias_float.
19000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19001 <libm-alias-float.h>.
19002 (copysignf): Define using libm_alias_float.
19003 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19004 <libm-alias-float.h>.
19005 (fabsf): Define using libm_alias_float.
19006 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19007 <libm-alias-float.h>.
19008 (lrintf): Define using libm_alias_float.
19009 (llrintf): Likewise.
19010 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19011 <libm-alias-float.h>.
19012 (nearbyintf): Define using libm_alias_float.
19013 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19014 <libm-alias-float.h>.
19015 (rintf): Define using libm_alias_float.
19017 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19019 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19020 <libm-alias-double.h>.
19021 (copysign): Define using libm_alias_double.
19022 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19023 <libm-alias-double.h>.
19024 (fabs): Define using libm_alias_double.
19025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19026 Include <libm-alias-double.h>.
19027 (copysign): Define using libm_alias_double.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19029 <libm-alias-double.h>.
19030 (fabs): Define using libm_alias_double.
19031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19032 <libm-alias-double.h>.
19033 (fdim): Define using libm_alias_double.
19034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19035 <libm-alias-double.h>.
19036 (fma): Define using libm_alias_double.
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19038 <libm-alias-double.h>.
19039 (llrint): Define using libm_alias_double.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19041 Include <libm-alias-double.h>.
19042 (nearbyint): Define using libm_alias_double.
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19044 <libm-alias-double.h>.
19045 (rint): Define using libm_alias_double.
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19047 <libm-alias-double.h>.
19048 (fabs): Define using libm_alias_double.
19049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19050 <libm-alias-double.h>.
19051 (llrint): Define using libm_alias_double.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19053 <libm-alias-double.h>.
19054 (nearbyint): Define using libm_alias_double.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19056 <libm-alias-double.h>.
19057 (rint): Define using libm_alias_double.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19059 <libm-alias-double.h>.
19060 (ceil): Define using libm_alias_double.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19062 <libm-alias-double.h>.
19063 (floor): Define using libm_alias_double.
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19065 <libm-alias-double.h>.
19066 (fma): Define using libm_alias_double.
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19068 <libm-alias-double.h>.
19069 (lrint): Define using libm_alias_double.
19070 (llrint): Likewise.
19071 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19072 <libm-alias-double.h>.
19073 (nearbyint): Define using libm_alias_double.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19075 <libm-alias-double.h>.
19076 (rint): Define using libm_alias_double.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19078 <libm-alias-double.h>.
19079 (trunc): Define using libm_alias_double.
19080 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19081 <libm-alias-double.h>.
19082 (copysign): Define using libm_alias_double.
19083 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19084 <libm-alias-double.h>.
19085 (fabs): Define using libm_alias_double.
19086 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19087 <libm-alias-double.h>.
19088 (lrint): Define using libm_alias_double.
19089 (llrint): Likewise.
19090 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19091 <libm-alias-double.h>.
19092 (nearbyint): Define using libm_alias_double.
19093 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19094 <libm-alias-double.h>.
19095 (rint): Define using libm_alias_double.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19100 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19102 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19103 SPARC --disable-multi-arch glibc variants.
19105 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19106 <libm-alias-float.h>.
19107 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19109 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19110 <libm-alias-float.h>.
19111 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19113 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19114 <libm-alias-float.h>.
19115 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19117 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19118 <libm-alias-float.h>.
19119 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19121 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19122 <libm-alias-float.h>.
19123 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19125 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19126 <libm-alias-float.h>.
19127 (ceilf): Define using libm_alias_float.
19128 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19129 <libm-alias-float.h>.
19130 (floorf): Define using libm_alias_float.
19131 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19132 <libm-alias-float.h>.
19133 (fmaf): Define using libm_alias_float.
19134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19135 <libm-alias-float.h>.
19136 (nearbyintf): Define using libm_alias_float.
19137 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19138 <libm-alias-float.h>.
19139 (rintf): Define using libm_alias_float.
19140 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19141 <libm-alias-float.h>.
19142 (truncf): Define using libm_alias_float.
19143 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19144 (copysignf): Define using libm_alias_float.
19145 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19146 (cosf): Define using libm_alias_float.
19147 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19148 (fabsf): Define using libm_alias_float.
19149 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19150 (fmaxf): Define using libm_alias_float.
19151 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19152 (fminf): Define using libm_alias_float.
19153 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19154 (llrintf): Define using libm_alias_float.
19155 [!__ILP32__] (lrintf): Likewise.
19156 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19157 (sincosf): Define using libm_alias_float.
19158 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19159 (sinf): Define using libm_alias_float.
19160 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19161 (lrintf): Define using libm_alias_float.
19163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19164 <libm-alias-double.h>.
19165 (atan): Define using libm_alias_double.
19166 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19167 <libm-alias-double.h>.
19168 (ceil): Define using libm_alias_double.
19169 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19170 <libm-alias-double.h>.
19171 (floor): Define using libm_alias_double.
19172 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19173 <libm-alias-double.h>.
19174 (fma): Define using libm_alias_double.
19175 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19176 <libm-alias-double.h>.
19177 (nearbyint): Define using libm_alias_double.
19178 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19179 <libm-alias-double.h>.
19180 (rint): Define using libm_alias_double.
19181 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19182 <libm-alias-double.h>.
19183 (sin): Define using libm_alias_double.
19185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19186 <libm-alias-double.h>.
19187 (tan): Define using libm_alias_double.
19188 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19189 <libm-alias-double.h>.
19190 (trunc): Define using libm_alias_double.
19191 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19192 (copysign): Define using libm_alias_double.
19193 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19194 (fabs): Define using libm_alias_double.
19195 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19196 (fmax): Define using libm_alias_double.
19197 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19198 (fmin): Define using libm_alias_double.
19199 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19200 (llrint): Define using libm_alias_double.
19201 [!__ILP32__] (lrint): Likewise.
19202 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19203 (lrint): Define using libm_alias_double.
19205 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19208 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19218 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19228 (libm-sysdep_routines): Add s_nearbyint-generic and
19229 s_nearbyintf-generic objects.
19230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19238 Add s_finitef-generic and s_finite-generic objects.
19239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19247 Add s_isinff-generic and s_isinf-generic objects.
19248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19256 Add s_isnanf-generic and s_isnan-generic objects.
19257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19264 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19268 (sysdep_routines): Use sysdep_calls as base.
19269 (libm-sysdep_routines): Add generic rule for symbols shared with
19270 libc. Add s_signbit-generic and s_signbitf-generic objects.
19271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19278 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19280 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19281 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19282 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19283 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19284 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19285 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19286 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19287 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19288 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19289 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19290 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19291 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19292 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19293 libm_alias_float_r.
19294 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19295 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19297 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19298 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19299 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19300 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19301 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19302 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19303 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19304 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19305 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19306 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19308 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19310 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19311 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19312 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19313 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19314 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19315 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19316 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19317 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19318 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19319 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19320 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19321 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19322 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19323 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19324 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19325 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19326 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19327 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19328 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19330 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19331 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19332 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19333 * sysdeps/ia64/fpu/w_lgammaf_main.c
19334 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19335 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19337 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19338 Alexandre Oliva <aoliva@redhat.com>
19341 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19342 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19344 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19346 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19347 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19348 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19349 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19350 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19351 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19352 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19353 instead of “ifdef DIACRIT_BACKWARD”.
19355 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19357 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19358 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19359 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19360 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19361 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19362 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19369 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19370 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19371 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19372 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19373 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19374 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19376 ($(have-as-vis3) == yes): Remove conditional.
19377 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19393 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19396 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19398 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19399 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19400 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19401 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19402 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19403 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19404 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19405 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19406 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19407 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19408 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19409 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19410 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19411 libm_alias_double_r.
19412 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19414 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19415 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19416 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19417 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19418 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19419 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19420 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19421 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19422 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19423 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19424 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19426 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19428 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19429 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19430 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19431 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19432 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19433 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19434 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19435 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19436 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19437 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19438 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19439 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19440 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19441 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19442 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19443 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19444 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19445 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19447 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19448 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19449 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19450 * sysdeps/ia64/fpu/w_lgamma_main.c
19451 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19452 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19454 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19456 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19457 address of $global$ into %dp register earlier. Use pc-relative
19458 instruction sequence for PIC case.
19460 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19462 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19463 (asinhf): Define using libm_alias_float.
19464 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19465 (atanf): Define using libm_alias_float.
19466 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19467 (cbrtf): Define using libm_alias_float.
19468 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19469 (ceilf): Define using libm_alias_float.
19470 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19471 (copysignf): Define using libm_alias_float.
19472 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19473 (expm1f): Define using libm_alias_float.
19474 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19475 (fabsf): Define using libm_alias_float.
19476 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19477 (floorf): Define using libm_alias_float.
19478 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19479 (fmaxf): Define using libm_alias_float.
19480 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19481 (fminf): Define using libm_alias_float.
19482 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19483 (frexpf): Define using libm_alias_float.
19484 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19485 (llrintf): Define using libm_alias_float.
19486 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19487 (logbf): Define using libm_alias_float.
19488 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19489 (lrintf): Define using libm_alias_float.
19490 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19491 (nearbyintf): Define using libm_alias_float.
19492 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19493 (remquof): Define using libm_alias_float.
19494 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19495 (rintf): Define using libm_alias_float.
19496 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19497 (truncf): Define using libm_alias_float.
19498 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19499 <libm-alias-float.h>.
19500 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19502 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19503 <libm-alias-float.h>.
19504 (expf): Define using libm_alias_float, or libm_alias_float_other
19506 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19507 <libm-alias-float.h>.
19508 (log2f): Define using libm_alias_float, or libm_alias_float_other
19510 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19511 <libm-alias-float.h>.
19512 (logf): Define using libm_alias_float, or libm_alias_float_other
19514 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19515 <libm-alias-float.h>.
19516 (powf): Define using libm_alias_float, or libm_alias_float_other
19518 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19519 <libm-alias-float.h>.
19520 (cosf): Define using libm_alias_float.
19521 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19522 <libm-alias-float.h>.
19523 (sincosf): Define using libm_alias_float.
19524 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19525 <libm-alias-float.h>.
19526 (sinf): Define using libm_alias_float.
19527 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19528 (fmaxf): Define using libm_alias_float.
19529 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19530 (fminf): Define using libm_alias_float.
19531 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19532 <libm-alias-float.h>.
19533 (fmaf): Define using libm_alias_float.
19535 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19536 (asinh): Define using libm_alias_double.
19537 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19538 (atan): Define using libm_alias_double.
19539 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19540 (cbrt): Define using libm_alias_double.
19541 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19542 (ceil): Define using libm_alias_double.
19543 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19544 (copysign): Define using libm_alias_double.
19545 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19546 (expm1): Define using libm_alias_double.
19547 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19548 (fabs): Define using libm_alias_double.
19549 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19550 (fdim): Define using libm_alias_double.
19551 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19552 (floor): Define using libm_alias_double.
19553 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19554 (fmax): Define using libm_alias_double.
19555 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19556 (fmin): Define using libm_alias_double.
19557 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19558 (frexp): Define using libm_alias_double.
19559 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19560 (llrint): Define using libm_alias_double.
19561 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19562 (logb): Define using libm_alias_double.
19563 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19564 (lrint): Define using libm_alias_double.
19565 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19566 (nearbyint): Define using libm_alias_double.
19567 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19568 (remquo): Define using libm_alias_double.
19569 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19570 (rint): Define using libm_alias_double.
19571 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19572 (trunc): Define using libm_alias_double.
19573 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19574 (fmax): Define using libm_alias_double.
19575 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19576 (fmin): Define using libm_alias_double.
19577 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19578 (fma): Define using libm_alias_double.
19580 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19583 * elf/dl-hwcaps.c (ROUND): Removed.
19584 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19585 and ELF_NOTE_NEXT_OFFSET.
19586 * elf/dl-load.c (ROUND): Removed.
19587 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19588 * elf/readelflib.c (ROUND): Removed.
19589 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19590 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19591 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19592 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19594 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19596 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19597 [!__fmaf] (fmaf): Define using libm_alias_float.
19599 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19600 [!__fma] (fma): Define using libm_alias_double.
19601 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19603 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19606 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19607 and implement the collation rules for cs from CLDR on top of that.
19608 * Makefile: Add cs_CZ.UTF-8 to test-input.
19609 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19611 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19613 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19615 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19616 Icarus Sparry <icarus.w.sparry@intel.com>
19618 * benchtests/Makefile:Add BENCHSET to allow subsets of
19619 benchmarks to be run.
19620 * benchtests/README: Add documentation for: Running subsets of
19623 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19625 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19626 range of tests names.
19628 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19629 result from property and remove "max", min" and "mean" from
19630 required properties based on benchtests/bench-skeleton.c.
19632 2017-11-28 Florian Weimer <fweimer@redhat.com>
19635 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19636 due to Internet requirement.
19637 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19639 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19641 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19643 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19644 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19645 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19646 (sysdep_routines): Add memset-ultra1.
19647 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19649 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19650 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19651 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19652 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19653 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19654 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19655 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19656 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19661 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19662 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19663 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19664 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19665 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19666 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19668 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19669 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19670 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19671 (sysdep_routines): Add memcpy-ultra1.
19672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19673 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19675 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19677 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19678 (cfloat_versions): Take function argument without trailing 'f'.
19679 Call libm_alias_float_other.
19680 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19681 * sysdeps/alpha/fpu/cargf.c: Likewise.
19682 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19683 * sysdeps/alpha/fpu/conjf.c: Likewise.
19684 * sysdeps/alpha/fpu/crealf.c: Likewise.
19685 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19686 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19687 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19688 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19689 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19690 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19691 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19692 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19693 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19694 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19695 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19696 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19697 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19698 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19699 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19700 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19701 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19702 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19703 (clog10f): Use libm_alias_float_other.
19704 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19705 (ceilf): Define using libm_alias_float.
19706 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19707 (copysignf): Define using libm_alias_float.
19708 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19709 (fabsf): Define using libm_alias_float.
19710 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19711 (floorf): Define using libm_alias_float.
19712 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19713 (fmaxf): Define using libm_alias_float.
19714 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19715 (fminf): Define using libm_alias_float.
19716 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19717 (lrintf): Define using libm_alias_float.
19718 (llrintf): Likewise.
19719 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19720 (lroundf): Define using libm_alias_float.
19721 (llroundf): Likewise.
19722 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19723 (rintf): Define using libm_alias_float.
19724 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19725 (truncf): Define using libm_alias_float.
19727 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19728 (ceilf): Define using libm_alias_float.
19729 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19730 (floorf): Define using libm_alias_float.
19731 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19732 (fmaf): Define using libm_alias_float.
19733 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19734 (fmaxf): Define using libm_alias_float.
19735 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19736 (fminf): Define using libm_alias_float.
19737 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19738 (llrintf): Define using libm_alias_float.
19739 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19740 (llroundf): Define using libm_alias_float.
19741 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19742 (lrintf): Define using libm_alias_float.
19743 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19744 (lroundf): Define using libm_alias_float.
19745 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19746 <libm-alias-float.h>.
19747 (nearbyintf): Define using libm_alias_float.
19748 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19749 (rintf): Define using libm_alias_float.
19750 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19751 (roundf): Define using libm_alias_float.
19752 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19753 (truncf): Define using libm_alias_float.
19755 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19756 (ceil): Define using libm_alias_double.
19757 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19758 (copysign): Define using libm_alias_double.
19759 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19760 (fabs): Define using libm_alias_double.
19761 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19762 (floor): Define using libm_alias_double.
19763 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19764 (fmax): Define using libm_alias_double.
19765 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19766 (fmin): Define using libm_alias_double.
19767 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19768 (lrint): Define using libm_alias_double.
19769 (llrint): Likewise.
19770 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19771 (lround): Define using libm_alias_double.
19772 (llround): Likewise.
19773 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19774 (rint): Define using libm_alias_double.
19775 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19776 (trunc): Define using libm_alias_double.
19778 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19779 (libm_alias_double_r): Add semicolon after weak_alias call.
19781 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19783 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19784 (ceil): Define using libm_alias_double.
19785 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19786 (floor): Define using libm_alias_double.
19787 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19788 (fma): Define using libm_alias_double.
19789 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19790 (fmax): Define using libm_alias_double.
19791 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19792 (fmin): Define using libm_alias_double.
19793 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19794 (llrint): Define using libm_alias_double.
19795 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19796 (llround): Define using libm_alias_double.
19797 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19798 (lrint): Define using libm_alias_double.
19799 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
19800 (lround): Define using libm_alias_double.
19801 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
19802 (nearbyint): Define using libm_alias_double.
19803 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
19804 (rint): Define using libm_alias_double.
19805 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
19806 (round): Define using libm_alias_double.
19807 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
19808 (trunc): Define using libm_alias_double.
19810 2017-11-27 Florian Weimer <fweimer@redhat.com>
19812 * sysdeps/unix/sysv/linux/mlock2.c: New file.
19813 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
19814 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
19815 (tests): Add tst-mlock2.
19816 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
19817 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
19818 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
19819 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
19820 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
19821 for mlock. Document mlock2.
19823 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19825 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
19826 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
19828 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
19830 * sysdeps/x86/Makeconfig: New file.
19831 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
19832 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19833 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
19834 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19835 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19836 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19837 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
19839 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19840 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19841 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19842 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19843 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19844 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19845 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19846 * manual/math.texi (Mathematics): Document support for _Float64x.
19847 * math/Versions (GLIBC_2.27): Add _Float64x functions.
19848 * stdlib/Versions (GLIBC_2.27): Likewise.
19849 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19850 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19851 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19852 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19853 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19854 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19855 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19856 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19858 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19859 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19860 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19865 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19866 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19867 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19877 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19878 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19880 2017-11-27 Andreas Schwab <schwab@suse.de>
19882 * elf/Makefile (dl-routines): Add dl-sort-maps.
19883 * elf/dl-sort-maps.c: New file.
19884 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
19885 (_dl_sort_maps): Declare.
19886 * elf/dl-fini.c (_dl_sort_fini): Remove.
19887 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
19888 * elf/dl-close.c (_dl_close_worker): Likewise.
19889 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
19891 * elf/dl-open.c (dl_open_worker): Likewise.
19893 2017-11-24 Joseph Myers <joseph@codesourcery.com>
19895 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
19896 using libm_alias_float128.
19897 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
19899 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
19901 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
19902 (setpayloadsigf128): Likewise.
19903 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
19905 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
19908 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
19909 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
19910 -mfloat128 to CFLAGS.
19912 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
19914 (CFLAGS-libm-test-support-float64x.c): New variable.
19915 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
19916 $(f128-loader-link) to gnulib-tests.
19918 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
19919 (libm_alias_float128_other_r): If
19920 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
19922 (libm_alias_float128_r): Add semicolon after weak_alias call.
19923 * sysdeps/generic/libm-alias-ldouble.h
19924 (libm_alias_ldouble_other_r_f128): New macro.
19925 (libm_alias_ldouble_other_r_f64x): Likewise.
19926 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19927 and libm_alias_ldouble_other_r_f64x.
19928 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
19929 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
19930 (libm_alias_ldouble_other_r_f128): New macro.
19931 (libm_alias_ldouble_other_r_f64x): Likewise.
19932 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19933 and libm_alias_ldouble_other_r_f64x.
19935 * stdlib/strfroml.c: Always include <stdlib.h>.
19936 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
19937 undefine as macro and define as weak alias.
19938 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
19939 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
19941 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
19942 Define and later undefine as macro and define as weak alias.
19944 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19945 Define and later undefine as macro. Define as weak alias if
19947 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
19948 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19949 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
19950 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19951 Define and later undefine as macro. Define as weak alias if
19953 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
19954 Define and later undefine as macro. Define as weak alias if
19956 * sysdeps/ieee754/float128/strtof128_l.c
19957 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
19958 Define and later undefine as macro. Define as weak alias if
19960 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
19961 Define and later undefine as macro. Define as weak alias if
19963 * sysdeps/ieee754/ldbl-128/strtold_l.c
19964 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19965 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19966 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19967 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19968 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
19969 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19970 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19971 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19972 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19973 * sysdeps/ieee754/ldbl-96/strtold_l.c
19974 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19975 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19976 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19977 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19979 * math/test-float64x.h: New file.
19980 * math/Makefile (type-float64x-yes): New variable.
19981 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
19983 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
19984 function-like macro.
19985 (min_of_type_): Likewise.
19986 (min_of_type_l): Likewise.
19987 (min_of_type_f128): Likewise.
19988 (min_of_type): Pass () as last argument of __MATH_TG.
19990 * stdlib/tst-strtod-round-skeleton.c
19991 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
19994 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
19995 for combinations of long double with _Float64 and _Float64x.
19997 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
19998 (__DECL_SIMD_cosf32): Likewise.
19999 (__DECL_SIMD_cosf64): Likewise.
20000 (__DECL_SIMD_cosf32x): Likewise.
20001 (__DECL_SIMD_cosf64x): Likewise.
20002 (__DECL_SIMD_cosf128x): Likewise.
20003 (__DECL_SIMD_sinf16): Likewise.
20004 (__DECL_SIMD_sinf32): Likewise.
20005 (__DECL_SIMD_sinf64): Likewise.
20006 (__DECL_SIMD_sinf32x): Likewise.
20007 (__DECL_SIMD_sinf64x): Likewise.
20008 (__DECL_SIMD_sinf128x): Likewise.
20009 (__DECL_SIMD_sincosf16): Likewise.
20010 (__DECL_SIMD_sincosf32): Likewise.
20011 (__DECL_SIMD_sincosf64): Likewise.
20012 (__DECL_SIMD_sincosf32x): Likewise.
20013 (__DECL_SIMD_sincosf64x): Likewise.
20014 (__DECL_SIMD_sincosf128x): Likewise.
20015 (__DECL_SIMD_logf16): Likewise.
20016 (__DECL_SIMD_logf32): Likewise.
20017 (__DECL_SIMD_logf64): Likewise.
20018 (__DECL_SIMD_logf32x): Likewise.
20019 (__DECL_SIMD_logf64x): Likewise.
20020 (__DECL_SIMD_logf128x): Likewise.
20021 (__DECL_SIMD_expf16): Likewise.
20022 (__DECL_SIMD_expf32): Likewise.
20023 (__DECL_SIMD_expf64): Likewise.
20024 (__DECL_SIMD_expf32x): Likewise.
20025 (__DECL_SIMD_expf64x): Likewise.
20026 (__DECL_SIMD_expf128x): Likewise.
20027 (__DECL_SIMD_powf16): Likewise.
20028 (__DECL_SIMD_powf32): Likewise.
20029 (__DECL_SIMD_powf64): Likewise.
20030 (__DECL_SIMD_powf32x): Likewise.
20031 (__DECL_SIMD_powf64x): Likewise.
20032 (__DECL_SIMD_powf128x): Likewise.
20034 * stdlib/Versions (libc): Move entries for wcstof128 and
20035 wcstof128_l to ....
20036 * wcsmbs/Versions (libc): ... here.
20037 Include <float128-abi.h>.
20039 2017-11-24 Florian Weimer <fweimer@redhat.com>
20041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20042 bits/mman-shared.h.
20043 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20044 <bits/mman-shared.h>.
20045 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20047 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20048 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20049 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20050 <bits/mman-shared.h>.
20052 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20055 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20056 posix_memalign/free.
20057 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20059 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20062 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20063 and implement the collation rules for pl from CLDR on top of that.
20064 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20065 of locales to be built for testing.
20066 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20068 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20070 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20071 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20072 libm_alias_ldouble_other.
20073 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20074 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20075 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20076 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20077 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20078 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20079 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20080 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20081 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20082 libm_alias_ldouble_r.
20083 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20084 libm_alias_ldouble_other.
20085 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20086 (log10l): Likewise.
20087 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20088 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20089 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20090 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20091 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20092 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20093 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20094 (atan2l): Likewise.
20095 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20096 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20097 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20098 libm_alias_ldouble.
20099 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20101 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20102 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20103 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20105 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20106 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20107 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20108 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20109 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20110 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20111 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20112 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20113 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20114 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20115 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20116 libm_alias_ldouble.
20117 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20118 libm_alias_ldouble_other.
20119 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20120 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20121 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20122 libm_alias_ldouble.
20123 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20124 libm_alias_ldouble_other.
20125 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20126 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20127 * sysdeps/ia64/fpu/w_lgammal_main.c
20128 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20129 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20131 2017-11-23 Florian Weimer <fweimer@redhat.com>
20133 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20134 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20135 alike. Remove freeres marker.
20136 * malloc/arena.c (arena_thread_freeres): Call
20137 tcache_thread_shutdown.
20139 2017-11-23 Florian Weimer <fweimer@redhat.com>
20142 Export nscd hash function as __nss_hash.
20143 * include/nss.h (__nss_hash): Declare.
20144 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20146 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20147 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20149 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20150 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20151 * nss/Makefiles (routines): Add nss_hash.
20152 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20153 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20154 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20155 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20157 2017-11-23 Florian Weimer <fweimer@redhat.com>
20160 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20161 Return error code, not -1.
20162 * signal/tst-sigwait-eintr.c: New file.
20163 * signal/Makefile (tests): Add tst-sigwait-eintr.
20165 2017-11-23 Florian Weimer <fweimer@redhat.com>
20167 Linux: Add memfd_create system call wrapper
20168 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20170 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20171 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20172 [__USE_GNU] (memfd_create): Declare.
20173 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20174 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20175 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20176 * sysdeps/unix/sysv/linux/**.abilist: Update.
20177 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20179 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20181 * localedata/gen-locale.sh: Fix typo in variable name.
20183 * resolv/res_debug.c (p_secstodate): Condition definition on
20184 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20185 directly as __p_secstodate, and as a compat symbol. Do not use
20186 libresolv_hidden_def.
20187 * resolv/resolv.h (p_secstodate): Remove macro and function
20189 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20190 using p_secstodate.
20191 * include/resolv.h (__p_secstodate): Do not use
20192 libresolv_hidden_proto.
20193 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20194 (tests-internal): ... here.
20195 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20196 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20197 and declare and use __p_secstodate and use compat_symbol_reference
20199 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20200 implementation returning 77.
20203 * resolv/res_debug.c: Include <libc-diag.h>.
20204 (p_secstodate): Assert time_t at least as wide as u_long. On
20205 overflow, use integer seconds since the epoch as output, or use
20206 "<overflow>" as output and set errno to EOVERFLOW if integer
20207 seconds since the epoch would be 14 or more characters.
20208 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20210 * resolv/tst-p_secstodate.c: New file.
20211 * resolv/Makefile (tests): Add tst-p_secstodate.
20212 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20214 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20215 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20216 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20218 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20220 * posix/regcomp.c (init_word_char): Add comments.
20222 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20225 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20226 strlen to compute length of ut_user and set trailing NUL byte of
20229 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20232 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20233 using “copy "iso14651_t1"” and then implementing the
20234 collation rules for lv from CLDR on top of that.
20235 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20236 of locales to be built for testing.
20237 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20240 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20243 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20244 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20245 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20246 [__USE_MISC] (MADV_HWPOISON): New macro.
20247 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20249 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20251 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20252 -Wmissing-braces on GCC 4.9.
20254 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20256 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20257 * sysdeps/s390/s390-32/start.S (_start): Likewise
20258 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20259 (thread_start): Likewise.
20260 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20261 (thread_start): Likewise.
20262 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20263 (__makecontext_ret): Likewise.
20264 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20265 (__makecontext_ret): Likewise.
20267 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20269 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20270 __wcschrnul): Remove attribute_hidden.
20272 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20274 regex: don't assume uint64_t or uint32_t
20275 This avoids -Werror=overflow errors for 32-bit systems in
20276 the 64-bit case. Problem reported by Joseph Myers in:
20277 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20278 Also, when this code is used in Gnulib it ports to platforms
20279 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20280 them, and on some 32-bit compilers there is no uint64_t.
20281 Problem reported by Gianluigi Tiesi in:
20282 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20283 * posix/regcomp.c (init_word_char): Don't assume that the types
20284 uint64_t and uint32_t exist. Adapted from Gnulib patch
20285 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20286 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20288 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20290 * sysdeps/aarch64/memset-reg.h: New file.
20291 * sysdeps/aarch64/memset.S: Use it.
20292 (__memset): Rename to MEMSET macro.
20293 [ZVA_MACRO]: Use zva_macro.
20294 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20295 Add memset_generic and memset_falkor.
20296 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20297 (__libc_ifunc_impl_list): Add memset ifuncs.
20298 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20299 local variable zva_size.
20300 * sysdeps/aarch64/multiarch/memset.c: New file.
20301 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20302 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20303 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20304 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20305 (DCZID_DZP_MASK): New macro.
20306 (DCZID_BS_MASK): Likewise.
20307 (init_cpu_features): Read and set zva_size.
20308 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20309 (struct cpu_features): New member zva_size.
20311 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20312 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20313 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20315 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20316 backwards. Fix timing computation.
20317 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20318 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20319 on memset by N at a time. Fix timing computation.
20321 2017-11-20 Florian Weimer <fweimer@redhat.com>
20323 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20324 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20326 2017-11-19 Florian Weimer <fweimer@redhat.com>
20328 manual: Document mprotect
20329 * manual/memory.texi (Memory Protection): New section.
20330 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20331 documentation of PROT_* flags and reference the Memory Protection
20334 2017-11-19 Florian Weimer <fweimer@redhat.com>
20336 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20337 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20338 (Scatter-Gather): ... to here. Remove misleading comment.
20340 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20342 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20345 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20346 when /proc/<pid>/setgroups does not exist.
20348 2017-11-18 Florian Weimer <fweimer@redhat.com>
20350 * sysdeps/unix/sysv/linux/tst-ttyname.c
20351 (become_root_in_mount_ns): Remove.
20352 (do_in_chroot_1): Call support_enter_mount_namespace.
20353 (do_in_chroot_2): Likewise.
20354 (do_test): Call support_become_root early.
20356 2017-11-18 Florian Weimer <fweimer@redhat.com>
20358 * support/namespace.h (support_enter_mount_namespace): Declare.
20359 * support/support_enter_mount_namespace.c: New file.
20360 * support/Makefile (libsupport-routines): Add
20361 support_enter_mount_namespace.
20363 2017-11-18 Florian Weimer <fweimer@redhat.com>
20365 * support/temp_file.c (support_create_temp_directory): Use
20366 test_dir and do not rely on the presence of the XXXXXX suffix.
20367 * support/temp_file.h (support_create_temp_directory): Update
20369 * support/tst-xreadlink.c (do_test): Adjust.
20370 * support/support_chroot.c (support_chroot_create): Likewise.
20372 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20374 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20376 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20379 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20381 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20382 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20383 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20384 (ceill): Define using libm_alias_ldouble.
20385 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20386 <libm-alias-ldouble.h>.
20387 (copysignl): Define using libm_alias_ldouble.
20388 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20389 (fabsl): Define using libm_alias_ldouble.
20390 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20391 (floorl): Define using libm_alias_ldouble.
20392 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20393 (fmaxl): Define using libm_alias_ldouble.
20394 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20395 (fminl): Define using libm_alias_ldouble.
20396 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20397 (llrintl): Define using libm_alias_ldouble.
20398 (lrintl): Likewise.
20399 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20400 <libm-alias-ldouble.h>.
20401 (nearbyintl): Define using libm_alias_ldouble.
20402 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20403 (truncl): Define using libm_alias_ldouble.
20404 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20405 <libm-alias-ldouble.h>.
20406 (lrintl): Define using libm_alias_ldouble.
20408 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20409 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20410 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20411 (asinhl): Define using libm_alias_ldouble.
20412 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20413 (atanl): Define using libm_alias_ldouble.
20414 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20415 (cbrtl): Define using libm_alias_ldouble.
20416 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20417 (ceill): Define using libm_alias_ldouble.
20418 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20419 (copysignl): Define using libm_alias_ldouble.
20420 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20421 (fabsl): Define using libm_alias_ldouble.
20422 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20423 (floorl): Define using libm_alias_ldouble.
20424 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20425 (fmaxl): Define using libm_alias_ldouble.
20426 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20427 (fminl): Define using libm_alias_ldouble.
20428 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20429 (frexpl): Define using libm_alias_ldouble.
20430 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20431 (llrintl): Define using libm_alias_ldouble.
20432 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20433 (logbl): Define using libm_alias_ldouble.
20434 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20435 (lrintl): Define using libm_alias_ldouble.
20436 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20437 (nearbyintl): Define using libm_alias_ldouble.
20438 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20439 (nextafterl): Define using libm_alias_ldouble.
20440 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20441 (remquol): Define using libm_alias_ldouble.
20442 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20443 (rintl): Define using libm_alias_ldouble.
20444 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20445 (truncl): Define using libm_alias_ldouble.
20446 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20447 (fmaxl): Define using libm_alias_ldouble.
20448 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20449 (fminl): Define using libm_alias_ldouble.
20451 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20452 to C syntax instead of availability and properties of types.
20453 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20454 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20455 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20456 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20457 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20458 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20460 2017-11-17 Florian Weimer <fweimer@redhat.com>
20462 support_become_root: Enable file creation in namespaces.
20463 * support/support_become_root.c (setup_mapping): New function.
20464 (support_become_root): Call it.
20466 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20468 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20471 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20473 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20474 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20476 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20478 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20480 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20483 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20485 * INSTALL: Fix botched up regeneration.
20487 * NEWS: Update sourceare link to https.
20488 * configure.ac: Likewise.
20489 * crypt/md5test-giant.c: Likewise.
20490 * dlfcn/bug-atexit1.c: Likewise.
20491 * dlfcn/bug-atexit2.c: Likewise.
20492 * localedata/README: Likewise.
20493 * malloc/tst-mallocfork.c: Likewise.
20494 * manual/install.texi: Likewise.
20495 * nptl/tst-pthread-getattr.c: Likewise.
20496 * stdio-common/tst-fgets.c: Likewise.
20497 * stdio-common/tst-fwrite.c: Likewise.
20498 * sunrpc/Makefile: Likewise.
20499 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20500 * wcsmbs/tst-mbrtowc2.c: Likewise.
20501 * configure: Regenerate.
20502 * INSTALL: Regenerate.
20504 2017-11-15 Martin Sebor <msebor@redhat.com>
20506 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20507 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20508 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20510 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20513 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20514 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20518 Defer is_pty check until end of the function.
20519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20522 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20523 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20524 (ttyname): Likewise.
20525 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20526 (__ttyname_r): Likewise.
20528 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20531 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20533 * manual/terminal.texi (Is It a Terminal):
20534 Mention ENODEV for ttyname and ttyname_r.
20536 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20539 constant and macro.
20541 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20542 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20543 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20544 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20545 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20546 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20548 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20550 * signal/sigrelse.c (sigrelse): Optimize implementation.
20552 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20553 (__sigpause): Rely on __sigsuspend to implement single thread
20554 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20556 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20558 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20559 kernel version to 4.14.
20561 2017-11-15 Steve Ellcey <sellcey@cavium.com>
20564 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20565 Check if ifname is too long.
20567 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20569 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20571 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20573 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20574 was accidentally lost.
20576 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20578 * localedata/locales/az_IR: Add standard copyright header.
20580 2017-11-15 Florian Weimer <fweimer@redhat.com>
20583 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20584 not just the top one. Output a new "subheaps" statistic.
20586 2017-11-15 Florian Weimer <fweimer@redhat.com>
20589 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20590 under the per-arena lock.
20591 * malloc/Makefile (tests): Add tst-malloc_info.
20592 (tst-malloc_info): Link with libpthread.
20593 * malloc/tst-malloc_info.c: New file.
20595 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20598 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20599 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20600 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20601 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20602 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20603 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20604 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20605 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20613 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20614 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20615 (__floating_type): Likewise.
20616 (__real_integer_type): Likewise.
20617 (__complex_integer_type): Likewise.
20618 (__expr_is_real): Likewise.
20619 (__tgmath_real_type_sub): Likewise.
20620 (__tgmath_real_type): Likewise.
20621 (__tgmath_complex_type_sub): Likewise.
20622 (__tgmath_complex_type): Likewise.
20623 (__TGMATH_F128): Likewise.
20624 (__TGMATH_CF128): Likewise.
20625 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20628 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20630 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20632 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20633 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20634 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20635 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20637 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20638 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20640 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20641 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20642 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20644 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20645 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20646 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20650 2017-11-14 Joseph Myers <joseph@codesourcery.com>
20652 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20653 for stpncpy calls for GCC 8.
20654 (test_strncat): Disable -Wstringop-truncation warning for strncat
20655 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20656 strncat call for GCC 7.
20657 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20659 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20662 * string/bug-strncat1.c: Include <libc-diag.h>.
20663 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20665 2017-11-13 Claude Paroz <claude@2xlibre.net>
20668 * localedata/locales/aa_DJ: Improved readibility by replacing
20669 <Uxxxx> sequences in the ASCII printable range by their ASCII
20670 character equivalents.
20671 * localedata/locales/aa_ER: Likewise.
20672 * localedata/locales/aa_ER@saaho: Likewise.
20673 * localedata/locales/aa_ET: Likewise.
20674 * localedata/locales/af_ZA: Likewise.
20675 * localedata/locales/agr_PE: Likewise.
20676 * localedata/locales/ak_GH: Likewise.
20677 * localedata/locales/am_ET: Likewise.
20678 * localedata/locales/anp_IN: Likewise.
20679 * localedata/locales/ar_AE: Likewise.
20680 * localedata/locales/ar_BH: Likewise.
20681 * localedata/locales/ar_DZ: Likewise.
20682 * localedata/locales/ar_EG: Likewise.
20683 * localedata/locales/ar_IN: Likewise.
20684 * localedata/locales/ar_IQ: Likewise.
20685 * localedata/locales/ar_JO: Likewise.
20686 * localedata/locales/ar_KW: Likewise.
20687 * localedata/locales/ar_LB: Likewise.
20688 * localedata/locales/ar_LY: Likewise.
20689 * localedata/locales/ar_MA: Likewise.
20690 * localedata/locales/ar_OM: Likewise.
20691 * localedata/locales/ar_QA: Likewise.
20692 * localedata/locales/ar_SA: Likewise.
20693 * localedata/locales/ar_SD: Likewise.
20694 * localedata/locales/ar_SS: Likewise.
20695 * localedata/locales/ar_SY: Likewise.
20696 * localedata/locales/ar_TN: Likewise.
20697 * localedata/locales/ar_YE: Likewise.
20698 * localedata/locales/as_IN: Likewise.
20699 * localedata/locales/ast_ES: Likewise.
20700 * localedata/locales/ayc_PE: Likewise.
20701 * localedata/locales/az_AZ: Likewise.
20702 * localedata/locales/az_IR: Likewise.
20703 * localedata/locales/be_BY: Likewise.
20704 * localedata/locales/be_BY@latin: Likewise.
20705 * localedata/locales/bem_ZM: Likewise.
20706 * localedata/locales/ber_DZ: Likewise.
20707 * localedata/locales/ber_MA: Likewise.
20708 * localedata/locales/bg_BG: Likewise.
20709 * localedata/locales/bhb_IN: Likewise.
20710 * localedata/locales/bho_IN: Likewise.
20711 * localedata/locales/bi_VU: Likewise.
20712 * localedata/locales/bn_BD: Likewise.
20713 * localedata/locales/bn_IN: Likewise.
20714 * localedata/locales/bo_CN: Likewise.
20715 * localedata/locales/bo_IN: Likewise.
20716 * localedata/locales/br_FR: Likewise.
20717 * localedata/locales/brx_IN: Likewise.
20718 * localedata/locales/bs_BA: Likewise.
20719 * localedata/locales/byn_ER: Likewise.
20720 * localedata/locales/ca_AD: Likewise.
20721 * localedata/locales/ca_ES: Likewise.
20722 * localedata/locales/ca_FR: Likewise.
20723 * localedata/locales/ca_IT: Likewise.
20724 * localedata/locales/ce_RU: Likewise.
20725 * localedata/locales/chr_US: Likewise.
20726 * localedata/locales/cmn_TW: Likewise.
20727 * localedata/locales/crh_UA: Likewise.
20728 * localedata/locales/cs_CZ: Likewise.
20729 * localedata/locales/csb_PL: Likewise.
20730 * localedata/locales/cv_RU: Likewise.
20731 * localedata/locales/cy_GB: Likewise.
20732 * localedata/locales/da_DK: Likewise.
20733 * localedata/locales/de_AT: Likewise.
20734 * localedata/locales/de_BE: Likewise.
20735 * localedata/locales/de_CH: Likewise.
20736 * localedata/locales/de_DE: Likewise.
20737 * localedata/locales/de_IT: Likewise.
20738 * localedata/locales/de_LI: Likewise.
20739 * localedata/locales/de_LU: Likewise.
20740 * localedata/locales/doi_IN: Likewise.
20741 * localedata/locales/dv_MV: Likewise.
20742 * localedata/locales/dz_BT: Likewise.
20743 * localedata/locales/el_CY: Likewise.
20744 * localedata/locales/el_GR: Likewise.
20745 * localedata/locales/en_AG: Likewise.
20746 * localedata/locales/en_AU: Likewise.
20747 * localedata/locales/en_BW: Likewise.
20748 * localedata/locales/en_CA: Likewise.
20749 * localedata/locales/en_DK: Likewise.
20750 * localedata/locales/en_GB: Likewise.
20751 * localedata/locales/en_HK: Likewise.
20752 * localedata/locales/en_IE: Likewise.
20753 * localedata/locales/en_IL: Likewise.
20754 * localedata/locales/en_IN: Likewise.
20755 * localedata/locales/en_NG: Likewise.
20756 * localedata/locales/en_NZ: Likewise.
20757 * localedata/locales/en_PH: Likewise.
20758 * localedata/locales/en_SG: Likewise.
20759 * localedata/locales/en_US: Likewise.
20760 * localedata/locales/en_ZA: Likewise.
20761 * localedata/locales/en_ZM: Likewise.
20762 * localedata/locales/en_ZW: Likewise.
20763 * localedata/locales/eo: Likewise.
20764 * localedata/locales/es_AR: Likewise.
20765 * localedata/locales/es_BO: Likewise.
20766 * localedata/locales/es_CL: Likewise.
20767 * localedata/locales/es_CO: Likewise.
20768 * localedata/locales/es_CR: Likewise.
20769 * localedata/locales/es_CU: Likewise.
20770 * localedata/locales/es_DO: Likewise.
20771 * localedata/locales/es_EC: Likewise.
20772 * localedata/locales/es_ES: Likewise.
20773 * localedata/locales/es_GT: Likewise.
20774 * localedata/locales/es_HN: Likewise.
20775 * localedata/locales/es_MX: Likewise.
20776 * localedata/locales/es_NI: Likewise.
20777 * localedata/locales/es_PA: Likewise.
20778 * localedata/locales/es_PE: Likewise.
20779 * localedata/locales/es_PR: Likewise.
20780 * localedata/locales/es_PY: Likewise.
20781 * localedata/locales/es_SV: Likewise.
20782 * localedata/locales/es_US: Likewise.
20783 * localedata/locales/es_UY: Likewise.
20784 * localedata/locales/es_VE: Likewise.
20785 * localedata/locales/et_EE: Likewise.
20786 * localedata/locales/eu_ES: Likewise.
20787 * localedata/locales/eu_ES@euro: Likewise.
20788 * localedata/locales/fa_IR: Likewise.
20789 * localedata/locales/ff_SN: Likewise.
20790 * localedata/locales/fi_FI: Likewise.
20791 * localedata/locales/fil_PH: Likewise.
20792 * localedata/locales/fo_FO: Likewise.
20793 * localedata/locales/fr_BE: Likewise.
20794 * localedata/locales/fr_CA: Likewise.
20795 * localedata/locales/fr_CH: Likewise.
20796 * localedata/locales/fr_FR: Likewise.
20797 * localedata/locales/fr_LU: Likewise.
20798 * localedata/locales/fur_IT: Likewise.
20799 * localedata/locales/fy_DE: Likewise.
20800 * localedata/locales/fy_NL: Likewise.
20801 * localedata/locales/ga_IE: Likewise.
20802 * localedata/locales/gd_GB: Likewise.
20803 * localedata/locales/gez_ER: Likewise.
20804 * localedata/locales/gez_ET: Likewise.
20805 * localedata/locales/gl_ES: Likewise.
20806 * localedata/locales/gu_IN: Likewise.
20807 * localedata/locales/gv_GB: Likewise.
20808 * localedata/locales/ha_NG: Likewise.
20809 * localedata/locales/hak_TW: Likewise.
20810 * localedata/locales/he_IL: Likewise.
20811 * localedata/locales/hi_IN: Likewise.
20812 * localedata/locales/hif_FJ: Likewise.
20813 * localedata/locales/hne_IN: Likewise.
20814 * localedata/locales/hr_HR: Likewise.
20815 * localedata/locales/hsb_DE: Likewise.
20816 * localedata/locales/ht_HT: Likewise.
20817 * localedata/locales/hu_HU: Likewise.
20818 * localedata/locales/hy_AM: Likewise.
20819 * localedata/locales/i18n: Likewise.
20820 * localedata/locales/ia_FR: Likewise.
20821 * localedata/locales/id_ID: Likewise.
20822 * localedata/locales/ig_NG: Likewise.
20823 * localedata/locales/ik_CA: Likewise.
20824 * localedata/locales/is_IS: Likewise.
20825 * localedata/locales/it_CH: Likewise.
20826 * localedata/locales/it_IT: Likewise.
20827 * localedata/locales/iu_CA: Likewise.
20828 * localedata/locales/ja_JP: Likewise.
20829 * localedata/locales/ka_GE: Likewise.
20830 * localedata/locales/kk_KZ: Likewise.
20831 * localedata/locales/kl_GL: Likewise.
20832 * localedata/locales/kn_IN: Likewise.
20833 * localedata/locales/ko_KR: Likewise.
20834 * localedata/locales/kok_IN: Likewise.
20835 * localedata/locales/ks_IN: Likewise.
20836 * localedata/locales/ks_IN@devanagari: Likewise.
20837 * localedata/locales/ku_TR: Likewise.
20838 * localedata/locales/kw_GB: Likewise.
20839 * localedata/locales/ky_KG: Likewise.
20840 * localedata/locales/lb_LU: Likewise.
20841 * localedata/locales/lg_UG: Likewise.
20842 * localedata/locales/li_BE: Likewise.
20843 * localedata/locales/li_NL: Likewise.
20844 * localedata/locales/lij_IT: Likewise.
20845 * localedata/locales/ln_CD: Likewise.
20846 * localedata/locales/lo_LA: Likewise.
20847 * localedata/locales/lt_LT: Likewise.
20848 * localedata/locales/lv_LV: Likewise.
20849 * localedata/locales/lzh_TW: Likewise.
20850 * localedata/locales/mag_IN: Likewise.
20851 * localedata/locales/mai_IN: Likewise.
20852 * localedata/locales/mg_MG: Likewise.
20853 * localedata/locales/mhr_RU: Likewise.
20854 * localedata/locales/mi_NZ: Likewise.
20855 * localedata/locales/mk_MK: Likewise.
20856 * localedata/locales/ml_IN: Likewise.
20857 * localedata/locales/mn_MN: Likewise.
20858 * localedata/locales/mni_IN: Likewise.
20859 * localedata/locales/mr_IN: Likewise.
20860 * localedata/locales/ms_MY: Likewise.
20861 * localedata/locales/mt_MT: Likewise.
20862 * localedata/locales/my_MM: Likewise.
20863 * localedata/locales/nan_TW: Likewise.
20864 * localedata/locales/nan_TW@latin: Likewise.
20865 * localedata/locales/nb_NO: Likewise.
20866 * localedata/locales/nds_DE: Likewise.
20867 * localedata/locales/nds_NL: Likewise.
20868 * localedata/locales/ne_NP: Likewise.
20869 * localedata/locales/nhn_MX: Likewise.
20870 * localedata/locales/niu_NU: Likewise.
20871 * localedata/locales/niu_NZ: Likewise.
20872 * localedata/locales/nl_AW: Likewise.
20873 * localedata/locales/nl_BE: Likewise.
20874 * localedata/locales/nl_NL: Likewise.
20875 * localedata/locales/nn_NO: Likewise.
20876 * localedata/locales/nr_ZA: Likewise.
20877 * localedata/locales/nso_ZA: Likewise.
20878 * localedata/locales/oc_FR: Likewise.
20879 * localedata/locales/om_ET: Likewise.
20880 * localedata/locales/om_KE: Likewise.
20881 * localedata/locales/or_IN: Likewise.
20882 * localedata/locales/os_RU: Likewise.
20883 * localedata/locales/pa_IN: Likewise.
20884 * localedata/locales/pa_PK: Likewise.
20885 * localedata/locales/pap_AW: Likewise.
20886 * localedata/locales/pap_CW: Likewise.
20887 * localedata/locales/pl_PL: Likewise.
20888 * localedata/locales/ps_AF: Likewise.
20889 * localedata/locales/pt_BR: Likewise.
20890 * localedata/locales/pt_PT: Likewise.
20891 * localedata/locales/quz_PE: Likewise.
20892 * localedata/locales/raj_IN: Likewise.
20893 * localedata/locales/ro_RO: Likewise.
20894 * localedata/locales/ru_RU: Likewise.
20895 * localedata/locales/ru_UA: Likewise.
20896 * localedata/locales/rw_RW: Likewise.
20897 * localedata/locales/sa_IN: Likewise.
20898 * localedata/locales/sat_IN: Likewise.
20899 * localedata/locales/sc_IT: Likewise.
20900 * localedata/locales/sd_IN: Likewise.
20901 * localedata/locales/sd_IN@devanagari: Likewise.
20902 * localedata/locales/se_NO: Likewise.
20903 * localedata/locales/sgs_LT: Likewise.
20904 * localedata/locales/shs_CA: Likewise.
20905 * localedata/locales/si_LK: Likewise.
20906 * localedata/locales/sid_ET: Likewise.
20907 * localedata/locales/sk_SK: Likewise.
20908 * localedata/locales/sl_SI: Likewise.
20909 * localedata/locales/sm_WS: Likewise.
20910 * localedata/locales/so_DJ: Likewise.
20911 * localedata/locales/so_ET: Likewise.
20912 * localedata/locales/so_KE: Likewise.
20913 * localedata/locales/so_SO: Likewise.
20914 * localedata/locales/sq_AL: Likewise.
20915 * localedata/locales/sq_MK: Likewise.
20916 * localedata/locales/sr_ME: Likewise.
20917 * localedata/locales/sr_RS: Likewise.
20918 * localedata/locales/sr_RS@latin: Likewise.
20919 * localedata/locales/ss_ZA: Likewise.
20920 * localedata/locales/st_ZA: Likewise.
20921 * localedata/locales/sv_FI: Likewise.
20922 * localedata/locales/sv_SE: Likewise.
20923 * localedata/locales/sw_KE: Likewise.
20924 * localedata/locales/sw_TZ: Likewise.
20925 * localedata/locales/szl_PL: Likewise.
20926 * localedata/locales/ta_IN: Likewise.
20927 * localedata/locales/ta_LK: Likewise.
20928 * localedata/locales/tcy_IN: Likewise.
20929 * localedata/locales/te_IN: Likewise.
20930 * localedata/locales/tg_TJ: Likewise.
20931 * localedata/locales/th_TH: Likewise.
20932 * localedata/locales/the_NP: Likewise.
20933 * localedata/locales/ti_ER: Likewise.
20934 * localedata/locales/ti_ET: Likewise.
20935 * localedata/locales/tig_ER: Likewise.
20936 * localedata/locales/tk_TM: Likewise.
20937 * localedata/locales/tl_PH: Likewise.
20938 * localedata/locales/tn_ZA: Likewise.
20939 * localedata/locales/to_TO: Likewise.
20940 * localedata/locales/tpi_PG: Likewise.
20941 * localedata/locales/tr_CY: Likewise.
20942 * localedata/locales/tr_TR: Likewise.
20943 * localedata/locales/ts_ZA: Likewise.
20944 * localedata/locales/tt_RU: Likewise.
20945 * localedata/locales/tt_RU@iqtelif: Likewise.
20946 * localedata/locales/ug_CN: Likewise.
20947 * localedata/locales/uk_UA: Likewise.
20948 * localedata/locales/unm_US: Likewise.
20949 * localedata/locales/ur_IN: Likewise.
20950 * localedata/locales/ur_PK: Likewise.
20951 * localedata/locales/uz_UZ: Likewise.
20952 * localedata/locales/uz_UZ@cyrillic: Likewise.
20953 * localedata/locales/ve_ZA: Likewise.
20954 * localedata/locales/vi_VN: Likewise.
20955 * localedata/locales/wa_BE: Likewise.
20956 * localedata/locales/wae_CH: Likewise.
20957 * localedata/locales/wal_ET: Likewise.
20958 * localedata/locales/wo_SN: Likewise.
20959 * localedata/locales/xh_ZA: Likewise.
20960 * localedata/locales/yi_US: Likewise.
20961 * localedata/locales/yo_NG: Likewise.
20962 * localedata/locales/yue_HK: Likewise.
20963 * localedata/locales/yuw_PG: Likewise.
20964 * localedata/locales/zh_CN: Likewise.
20965 * localedata/locales/zh_HK: Likewise.
20966 * localedata/locales/zh_SG: Likewise.
20967 * localedata/locales/zh_TW: Likewise.
20968 * localedata/locales/zu_ZA: Likewise.
20970 2017-11-13 Florian Weimer <fweimer@redhat.com>
20972 * support/next_to_fault.h, support/next_to_fault.c: New files.
20973 * support/Makefile (libsupport-routines): Add next_to_fault.
20974 * resolv/tst-inet_pton.c (struct next_to_fault)
20975 (next_to_fault_allocate, next_to_fault_free): Remove.
20976 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
20978 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
20980 * elf/dl-support.c: Include <dl-procruntime.c>.
20981 * include/link.h: Include <link_map.h>.
20982 * sysdeps/generic/dl-procruntime.c: New file.
20983 * sysdeps/generic/link_map.h: Likewise.
20984 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
20985 the writable ld.so namespace.
20987 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
20989 timezone: pacify GCC -Wstringop-truncation
20990 Problem reported by Martin Sebor in:
20991 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
20992 * timezone/zic.c (writezone): Use memcpy, not strncpy.
20994 2017-11-12 Florian Weimer <fweimer@redhat.com>
20996 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
20998 (tests): Add tst-xreadlink.
20999 * support/support.h (xstrndup): Declare.
21000 * support/xunistd.h (xunlink, xreadlink): Declare.
21001 * support/temp_file.h (support_create_temp_directory): Declare.
21002 * support/temp_file.c (support_create_temp_directory): New function.
21003 * support/support_chroot.c (support_chroot_create): Use it.
21004 * support/xreadlink.c: New file.
21005 * support/xstrndup.c: Likewise.
21006 * support/xunlink.c: Likewise.
21007 * support/tst-xreadlink.c: Likewise.
21009 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21011 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21013 2017-11-11 Florian Weimer <fweimer@redhat.com>
21017 * resolv/res_comp.c (printable_string, binary_hnok)
21018 (binary_leading_dash): New functions.
21019 (res_hnok): Reimplement using these functions and ns_name_pton.
21020 (res_ownok): Likewise.
21021 (res_mailok): Reimplement using printable_string, ns_name_pton and
21023 (res_dnok): Reimplement using printable_string and ns_name_pton.
21024 * resolv/tst-res_hnok.c (tests): Add additional tests.
21025 (LETTERDIGITS, PRINTABLE): Define.
21026 (do_test): Adjust one_char results.
21028 2017-11-11 Florian Weimer <fweimer@redhat.com>
21031 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21032 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21034 2017-11-11 Florian Weimer <fweimer@redhat.com>
21036 * resolv/tst-ns_name_pton.c: New file.
21037 * resolv/Makefile (tests): Add tst-ns_name_pton.
21038 (tst-ns_name_pton): Link against libresolv.
21040 2017-11-11 Florian Weimer <fweimer@redhat.com>
21042 * resolv/tst-res_hnok.c: New file.
21043 * resolv/Makefile (tests): Add tst-res_hnok.
21044 (tst-res_hnok): Link against libresolv.
21046 2017-11-11 Florian Weimer <fweimer@redhat.com>
21048 * resolv/tst-resolv-network.c: Use test framework instead explicit
21051 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21053 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21054 <jmp_buf-macros.h>.
21055 [!_ISOMAC] (STR_HELPER): New.
21056 [!_ISOMAC] (STR): Likewise.
21057 [!_ISOMAC] (TEST_SIZE): Likewise.
21058 [!_ISOMAC] (TEST_ALIGN): Likewise.
21059 [!_ISOMAC] (TEST_OFFSET): Likewise.
21060 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21061 field offsets of jmp_buf as well as sigjmp_buf.
21062 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21063 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21064 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21065 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21066 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21067 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21068 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21069 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21070 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21071 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21073 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21075 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21080 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21081 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21082 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21083 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21084 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21089 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21090 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21091 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21093 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21097 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21099 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21101 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21103 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21105 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21107 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21109 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21111 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21113 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21115 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21117 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21119 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21121 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21123 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21125 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21127 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21129 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21131 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21133 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21135 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21137 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21139 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21141 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21143 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21145 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21147 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21149 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21151 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21153 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21155 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21157 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21159 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21161 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21163 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21165 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21167 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21169 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21171 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21173 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21175 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21177 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21179 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21181 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21183 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21185 * stdlib/tst-strtod.h (F16): New macro.
21191 (IF_FLOAT16): Likewise.
21192 (IF_FLOAT32): Likewise.
21193 (IF_FLOAT64): Likewise.
21194 (IF_FLOAT32X): Likewise.
21195 (IF_FLOAT64X): Likewise.
21196 (IF_FLOAT128X): Likewise.
21197 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21198 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21199 (STRTOD_TEST_FOREACH): Likewise.
21200 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21201 (CHOOSE_f64): Likewise.
21202 (CHOOSE_f32x): Likewise.
21203 (CHOOSE_f64x): Likewise.
21205 2017-11-07 Andreas Schwab <schwab@suse.de>
21207 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21209 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21212 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21214 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21217 2017-11-07 Claude Paroz <claude@2xlibre.net>
21220 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21222 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21224 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21227 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21230 * nptl/allocatestack.c (allocate_stack): Check if
21231 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21232 __PTHREAD_MUTEX_HAVE_PREV is defined.
21233 * nptl/descr.h (pthread): Likewise.
21234 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21236 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21237 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21238 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21239 * sysdeps/nptl/bits/thread-shared-types.h
21240 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21242 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21243 of __WORDSIZE for internal layout.
21244 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21245 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21246 instead of __WORDSIZE whether to use an union for __spins and __list
21248 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21250 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21251 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21253 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21254 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21256 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21257 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21259 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21260 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21262 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21263 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21265 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21266 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21268 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21269 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21271 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21272 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21274 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21275 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21277 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21278 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21280 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21281 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21283 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21284 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21286 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21287 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21289 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21290 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21292 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21293 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21296 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21298 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21299 checks for expected input type size.
21300 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21301 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21303 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21304 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21305 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21306 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21307 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21308 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21309 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21310 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21311 superflous runtime assert check.
21312 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21314 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21316 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21318 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21320 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21322 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21324 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21325 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21326 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21328 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21330 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21332 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21334 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21336 * nptl/pthread_attr_setinheritsched.c
21337 (__pthread_attr_setinheritsched): Likewise.
21338 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21340 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21342 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21343 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21344 __old_pthread_attr_setstack): Likewise.
21345 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21347 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21349 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21351 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21352 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21354 * nptl/tst-typesizes.c: Remove file.
21356 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21357 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21358 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21359 checks for internal pthread_mutex_t offsets.
21360 * sysdeps/aarch64/nptl/pthread-offsets.h
21361 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21362 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21363 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21364 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21365 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21366 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21367 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21368 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21369 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21370 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21371 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21372 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21373 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21374 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21375 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21376 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21377 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21378 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21380 2017-11-07 Florian Weimer <fweimer@redhat.com>
21382 * bits/mman-linux.h: Move ...
21383 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21385 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21388 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21390 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21391 Redefine STRNLEN as __strnlen_power8.
21393 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21395 * signal/sighold.c (sighold): Optimize implementation.
21397 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21398 __NR_rt_sigqueueinfo.
21400 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21402 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21403 assume __NR_rt_sigtimedwait.
21404 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21405 and add LIBC_CANCEL_HANDLED for cancellation marking.
21406 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21408 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21409 (sysdeps_routines): Add memchr_noneon.
21410 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21411 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21412 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21413 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21414 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21415 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21416 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21418 * sysdeps/arm/arm-ifunc.h: New file.
21419 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21420 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21421 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21422 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21423 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21424 (__memcpy_neon): Avoid create hidden alias.
21425 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21426 (__memcpy_vfp): Likewise.
21427 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21428 (sysdep_routines): Add memcpy_arm.
21429 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21431 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21434 * Makerules (make-link-multidir): New.
21435 * config.make.in (multidir): New.
21436 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21437 * configure: Regenerated.
21438 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21439 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21440 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21443 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21446 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21447 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21449 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21451 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21454 2017-11-04 Florian Weimer <fweimer@redhat.com>
21456 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21458 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21460 * math/math.h [__HAVE_DISTINCT_FLOAT16
21461 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21462 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21463 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21464 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21465 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21466 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21467 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21468 (__MATH_TG_F32): New macro.
21469 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21470 (__MATH_TG_F64X): Likewise.
21471 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21472 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21474 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21476 * po/de.po: Update translations.
21477 * po/ru.po: Likewise.
21479 2017-11-03 Florian Weimer <fweimer@redhat.com>
21481 * manual/filesys.texi (Hard Links): Document linkat.
21483 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21485 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21486 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21487 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21488 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21489 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21490 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21491 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21492 the same as _Float128.
21493 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21494 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21495 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21498 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21500 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21502 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21504 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21505 (strtof32x): Likewise.
21506 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21507 (strtof64x): Likewise.
21508 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21509 (strtof128x): Likewise.
21510 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21511 (strfromf16): Likewise.
21512 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21513 (strfromf32): Likewise.
21514 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21515 (strfromf64): Likewise.
21516 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21517 (strfromf32x): Likewise.
21518 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21519 (strfromf64x): Likewise.
21520 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21521 (strfromf128x): Likewise.
21522 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21523 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21524 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21525 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21526 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21527 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21529 2017-11-03 Richard Henderson <rth@twiddle.net>
21531 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21533 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21535 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21537 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21539 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21540 DT_TLSDESC_GOT initialization.
21541 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21542 (_dl_tlsdesc_resolve_hold): Likewise.
21543 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21544 (_dl_tlsdesc_resolve_hold): Likewise.
21545 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21546 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21548 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21550 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21552 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21555 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21556 non-lazily for R_ARM_TLS_DESC.
21558 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21561 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21562 R_ARM_TLS_DESC case.
21563 (elf_machine_lazy_rel): Remove the prelink check.
21565 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21567 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21568 DT_TLSDESC_GOT initialization.
21569 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21570 (_dl_tlsdesc_resolve_rela): Likewise.
21571 (_dl_tlsdesc_resolve_hold): Likewise.
21572 (_dl_tlsdesc_undefweak): Remove ldar.
21573 (_dl_tlsdesc_dynamic): Likewise.
21574 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21575 (_dl_tlsdesc_resolve_rela): Likewise.
21576 (_dl_tlsdesc_resolve_hold): Likewise.
21577 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21578 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21579 (_dl_tlsdesc_resolve_rela): Likewise.
21580 (_dl_tlsdesc_resolve_hold): Likewise.
21582 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21584 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21585 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21587 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21589 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21590 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21592 2017-11-02 Joseph Myers <joseph@codesourcery.com>
21594 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21596 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21597 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21598 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21599 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21600 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21601 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21602 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21603 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21604 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21605 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21606 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21608 2017-11-02 Mike FABIAN <mfabian@redhat.com>
21611 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21612 * localedata/locales/tpi_PG: Add standard header.
21614 2017-11-02 Florian Weimer <fweimer@redhat.com>
21616 test-errno-linux: quotactl can fail with EPERM in containers.
21617 * sysdeps/unix/sysv/linux/test-errno-linux.c
21618 (LIST, LIST_FORWARD): New macros.
21619 (check_error_in_list): New function.
21620 (test_wrp_rv): Accept list of permitted error codes.
21621 (test_wrp_rv2): Remove.
21622 (test_wrp): Call test_wrp_rv with list of error codes.
21623 (test_wrp2): Accept list of error codes.
21624 (do_test): Adjust. Allow EPERM for quotactl.
21626 2017-11-02 Florian Weimer <fweimer@redhat.com>
21628 * stdio-common/bug16.c (do_test): Use array_length.
21629 * stdio-common/errlist.c (_sys_nerr): Likewise.
21630 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21631 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21632 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21633 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21634 (do_test): Use array_length.
21635 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21636 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21637 * stdio-common/tst-printf-round.c (do_test): Likewise.
21638 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21639 (CHECK): Use array_length.
21640 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21641 * stdio-common/tstscanf.c (main): Likewise.
21642 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21644 2017-11-02 Florian Weimer <fweimer@redhat.com>
21646 Add array_length and array_end macros.
21647 * include/array_length.h: New file.
21649 2017-11-02 Florian Weimer <fweimer@redhat.com>
21652 * posix/tst-glob-tilde.c (do_noescape): New variable.
21653 (one_test): Process it.
21654 (do_test): Set do_noescape. Add unescaping test case.
21656 2017-11-01 Joseph Myers <joseph@codesourcery.com>
21659 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21660 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21661 with appropriate macros defined and undefined.
21662 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21663 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21664 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21665 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21666 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21667 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21668 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21669 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21670 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21671 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21674 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21675 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21676 that for long double. Do not condition define and undefine of
21677 _Mdouble_complex_ on [__CFLOAT128].
21679 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21681 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21682 of <sysdeps/generic/sysdep.h>.
21683 (ALIGNARG): Removed.
21684 (ASM_SIZE_DIRECTIVE): Likewise.
21687 (ENTRY_CHK): Likewise.
21688 (END_CHK): Likewise.
21689 (syscall_error): Likewise.
21690 (mcount): Likewise.
21691 (PSEUDO_END): Likewise.
21693 (atom_text_section): Likewise.
21694 * sysdeps/x86/sysdep.h: New file.
21695 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21696 of <sysdeps/generic/sysdep.h>.
21697 (ALIGNARG): Removed.
21698 (ASM_SIZE_DIRECTIVE): Likewise.
21701 (ENTRY_CHK): Likewise.
21702 (END_CHK): Likewise.
21703 (syscall_error): Likewise.
21704 (mcount): Likewise.
21705 (PSEUDO_END): Likewise.
21707 (atom_text_section): Likewise.
21709 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21711 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21712 category of LC_CTYPE set to "i18n:2012".
21713 * localedata/locales/i18n_ctype: Regenerate.
21715 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
21717 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21718 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21719 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21720 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21722 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21723 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21725 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21727 2017-10-31 Joseph Myers <joseph@codesourcery.com>
21730 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21732 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21734 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21736 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21737 (CMPLXF32X): Likewise.
21738 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21739 (CMPLXF64X): Likewise.
21740 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21741 (CMPLXF128X): Likewise.
21744 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21745 (__MATH_EVAL_FMT2): Define to add 0.0f.
21747 2017-10-31 Alan Modra <amodra@gmail.com>
21749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21765 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21766 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21767 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21769 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21776 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21777 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21778 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21779 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21780 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21781 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21782 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21783 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21784 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21785 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21787 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21788 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21790 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21791 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21792 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21793 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21794 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21795 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21797 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
21799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21801 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
21802 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
21803 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
21804 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
21805 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
21808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
21809 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
21813 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
21814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
21816 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
21817 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
21818 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
21819 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
21822 include sysdep.h and math_ldbl_opt.h.
21824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
21825 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
21826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
21828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
21829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
21830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
21831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
21832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
21834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
21835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
21836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
21838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
21841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
21842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
21843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
21844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
21845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
21846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
21847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
21848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
21851 2017-10-31 Alan Modra <amodra@gmail.com>
21853 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
21854 string/strncase_l.c, not string/strncase.c.
21855 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
21856 (libc_hidden_def): Redefine.
21858 2017-10-31 Alan Modra <amodra@gmail.com>
21860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
21861 (__STRCMP, STRCMP, __strcasecmp_l): Define.
21862 (__strcasecmp): Don't define.
21864 2017-10-31 Alan Modra <amodra@gmail.com>
21866 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
21868 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21869 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21870 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21872 2017-10-31 Alan Modra <amodra@gmail.com>
21874 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
21877 2017-10-31 Alan Modra <amodra@gmail.com>
21879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
21880 Redefine only when SHARED.
21882 2017-10-30 Joseph Myers <joseph@codesourcery.com>
21884 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21885 Include <bits/math-finite.h> with appropriate macros defined and
21887 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21888 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21889 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21890 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21891 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21893 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
21894 [!_Mlong_double_] (_Mlong_double_): Likewise.
21895 [!_Mfloat16_] (_Mfloat16_): Likewise.
21896 [!_Mfloat32_] (_Mfloat32_): Likewise.
21897 [!_Mfloat64_] (_Mfloat64_): Likewise.
21898 [!_Mfloat128_] (_Mfloat128_): Likewise.
21899 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
21900 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
21901 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
21902 (_Mdouble_): Define without indirection through those macros.
21903 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
21904 [!_Mfloat128_] (_Mfloat128_): Likewise.
21905 [_Mlong_double_] (_Mlong_double_): Likewise.
21906 (_Mdouble_): Define without indirection through those macros.
21907 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
21908 not add -D_Mlong_double_=double.
21909 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
21910 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
21912 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21914 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
21916 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21918 * sysdeps/x86/libc-start.c: Reformat.
21920 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21923 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
21924 (1): Renamed to ...
21927 (L(Src2)): Likewise.
21928 (L(1)): Renamed to ...
21931 2017-10-30 Joseph Myers <joseph@codesourcery.com>
21933 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
21934 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
21935 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
21936 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
21937 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
21938 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
21939 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
21940 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
21941 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
21942 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
21943 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
21944 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
21945 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
21946 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
21947 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
21948 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
21949 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
21950 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
21951 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
21952 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
21953 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
21954 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
21955 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
21956 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
21957 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
21958 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
21959 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
21960 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
21961 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
21962 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
21963 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
21964 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
21965 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
21966 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
21967 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
21968 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
21969 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
21970 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
21971 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
21972 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
21973 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
21974 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
21975 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
21976 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
21977 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
21978 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
21979 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
21980 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
21981 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
21982 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
21983 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
21984 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
21985 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
21986 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
21987 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
21988 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
21989 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
21990 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
21991 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
21992 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
21993 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
21994 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
21995 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
21996 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
21997 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
21998 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22000 2017-10-30 Florian Weimer <fweimer@redhat.com>
22002 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22004 * io/tst-mkdirat.c (do_test): Likewise.
22005 * io/tst-mkfifoat.c (do_test): Likewise.
22006 * io/tst-mknodat.c (do_test): Likewise.
22007 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22008 * locale/programs/locale.c (select_dirs): Likewise.
22009 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22010 * posix/bug-glob2.c (my_readdir): Likewise.
22011 * posix/tst-dir.c (main): Likewise.
22012 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22013 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22015 2017-10-30 Florian Weimer <fweimer@redhat.com>
22017 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22020 2017-10-30 Florian Weimer <fweimer@redhat.com>
22022 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22023 Convert to support/test-driver.c.
22024 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22025 New macro parameters.
22026 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22027 * posix/tst-gnuglob.c: New file.
22028 * posix/tst-gnuglob64.c: Likewise.
22029 * posix/Makefile (tests): Add tst-gnuglob64.
22031 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22034 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22035 and use a better translation for March in “mon”.
22036 * localedata/locales/csb_PL: Use more ASCII to improve the
22037 readability of the source.
22039 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22042 * localedata/locales/km_KH: Use ASCII as much
22043 as possible for better readability of the source and
22044 remove useless comments.
22045 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22046 was commented out and apparently wrong anyway because it was
22047 using Lao characters. If Buddhist era should be used
22048 for km_KH, a native speaker should write the correct formaat
22050 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22051 (According to CLDR, the first weekday for Cambodia is Sunday).
22052 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22053 (These were using Lao characters which must be wrong. If we get
22054 the correct data from a native speaker, we could add it back, until
22055 then it is better not to have name_mr and name_mrs at all than
22058 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22060 * locale/loadlocale.c: Correct size of
22061 _nl_value_type_LC_<category> arrays.
22063 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22065 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22066 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22067 with appropriate macros defined and undefined.
22068 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22069 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22070 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22071 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22072 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22074 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22076 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22079 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22081 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22082 with lowercase letters to make it agree with CLDR.
22084 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22087 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22088 first letters of yesstr and nostr in yesexpr and noexpr,
22089 not for the full words.
22090 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22091 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22092 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22093 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22094 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22095 first letters of yesstr and nostr in yesexpr and noexpr,
22096 until now only English was matched in yesexpr and noexpr.
22097 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22098 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22099 fil but not for tl. As tl and fil are very similar, using fil
22100 is probably better than using English.
22102 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22105 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22106 in yesstr and nostr.
22108 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22110 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22111 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22112 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22114 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22116 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22118 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22120 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22121 (SNANF128X): Likewise.
22123 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22124 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22125 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22126 (HUGE_VAL_F32): Likewise.
22127 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22128 (HUGE_VAL_F64): Likewise.
22129 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22130 (HUGE_VAL_F32X): Likewise.
22131 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22132 (HUGE_VAL_F64X): Likewise.
22133 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22134 (HUGE_VAL_F128X): Likewise.
22136 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22138 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22139 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22140 for the br_FR locale.
22142 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22145 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22147 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22149 * locale/programs/record-status.h: Define globals, and function
22150 prototypes. Move function bodies...
22151 * locale/programs/record-status.c: ... to here. New file.
22152 * iconv/Makefile (iconv_prog-modules): Add record-status.
22153 * locale/Makefile (lib-modules): Likewise.
22154 * iconv/iconv_prog.c: Remove verbose.
22155 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22156 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22157 record a warning about ASCII compatibility.
22158 * locale/programs/ld-monetary.c (monetary_finish): If
22159 warn_int_curr_symbol is true then record a warning about the symbol
22160 not being in our ISO 4217 list.
22161 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22162 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22163 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22164 (OPT_NO_WARN): Define.
22165 (OPT_WARN): Define.
22166 (options): Add entry for --no-warnings, and --warnings.
22167 (set_warnings): New function to enable/disable warnings.
22168 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22169 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22170 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22171 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22172 Pass flags to generate_locale.
22173 (generate_locale): Accept new flag argument and pass it to localedef
22175 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22176 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22178 * localedata/Makefile (test-input-data): Use full file name.
22179 * localedata/da_DK.in: Rename to...
22180 * localedata/da_DK.ISO-8859-1.in: ...this.
22181 * localedata/de_DE.in: Rename to...
22182 * localedata/de_DE.ISO-8859-1.in: ...this.
22183 * localedata/en_US.in: Rename to...
22184 * localedata/en_US.ISO-8859-1.in: ...this.
22185 * localedata/fr_FR.in: Rename to...
22186 * localedata/fr_FR.UTF-8.in: ... this.
22187 * localedata/hr_HR.in: Rename to...
22188 * localedata/hr_HR.ISO-8859-2.in: ...this.
22189 * localedata/hu_HU.in: Rename to...
22190 * localedata/hu_HU.UTF-8.in: ...this.
22191 * localedata/si_LK.in: Rename to...
22192 * localedata/si_LK.UTF-8.in: ...this.
22193 * localedata/sv_SE.in: Rename to...
22194 * localedata/sv_SE.ISO-8859-1.in: ...this.
22195 * localedata/tr_TR.in: Rename to...
22196 * localedata/tr_TR.UTF-8.in: ...this.
22197 * localedata/uk_UA.in: Rename to...
22198 * localedata/uk_UA.UTF-8.in: ...this.
22199 * localedata/sort-test.sh: Test file is locale name with the
22202 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22203 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22205 * localedata/locales/i18n_ctype: Regenerate.
22206 * localedata/locales/tr_TR: Likewise.
22207 * localedata/locales/translit_circle: Likewise.
22208 * localedata/locales/translit_cjk_compat: Likewise.
22209 * localedata/locales/translit_combining: Likewise.
22210 * localedata/locales/translit_compat: Likewise.
22211 * localedata/locales/translit_font: Likewise.
22212 * localedata/locales/translit_fraction: Likewise.
22214 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22216 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22217 lxvd2x/stxvd2x with lvx/stvx.
22218 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22220 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22222 * include/alloc_buffer.h: Replace "if if " with "if " in
22224 * sysdeps/mips/memcpy.S: Likkewise.
22225 * sysdeps/mips/memset.S: Likewise.
22226 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22228 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22230 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22233 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22236 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22237 yesexpr and noexpr.
22238 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22239 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22240 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22241 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22242 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22243 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22244 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22246 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22248 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22249 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22250 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22251 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22252 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22253 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22254 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22255 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22256 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22257 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22258 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22259 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22261 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22263 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22264 as possible for better readability of the source.
22265 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22266 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22267 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22268 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22269 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22270 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22271 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22272 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22273 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22274 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22275 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22276 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22277 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22278 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22279 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22280 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22281 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22282 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22283 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22284 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22285 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22286 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22287 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22288 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22289 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22290 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22291 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22292 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22293 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22294 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22295 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22296 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22297 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22298 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22299 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22300 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22301 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22302 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22303 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22304 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22305 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22306 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22307 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22308 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22309 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22310 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22311 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22312 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22313 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22314 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22315 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22316 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22317 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22318 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22319 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22320 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22321 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22322 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22323 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22324 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22325 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22326 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22327 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22328 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22329 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22330 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22331 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22332 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22333 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22334 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22335 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22336 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22337 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22338 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22339 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22340 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22341 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22342 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22343 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22344 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22345 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22346 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22347 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22348 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22349 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22350 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22351 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22352 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22353 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22354 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22355 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22356 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22357 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22358 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22359 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22360 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22361 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22362 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22363 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22364 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22365 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22366 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22367 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22368 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22369 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22370 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22371 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22372 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22373 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22374 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22375 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22376 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22377 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22378 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22379 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22380 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22381 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22382 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22383 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22384 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22385 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22386 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22387 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22388 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22389 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22390 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22391 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22392 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22393 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22394 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22395 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22396 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22397 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22398 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22399 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22400 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22401 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22402 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22403 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22404 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22405 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22406 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22407 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22408 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22409 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22410 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22411 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22412 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22413 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22414 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22415 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22416 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22417 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22418 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22419 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22420 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22421 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22422 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22423 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22424 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22425 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22426 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22427 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22428 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22429 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22430 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22431 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22432 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22433 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22434 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22435 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22436 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22437 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22438 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22440 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22442 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22443 (Use first letters of yesstr and nostr correctly instead of using
22446 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22448 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22449 (Use first letters of yesstr and nostr correctly).
22451 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22453 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22454 also check for the first characters of yesstr and nostr.
22455 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22456 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22458 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22460 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22461 also check for Chinese characters.
22463 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22465 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22466 match also for the contents of yesstr and nostr. As the first letter
22467 of yesstr and nostr is equal, checking only for the first letter
22470 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22472 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22473 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22475 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22477 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22478 of main contributor.
22480 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22482 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22483 instead of using English.
22485 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22487 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22488 by including the first letters of nostr and yesexpr in the regexp.
22489 Also make it more readable by using ASCII where possible.
22491 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22493 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22494 the first letter of nostr in the regexp. It agrees with CLDR now.
22495 Also make it more readable by using ASCII where possible.
22497 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22499 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22500 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22501 these strings contain a U+17D6 (which somewhat looks like a colon)
22502 instead of a real colon to separate the full words for “yes”
22503 and “no” from the single letter responses.
22505 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22507 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22508 it agree with CLDR (include the first letter of yesstr).
22509 Also make it more readable by using ASCII where possible.
22511 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22513 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22514 and improve yesexpr and noexpr. The yesstr and nostr apparently
22515 came from CLDR. And CLDR has a bug there: these strings contain
22516 a U+0903 (which looks like a colon) instead of a real colon
22517 to separate the full words for “yes” and “no” from the single
22520 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22522 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22523 letters of the full yesstr and nostr in yesexpr and noexpr.
22525 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22527 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22528 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22529 * localedata/locales/an_ES: Make source more readable by using ASCII
22532 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22535 * localedata/locales/yuw_PG: New file.
22536 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22537 * locale/iso-639.def: Add Yau (Uruwa).
22539 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22541 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22543 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22545 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22546 (__libc_realloc): Likewise.
22547 (_mid_memalign): Likewise.
22548 (__libc_calloc): Likewise.
22550 2017-10-23 Mike FABIAN <mfabian@redhat.com>
22552 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22553 by adding the generic +1 and -0 as in all other locales.
22554 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22555 day names and make it more readable by using ASCII where possible.
22557 2017-10-24 Joseph Myers <joseph@codesourcery.com>
22559 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22560 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22562 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22564 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22565 WNOHANG in waitpid call.
22567 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22569 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22570 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22572 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22573 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22574 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22575 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22576 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22577 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22578 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22579 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22582 2017-10-23 Michael Collison <michael.collison@arm.com>
22584 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22585 with __builtin_sqrt.
22586 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22587 with __builtin_sqrtf.
22588 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22589 with __builtin_ceil.
22590 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22591 with __builtin_ceilf.
22592 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22593 with __builtin_floor.
22594 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22595 with __builtin_floorf.
22596 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22597 with __builtin_fma.
22598 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22599 with __builtin_fmaf.
22600 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22601 with __builtin_fmax.
22602 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22603 with __builtin_fmaxf.
22604 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22605 with __builtin_fmin.
22606 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22607 with __builtin_fminf.
22608 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22609 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22610 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22611 with builtin_rint and conversion to int.
22612 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22613 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22614 with builtin_llround.
22615 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22616 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22617 with builtin_rint and conversion to long int.
22618 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22619 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22620 with builtin_lround.
22621 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22622 with builtin_lroundf.
22623 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22624 statements with __builtin_nearbyint.
22625 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22626 statements with __builtin_nearbyintf.
22627 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22628 with __builtin_rint.
22629 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22630 with __builtin_rintf.
22631 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22632 with __builtin_round.
22633 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22634 with __builtin_roundf.
22635 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22636 with __builtin_trunc.
22637 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22638 with __builtin_truncf.
22639 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22640 and s_l[l]round[f].c too.
22642 2017-10-23 Alan Modra <amodra@gmail.com>
22644 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22645 Adjust stack after restoring regs. Add missing LR cfi_restore.
22647 2017-10-23 Alan Modra <amodra@gmail.com>
22649 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22650 Move LR save and frame setup/teardown and LR restore to
22651 immediately around memset call. Provide cfi.
22653 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22655 * sysdeps/i386/fpu/e_powf.S: Removed.
22656 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22657 * sysdeps/i386/fpu/w_powf.c: Likewise.
22658 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22659 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22660 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22662 (CFLAGS-e_powf-sse2.c): New.
22663 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22664 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22666 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22668 * sysdeps/i386/fpu/e_log2f.S: Removed.
22669 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22670 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22671 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22672 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22673 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22675 (CFLAGS-e_log2f-sse2.c): New.
22676 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22677 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22679 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22681 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22683 (CFLAGS-e_powf-fma.c): New.
22684 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22687 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22691 (CFLAGS-e_log2f-fma.c): New.
22692 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22697 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22699 (CFLAGS-e_logf-fma.c): New.
22700 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22701 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22703 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22705 * sysdeps/i386/fpu/e_logf.S: Removed.
22706 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22707 * sysdeps/i386/fpu/w_logf.c: Likewise.
22708 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22709 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22710 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22711 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22713 (CFLAGS-e_logf-sse2.c): New.
22714 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22715 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22717 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22719 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22720 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22721 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22722 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22723 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22725 (CFLAGS-e_exp2f-sse2.c): New.
22726 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22727 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22729 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22733 (CFLAGS-e_exp2f-fma.c): New.
22734 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22735 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22737 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22739 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22740 * sysdeps/i386/fpu/e_expf.S: Likewise.
22741 * sysdeps/i386/fpu/math_errf.c: Likewise.
22742 * sysdeps/i386/fpu/w_expf.c: Likewise.
22743 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22745 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22746 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22747 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22748 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22749 Remove e_expf-ia32.
22750 (CFLAGS-e_expf-sse2.c): New.
22751 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22752 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22754 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22756 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22757 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22758 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22759 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22761 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22763 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22764 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22766 (__redirect_expf): This.
22767 (SYMBOL_NAME): Changed to expf.
22768 (__ieee754_expf): Renamed to ...
22770 (__GI___expf): This.
22771 (__ieee754_expf): Add strong_alias.
22772 (__expf_finite): Likewise.
22774 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22776 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
22779 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22782 2017-10-21 Florian Weimer <fweimer@redhat.com>
22784 * posix/Makefile (tests): Add tst-glob-tilde.
22785 (tests-special): Add tst-glob-tilde-mem.out
22786 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22787 (tst-glob-tilde-mem.out): Add mtrace check.
22788 * posix/tst-glob-tilde.c: New file.
22790 2017-10-20 Joseph Myers <joseph@codesourcery.com>
22792 * bits/floatn-common.h: New file.
22793 * math/Makefile (headers): Add bits/floatn-common.h.
22794 * bits/floatn.h: Include <bits/floatn-common.h>.
22795 * sysdeps/ia64/bits/floatn.h: Likewise.
22796 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22797 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22798 * sysdeps/powerpc/bits/floatn.h: Likewise.
22799 * sysdeps/x86/bits/floatn.h: Likewise.
22801 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22803 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
22804 indicates whether compiler emits an warning for alias for
22805 functions with incompatible types.
22808 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
22809 the auxiliary process is terminated by a signal before calling _exit
22812 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22815 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
22817 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
22818 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
22819 and bit_arch_XSAVEC_Usable if needed.
22820 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
22821 and bit_arch_Use_dl_runtime_resolve_opt.
22822 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
22824 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
22825 (bit_arch_Prefer_No_AVX512): Updated.
22826 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
22827 (bit_arch_XSAVEC_Usable): New.
22828 (STATE_SAVE_OFFSET): Likewise.
22829 (STATE_SAVE_MASK): Likewise.
22830 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
22831 (cpu_features): Add xsave_state_size and xsave_state_full_size.
22832 (index_arch_Use_dl_runtime_resolve_opt): Removed.
22833 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
22834 (index_arch_XSAVEC_Usable): New.
22835 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
22836 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
22837 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
22839 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
22840 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
22841 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
22842 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
22843 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
22844 _dl_runtime_resolve_xsavec.
22845 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
22847 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
22848 instead of VEC_SIZE.
22849 (REGISTER_SAVE_BND0): Removed.
22850 (REGISTER_SAVE_BND1): Likewise.
22851 (REGISTER_SAVE_BND3): Likewise.
22852 (REGISTER_SAVE_RAX): Always defined to 0.
22854 (_dl_runtime_resolve_avx): Likewise.
22855 (_dl_runtime_resolve_avx_slow): Likewise.
22856 (_dl_runtime_resolve_avx_opt): Likewise.
22857 (_dl_runtime_resolve_avx512): Likewise.
22858 (_dl_runtime_resolve_avx512_opt): Likewise.
22859 (_dl_runtime_resolve_sse): Likewise.
22860 (_dl_runtime_resolve_sse_vex): Likewise.
22862 (_dl_runtime_resolve_fxsave): Likewise.
22863 (USE_XSAVE): Likewise.
22864 (_dl_runtime_resolve_xsave): Likewise.
22865 (USE_XSAVEC): Likewise.
22866 (_dl_runtime_resolve_xsavec): Likewise.
22867 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
22869 (_dl_runtime_resolve_avx512_opt): Likewise.
22870 (_dl_runtime_resolve_avx): Likewise.
22871 (_dl_runtime_resolve_avx_opt): Likewise.
22872 (_dl_runtime_resolve_sse): Likewise.
22873 (_dl_runtime_resolve_sse_vex): Likewise.
22874 (_dl_runtime_resolve_fxsave): New.
22875 (_dl_runtime_resolve_xsave): Likewise.
22876 (_dl_runtime_resolve_xsavec): Likewise.
22878 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
22882 * posix/glob.c (__glob): Fix one-byte overflow.
22884 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22886 * malloc/malloc.c (sysdep-cancel.h): Add include.
22888 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22890 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
22892 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
22894 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
22895 (tests): Remove $(objpfx)ga_test depdendency.
22896 * resolv/ga_test.c: Remove file.
22898 2017-10-20 Mike FABIAN <mfabian@redhat.com>
22901 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
22902 * localedata/locales/kab_DZ: New file.
22904 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22906 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
22907 _dl_relocate_static_pie instead of _dl_start to compute load
22908 address in static PIE.
22910 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22912 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
22914 2017-10-20 Mike FABIAN <mfabian@redhat.com>
22917 * localedata/SUPPORTED: Add shn_MM/UTF-8.
22918 * localedata/locales/shn_MM: New file.
22920 2017-10-20 Florian Weimer <fweimer@redhat.com>
22923 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
22924 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
22925 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
22926 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
22927 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
22928 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
22930 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
22932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22934 2017-10-19 Joseph Myers <joseph@codesourcery.com>
22936 * sysdeps/mips/ieee754/bits/floatn.h: New file.
22939 * sysdeps/mips/bits/long-double.h: Move to ....
22940 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
22942 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
22944 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
22946 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
22947 H.J. Lu <hongjiu.lu@intel.com>
22950 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22951 GLRO(dl_platform) to NULL.
22952 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
22953 (modules-names): Add tst-platformmod-1 and
22954 x86_64/tst-platformmod-2.
22955 (CFLAGS-tst-platform-1.c): New.
22956 (CFLAGS-tst-platformmod-1.c): Likewise.
22957 (CFLAGS-tst-platformmod-2.c): Likewise.
22958 (LDFLAGS-tst-platformmod-2.so): Likewise.
22959 ($(objpfx)tst-platform-1): Likewise.
22960 ($(objpfx)tst-platform-1.out): Likewise.
22961 (tst-platform-1-ENV): Likewise.
22962 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
22963 * sysdeps/x86_64/tst-platform-1.c: New file.
22964 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
22965 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
22967 2017-10-19 Mike FABIAN <mfabian@redhat.com>
22970 * locale/iso-639.def: Add Karbi.
22971 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
22972 * localedata/locales/mjw_IN: New file.
22974 2017-10-18 Joseph Myers <joseph@codesourcery.com>
22976 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
22977 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22978 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
22979 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
22980 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22981 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22982 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
22984 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22985 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22986 * manual/math.texi (Mathematics): Document additional architecture
22987 support for _Float128.
22988 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22989 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22990 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22991 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22992 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22994 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22998 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23000 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23001 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23002 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23004 2017-10-18 Renlin Li <renlin.li@arm.com>
23006 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23007 _DYNAMIC symbol to calculate load address.
23009 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23011 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23012 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23014 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23015 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23017 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23020 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23021 and improve readability by using more ASCII.
23022 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23023 and improve readability by using more ASCII.
23025 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23027 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23028 not all targets support atomics on bool.
23030 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23032 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23033 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23035 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23036 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23037 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23038 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23039 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23040 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23042 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23044 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23047 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23050 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23051 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23052 (do_check_remalloced_chunk): Fix build bug.
23053 (do_check_malloc_state): Add assert that checks arena->top.
23054 (malloc_consolidate): Remove initialization.
23055 (int_mallinfo): Remove call to malloc_consolidate.
23056 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23058 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23060 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23061 (have_fastchunks): Remove.
23062 (clear_fastchunks): Remove.
23063 (set_fastchunks): Remove.
23064 (malloc_state): Add have_fastchunks.
23065 (malloc_init_state): Use have_fastchunks.
23066 (do_check_malloc_state): Remove incorrect invariant checks.
23067 (_int_malloc): Use have_fastchunks.
23068 (_int_free): Likewise.
23069 (malloc_consolidate): Likewise.
23071 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23073 * malloc/malloc.c (tcache_put): Inline.
23074 (tcache_get): Inline.
23076 2017-10-17 Jordi Mallach <jordi@gnu.org>
23078 Aurelien Jarno <aurelien@aurel32.net>
23080 * localedata/locales/ca_ES@valencia: New file.
23081 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23083 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23086 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23089 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23091 * scripts/build-many-glibcs.py (Context.add_all_configs):
23092 Add arm-linux-gnueabihf multiarch extra_glibcs.
23094 * sysdeps/generic/ifunc-init.h: New file.
23095 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23097 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23100 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23101 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23102 * stdlib/tst-strfmon_l.c: adapt test case.
23104 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23106 * sysdeps/generic/float128-abi.h: New file.
23107 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23108 non-__prefixed symbols to ....
23109 * math/Versions: ... here. Include <float128-abi.h>.
23110 * stdlib/Versions ... and here. Include <float128-abi.h>
23112 2017-10-16 Florian Weimer <fweimer@redhat.com>
23114 * version.h (VERSION): Switch to ".9000" as the development
23117 2017-10-16 Florian Weimer <fweimer@redhat.com>
23120 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23121 compat_symbol_reference to access non-default version.
23123 2017-10-16 Florian Weimer <fweimer@redhat.com>
23125 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23127 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23129 * include/shlib-compat.h (compat_symbol_reference): Update
23132 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23134 * math/Makefile (test-types): Add
23135 $(type-float128-$(float128-alias-fcts)).
23136 * math/test-float128.h (TYPE_STR): Define conditional on
23137 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23138 (ULP_IDX): Likewise.
23139 (ULP_I_IDX): Likewise.
23141 * stdlib/strtold.c: Include <bits/floatn.h>
23142 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23143 and later undefine as macro. Define as weak alias if
23145 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23146 and later undefine as macro. Define as weak alias if
23148 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23149 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23150 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23151 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23152 Define and later undefine as macro. Define as weak alias if
23154 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23156 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23157 Define and later undefine as macro. Define as weak alias if
23159 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23160 Define and later undefine as macro. Define as weak alias if
23163 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23165 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23166 record_verbose messages.
23168 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23171 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23172 to silence -O3 -Wall warning with GCC 7.
23174 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23176 * Makeconfig (+link-static-before-libc): Use the first of
23177 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23178 * gmon/Makefile (tests): Add tst-gmon-static.
23179 (tests-static): Likewise.
23180 (CFLAGS-tst-gmon-static.c): New.
23181 (CRT-tst-gmon-static): Likewise.
23182 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23183 (tst-gmon-static-ENV): Likewise.
23184 (tests-special): Likewise.
23185 ($(objpfx)tst-gmon-static.out): Likewise.
23186 (clean-tst-gmon-static-data): Likewise.
23187 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23188 * gmon/tst-gmon-static-gprof.sh: New file.
23189 * gmon/tst-gmon-static.c: Likewise.
23191 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23194 * locale/programs/linereader.c (get_string): Don't warn on
23195 non-symbolic character.
23198 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23202 * locale/programs/record-status.h: New file
23203 * locale/programs/locale.c: Add comment.
23204 * locale/programs/charmap-dir.c: Don't include error.h.
23205 (charmap_opendir): Use record_error.
23206 * locale/programs/charmap.c: Don't include error.h.
23207 (charmap_read): Use record_error, and record_warning.
23208 (parse_charmap): Likewise.
23209 * locale/programs/ld-address.c: Don't include error.h.
23210 (address_finish): Use record_error, and record_warning.
23211 * locale/programs/ld-collate.c: Don't include error.h.
23212 (collate_finish): Use record_error, and record_error_at_line.
23213 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23214 (ctype_class_new): Likewise.
23215 (ctype_map_new): Likewise.
23216 (set_one_default): Likewise.
23217 (set_class_defaults): Likewise.
23218 (translit_flatten): Likewise.
23219 (allocate_arrays): Use record_error, and record_verbose.
23220 * locale/programs/ld-identification.c: Don't include error.h.
23221 (indentation_finish): Use record_error and record_warning.
23222 * locale/programs/ld-measurement.c: Don't include error.h.
23223 (measurement_finish): Use record_error.
23224 * locale/programs/ld-messages.c
23225 (message_finish): Likewise.
23226 * locale/programs/ld-monetary.c
23227 (monetary_finish): Likewise.
23228 * locale/programs/ld-name.c (name_finish): Use record_error
23229 and record_warning.
23230 * locale/programs/ld-numeric.c
23231 (numeric_finish): Use record_error.
23232 * locale/programs/ld-paper.c: Don't include error.h.
23233 (paper_finish): Use record_error.
23234 * locale/programs/ld-telephone.c: Don't include error.h.
23235 (telephone_finish): Use record_error.
23236 * locale/programs/ld-time.c (time_finish): Likewise.
23237 * locale/programs/linereader.h (lr_error): Make inline func.
23238 * locale/programs/localedef.c: Define recorded_warning_count,
23239 and recorded_error_count.
23240 (main): Use record_error. Use recorded_error_count and
23241 recorded_warning_count to issue correct error returns.
23242 (add_to_readlist): Use record_error.
23243 (find_locale): Likewise.
23244 (load_locale): Likewise.
23245 * locale/programs/localedef.h: Remove be_quiet
23246 and WITH_CUR_LOCALE.
23247 * locale/programs/locarchive.c (compare_from_file): Use
23249 * locale/programs/locfile.c (write_locale_data): Use
23251 * locale/programs/repertoire.c: Dont include error.h.
23252 (repertoire_complain): Use record_error.
23253 * localedata/tst-fmon.sh: Expect failures from localedef.
23254 * localedata/tst-locale.sh: Likewise.
23255 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23257 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23258 (REPORTS): Likewise.
23260 (i18n): Rename to...
23261 (i18n_ctype): ...this.
23262 (i18n-report): Rename to...
23263 (i18n_ctype-report): ...this.
23264 * localedata/locales/i18n_ctype: Regenerate.
23265 * localedata/locales/i18n: copy i18n_ctype.
23267 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23269 * stdlib/strfroml.c: Include <bits/floatn.h>.
23270 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23271 Define before include of <stdlib.h> and undefine afterwards, then
23272 define as weak alias.
23274 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23275 Undefine and restore default definition. Use
23276 libm_alias_ldouble_other.
23278 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23281 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23284 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23287 Assign sym_map to be map for local symbols, as TLS relocations
23288 use sym_map to determine whether the symbol is defined and to
23289 extract the TLS information.
23290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23291 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23293 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23296 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23297 (math_force_eval): Add powerpc version.
23300 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23302 (do_test): Likewise.
23303 * stdio-common/tst-printf.sh: Likewise.
23304 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23305 ifdef clause in order to set the carry bit right. Replace r0 by
23306 0 without changing the behavior.
23308 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23310 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23311 <libm-alias-ldouble.h>.
23312 (fabsl): Define using libm_alias_ldouble.
23313 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23314 <libm-alias-ldouble.h>.
23315 (fabsl): Define using libm_alias_ldouble.
23317 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23318 Remove conditional code.
23320 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23321 Rename to __clog10_internal_l.
23322 (__clog10_internal_l): Define aliases using
23323 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23326 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23328 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23329 * benchtests/sincosf-inputs: New file.
23330 * benchtests/cosf-inputs: New file.
23331 * benchtests/sinf-inputs: New file.
23333 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23335 * posix/tst-spawn.c (do_test): Wait for both children.
23337 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23340 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23341 tests-pie): Add tst-gmon-pie.
23342 (CFLAGS-tst-gmon-pie.c): New.
23343 (CRT-tst-gmon-pie): Likewise.
23344 (tst-gmon-pie-ENV): Likewise.
23345 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23346 ($(objpfx)tst-gmon-pie.out): Likewise.
23347 (clean-tst-gmon-pie-data): Likewise.
23348 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23349 * gmon/gmon.c [PIC]: Include <link.h>.
23350 [PIC] (callback): New function.
23351 (write_hist): Add an argument for load address. Subtract load
23353 (write_call_graph): Likewise.
23354 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23355 it to write_hist and write_call_graph.
23356 * gmon/tst-gmon-pie.c: New file.
23358 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23360 * math/Makefile (test-types-basic): New variable.
23361 (test-types): Likewise.
23362 (libm-test-support): Use $(test-types) instead of $(types).
23363 (libm-tests-base-normal): Likewise.
23364 (libm-tests-base-finite): Likewise.
23365 (libm-tests-base-inline): Likewise.
23366 (generated): Likewise.
23367 ($(objpfx)libm-test-support-$(t).c): Likewise.
23368 (libm-tests-for-type iterator): Likewise.
23369 (libm-test-support iterator): Likewise.
23370 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23371 (ulp_idx): Use ULP_IDX.
23372 * math/test-ldouble.h: Include <float.h>.
23373 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23374 (ULP_IDX): New macro.
23375 (ULP_I_IDX): Likewise.
23376 * math/test-double.h (ULP_IDX): Likewise.
23377 (ULP_I_IDX): Likewise.
23378 * math/test-float.h (ULP_IDX): Likewise.
23379 (ULP_I_IDX): Likewise.
23380 * math/test-float128.h (ULP_IDX): Likewise.
23381 (ULP_I_IDX): Likewise.
23383 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23385 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23386 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23387 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23388 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23389 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23390 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23391 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23395 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23396 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23397 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23399 (SINGLE_THREAD_BY_GLOBAL): Define.
23400 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23402 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23404 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23406 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23408 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23409 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23413 2017-10-11 Andreas Schwab <schwab@suse.de>
23415 * nis/Makefile (aux): Remove.
23416 * nscd/Makefile (aux): Add nscd_hash.
23417 (nscd-modules): Likewise.
23418 ($(objpfx)nscd): Don't depend on libnsl.
23419 * nscd/nscd_hash.c: New file.
23420 * nscd/nscd_hash.h: Likewise.
23421 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23422 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23423 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23424 instead of <nis/rpcsvc/nis.h>.
23425 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23427 2017-10-11 Florian Weimer <fweimer@redhat.com>
23430 Avoid large NSS buffers with many addresses, aliases.
23431 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23432 using dynarrays and struct alloc_buffer.
23433 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23434 (tst-nss-files-hosts-multi): Link with -ldl.
23435 * nss/tst-nss-files-hosts-multi.c: New file.
23437 2017-10-11 Florian Weimer <fweimer@redhat.com>
23440 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23441 scratch_buffer. Eliminate gotos.
23443 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23445 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23446 libm_alias_ldouble_other.
23447 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23448 undefine and redefine.
23449 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23450 (exp10l): Do not define here.
23451 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23452 (weak_alias): Undefine and redefine.
23453 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23454 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23455 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23456 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23458 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23459 [!__fma] (fma): Define using libm_alias_double.
23460 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23461 [!__fmaf] (fmaf): Define using libm_alias_float.
23462 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23463 (fmal): Define using libm_alias_ldouble.
23465 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23467 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23469 (libm_alias_double_other): Likewise.
23470 (libm_alias_double_r): Use libm_alias_double_other_r.
23471 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23473 (libm_alias_float_other): Likewise.
23474 (libm_alias_float_r): Use libm_alias_float_other_r.
23475 * sysdeps/generic/libm-alias-float128.h
23476 (libm_alias_float128_other_r): New macro.
23477 (libm_alias_float128_other): Likewise.
23478 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23479 * sysdeps/generic/libm-alias-ldouble.h
23480 (libm_alias_ldouble_other_r): New macro.
23481 (libm_alias_ldouble_other): Likewise.
23482 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23483 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23484 (libm_alias_double_other_r): New macro.
23485 (libm_alias_double_other): Likewise.
23486 (libm_alias_double_r): Use libm_alias_double_other_r.
23487 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23488 (libm_alias_ldouble_other_r): New macro.
23489 (libm_alias_ldouble_other): Likewise.
23490 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23491 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23492 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23493 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23494 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23495 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23496 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23497 * math/w_exp2f.c: Use libm_alias_float_other.
23498 * math/w_expf.c: Likewise.
23499 * math/w_log2f.c: Likewise.
23500 * math/w_logf.c: Likewise.
23501 * math/w_powf.c: Likewise.
23502 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23503 [!__exp2f]: Use libm_alias_float_other.
23504 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23505 [!__expf]: Use libm_alias_float_other.
23506 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23507 [!__log2f]: Use libm_alias_float_other.
23508 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23509 [!__logf]: Use libm_alias_float_other.
23510 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23511 [!__powf]: Use libm_alias_float_other.
23513 2017-10-10 Florian Weimer <fweimer@redhat.com>
23515 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23517 (_nss_files_gethostbyname3_r): Call it.
23519 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23521 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23522 error. Remove default definition of declare_mgen_alias.
23523 [!declare_mgen_alias_r]: Likewise.
23524 * sysdeps/generic/math-type-macros-double.h
23525 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23526 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23527 (declare_mgen_alias_r): Likewise.
23528 * sysdeps/generic/math-type-macros-float128.h
23529 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23530 * sysdeps/generic/math-type-macros-ldouble.h
23531 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23532 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23534 (declare_mgen_alias_r_s): Likewise.
23535 (declare_mgen_alias_r): Likewise.
23536 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23537 (lgamma_r): Define using libm_alias_double_r.
23538 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23539 (lgammaf_r): Define using libm_alias_float_r.
23540 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23541 (lgammal_r): Define using libm_alias_ldouble_r.
23542 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23543 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23545 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23547 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23548 extern declaration.
23550 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23552 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23554 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
23557 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23558 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23559 * math/Makefile (test-math-cxx11): New test.
23560 * math/test-math-cxx11.cc: New file.
23562 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23564 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23566 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23567 call to allocate the slave pty file descriptor.
23569 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23571 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23572 [!__fma] (fma): Define using libm_alias_double.
23573 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23574 [!__fma] (fma): Define using libm_alias_double.
23576 * sysdeps/ieee754/float128/float128_private.h: Include
23577 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23578 (libm_alias_ldouble_r): Undefine and redefine.
23579 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23580 <libm-alias-ldouble.h>.
23581 (asinhl): Define using libm_alias_ldouble.
23582 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23583 <libm-alias-ldouble.h>.
23584 (atanl): Define using libm_alias_ldouble.
23585 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23586 <libm-alias-ldouble.h>.
23587 (cbrtl): Define using libm_alias_ldouble.
23588 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23589 <libm-alias-ldouble.h>.
23590 (ceill): Define using libm_alias_ldouble.
23591 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23592 <libm-alias-ldouble.h>.
23593 (copysignl): Define using libm_alias_ldouble.
23594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23595 <libm-alias-ldouble.h>.
23596 (cosl): Define using libm_alias_ldouble.
23597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23598 <libm-alias-ldouble.h>.
23599 (erfl): Define using libm_alias_ldouble.
23601 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23602 <libm-alias-ldouble.h>.
23603 (expm1l): Define using libm_alias_ldouble.
23604 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23605 <libm-alias-ldouble.h>.
23606 (fabsl): Define using libm_alias_ldouble.
23607 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23608 <libm-alias-ldouble.h>.
23609 (floorl): Define using libm_alias_ldouble.
23610 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23611 <libm-alias-ldouble.h>.
23612 (fmal): Define using libm_alias_ldouble.
23613 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23614 <libm-alias-ldouble.h>.
23615 (frexpl): Define using libm_alias_ldouble.
23616 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23617 libm_alias_ldouble.
23618 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23619 <libm-alias-ldouble.h>.
23620 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23621 libm_alias_ldouble.
23622 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23623 <libm-alias-ldouble.h>.
23624 (getpayloadl): Define using libm_alias_ldouble.
23625 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23626 <libm-alias-ldouble.h>.
23627 (llrintl): Define using libm_alias_ldouble.
23628 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23629 <libm-alias-ldouble.h>.
23630 (llroundl): Define using libm_alias_ldouble.
23631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23632 <libm-alias-ldouble.h>.
23633 (logbl): Define using libm_alias_ldouble.
23634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23635 <libm-alias-ldouble.h>.
23636 (lrintl): Define using libm_alias_ldouble.
23637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23638 <libm-alias-ldouble.h>.
23639 (lroundl): Define using libm_alias_ldouble.
23640 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23641 <libm-alias-ldouble.h>.
23642 (modfl): Define using libm_alias_ldouble.
23643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23644 <libm-alias-ldouble.h>.
23645 (nearbyintl): Define using libm_alias_ldouble.
23646 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23647 <libm-alias-ldouble.h>.
23648 (nextafterl): Define using libm_alias_ldouble.
23649 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23650 <libm-alias-ldouble.h>.
23651 (nextupl): Define using libm_alias_ldouble.
23652 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23653 <libm-alias-ldouble.h>.
23654 (remquol): Define using libm_alias_ldouble.
23655 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23656 <libm-alias-ldouble.h>.
23657 (rintl): Define using libm_alias_ldouble.
23658 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23659 <libm-alias-ldouble.h>.
23660 (roundevenl): Define using libm_alias_ldouble.
23661 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23662 <libm-alias-ldouble.h>.
23663 (roundl): Define using libm_alias_ldouble.
23664 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23665 using libm_alias_ldouble.
23666 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23667 <libm-alias-ldouble.h>.
23668 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23669 Define using libm_alias_ldouble.
23670 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23671 <libm-alias-ldouble.h>.
23672 (sincosl): Define using libm_alias_ldouble.
23673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23674 <libm-alias-ldouble.h>.
23675 (sinl): Define using libm_alias_ldouble.
23676 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23677 <libm-alias-ldouble.h>.
23678 (tanhl): Define using libm_alias_ldouble.
23679 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23680 <libm-alias-ldouble.h>.
23681 (tanl): Define using libm_alias_ldouble.
23682 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23683 <libm-alias-ldouble.h>.
23684 (totalorderl): Define using libm_alias_ldouble.
23685 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23686 <libm-alias-ldouble.h>.
23687 (totalordermagl): Define using libm_alias_ldouble.
23688 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23689 <libm-alias-ldouble.h>.
23690 (truncl): Define using libm_alias_ldouble.
23691 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23692 libm_alias_ldouble.
23693 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23694 libm_alias_ldouble.
23695 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23696 <libm-alias-ldouble.h>.
23697 (weak_alias): Do not undefine and redefine.
23698 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23699 (copysignl): Define with long_double_symbol only if [IS_IN
23701 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23702 <libm-alias-ldouble.h>.
23703 (weak_alias): Do not undefine and redefine.
23704 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23705 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23706 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23707 <libm-alias-ldouble.h>.
23708 (weak_alias): Do not undefine and redefine.
23709 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23710 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23711 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23712 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23715 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23718 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23721 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23722 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23727 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23728 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23729 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23732 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23734 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23736 2017-10-06 Carlos O'Donell <carlos@redhat.com>
23739 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23740 (tcache_thread_freeres): Set tcache_shutting_down before
23741 freeing the tcache.
23742 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23743 * malloc/tst-malloc-tcache-leak.c: New file.
23745 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23747 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23748 back to powerpc32 file.
23749 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23750 (memrchr): Add __memrchr_power8 to ifunc list.
23751 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23752 extra bytes for unaligned inputs.
23754 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23756 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23757 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23759 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23762 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23764 * sysdeps/arm/libm-test-ulps: Update.
23766 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23767 <libm-alias-ldouble.h>.
23768 (asinhl): Define using libm_alias_ldouble.
23769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23770 <libm-alias-ldouble.h>.
23771 (cbrtl): Define using libm_alias_ldouble.
23772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23773 <libm-alias-ldouble.h>.
23774 (copysignl): Define using libm_alias_ldouble.
23775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23776 <libm-alias-ldouble.h>.
23777 (cosl): Define using libm_alias_ldouble.
23778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23779 <libm-alias-ldouble.h>.
23780 (erfl): Define using libm_alias_ldouble.
23782 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23783 <libm-alias-ldouble.h>.
23784 (fmal): Define using libm_alias_ldouble.
23785 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23786 <libm-alias-ldouble.h>.
23787 (frexpl): Define using libm_alias_ldouble.
23788 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23789 libm_alias_ldouble.
23790 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23791 <libm-alias-ldouble.h>.
23792 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23793 libm_alias_ldouble.
23794 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23795 <libm-alias-ldouble.h>.
23796 (getpayloadl): Define using libm_alias_ldouble.
23797 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23798 <libm-alias-ldouble.h>.
23799 (llrintl): Define using libm_alias_ldouble.
23800 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
23801 <libm-alias-ldouble.h>.
23802 (llroundl): Define using libm_alias_ldouble.
23803 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
23804 <libm-alias-ldouble.h>.
23805 (lrintl): Define using libm_alias_ldouble.
23806 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
23807 <libm-alias-ldouble.h>.
23808 (lroundl): Define using libm_alias_ldouble.
23809 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
23810 <libm-alias-ldouble.h>.
23811 (modfl): Define using libm_alias_ldouble.
23812 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
23813 <libm-alias-ldouble.h>.
23814 (nextupl): Define using libm_alias_ldouble.
23815 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
23816 <libm-alias-ldouble.h>.
23817 (remquol): Define using libm_alias_ldouble.
23818 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
23819 <libm-alias-ldouble.h>.
23820 (roundevenl): Define using libm_alias_ldouble.
23821 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
23822 <libm-alias-ldouble.h>.
23823 (roundl): Define using libm_alias_ldouble.
23824 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
23825 using libm_alias_ldouble.
23826 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
23827 <libm-alias-ldouble.h>.
23828 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
23829 <libm-alias-ldouble.h>.
23830 (setpayloadsigl): Define using libm_alias_ldouble.
23831 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
23832 <libm-alias-ldouble.h>.
23833 (sincosl): Define using libm_alias_ldouble.
23834 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
23835 <libm-alias-ldouble.h>.
23836 (sinl): Define using libm_alias_ldouble.
23837 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
23838 <libm-alias-ldouble.h>.
23839 (tanhl): Define using libm_alias_ldouble.
23840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
23841 <libm-alias-ldouble.h>.
23842 (tanl): Define using libm_alias_ldouble.
23843 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
23844 <libm-alias-ldouble.h>.
23845 (totalorderl): Define using libm_alias_ldouble.
23846 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
23847 <libm-alias-ldouble.h>.
23848 (totalordermagl): Define using libm_alias_ldouble.
23849 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
23850 libm_alias_ldouble.
23851 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
23852 libm_alias_ldouble.
23854 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
23856 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
23858 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23859 (__libc_ifunc_impl_list): Likewise.
23860 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
23861 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
23863 * benchtests/bench-memmove-walk.c: New file.
23864 * benchtests/Makefile (string-benchset): Add it.
23866 * benchtests/bench-memset-walk.c: New file.
23867 * benchtests/Makefile (string-benchset): Add it.
23869 * benchtests/bench-memcpy-walk.c: New file.
23870 * benchtests/Makefile (string-benchset): Add it.
23872 2017-10-05 Florian Weimer <fweimer@redhat.com>
23874 nscd: Eliminate compilation time dependency in the build output.
23875 * nscd/nscd_stat.c (STATDATA_VERSION)
23876 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
23877 (STATDATA_VERSION_FULL): New macro definitions.
23878 (compilation): Remove.
23879 (struct statdata): Adjust version member.
23880 (send_stats): Set version from STATDATA_VERSION_FULL.
23881 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
23883 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23885 * configure.ac (--enable-add-ons): Remove option.
23886 (machine): Do not mention add-ons in comment.
23887 (LIBC_PRECONFIGURE): Likewise.
23888 (add_ons): Remove variable and sanity checks and logic to locate
23890 (add_ons_automatic): Remove variable.
23891 (configured_add_ons): Likewise.
23892 (add_ons_sfx): Likewise.
23893 (add_ons_pfx): Likewise.
23894 (add_on_subdirs): Likewise.
23895 (sysnames_add_ons): Likewise. Remove loop over add-ons and
23896 consideration of add-ons in Implies handling.
23897 (sysdeps_add_ons): Likewise.
23898 * configure: Regenerated.
23899 * libidn/configure.ac: Remove.
23900 * libidn/configure: Likewise.
23901 * sysdeps/unix/inet/configure.ac: New file.
23902 * sysdeps/unix/inet/configure: New generated file.
23903 * sysdeps/unix/inet/Subdirs: Add libidn.
23904 * Makeconfig (sysdeps-srcdirs): Remove variable.
23905 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
23906 ($(common-objpfx)config.status): Do not depend on add-on files.
23907 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
23909 (all-subdirs): Do not include $(add-on-subdirs).
23910 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
23911 * config.make.in (add-ons): Remove variable.
23912 (add-on-subdirs): Likewise.
23913 (sysdeps-add-ons): Likewise.
23914 * manual/Makefile (add-chapters): Remove.
23915 ($(objpfx)texis): Do not depend on $(add-chapters).
23916 (nonexamples): Do not handle $(add-chapters).
23917 (examples): Do not handle $(add-ons).
23918 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
23920 * manual/install.texi (Installation): Do not mention add-ons.
23921 (--enable-add-ons): Do not document configure option.
23922 * INSTALL: Regenerated.
23923 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
23924 * manual/maint.texi (Hierarchy Conventions): Do not mention
23926 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
23928 * scripts/gen-sorted.awk: Do not handle Subdirs files from
23930 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
23931 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
23933 2017-10-05 Andreas Schwab <schwab@suse.de>
23936 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
23937 (_IO_flush_all_lockp): Always lock list_all_lock.
23938 (_IO_flush_all_linebuffered): Likewise.
23939 (_IO_unbuffer_all): Likewise.
23941 2017-10-05 Florian Weimer <fweimer@redhat.com>
23944 Do not flush stdio streams on abort.
23945 * stdlib/abort.c (fflush): Remove macro definition.
23946 (abort): Remove stages related to stdio flushing.
23948 2017-10-05 Florian Weimer <fweimer@redhat.com>
23950 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
23952 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
23954 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23956 2017-10-05 Florian Weimer <fweimer@redhat.com>
23958 * support/support_format_hostent.c (support_format_hostent): Add
23959 more error information for NETDB_INTERNAL.
23961 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23963 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
23964 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
23965 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
23966 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
23967 AC_DEFINE if multi-arch is enabled.
23968 * sysdeps/i386/configure: Regenerated.
23970 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23972 * Makeconfig (+link-static-before-libc): Use
23973 $(DEFAULT-LDFLAGS-$(@F)).
23974 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
23975 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
23976 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
23978 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23980 * elf/Makefile (tests): Add tst-main1.
23981 (modules-names): Add tst-main1mod.
23982 ($(objpfx)tst-main1): New.
23983 (CRT-tst-main1): Likewise.
23984 (LDFLAGS-tst-main1): Likewise.
23985 (LDLIBS-tst-main1): Likewise.
23986 (tst-main1mod.so-no-z-defs): Likewise.
23987 * elf/tst-main1.c: New file.
23988 * elf/tst-main1mod.c: Likewise.
23990 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23992 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
23994 2017-10-04 Joseph Myers <joseph@codesourcery.com>
23996 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
23997 (fma): Define using libm_alias_double.
23998 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
23999 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24001 (fmal): Do not define as compat symbol here.
24002 * sysdeps/alpha/fpu/s_fma.c: New file.
24004 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24006 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24008 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24011 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24013 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24015 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24016 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24017 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24018 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24020 Include <math_ldbl_opt.h>
24021 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24023 (compat_symbol): Undefine and redefine.
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24026 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24027 (compat_symbol): Undefine and redefine.
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24029 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24030 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24031 GLIBC_2_1 for libm.
24032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24033 GLIBC_2.0 copysignl symbol.
24034 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24035 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24037 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24039 2017-10-04 Florian Weimer <fweimer@redhat.com>
24041 * scripts/check-local-headers.sh: Ignore nspr4 header file
24042 directory in addition to nspr.
24044 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24047 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24048 * configure: Regenerate.
24049 * crypt/Makefile (nss-cpp-flags): New variable.
24050 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24051 (CPPFLAGS-md5-crypt.c): Use it.
24052 * scripts/check-local-headers.sh: Ignore nspr header file
24055 2017-10-04 Andreas Schwab <schwab@suse.de>
24057 * nis/Makefile (services): Remove compat.
24058 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24059 ($(objpfx)libnss_compat.so): Remove rule.
24060 * nis/Versions (libnss_compat): Remove.
24061 * nss/Makefile (services): Add compat.
24062 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24063 * nss/Versions (libnss_compat): Define.
24064 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24065 Don't include <rpc/types.h>. Replace bool_t by bool.
24066 * nss/nss_compat/compat-initgroups.c: Likewise.
24067 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24068 instead of <rpcsrv/ypclnt.h>.
24069 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24070 yp_get_default_domain.
24071 * nss/nss_compat/compat-pwd.c: Likewise.
24072 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24073 yp_get_default_domain.
24074 * nss/nss_compat/nisdomain.c: New file.
24075 * nss/nss_compat/nisdomain.h: Likewise.
24077 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24080 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24083 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24089 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24091 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24092 "movl main@GOTOFF(%ebx), %eax".
24094 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24096 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24097 allow undefined _DYNAMIC in PIE libc.a.
24098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24101 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24103 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24106 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24108 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24111 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24113 * math/test-math-iscanonical.cc (error): Replace bool with int.
24115 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24117 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24118 (modf): Define using libm_alias_double, only if [!__modf].
24119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24120 <libm-alias-double.h>.
24121 (modf): Define using libm_alias_double, only if [!__modf].
24122 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24123 compat symbol here.
24124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24125 (weak_alias): Do not undefine and redefine.
24126 (strong_alias): Likewise.
24127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24128 (weak_alias): Likewise.
24129 (strong_alias): Likewise.
24131 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24132 (logb): Define using libm_alias_double, only if [!__logb].
24133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24134 <libm-alias-double.h>.
24135 (logb): Define using libm_alias_double, only if [!__logb].
24136 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24138 (weak_alias): Do not undefine and redefine.
24139 (strong_alias): Likewise.
24140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24141 (weak_alias): Likewise.
24142 (strong_alias): Likewise.
24144 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24146 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24147 Check SHARED instead PIC.
24149 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24151 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24152 [!__fmaf] (fmaf): Define using libm_alias_float.
24154 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24155 (frexp): Define using libm_alias_double.
24156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24157 <libm-alias-double.h>.
24158 (frexp): Define using libm_alias_double.
24159 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24160 compat symbol here.
24162 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24165 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24166 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24167 (CFLAGS-test-math-iscanonical.cc): New variable.
24168 * math/test-math-iscanonical.cc: New file.
24169 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24170 Provide a C++ implementation based on function overloading,
24171 rather than using __MATH_TG, which uses C-only builtins.
24172 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24174 * sysdeps/powerpc/powerpc64le/Makefile
24175 (CFLAGS-test-math-iscanonical.cc): New variable.
24177 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24179 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24180 (ceil): Define using libm_alias_double.
24181 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24182 (floor): Define using libm_alias_double.
24183 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24184 <libm-alias-double.h>.
24185 (llround): Define using libm_alias_double.
24186 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24187 <libm-alias-double.h>.
24188 (lround): Define using libm_alias_double.
24189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24190 <libm-alias-double.h>.
24191 (nearbyint): Define using libm_alias_double.
24192 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24193 <libm-alias-double.h>.
24194 (remquo): Define using libm_alias_double.
24195 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24196 (rint): Define using libm_alias_double.
24197 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24198 (round): Define using libm_alias_double.
24199 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24200 (trunc): Define using libm_alias_double.
24201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24202 <libm-alias-double.h>.
24203 (ceil): Define using libm_alias_double.
24204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24205 <libm-alias-double.h>.
24206 (floor): Define using libm_alias_double.
24207 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24208 <libm-alias-double.h>.
24209 (llround): Define using libm_alias_double.
24210 [_LP64] (lround): Likewise.
24211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24212 <libm-alias-double.h>.
24213 [!_LP64] (lround): Define using libm_alias_double.
24214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24215 <libm-alias-double.h>.
24216 (nearbyint): Define using libm_alias_double.
24217 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24218 <libm-alias-double.h>.
24219 (remquo): Define using libm_alias_double.
24220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24221 <libm-alias-double.h>.
24222 (rint): Define using libm_alias_double.
24223 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24224 <libm-alias-double.h>.
24225 (round): Define using libm_alias_double.
24226 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24227 <libm-alias-double.h>.
24228 (trunc): Define using libm_alias_double.
24229 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24230 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24231 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24232 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24233 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24234 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24235 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24236 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24237 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24239 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24241 * math/w_remainder.c: New file.
24242 * math/w_remainderf.c: New file.
24243 * math/w_remainderl.c: New file.
24245 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24247 * elf/rtld.c (BOOTSTRAP_MAP): New.
24248 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24249 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24251 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24253 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24256 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24258 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24259 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24260 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24261 rtld_hidden_data_ver): Define to empty.
24262 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24263 __assert_perror_fail): Likewise.
24264 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24265 (__rewinddir): Likewise.
24266 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24267 (__profile_frequency): Likewise.
24268 * include/setjmp.h (__sigsetjmp): Likewise.
24269 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24270 __libc_sigaction): Likewise.
24271 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24272 not set hidden attribute.
24273 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24274 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24275 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24276 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24277 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24278 __fxstatat64): Likewise.
24279 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24280 (__uname): Likewise.
24281 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24282 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24283 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24284 (NO_RTLD_HIDDEN): Set.
24285 * sysdeps/mach/hurd/configure: Refresh.
24286 * config.h.in: Refresh.
24288 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24290 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24291 (atan): Define using libm_alias_double.
24292 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24293 (tan): Define using libm_alias_double.
24294 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24295 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24298 define as weak alias of __atan. Do not define any aliases if
24300 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24301 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24302 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24303 as weak alias of __tan. Do not define any aliases if [__tan].
24304 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24305 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24306 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24308 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24309 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24310 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24311 and define as weak alias of __atan.
24312 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24315 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24316 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24317 define as weak alias of __tan.
24319 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24321 * math/w_lgamma.c: New file.
24322 * math/w_lgammaf.c: New file.
24323 * math/w_lgammal.c: New file.
24325 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24327 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24328 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24329 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24330 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24331 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24332 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24333 * sysdeps/i386/fpu/w_log2f.c: New file.
24334 * sysdeps/i386/fpu/w_logf.c: New file.
24335 * sysdeps/i386/fpu/w_powf.c: New file.
24336 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24337 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24338 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24340 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24341 H.J. Lu <hongjiu.lu@intel.com>
24343 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24344 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24345 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24346 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24349 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24350 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24351 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24352 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24353 * sysdeps/i386/fpu/w_exp2f.c: New file.
24354 * sysdeps/i386/fpu/w_expf.c: New file.
24355 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24356 * sysdeps/x86_64/fpu/w_expf.c: New file.
24358 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24360 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24363 * math/w_log2f.c: New file.
24364 * math/w_logf.c: New file.
24365 * math/w_powf.c: New file.
24366 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24367 * math/w_logf_compat.c (__logf_compat): Likewise.
24368 * math/w_powf_compat.c (__powf_compat): Likewise.
24369 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24370 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24371 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24372 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24373 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24374 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24375 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24376 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24377 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24378 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24379 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24380 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24381 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24382 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24383 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24392 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24393 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24394 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24395 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24396 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24401 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24403 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24405 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24407 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24408 (sysdep_routines): Add memrchr_power8.
24409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24410 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24411 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24413 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24414 (memrchr): Add __memrchr_power8 to ifunc list.
24415 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24420 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24421 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24423 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24424 (__posix_fallocate64_l64): Likewise.
24426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24429 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24430 (__sched_setaffinity_new): Add libc_hidden_proto and
24433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24436 * include/glob.h (__glob64): Add libc_hidden_proto.
24437 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24443 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24449 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24454 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24457 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24460 * csu/version.c (__libc_print_version): Add attribute_hidden.
24462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24465 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24470 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24475 * nscd/nscd_helper.c (__nis_hash): New prototype.
24477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24480 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24481 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24483 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24484 * termios/tcgetattr.c (__tcgetattr): Likewise.
24486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24489 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24490 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24491 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24492 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24493 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24498 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24503 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24504 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24509 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24514 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24515 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24520 * include/ifreq.h: New file.
24521 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24522 (__ifreq): Likewise.
24523 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24524 (__ifreq): Likewise.
24526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24529 * include/idna.h: New file.
24530 * inet/getnameinfo.c: Include <idna.h> instead of
24532 (__idna_to_unicode_lzlz): Removed.
24533 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24535 (__idna_to_ascii_lz): Removed.
24536 (__idna_to_unicode_lzlz): Likewise.
24538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24541 * include/plural-exp.h: New file.
24542 * intl/plural-exp.c: Include <plural-exp.h> instead of
24545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24548 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24549 "getsourcefilter.h".
24550 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24551 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24552 "getsourcefilter.h".
24553 (__get_sol): Removed.
24555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24558 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24560 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24565 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24571 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24576 * include/search.h (__tdestroy): Add libc_hidden_proto.
24577 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24579 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24582 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24587 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24593 * include/signal.h (__kill): Add libc_hidden_proto.
24594 (__sigblock): Likewise.
24595 (__sigprocmask): Likewise.
24596 (__sigaltstack): Likewise.
24597 * signal/kill.c (__kill): Add libc_hidden_def.
24598 * signal/sigblock.c (__sigblock): Likewise.
24599 * signal/sigprocmask.c (__sigprocmask): Likewise.
24600 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24601 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24602 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24603 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24604 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24606 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24608 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24609 (__sigprocmask): Likewise.
24610 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24612 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24613 (__sigprocmask): Likewise.
24614 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24620 * include/string.h (__strsep): Add libc_hidden_proto.
24621 * string/strsep.c (__strsep): Add libc_hidden_def.
24623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24626 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24628 (__spawni): Likewise.
24630 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24633 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24634 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24640 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24645 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24646 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24647 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24648 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24649 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24651 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24652 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24657 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24658 (__dcigettext): Likewise.
24660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24663 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24665 (__get_nprocs): Likewise.
24666 (__get_phys_pages): Likewise.
24667 (__get_avphys_pages): Likewise.
24668 (__get_child_max): Add attribute_hidden.
24669 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24670 (__get_nprocs): Likewise.
24671 (__get_phys_pages): Likewise.
24672 (__get_avphys_pages): Likewise.
24673 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24675 (__get_nprocs): Likewise.
24676 (__get_phys_pages): Likewise.
24677 (__get_avphys_pages): Likewise.
24678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24680 (__get_nprocs_conf): Likewise.
24681 (__get_phys_pages): Likewise.
24682 (__get_avphys_pages): Likewise.
24684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24687 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24689 (__netlink_close): Likewise.
24690 (__netlink_free_handle): Likewise.
24691 (__netlink_request): Likewise.
24693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24696 * include/rpc/rpc.h (__rpc_thread_variables): Add
24698 (__rpc_thread_svc_cleanup): Likewise.
24699 (__rpc_thread_clnt_cleanup): Likewise.
24700 (__rpc_thread_key_cleanup): Likewise.
24702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24705 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24706 (__writev): Likewise.
24707 * misc/readv.c (__readv): Add libc_hidden_def.
24708 * misc/writev.c (__writev): Likewise.
24709 * sysdeps/posix/readv.c (__readv): Likewise.
24710 * sysdeps/posix/writev.c (__writev): Likewise.
24711 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24712 (__readv): Likewise.
24713 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24714 (__writev): Likewise.
24716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24719 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24720 (__regcomp): Add libc_hidden_proto.
24721 (__regexec): Likewise.
24722 (__regfree): Likewise.
24723 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24724 (__regfree): Likewise.
24725 * posix/regexec.c (__regexec): Likewise.
24727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24730 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24731 (__getutent): Likewise.
24732 (__getutid): Likewise.
24733 (__getutline): Likewise.
24734 (__pututline): Likewise.
24735 (__getutent_r): Likewise.
24736 (__getutid_r): Likewise.
24737 (__getutline_r): Likewise.
24738 (__utmpname): Add attribute_hidden.
24739 (__setutent): Likewise.
24740 (__endutent): Likewise.
24741 * login/getutent.c (__getutent): Add libc_hidden_def.
24742 * login/getutent_r.c (__getutent_r): Likewise.
24743 (__pututline): Likewise.
24744 * login/getutid.c (__getutid): Likewise.
24745 * login/getutid_r.c (__getutid_r): Likewise.
24746 * login/getutline.c (__getutline): Likewise.
24747 * login/getutline_r.c (__getutline_r): Likewise.
24748 * login/updwtmp.c (__updwtmp): Likewise.
24750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24753 * include/dirent.h (__opendir): Always add attribute_hidden.
24754 (__fdopendir): Likewise.
24755 (__closedir): Likewise.
24756 (__readdir): Likewise.
24757 (__readdir64): Add libc_hidden_proto.
24758 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24759 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24760 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24761 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24767 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24768 * include/netdb.h (__gethostbyaddr_r): Likewise.
24769 (__gethostbyname_r): Likewise.
24770 (__gethostbyname2_r): Likewise.
24771 (__getnetbyaddr_r): Likewise.
24772 (__getnetbyname_r): Likewise.
24773 (__getservbyname_r): Likewise.
24774 (__getservbyport_r): Likewise.
24775 (__getprotobyname_r): Likewise.
24776 (__getprotobynumber_r): Likewise.
24777 (__getnetgrent_r): Likewise.
24778 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24779 (__getrpcbynumber_r): Likewise.
24780 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24782 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24785 * include/stdio.h (__fcloseall): Add attribute_hidden.
24786 (__getline): Likewise.
24787 (__path_search): Likewise.
24788 (__gen_tempname): Likewise.
24789 (__libc_message): Likewise.
24790 (__flockfile): Likewise.
24791 (__funlockfile): Likewise.
24792 (__fxprintf): Likewise.
24793 (__fxprintf_nocancel): Likewise.
24795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24798 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
24799 (__sgetsgent_r): Likewise.
24801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24804 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
24805 (__statfs64): Likewise.
24806 (__fstatfs64): Likewise.
24807 * include/sys/statvfs.h (__statvfs64): Likewise.
24808 (__fstatvfs64): Likewise.
24809 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
24810 (__statfs_filesize_max): Likewise.
24811 (__statfs_symlinks): Likewise.
24812 (__statfs_chown_restricted): Likewise.
24814 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24817 * include/time.h (__tzstring): Add attribute_hidden.
24818 (__tzfile_read): Likewise.
24819 (__tzfile_compute): Likewise.
24820 (__tzfile_default): Likewise.
24821 (__tzset_parse_tz): Likewise.
24822 (__offtime): Likewise.
24823 (__asctime_r): Likewise.
24824 (__tzset): Likewise.
24825 (__tz_convert): Likewise.
24826 (__getdate_r): Likewise.
24827 (__getclktck): Likewise.
24829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24832 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
24833 (__nscd_unmap): Likewise.
24834 (__nscd_cache_search): Likewise.
24835 (__nscd_get_nl_timestamp): Likewise.
24836 (__nscd_getpwnam_r): Likewise.
24837 (__nscd_getpwuid_r): Likewise.
24838 (__nscd_getgrnam_r): Likewise.
24839 (__nscd_getgrgid_r): Likewise.
24840 (__nscd_gethostbyname_r): Likewise.
24841 (__nscd_gethostbyname2_r): Likewise.
24842 (__nscd_gethostbyaddr_r): Likewise.
24843 (__nscd_getai): Likewise.
24844 (__nscd_getgrouplist): Likewise.
24845 (__nscd_getservbyname_r): Likewise.
24846 (__nscd_getservbyport_r): Likewise.
24847 (__nscd_innetgr): Likewise.
24848 (__nscd_setnetgrent): Likewise.
24850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24853 * include/gmp.h: Declare internal functions only if _ISOMAC is
24855 (__mpn_extract_double): Add attribute_hidden.
24856 (__mpn_extract_long_double): Likewise.
24857 (__mpn_extract_float128): Likewise.
24858 (__mpn_construct_float): Likewise.
24859 (__mpn_construct_double): Likewise.
24860 (__mpn_construct_long_double): Likewise.
24861 (__mpn_construct_float128): Likewise.
24862 (mpn_add_1): Likewise.
24863 (mpn_addmul_1): Likewise.
24864 (mpn_add_n): Likewise.
24865 (mpn_cmp): Likewise.
24866 (mpn_divrem): Likewise.
24867 (mpn_lshift): Likewise.
24868 (mpn_mul): Likewise.
24869 (mpn_mul_1): Likewise.
24870 (mpn_rshift): Likewise.
24871 (mpn_sub_1): Likewise.
24872 (mpn_submul_1): Likewise.
24873 (mpn_sub_n): Likewise.
24875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24878 * include/wchar.h (__wcsnlen): Add attribute_hidden.
24879 (__wcscat): Likewise.
24880 (__btowc): Likewise.
24881 (__wcrtomb): Likewise.
24882 (__mbsrtowcs): Likewise.
24883 (__wcsrtombs): Likewise.
24884 (__mbsnrtowcs): Likewise.
24885 (__wcsnrtombs): Likewise.
24886 (__wcsncpy): Likewise.
24887 (__wcpncpy): Likewise.
24888 (__wmemcpy): Likewise.
24889 (__wmempcpy): Likewise.
24890 (__wmemmove): Likewise.
24891 (__wcschrnul): Likewise.
24892 (__vfwscanf): Likewise.
24893 (__vswprintf): Likewise.
24894 (__fwprintf): Likewise.
24895 (__vfwprintf): Likewise.
24897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24900 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
24901 (__getgrgid_r): Likewise.
24902 (__getgrnam_r): Likewise.
24903 * include/pwd.h (__getpwuid_r): Likewise.
24904 (__getpwnam_r): Likewise.
24905 (__fgetpwent_r): Likewise.
24906 * include/shadow.h (__getspnam_r): Likewise.
24907 (__sgetspent_r): Likewise.
24908 (__fgetspent_r): Likewise.
24910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24913 * include/unistd.h (__access): Add attribute_hidden.
24914 (__lseek64): Likewise.
24915 (__libc_pread64): Likewise.
24916 (__pipe2): Likewise.
24917 (__sleep): Likewise.
24918 (__chdir): Likewise.
24919 (__fchdir): Likewise.
24920 (__getcwd): Likewise.
24921 (__rmdir): Likewise.
24922 (__execvpe): Likewise.
24923 (__execve): Likewise.
24924 (__setsid): Likewise.
24925 (__getuid): Likewise.
24926 (__geteuid): Likewise.
24927 (__getgid): Likewise.
24928 (__getegid): Likewise.
24929 (__getgroups): Likewise.
24930 (__group_member): Likewise.
24931 (__ttyname_r): Likewise.
24932 (__isatty): Likewise.
24933 (__readlink): Likewise.
24934 (__unlink): Likewise.
24935 (__gethostname): Likewise.
24936 (__profil): Likewise.
24937 (__getdtablesize): Likewise.
24939 (__ftruncate): Likewise.
24940 (__ftruncate64): Likewise.
24942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24945 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
24946 * argp/argp-fs-xinl.c: Likewise.
24947 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
24948 * argp/argp-parse.c: Include <argp.h>.
24949 * argp/argp-xinl.c: Likewise.
24950 * include/argp-fmtstream.h: New file.
24951 * include/argp.h (__argp_error): Add attribute_hidden.
24952 (__argp_failure): Likewise.
24953 (__argp_input): Likewise.
24954 (__argp_state_help): Likewise.
24956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24959 * include/wchar.h (____wcstof_l_internal): New prototype.
24960 (____wcstod_l_internal): Likewise.
24961 (____wcstold_l_internal): Likewise.
24962 (____wcstol_l_internal): Likewise.
24963 (____wcstoul_l_internal): Likewise.
24964 (____wcstoll_l_internal): Likewise.
24965 (____wcstoull_l_internal): Likewise.
24966 (____wcstof128_l_internal): Likewise.
24967 * sysdeps/ieee754/float128/wcstof128.c
24968 (____wcstof128_l_internal): Removed.
24969 * sysdeps/ieee754/float128/wcstof128_l.c
24970 (____wcstof128_l_internal): Likewise.
24971 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
24972 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
24973 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
24974 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
24975 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
24976 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
24977 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
24978 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
24979 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
24980 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
24982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24985 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
24986 instead of <sys/statvfs.h>.
24987 (__internal_statvfs): Removed.
24988 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
24989 instead of <sys/statvfs.h>.
24990 (__internal_statvfs64): Removed.
24991 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
24992 "internal_statvfs.h" instead of <sys/statvfs.h>.
24993 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
24994 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
24995 instead of <sys/statvfs.h>.
24996 (__internal_statvfs): Removed.
24997 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
24998 instead of <sys/statvfs.h>.
24999 (__internal_statvfs64): Removed.
25001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25004 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25005 (__gconv_close): Likewise.
25006 (__gconv): Likewise.
25007 (__gconv_find_transform): Likewise.
25008 (__gconv_lookup_cache): Likewise.
25009 (__gconv_compare_alias_cache): Likewise.
25010 (__gconv_load_cache): Likewise.
25011 (__gconv_get_path): Likewise.
25012 (__gconv_close_transform): Likewise.
25013 (__gconv_release_cache): Likewise.
25014 (__gconv_find_shlib): Likewise.
25015 (__gconv_release_shlib): Likewise.
25016 (__gconv_get_builtin_trans): Likewise.
25017 (__gconv_compare_alias): Likewise.
25018 * include/dlfcn.h (_dlerror_run): Likewise.
25019 * include/stdio.h (__fortify_fail_abort): Likewise.
25020 * include/time.h (__tz_compute): Likewise.
25021 (__strptime_internal): Likewise.
25022 * intl/gettextP.h (_nl_find_domain): Likewise.
25023 (_nl_load_domain): Likewise.
25024 (_nl_find_msg): Likewise.
25025 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25026 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25027 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25028 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25029 (__gai_find_request): Likewise.
25030 (__gai_remove_request): Likewise.
25031 (__gai_notify): Likewise.
25032 (__gai_notify_only): Likewise.
25033 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25034 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25035 (_dl_non_dynamic_init): Likewise.
25036 (_dl_aux_init): Likewise.
25037 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25038 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25040 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25041 (__wcsmbs_clone_conv): Likewise.
25042 (__wcsmbs_named_conv): Likewise.
25044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25047 * include/stdlib.h (__random): Add attribute_hidden.
25048 (__random_r): Likewise.
25049 (__srandom_r): Likewise.
25050 (__initstate_r): Likewise.
25051 (__setstate_r): Likewise.
25052 (__erand48_r): Likewise.
25053 (__nrand48_r): Likewise.
25054 (__jrand48_r): Likewise.
25055 (__srand48_r): Likewise.
25056 (__seed48_r): Likewise.
25057 (__lcong48_r): Likewise.
25058 (__drand48_iterate): Likewise.
25059 (__setenv): Likewise.
25060 (__unsetenv): Likewise.
25061 (__clearenv): Likewise.
25062 (__ptsname_r): Likewise.
25063 (__posix_openpt): Likewise.
25064 (__add_to_environ): Likewise.
25065 (__realpath): Add libc_hidden_proto.
25066 (__ecvt_r): Likewise.
25067 (__fcvt_r): Likewise.
25068 (__qecvt_r): Likewise.
25069 (__qfcvt_r): Likewise.
25070 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25071 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25076 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25077 * include/time.h (__mktime_internal): Likewise.
25078 * libio/iolibio.h (__fopen_internal): Likewise.
25080 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25082 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25084 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25085 Correct offset used to restore PIC register.
25087 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25090 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25091 code to load address of __getcontext_ret when generating PIC code.
25093 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25095 * elf/Makefile (tests-static-internal): Add
25096 tst-tls1-static-non-pie.
25097 (LDFLAGS-tst-tls1-static-non-pie): New.
25098 * elf/tst-tls1-static-non-pie.c: New file.
25100 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25102 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25103 (asinh): Define using libm_alias_double.
25104 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25105 (cbrt): Define using libm_alias_double.
25106 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25107 <libm-alias-double.h>.
25108 (copysign): Define using libm_alias_double.
25109 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25110 (erf): Define using libm_alias_double.
25112 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25113 (expm1): Define using libm_alias_double.
25114 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25115 (fabs): Define using libm_alias_double.
25116 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25118 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25119 <libm-alias-double.h>.
25120 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25122 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25123 <libm-alias-double.h>.
25124 (getpayload): Define using libm_alias_double.
25125 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25126 <libm-alias-double.h>.
25127 (llrint): Define using libm_alias_double.
25128 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25129 (lrint): Define using libm_alias_double.
25130 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25131 <libm-alias-double.h>.
25132 (nextup): Define using libm_alias_double.
25133 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25134 <libm-alias-double.h>.
25135 (roundeven): Define using libm_alias_double.
25136 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25138 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25139 <libm-alias-double.h>.
25140 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25141 using libm_alias_double.
25142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25143 (cos): Define using libm_alias_double.
25145 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25146 <libm-alias-double.h>.
25147 (sincos): Define using libm_alias_double.
25148 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25149 (tanh): Define using libm_alias_double.
25150 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25151 <libm-alias-double.h>.
25152 (totalorder): Define using libm_alias_double.
25153 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25154 <libm-alias-double.h>.
25155 (totalordermag): Define using libm_alias_double.
25156 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25158 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25160 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25161 <libm-alias-double.h>.
25162 (getpayload): Define using libm_alias_double.
25163 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25164 <libm-alias-double.h>.
25165 (roundeven): Define using libm_alias_double.
25166 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25167 <libm-alias-double.h>.
25168 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25169 <libm-alias-double.h>.
25170 (totalorder): Define using libm_alias_double.
25171 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25172 <libm-alias-double.h>.
25173 (totalordermag): Define using libm_alias_double.
25174 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25175 libc compat symbol here.
25176 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25177 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25178 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25179 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25180 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25181 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25182 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25183 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25184 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25185 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25187 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25189 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25190 _dl_relocate_static_pie instead of _dl_start to compute load
25191 address in static PIE. Return 0 if _DYNAMIC is undefined for
25194 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25197 _DYNAMIC is undefined for static executable.
25199 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25201 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25203 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25207 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25210 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25211 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25212 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25213 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25214 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25215 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25216 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25218 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25219 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25220 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25222 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25225 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25227 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25229 * math/bits/cmathcalls.h (cimag): Remove inline.
25230 (creal): Remove inline.
25231 (conj): Remove inline.
25233 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25235 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25236 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25237 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25238 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25239 (issignalingf_inline): Likewise.
25240 (POWF_LOG2_TABLE_BITS): Likewise.
25241 (POWF_LOG2_POLY_ORDER): Likewise.
25242 (POWF_SCALE_BITS): Likewise.
25243 (POWF_SCALE): Likewise.
25244 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25245 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25246 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25248 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25250 * math/Makefile (type-float-routines): Add e_log2f_data.
25251 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25252 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25253 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25254 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25255 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25256 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25257 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25259 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25261 * math/Makefile (type-float-routines): Add e_logf_data.
25262 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25263 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25264 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25265 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25266 * sysdeps/i386/fpu/e_logf_data.c: New file.
25267 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25268 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25270 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25272 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25273 undefined _DYNAMIC in PIE libc.a.
25274 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25277 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25279 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25280 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25281 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25282 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25283 (__signbit): Remove.
25284 (__signbitl): Remove.
25285 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25286 (__signbit): Remove.
25287 (__signbitl): Remove.
25288 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25289 (__signbit): Remove.
25290 (__signbitl): Remove.
25291 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25292 (__signbit): Remove.
25293 (__signbitl): Remove.
25294 * sysdeps/tile/bits/mathinline.h: Delete file.
25295 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25296 (__signbit): Remove.
25297 (__signbitl): Remove.
25299 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25301 * math/math.h: Improve handling of C99 isgreater macros.
25302 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25303 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25304 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25305 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25306 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25308 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25310 * sysdeps/aarch64/libm-test-ulps: Update.
25312 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25315 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25316 math_opt_barrier on argument when doing arithmetic on it.
25317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25318 Likewise. Use math_force_eval not math_opt_barrier after
25320 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25321 math_opt_barrier on argument when doing arithmetic on it.
25322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25325 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25327 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25329 (__freeifaddrs): Likewise.
25331 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25333 * include/dirent.h (__dirfd): New declaration.
25334 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25336 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25337 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25338 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25339 * include/unistd.h (__revoke): New declaration.
25340 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25342 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25343 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25345 * include/dirent.h (__seekdir): New declaration.
25346 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25347 redefine as weak alias.
25348 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25350 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25351 and use libc_hidden_def on them.
25352 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25354 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25355 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25356 instead of getifaddrs and freeifaddrs.
25358 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25361 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25362 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25363 (__dso_handle): Remove declaration.
25364 * dlfcn/tstatexit.c (__dso_handle): Removed.
25365 (main): Don't check __dso_handle.
25366 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25367 (main): Don't check __dso_handle.
25368 * include/dso_handle.h: New file.
25369 * malloc/mtrace.c: Include <dso_handle.h>.
25370 (mtrace): Pass __dso_handle directly.
25371 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25372 (__dso_handle): Remove declaration.
25373 (__pthread_atfork): Pass __dso_handle directly.
25374 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25375 (__dso_handle): Removed.
25376 * posix/wordexp-test.c: Include <dso_handle.h>.
25377 (__dso_handle): Remove declaration.
25378 (__app_register_atfork): Pass __dso_handle directly.
25379 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25380 (__dso_handle): Remove declaration.
25381 (at_quick_exit): Pass __dso_handle directly.
25382 * stdlib/atexit.c: Include <dso_handle.h>.
25383 (__dso_handle): Remove declaration.
25384 (atexit): Pass __dso_handle directly.
25385 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25386 (__dso_handle): Removed.
25388 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25393 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25395 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25396 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25397 values to correct default value for given type.
25399 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25402 * elf/Makefile (tests): Add tst-debug1.
25403 ($(objpfx)tst-debug1): New.
25404 ($(objpfx)tst-debug1.out): Likewise.
25405 ($(objpfx)tst-debug1mod1.so): Likewise.
25406 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25407 with p_filesz == 0.
25408 * elf/tst-debug1.c: New file.
25410 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25412 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25413 Define using __ifunc.
25415 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25417 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25420 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25425 2017-09-26 Florian Weimer <fweimer@redhat.com>
25427 * resolv/Makefile (tests-internal): Fix typo in comment.
25429 2017-09-26 Florian Weimer <fweimer@redhat.com>
25431 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25433 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25435 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25436 Use an union instead of a max_align_t array for __space,
25437 so that __space is the same size on all platforms.
25438 * malloc/scratch_buffer_grow_preserve.c
25439 (__libc_scratch_buffer_grow_preserve): Likewise.
25442 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25444 * posix/Makefile (routines): Add glob-lstat-compat and
25445 glob64-lstat-compat.
25446 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25447 * posix/glob-lstat-compat.c: New file.
25448 * posix/glob64-lstat-compat.c: Likewise.
25449 * posix/tst-glob_lstat_compat.c: Likewise.
25450 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25451 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25452 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25453 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25455 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25456 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25457 * posix/glob.c (glob_lstat): New function.
25458 (glob): Rename to __glob and add versioned symbol to 2.27.
25459 (glob_in_dir): Use glob_lstat.
25460 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25461 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25462 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25464 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25465 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25466 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25467 gl_lstat on glob call.
25468 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25469 and glob64 symbols.
25470 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25471 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25472 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25473 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25474 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25475 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25476 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25477 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25478 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25480 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25481 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25484 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25486 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25488 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25493 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25494 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25495 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25497 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25499 * configure.ac (AS): Require binutils 2.25 or later.
25500 * configure: Regenerated.
25502 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25505 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25508 2017-09-25 DJ Delorie <dj@redhat.com>
25511 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25514 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25516 * sysdeps/ieee754/dbl-64/sincos32.h
25517 [SINCCOS32_H]: Remove define.
25518 [SINCOS32_H]: Define.
25520 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25522 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25524 * math/w_exp2f.c: New file.
25525 * math/w_expf.c: New file.
25526 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25527 * math/w_expf_compat.c (__expf_compat): Likewise.
25528 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25529 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25531 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25532 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25533 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25537 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25538 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25539 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25540 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25541 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25550 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25552 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25563 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25565 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25566 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25567 (roundtoint, converttoint): Likewise.
25568 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25569 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25570 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25571 * sysdeps/ieee754/flt-32/math_config.h: New file.
25572 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25573 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25574 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25575 * sysdeps/i386/fpu/math_errf.c: New file.
25576 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25577 * sysdeps/ia64/fpu/math_errf.c: New file.
25578 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25579 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25581 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25583 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25584 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25585 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25586 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25587 to make sure that these symbols are defined.
25588 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25590 (__need_NULL): Do not define.
25591 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25593 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25594 CMGROUP_MAX, cmsgcred): Do not define.
25595 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25597 * bits/socket.h: Likewise.
25598 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25599 __gettimeofday instead of gettimeofday.
25600 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25601 instead of settimeofday.
25603 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25605 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25606 (asinhf): Define using libm_alias_float.
25607 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25608 (atanf): Define using libm_alias_float.
25609 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25610 (cbrtf): Define using libm_alias_float.
25611 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25612 (ceilf): Define using libm_alias_float.
25613 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25614 <libm-alias-float.h>.
25615 (copysignf): Define using libm_alias_float.
25616 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25617 (cosf): Define using libm_alias_float.
25618 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25619 (erff): Define using libm_alias_float.
25621 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25622 (expm1f): Define using libm_alias_float.
25623 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25624 (fabsf): Define using libm_alias_float.
25625 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25626 (floorf): Define using libm_alias_float.
25627 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25628 (frexpf): Define using libm_alias_float.
25629 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25631 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25632 <libm-alias-float.h>.
25633 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25635 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25636 <libm-alias-float.h>.
25637 (getpayloadf): Define using libm_alias_float.
25638 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25639 <libm-alias-float.h>.
25640 (llrintf): Define using libm_alias_float.
25641 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25642 <libm-alias-float.h>.
25643 (llroundf): Define using libm_alias_float.
25644 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25645 (logbf): Define using libm_alias_float.
25646 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25647 (lrintf): Define using libm_alias_float.
25648 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25649 (lroundf): Define using libm_alias_float.
25650 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25651 (modff): Define using libm_alias_float.
25652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25653 <libm-alias-float.h>.
25654 (nearbyintf): Define using libm_alias_float.
25655 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25656 <libm-alias-float.h>.
25657 (nextafterf): Define using libm_alias_float.
25658 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25659 <libm-alias-float.h>.
25660 (nextupf): Define using libm_alias_float.
25661 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25662 <libm-alias-float.h>.
25663 (remquof): Define using libm_alias_float.
25664 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25665 (rintf): Define using libm_alias_float.
25666 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25667 <libm-alias-float.h>.
25668 (roundevenf): Define using libm_alias_float.
25669 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25670 (roundf): Define using libm_alias_float.
25671 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25672 using libm_alias_float.
25673 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25674 <libm-alias-float.h>.
25675 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25676 Define using libm_alias_float.
25677 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25678 <libm-alias-float.h>.
25679 (sincosf): Define using libm_alias_float.
25680 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25681 (sinf): Define using libm_alias_float.
25682 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25683 (tanf): Define using libm_alias_float.
25684 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25685 (tanhf): Define using libm_alias_float.
25686 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25687 <libm-alias-float.h>.
25688 (totalorderf): Define using libm_alias_float.
25689 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25690 <libm-alias-float.h>.
25691 (totalordermagf): Define using libm_alias_float.
25692 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25693 (truncf): Define using libm_alias_float.
25694 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25696 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25699 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25702 math/math.h: Let fpclassify use the builtin in C++ mode, even
25703 when optimazing for size.
25705 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25707 * csu/Makefile (generated): Do not add version-info.h.
25708 (before-compile): Likewise.
25709 (all-Banner-files): Remove variable.
25710 ($(objpfx)version-info.h): Remove rule.
25711 * csu/version.c (banner): Do not include "version-info.h".
25712 * libidn/Banner: Remove.
25713 * manual/contrib.texi (Simon Josefsson): New entry.
25715 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25718 Remove conditionals on LDBL_MANT_DIG.
25719 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25720 (__ieee754_lgammal_r): Likewise.
25722 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25726 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25727 _Float128 and L(). Replace _Float128 with long double and L(x)
25728 with xL, throughout the file.
25729 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25734 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25737 sysdeps/ieee754/ldbl-128ibm.
25738 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25739 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25740 of including it. Keep _Float128 and L() intact. These will be
25741 reviewed by a separate patch.
25742 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25743 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25744 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25747 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25750 (__finitef128): Define to __redirect___finitef128.
25751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25752 (__isinff128): Define to __redirect___isinff128.
25753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25754 (__isnanf128): Define to __redirect___isnanf128.
25756 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25758 * sysdeps/powerpc/powerpc64le/Makefile
25759 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25760 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25762 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25763 Carlos O'Donell <carlos@redhat.com>
25766 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25767 * stdlib/test-dlclose-exit-race.c: New file.
25768 * stdlib/test-dlclose-exit-race-helper.c: New file.
25769 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25771 2017-09-21 Joseph Myers <joseph@codesourcery.com>
25773 * crypt/Banner: Remove file.
25774 * nptl/Banner: Likewise.
25775 * resolv/Banner: Likewise.
25776 * soft-fp/Banner: Likewise.
25777 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25778 ($(objpfx)version.d): Remove dependency on banner.h.
25779 ($(objpfx)version.os): Likewise.
25780 * nptl/version.c (banner): Do not include banner.h.
25781 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25782 Jelinek and BIND code.
25784 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25785 Carlos O'Donell <carlos@redhat.com>
25787 * support/xdlfcn.h: New file.
25788 * support/xdlfcn.c: New file.
25789 * support/Makefile (libsupport-routines): Add xdlfcn.
25790 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25792 2017-09-20 Joseph Myers <joseph@codesourcery.com>
25795 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25796 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25797 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25798 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
25799 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
25800 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
25801 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
25802 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
25804 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25805 Ricky Zhou <rickyz@google.com>
25806 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
25809 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
25811 (__new_exitfn): Fail registration when we finished at_exit processing.
25812 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25813 * stdlib/on_exit.c (__on_exit): Likewise.
25814 * stdlib/exit.c (__exit_funcs_done): New variable.
25815 (__run_exit_handlers): Use __exit_funcs_lock.
25816 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
25818 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
25819 (test-cxa_atexit-race, test-on_exit-race): New tests.
25820 * stdlib/test-atexit-race-common.c: New file.
25821 * stdlib/test-atexit-race.c: New file.
25822 * stdlib/test-at_quick_exit-race.c: New file.
25823 * stdlib/test-cxa_atexit-race.c: New file.
25824 * stdlib/test-on_exit-race.c: New file.
25826 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
25828 * benchtests/Makefile: Add exp2f and log2f benchmarks.
25829 * benchtests/exp2f-inputs: Copy of expf-inputs.
25830 * benchtests/log2f-inputs: Copy of logf-inputs.
25832 2017-09-19 Joseph Myers <joseph@codesourcery.com>
25834 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
25835 Explicitly take address of first element of array arguments in
25836 call to INLINE_SYSCALL.
25838 2017-09-19 Andreas Schwab <schwab@suse.de>
25841 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
25843 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
25845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
25846 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
25847 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25848 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
25849 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25850 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25851 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25852 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25853 * posix/Makefile (tests): Add tst-fexecve.
25854 * posix/tst-fexecve.c: New file.
25856 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25858 * benchtests/Makefile: Add logf benchmark.
25859 * benchtests/logf-inputs: Add reduced trace from wrf_r.
25861 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25863 * benchtests/Makefile: Add expf benchmark.
25864 * benchtests/expf-inputs: Add reduced trace from wrf_r.
25866 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25868 * csu/Makefile: Add -funwind-tables to libc-start.c.
25869 * debug/Makefile: Add -funwind-tables to backtrace.c.
25870 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
25871 * sysdeps/arm/Makefile: Likewise.
25872 * sysdeps/i386/Makefile: Likewise.
25873 * sysdeps/m68k/Makefile: Likewise.
25874 * sysdeps/mips/Makefile: Likewise.
25875 * sysdeps/nios2/Makefile: Likewise.
25876 * sysdeps/sh/Makefile: Likewise.
25877 * sysdeps/sparc/Makefile: Likewise.
25879 2017-09-19 Joseph Myers <joseph@codesourcery.com>
25881 * benchtests/Makefile (bench-math): Add trunc and truncf.
25882 (CFLAGS-bench-trunc.c): New variable.
25883 (CFLAGS-bench-truncf.c): Likewise.
25884 * benchtests/trunc-inputs: New file.
25885 * benchtests/truncf-inputs: Likewise.
25887 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25889 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
25891 2017-09-18 Joseph Myers <joseph@codesourcery.com>
25893 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
25894 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
25896 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25897 (exp10l): Define as weak alias.
25898 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
25899 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
25901 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
25902 (remainderl): Define as weak alias.
25904 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
25905 (fmal): Define using libm_alias_ldouble.
25906 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
25907 (acoshl): Define using libm_alias_ldouble.
25908 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
25909 (acosl): Define using libm_alias_ldouble.
25910 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
25911 (asinl): Define using libm_alias_ldouble.
25912 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
25913 (atan2l): Define using libm_alias_ldouble.
25914 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
25915 (atanhl): Define using libm_alias_ldouble.
25916 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
25917 (coshl): Define using libm_alias_ldouble.
25918 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
25919 (exp10l): Define using libm_alias_ldouble.
25920 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
25921 (exp2l): Define using libm_alias_ldouble.
25922 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
25923 (expl): Define using libm_alias_ldouble.
25924 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
25925 (fmodl): Define using libm_alias_ldouble.
25926 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
25927 (hypotl): Define using libm_alias_ldouble.
25928 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
25929 (j0l): Define using libm_alias_ldouble.
25931 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
25932 (j1l): Define using libm_alias_ldouble.
25934 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
25935 (jnl): Define using libm_alias_ldouble.
25937 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
25938 (log10l): Define using libm_alias_ldouble.
25939 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
25940 (log2l): Define using libm_alias_ldouble.
25941 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
25942 (logl): Define using libm_alias_ldouble.
25943 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
25944 (powl): Define using libm_alias_ldouble.
25945 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
25946 (remainderl): Define using libm_alias_ldouble.
25947 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
25948 (sinhl): Define using libm_alias_ldouble.
25949 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
25950 (sqrtl): Define using libm_alias_ldouble.
25951 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
25952 (tgammal): Define using libm_alias_ldouble.
25953 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
25954 (exp10l): Do not use long_double_symbol here.
25955 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25956 [LIBM_SVID_COMPAT] (remainderl): Likewise.
25957 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
25958 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25959 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25960 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25961 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25962 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25963 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25964 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25965 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25966 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25967 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25968 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25969 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25970 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25971 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25972 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25973 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25974 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25975 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25976 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25978 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
25980 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
25981 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
25983 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
25985 * io/read.c (read): Add libc_hidden_weak.
25986 * sysdeps/mach/hurd/read.c (read): Likewise.
25987 * io/write.c (write): Likewise.
25988 * sysdeps/mach/hurd/write.c (write): Likewise.
25989 * io/pread64.c (__pread64): Likewise.
25990 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
25991 * posix/pread64.c (__pread64): Add libc_hidden_def.
25993 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25995 * benchtests/scripts/compare_strings.py: New option -g.
25996 (draw_graph): Print a message that a graph is being generated.
25997 (process_results): Generate graph only if -g is passed.
25998 (main): Process option -g.
26000 * benchtests/scripts/compare_strings.py (process_results):
26001 Better spacing for output.
26003 * benchtests/scripts/compare_strings.py: Use argparse.
26004 * benchtests/README: Document existence of compare_strings.py.
26006 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26008 * math/s_fma.c: Include <libm-alias-double.h>.
26009 (fma): Define using libm_alias_double.
26010 * math/s_nextafter.c: Include <libm-alias-double.h>.
26011 (nextafter): Define using libm_alias_double.
26012 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26013 (acos): Define using libm_alias_double.
26014 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26015 (aocsh): Define using libm_alias_double.
26016 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26017 (asin): Define using libm_alias_double.
26018 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26019 (atan2): Define using libm_alias_double.
26020 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26021 (atanh): Define using libm_alias_double.
26022 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26023 (cosh): Define using libm_alias_double.
26024 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26025 (exp10): Define using libm_alias_double.
26026 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26027 (exp2): Define using libm_alias_double.
26028 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26029 (exp): Define using libm_alias_double.
26030 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26031 (fmod): Define using libm_alias_double.
26032 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26033 (hypot): Define using libm_alias_double.
26034 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26035 (j0): Define using libm_alias_double.
26037 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26038 (j1): Define using libm_alias_double.
26040 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26041 (jn): Define using libm_alias_double.
26043 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26044 (log10): Define using libm_alias_double.
26045 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26046 (log2): Define using libm_alias_double.
26047 * math/w_log_compat.c: Include <libm-alias-double.h>.
26048 (log): Define using libm_alias_double.
26049 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26050 (pow): Define using libm_alias_double.
26051 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26052 (remainder): Define using libm_alias_double.
26053 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26054 (sinh): Define using libm_alias_double.
26055 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26056 (sqrt): Define using libm_alias_double.
26057 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26058 (tgamma): Define using libm_alias_double.
26059 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26060 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26061 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26062 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26063 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26064 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26065 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26066 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26067 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26068 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26069 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26070 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26071 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26072 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26073 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26074 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26075 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26076 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26077 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26078 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26079 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26080 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26081 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26082 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26083 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26085 * math/e_acoshl.c: Remove.
26086 * math/e_acosl.c: Likewise.
26087 * math/e_asinl.c: Likewise.
26088 * math/e_atan2l.c: Likewise.
26089 * math/e_atanhl.c: Likewise.
26090 * math/e_coshl.c: Likewise.
26091 * math/e_expl.c: Likewise.
26092 * math/e_fmodl.c: Likewise.
26093 * math/e_gammal_r.c: Likewise.
26094 * math/e_hypotl.c: Likewise.
26095 * math/e_j0l.c: Likewise.
26096 * math/e_j1l.c: Likewise.
26097 * math/e_jnl.c: Likewise.
26098 * math/e_lgammal_r.c: Likewise.
26099 * math/e_log10l.c: Likewise.
26100 * math/e_log2l.c: Likewise.
26101 * math/e_logl.c: Likewise.
26102 * math/e_powl.c: Likewise.
26103 * math/e_rem_pio2l.c: Likewise.
26104 * math/e_sinhl.c: Likewise.
26105 * math/e_sqrtf128.c: Likewise.
26106 * math/e_sqrtl.c: Likewise.
26107 * math/k_cosl.c: Likewise.
26108 * math/k_sinl.c: Likewise.
26109 * math/k_tanl.c: Likewise.
26110 * math/s_asinhl.c: Likewise.
26111 * math/s_atanl.c: Likewise.
26112 * math/s_cbrtl.c: Likewise.
26113 * math/s_erfl.c: Likewise.
26114 * math/s_expm1l.c: Likewise.
26115 * math/s_log1pl.c: Likewise.
26116 * math/s_tanhl.c: Likewise.
26118 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26122 [$(subdir) = math] (sysdep_calls): New variable. Has the
26123 previous contents of sysdep_routines, but re-sorted..
26124 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26126 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26127 defined in sysdep_calls and replace by the respective m_* names.
26128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26129 (compat_symbol): Undefine to avoid duplicated compat symbols in
26132 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26134 * math/s_fmaf.c: Include <libm-alias-float.h>.
26135 (fmaf): Define using libm_alias_float.
26136 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26137 (acosf): Define using libm_alias_float.
26138 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26139 (acoshf): Define using libm_alias_float.
26140 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26141 (asinf): Define using libm_alias_float.
26142 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26143 (atan2f): Define using libm_alias_float.
26144 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26145 (atanhf): Define using libm_alias_float.
26146 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26147 (coshf): Define using libm_alias_float.
26148 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26149 (exp10f): Define using libm_alias_float.
26150 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26151 (fmodf): Define using libm_alias_float.
26152 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26153 (hypotf): Define using libm_alias_float.
26154 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26155 (j0f): Define using libm_alias_float.
26157 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26158 (j1f): Define using libm_alias_float.
26160 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26161 (jnf): Define using libm_alias_float.
26163 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26164 (log10f): Define using libm_alias_float.
26165 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26166 (log2f): Define using libm_alias_float.
26167 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26168 (logf): Define using libm_alias_float.
26169 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26170 (powf): Define using libm_alias_float.
26171 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26172 (remainderf): Define using libm_alias_float.
26173 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26174 (sinhf): Define using libm_alias_float.
26175 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26176 (sqrtf): Define using libm_alias_float.
26177 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26178 (tgammaf): Define using libm_alias_float.
26180 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26182 * include/math.h (roundeven): Change hidden_proto call to
26184 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26186 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26187 (y0): Rename to __y0 and define as weak alias.
26188 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26189 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26191 (y0f): Rename to __y0f and define as weak alias.
26192 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26194 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26195 (y1): Rename to __y1 and define as weak alias.
26196 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26197 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26199 (y1f): Rename to __y1f and define as weak alias.
26200 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26202 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26203 (yn): Rename to __yn and define as weak alias.
26204 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26205 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26207 (ynf): Rename to __ynf and define as weak alias.
26208 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26209 (fromfp): Define as weak alias.
26210 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26211 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26212 (fromfpx): Define as weak alias.
26213 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26214 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26215 __getpayload and define as weak alias.
26216 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26217 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26218 __roundeven and define as weak alias.
26219 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26220 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26222 (setpayload): Define as weak alias.
26223 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26224 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26226 (setpayloadsig): Define as weak alias.
26227 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26228 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26229 __totalorder and define as weak alias.
26230 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26231 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26232 to __totalordermag and define as weak alias.
26233 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26234 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26235 (ufromfp): Define as weak alias.
26236 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26237 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26239 (ufromfpx): Define as weak alias.
26240 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26241 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26242 Rename to __getpayload and define as weak alias.
26243 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26244 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26245 Rename to __roundeven and define as weak alias.
26246 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26247 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26248 Rename to __totalorder and define as weak alias.
26249 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26250 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26251 (totalordermag): Rename to __totalordermag and define as weak
26253 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26254 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26256 (__roundevenl): Likewise.
26257 (__totalorderl): Likewise.
26258 (__totalordermagl): Likewise
26259 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26261 (fromfpf128): Define as weak alias.
26262 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26264 (fromfpxf128): Define as weak alias.
26265 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26267 (setpayloadf128): Define as weak alias.
26268 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26269 __setpayloadsigf128.
26270 (setpayloadsigf128): Define as weak alias.
26271 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26273 (ufromfpf128): Define as weak alias.
26274 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26276 (ufromfpxf128): Define as weak alias.
26277 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26278 (fromfpf): Define as weak alias.
26279 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26281 (fromfpxf): Define as weak alias.
26282 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26283 __getpayloadf and define as weak alias.
26284 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26285 __roundevenf and define as weak alias.
26286 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26288 (setpayloadf): Define as weak alias.
26289 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26291 (setpayloadsigf): Define as weak alias.
26292 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26293 __totalorderf and define as weak alias.
26294 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26295 Rename to __totalordermagf and define as weak alias.
26296 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26298 (ufromfpf): Define as weak alias.
26299 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26301 (ufromfpxf): Define as weak alias.
26302 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26304 (fromfpl): Define as weak alias.
26305 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26307 (fromfpxl): Define as weak alias.
26308 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26309 to __getpayloadl and define as weak alias.
26310 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26311 __roundevenl and define as weak alias.
26312 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26314 (setpayloadl): Define as weak alias.
26315 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26317 (setpayloadsigl): Define as weak alias.
26318 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26319 to __totalorderl and define as weak alias.
26320 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26321 Rename to __totalordermagl and define as weak alias.
26322 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26324 (ufromfpl): Define as weak alias.
26325 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26327 (ufromfpxl): Define as weak alias.
26328 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26330 (fromfpl): Define as weak alias.
26331 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26333 (fromfpxl): Define as weak alias.
26334 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26335 Rename to __getpayloadl and define as weak alias.
26336 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26337 to __roundevenl and define as weak alias. Call __roundeven
26338 instead of roundeven.
26339 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26341 (setpayloadl): Define as weak alias.
26342 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26344 (setpayloadsigl): Define as weak alias.
26345 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26346 Rename to __totalorderl and define as weak alias.
26347 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26348 Rename to __totalordermagl and define as weak alias.
26349 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26351 (ufromfpl): Define as weak alias.
26352 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26354 (ufromfpxl): Define as weak alias.
26355 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26357 (fromfpl): Define as weak alias.
26358 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26360 (fromfpxl): Define as weak alias.
26361 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26362 __getpayloadl and define as weak alias.
26363 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26364 __roundevenl and define as weak alias.
26365 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26367 (setpayloadl): Define as weak alias.
26368 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26370 (setpayloadsigl): Define as weak alias.
26371 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26372 __totalorderl and define as weak alias.
26373 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26374 Rename to __totalordermagl and define as weak alias.
26375 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26377 (ufromfpl): Define as weak alias.
26378 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26380 (ufromfpxl): Define as weak alias.
26382 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26384 * benchtests/bench-string.h (realloc_bufs): New function.
26385 (test_init): Call it.
26386 * benchtests/bench-memset-large.c (do_test): Likewise.
26387 * benchtests/bench-memset.c (do_test): Likewise.
26389 * benchtests/bench-memset-large.c: Print output in JSON
26391 * benchtests/bench-memset.c: Likewise.
26393 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26396 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26397 * iconvdata/Makefile: Add IBM858.
26398 * iconvdata/gconv-modules: Likewise.
26399 * iconvdata/tst-tables.sh: Likewise.
26400 * iconvdata/ibm858.c: New file.
26401 * localedata/charmaps/IBM858: Likewise.
26403 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26406 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26407 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26409 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26412 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26413 and add tel_int_fmt.
26415 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26417 * sysdeps/generic/libm-alias-float128.h: New file.
26418 * sysdeps/generic/math-type-macros-float128.h: Include
26419 <libm-alias-float128.h>.
26420 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26422 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26424 * sysdeps/generic/libm-alias-ldouble.h: New file.
26425 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26426 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26427 * sysdeps/generic/math-type-macros-ldouble.h: Include
26428 <libm-alias-ldouble.h>.
26429 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26430 libm_alias_ldouble.
26432 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26434 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26435 * math/w_exp_compat.c: ... here.
26436 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26437 * math/w_expf_compat.c: ... here.
26438 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26439 * math/w_expl_compat.c: ... here.
26440 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26441 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26442 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26443 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26445 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26447 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26449 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26451 (ldexpl): Only define as compat symbol for libc, not libm.
26452 (scalbnl): Define as compat symbol for libc here.
26453 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26454 define for [IS_IN (libc)].
26455 (__ldexpl_2): Remove alias.
26456 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26457 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26458 name in long_double_symbol call.
26459 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26460 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26461 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26462 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26463 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26465 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26466 Define as compat symbol.
26468 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26470 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26471 * sysdeps/unix/sysv/linux/alpha/Makefile
26472 [$(subdir) = csu] (sysdep_routines): Remove rule.
26474 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26476 * sysdeps/generic/libm-alias-double.h: New file.
26477 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26478 * sysdeps/generic/math-type-macros-double.h: Include
26479 <libm-alias-double.h>.
26480 [declare_mgen_alias] (declare_mgen_alias): Define to use
26482 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26483 (M_LIBM_NEED_COMPAT): Remove macro.
26484 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26485 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26486 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26488 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26489 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26490 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26491 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26492 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26493 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26494 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26495 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26496 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26497 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26498 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26499 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26500 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26501 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26502 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26503 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26504 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26505 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26506 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26507 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26508 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26509 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26510 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26511 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26512 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26513 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26514 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26515 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26516 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26518 (declare_mgen_alias): New macro.
26519 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26520 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26522 (M_LIBM_NEED_COMPAT): Remove macro.
26523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26524 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26525 <first-versions.h>.
26526 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26527 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26529 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26531 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26532 (declare_mgen_alias_2): Remove.
26533 * sysdeps/generic/math-type-macros-double.h
26534 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26536 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26538 (ldexp): Define with declare_mgen_alias.
26539 (scalbn): Likewise.
26541 2017-09-12 Steve Ellcey <sellcey@cavium.com>
26543 * grp/initgroups.c: Include config.h.
26544 (DEFAULT_CONFIG): New macro.
26545 (internal_getgrouplist): Use DEFAULT_CONFIG.
26546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26547 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26548 (DEFAULT_DEFCONFIG): New macro.
26549 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26550 * nss/grp-lookup.c: Include config.h
26551 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26552 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26553 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26554 * manual/nss.texi: Update default values section.
26556 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26559 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26561 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26562 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26563 Handle MathVec_Prefer_No_AVX512.
26564 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26565 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26568 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26570 * posix/sched_primax.c (__sched_get_priority_max): Add
26572 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26573 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26574 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26575 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26576 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26577 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26578 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26579 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26582 2017-09-11 Joseph Myers <joseph@codesourcery.com>
26584 * sysdeps/generic/libm-alias-float.h: New file.
26585 * sysdeps/generic/math-type-macros-float.h: Include
26586 <libm-alias-float.h>.
26587 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26589 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26592 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26593 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26594 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26595 (HWCAP_IMPORTANT): Likewise.
26596 (HWCAP_X86_64): New enum.
26597 (HWCAP_X86_AVX512_1): Updated.
26598 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26599 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26600 (modules-names): Add x86_64/tst-x86_64mod-1.
26601 (LDFLAGS-tst-x86_64mod-1.so): New.
26602 ($(objpfx)tst-x86_64-1): Likewise.
26603 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26604 (tst-x86_64-1-clean): Likewise.
26605 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26606 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26608 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26610 * po/sv.po: Update translations.
26611 * po/fr.po: Likewise.
26613 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26615 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26617 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26619 * elf/rtld-Rules: Fix $(error) use.
26621 2017-09-09 Mike FABIAN <mfabian@redhat.com>
26624 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26625 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26626 * localedata/locales/bn_BD: “Bengali” was still used in some
26627 comments. Change it to “Bangla”.
26629 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26631 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26633 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26635 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26636 thunderx2t99p1 to list of cpu names.
26637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26638 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26640 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26642 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26643 Use strcmp instead of tunable_is_name.
26645 2017-09-08 Joseph Myers <joseph@codesourcery.com>
26647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26648 (F_GET_RW_HINT): New macro.
26649 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26650 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26651 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26652 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26653 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26654 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26655 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26656 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26657 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26660 (F_ADD_SEALS): New macro.
26661 [__USE_GNU] (F_GET_SEALS): Likewise.
26662 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26663 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26664 [__USE_GNU] (F_SEAL_GROW): Likewise.
26665 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26667 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26669 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26670 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26671 * posix/glob_internal.h (__glob_pattern_type):
26672 * posix/glob.c (glob):
26673 * posix/glob_pattern_p.c (__glob_pattern_p):
26676 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26678 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26679 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26680 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26682 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26683 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26684 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26685 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26686 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26687 * sysdeps/wordsize-64/glob.c: Likewise.
26688 * sysdeps/wordsize-64/glob64.c: Likewise.
26689 * sysdeps/wordsize-64/globfree.c: Likewise.
26690 * sysdeps/wordsize-64/globfree64.c: Likewise.
26691 * sysdeps/unix/sysv/linux/glob.c: New file.
26692 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26693 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26694 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26695 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26696 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26697 adds !GLOB_NO_OLD_VERSION as an extra condition.
26698 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26699 using relative path instead of absolute one.
26700 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26701 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26702 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26703 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26704 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26705 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26708 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26709 (glob): Use the same scratch buffer for both getlogin_r and
26710 getpwnam_r. Don’t require preallocation of the login name. This
26711 simplifies storage allocation, and corrects the handling of
26715 * posix/glob.c (glob): Port recent patches to platforms
26716 lacking getpwnam_r.
26717 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26718 returns an error number rather than setting errno.
26720 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26721 instead of GCC extension.
26722 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26723 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26724 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26728 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26729 * posix/bug-glob1.c: Remove file.
26730 * posix/tst-glob_symlinks.c: New file.
26731 * posix/glob.c (__lstat64): New macro.
26732 (is_dir): New function.
26733 (glob, glob_in_dir): Match symlinks even if they are dangling.
26734 (link_stat, link_exists_p): Remove. All uses removed.
26738 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26739 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26744 * posix/Makefile (routines): Add globfree, globfree64, and
26746 * posix/flexmember.h: New file.
26747 * posix/glob_internal.h: Likewise.
26748 * posix/glob_pattern_p.c: Likewise.
26749 * posix/globfree.c: Likewise.
26750 * posix/globfree64.c: Likewise.
26751 * sysdeps/gnu/globfree64.c: Likewise.
26752 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26753 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26754 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26755 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26756 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26757 * sysdeps/wordsize-64/globfree.c: Likewise.
26758 * sysdeps/wordsize-64/globfree64.c: Likewise.
26759 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26760 [NDEBUG): Remove comments.
26761 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26762 (dirent_type): New type. Use uint_fast8_t not
26763 uint8_t, as C99 does not require uint8_t.
26764 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26765 (struct readdir_result): Use dirent_type. Do not define skip_entry
26766 unless it is needed; this saves a byte on platforms lacking d_ino.
26767 (readdir_result_type, readdir_result_skip_entry):
26768 New functions, replacing ...
26769 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26770 these functions, which were removed. This makes the callers
26771 easier to read. All callers changed.
26772 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26773 (size_add_wrapv, glob_use_alloca): New static functions.
26774 (glob, glob_in_dir): Check for size_t overflow in several places,
26775 and fix some size_t checks that were not quite right.
26776 Remove old code using SHELL since Bash no longer
26778 (glob, prefix_array): Separate MS code better.
26779 (glob_in_dir): Remove old Amiga and VMS code.
26780 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26782 (glob_in_dir): Do not rely on undefined behavior in accessing
26783 struct members beyond their bounds. Use a flexible array member
26785 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26786 0/1. Caller changed.
26787 (glob): Fix memory leaks.
26788 * posix/glob64 (globfree64): Move to separate file.
26789 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26790 (globfree64): Remove hidden alias.
26791 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26793 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26795 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26797 Move compat code to separate file.
26798 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
26801 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
26803 * resolv/tst-resolv-qtypes.c (domain): Changed to
26804 "const char domain[] =".
26806 2017-09-07 Joseph Myers <joseph@codesourcery.com>
26808 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
26811 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
26812 (TCP_MD5SIG_EXT): Likewise.
26813 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
26814 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
26815 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
26817 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
26819 2017-09-07 Mike FABIAN <mfabian@redhat.com>
26821 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
26823 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
26826 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
26828 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26830 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
26831 before assuming that the file is empty. Avoid testing buffer content
26834 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26837 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26839 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
26841 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
26843 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
26845 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26847 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
26849 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
26852 2017-09-06 Florian Weimer <fweimer@redhat.com>
26854 * malloc/dynarray_emplace_enlarge.c
26855 (__libc_dynarray_emplace_enlarge): Add missing else.
26857 2017-09-06 Florian Weimer <fweimer@redhat.com>
26860 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
26861 case of failure to obtain the global conf object.
26863 2017-09-06 Florian Weimer <fweimer@redhat.com>
26866 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
26867 dynarray allocation failure.
26869 2017-09-06 Florian Weimer <fweimer@redhat.com>
26871 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
26872 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
26873 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
26875 (response): Call them. Add 'p', '6' flag processing.
26876 (test_reverse): New function.
26877 (test_get2_any): Call it.
26878 (test_no_inet6): Add 'p' test.
26879 (test_inet6): Likewise.
26881 2017-09-06 Florian Weimer <fweimer@redhat.com>
26883 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
26884 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
26886 (test_gai): Adjust query names. Add additional tests.
26887 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
26888 test_get2. Adjust query names. Add additional tests.
26889 (test_no_inet6): New function, extracted from threadfunc.
26890 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
26891 Add additional tests.
26893 2017-09-06 Mike FABIAN <mfabian@redhat.com>
26896 * localedata/unicode-gen/utf8_gen.py: Set the width for
26897 characters with Prepended_Concatenation_Mark property to 1
26898 * localedata/charmaps/UTF-8: Updated using the improved script.
26900 2017-09-06 Mike FABIAN <mfabian@redhat.com>
26903 * localedata/unicode-gen/utf8_gen.py: Improve the script to
26904 use the range notation for all ranges of neighbouring characters
26905 with the same width.
26907 2017-09-05 Joseph Myers <joseph@codesourcery.com>
26909 * sysdeps/generic/math-type-macros-double.h: Include
26910 <math-svid-compat.h>.
26911 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26912 * sysdeps/generic/math-type-macros-float.h: Include
26913 <math-svid-compat.h>.
26914 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26915 * sysdeps/generic/math-type-macros-ldouble.h: Include
26916 <math-svid-compat.h>.
26917 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26918 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
26920 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
26921 * math/w_acosf_compat.c: Likewise.
26922 * math/w_acosh_compat.c: Likewise.
26923 * math/w_acoshf_compat.c: Likewise.
26924 * math/w_acoshl_compat.c: Likewise.
26925 * math/w_acosl_compat.c: Likewise.
26926 * math/w_asin_compat.c: Likewise.
26927 * math/w_asinf_compat.c: Likewise.
26928 * math/w_asinl_compat.c: Likewise.
26929 * math/w_atan2_compat.c: Likewise.
26930 * math/w_atan2f_compat.c: Likewise.
26931 * math/w_atan2l_compat.c: Likewise.
26932 * math/w_atanh_compat.c: Likewise.
26933 * math/w_atanhf_compat.c: Likewise.
26934 * math/w_atanhl_compat.c: Likewise.
26935 * math/w_cosh_compat.c: Likewise.
26936 * math/w_coshf_compat.c: Likewise.
26937 * math/w_coshl_compat.c: Likewise.
26938 * math/w_exp10_compat.c: Likewise.
26939 * math/w_exp10f_compat.c: Likewise.
26940 * math/w_exp10l_compat.c: Likewise.
26941 * math/w_exp2_compat.c: Likewise.
26942 * math/w_exp2f_compat.c: Likewise.
26943 * math/w_exp2l_compat.c: Likewise.
26944 * math/w_fmod_compat.c: Likewise.
26945 * math/w_fmodf_compat.c: Likewise.
26946 * math/w_fmodl_compat.c: Likewise.
26947 * math/w_hypot_compat.c: Likewise.
26948 * math/w_hypotf_compat.c: Likewise.
26949 * math/w_hypotl_compat.c: Likewise.
26950 * math/w_j0_compat.c: Likewise.
26951 * math/w_j0f_compat.c: Likewise.
26952 * math/w_j0l_compat.c: Likewise.
26953 * math/w_j1_compat.c: Likewise.
26954 * math/w_j1f_compat.c: Likewise.
26955 * math/w_j1l_compat.c: Likewise.
26956 * math/w_jn_compat.c: Likewise.
26957 * math/w_jnf_compat.c: Likewise.
26958 * math/w_jnl_compat.c: Likewise.
26959 * math/w_lgamma_r_compat.c: Likewise.
26960 * math/w_lgammaf_r_compat.c: Likewise.
26961 * math/w_lgammal_r_compat.c: Likewise.
26962 * math/w_log10_compat.c: Likewise.
26963 * math/w_log10f_compat.c: Likewise.
26964 * math/w_log10l_compat.c: Likewise.
26965 * math/w_log2_compat.c: Likewise.
26966 * math/w_log2f_compat.c: Likewise.
26967 * math/w_log2l_compat.c: Likewise.
26968 * math/w_log_compat.c: Likewise.
26969 * math/w_logf_compat.c: Likewise.
26970 * math/w_logl_compat.c: Likewise.
26971 * math/w_pow_compat.c: Likewise.
26972 * math/w_powf_compat.c: Likewise.
26973 * math/w_powl_compat.c: Likewise.
26974 * math/w_remainder_compat.c: Likewise.
26975 * math/w_remainderf_compat.c: Likewise.
26976 * math/w_remainderl_compat.c: Likewise.
26977 * math/w_sinh_compat.c: Likewise.
26978 * math/w_sinhf_compat.c: Likewise.
26979 * math/w_sinhl_compat.c: Likewise.
26980 * math/w_sqrt_compat.c: Likewise.
26981 * math/w_sqrtf_compat.c: Likewise.
26982 * math/w_sqrtl_compat.c: Likewise.
26983 * math/w_tgamma_compat.c: Likewise.
26984 * math/w_tgammaf_compat.c: Likewise.
26985 * math/w_tgammal_compat.c: Likewise.
26986 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
26987 [LIBM_SVID_COMPAT].
26988 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
26989 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
26990 [LIBM_SVID_COMPAT].
26991 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
26992 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
26993 [LIBM_SVID_COMPAT].
26994 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
26995 * sysdeps/i386/fpu/w_sqrt.c: New file.
26996 * sysdeps/ia64/fpu/w_acos.c: Likewise.
26997 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
26998 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
26999 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27000 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27001 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27002 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27003 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27004 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27005 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27006 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27007 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27008 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27009 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27010 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27011 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27012 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27013 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27014 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27015 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27016 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27017 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27018 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27019 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27020 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27021 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27022 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27023 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27024 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27025 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27026 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27027 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27028 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27029 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27030 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27031 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27032 * sysdeps/ia64/fpu/w_log.c: Likewise.
27033 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27034 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27035 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27036 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27037 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27038 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27039 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27040 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27041 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27042 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27043 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27044 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27045 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27046 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27047 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27048 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27049 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27050 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27051 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27052 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27053 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27054 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27055 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27056 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27057 [LIBM_SVID_COMPAT].
27058 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27059 * sysdeps/ieee754/k_standard.c: Likewise.
27060 * sysdeps/ieee754/k_standardf.c: Likewise.
27061 * sysdeps/ieee754/k_standardl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27064 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27065 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27066 long_double_symbol call on [LIBM_SVID_COMPAT].
27067 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27068 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27069 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27070 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27071 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27072 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27073 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27074 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27075 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27076 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27077 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27078 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27079 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27080 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27081 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27082 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27083 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27084 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27085 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27086 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27087 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27088 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27090 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27092 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27093 * malloc/tst-mallocstate.c: Convert from test-skeleton
27094 to test-driver. Ifdef code using TEST_COMPAT macro.
27095 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27096 * math/test-matherr.c: Likewise.
27098 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27101 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27102 comparing word with byte-swapped constant.
27104 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27107 * locale/iso-639.def: add Miskito.
27108 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27109 * localedata/locales/miq_NI: New file.
27111 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27114 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27115 (__mkdir): Likewise.
27116 * io/chmod.c (__chmod): Add libc_hidden_def.
27117 * io/mkdir.c (__mkdir): Likewise.
27118 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27119 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27120 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27121 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27123 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27125 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27129 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27130 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27132 2017-09-04 Florian Weimer <fweimer@redhat.com>
27134 * math/math.h: Issue warning if log is defined.
27136 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27138 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27139 kernel version to 4.13.
27141 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27143 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27144 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27146 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27147 just <bits/types.h>.
27148 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27149 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27150 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27151 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27152 * misc/preadv2.c: Include <errno.h>.
27153 * misc/preadv64v2.c: Include <errno.h>.
27154 * misc/pwritev2.c: Include <errno.h>.
27155 * misc/pwritev64v2.c: Include <errno.h>.
27156 * sysdeps/posix/preadv2.c: Include <errno.h>.
27157 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27158 Fix <unistd.h> inclusion.
27159 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27160 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27161 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27162 __strtoul_internal): New functions.
27163 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27164 * sysdeps/posix/system.c: Include <sigsetops.h>.
27165 * sysdeps/mach/hurd/i386/Makefile
27166 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27167 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27168 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27169 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27170 __feraiseexcept_renamed to feraiseexcept instead of
27171 __GI_feraiseexcept.
27172 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27173 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27174 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27175 RWF_NOWAIT): Define to 0 if undefined already.
27176 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27178 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27179 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27181 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27183 * manual/math.texi (pow10): Do not document.
27184 (pow10f): Likewise.
27185 (pow10l): Likewise.
27186 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27187 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27188 * math/libm-test-exp10.inc (pow10_test): Remove.
27189 (do_test): Do not call pow10.
27190 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27191 [NO_LONG_DOUBLE] (pow10l): Likewise.
27192 * math/w_exp10f_compat.c (pow10f): Likewise.
27193 * math/w_exp10l_compat.c (pow10l): Likewise.
27194 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27195 (pow10): Make into compat symbol.
27196 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27197 (pow10f): Make into compat symbol.
27198 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27199 (pow10l): Make into compat symbol.
27200 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27202 (CFLAGS-nldbl-pow10.c): Remove variable..
27203 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27204 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27205 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27206 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27207 Undefine and redefine.
27208 (pow10l): Make into compat symbol.
27209 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27210 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27211 * sysdeps/arm/libm-test-ulps: Likewise.
27212 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27213 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27215 * sysdeps/microblaze/libm-test-ulps: Likewise.
27216 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27217 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27218 * sysdeps/nios2/libm-test-ulps: Likewise.
27219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27220 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27221 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27222 * sysdeps/sh/libm-test-ulps: Likewise.
27223 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27224 * sysdeps/tile/libm-test-ulps: Likewise.
27225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27227 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27229 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27231 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27233 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27234 "../ChangeLog.old/ChangeLog.8".
27235 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27236 "../ChangeLog.old/ChangeLog.14".
27238 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27240 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27243 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27245 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27247 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27249 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27250 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27252 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27254 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27255 32 atexit handlers.
27257 2017-09-01 Zack Weinberg <zackw@panix.com>
27259 * math/math.h (HUGE_VAL): Improve commentary.
27261 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27262 Andreas Schwab <schwab@suse.de>
27265 * include/stdio.h (__gen_tempfd): New function.
27266 * stdio-common/Makefile (routines): Add gentempfd.
27267 * stdio-common/gentempfd.c: New file.
27268 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27269 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27270 unnamed file first.
27272 2017-09-01 Florian Weimer <fweimer@redhat.com>
27276 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27277 result to determine success or failure, not the errno value.
27278 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27279 (tst-nss-files-hosts-erange): Link with -ldl.
27280 * nss/tst-nss-files-hosts-erange.c: New file.
27281 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27282 (do_test): Add NO_DATA tests.
27283 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27284 (do_test): Call it.
27286 2017-09-01 Florian Weimer <fweimer@redhat.com>
27289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27290 coming from gethostbyname2_r.
27292 2017-09-01 Florian Weimer <fweimer@redhat.com>
27294 * support/namespace.h (struct support_chroot_configuration): Add
27296 (struct support_chroot): Add path_hosts, path_host_conf.
27297 * support/support_chroot.c (write_file): New function.
27298 (support_chroot_create): Call it to process /etc/resolv.conf,
27299 /etc/hosts, /etc/host.conf.
27300 (support_chroot_free): Update.
27302 2017-09-01 Florian Weimer <fweimer@redhat.com>
27304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27305 status indicates it is set.
27307 2017-09-01 Florian Weimer <fweimer@redhat.com>
27310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27311 function lookup failures more reliable.
27313 2017-09-01 Florian Weimer <fweimer@redhat.com>
27315 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27316 (getcanonname): Likewise.
27317 (gaih_inet): Likewise.
27319 2017-09-01 Florian Weimer <fweimer@redhat.com>
27321 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27322 (getcanonname): Likewise.
27323 (gaih_inet): Likewise.
27325 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27326 Richard Henderson <rth@twiddle.net>
27328 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27329 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27330 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27331 (IREG_SIZE, OREG_SIZE): New macros.
27332 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27333 (IREG_SIZE, OREG_SIZE): New macros.
27334 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27335 (IREG_SIZE): New macro.
27336 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27337 (IREG_SIZE): New macro.
27338 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27340 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27341 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27342 (__CONCATX): Handle exceptions correctly on large values that may
27344 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27345 Initialize if not already set.
27346 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27348 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27350 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27351 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27353 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27355 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27357 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27359 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27361 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27363 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27365 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27366 (NO_CANCELLATION): Likewise.
27367 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27369 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27371 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27374 (NO_CANCELLATION): Likewise.
27375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27376 (NO_CANCELLATION): Likewise.
27377 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27379 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27381 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27383 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27385 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27387 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27388 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27390 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27392 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27395 2017-08-31 Florian Weimer <fweimer@redhat.com>
27397 * include/libc-symbols.h (internal_function): Remove.
27399 2017-08-31 Florian Weimer <fweimer@redhat.com>
27401 * stdlib/fmtmsg.c (internal_addseverity): Remove
27404 2017-08-31 Florian Weimer <fweimer@redhat.com>
27406 * stdio-common/printf_fp.c (group_number): Remove
27408 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27410 2017-08-31 Florian Weimer <fweimer@redhat.com>
27412 * posix/fnmatch.c (internal_function): Remove definition.
27413 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27414 * posix/regcomp.c (peek_token, init_word_char)
27415 (duplicate_node_closure, fetch_token, peek_token)
27416 (peek_token_bracket, build_range_exp, build_collating_symbol):
27418 * posix/regex_internal.c (re_string_construct_common)
27419 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27420 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27421 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27422 (re_string_translate_buffer, re_string_reconstruct)
27423 (re_string_peek_byte_case, re_string_fetch_byte_case)
27424 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27425 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27426 (re_node_set_add_intersect, re_node_set_init_union)
27427 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27428 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27429 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27430 (re_acquire_state_context): Likewise.
27431 * posix/regex_internal.h (internal_function): Remove definition.
27432 (re_string_realloc_buffers, build_wcs_buffer)
27433 (build_wcs_upper_buffer, build_upper_buffer)
27434 (re_string_translate_buffer, re_string_context_at)
27435 (re_string_char_size_at, re_string_wchar_at)
27436 (re_string_elem_size_at): Likewise.
27437 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27438 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27439 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27440 (re_search_internal, re_search_2_stub, re_search_stub)
27441 (re_copy_regs, prune_impossible_nodes, check_matching)
27442 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27443 (free_fail_stack_return, sift_states_iter_mb)
27444 (sift_states_backward, build_sifted_states)
27445 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27446 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27447 (check_subexp_limits, sift_states_bkref, merge_state_array)
27448 (find_recover_state, transit_state, merge_state_with_log)
27449 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27450 (transit_state_mb, transit_state_bkref, get_subexp)
27451 (get_subexp_sub, find_subexp_node, check_arrival)
27452 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27453 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27454 (check_node_accept_bytes, find_collation_sequence_value)
27455 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27456 (acquire_init_state_context, check_halt_node_context)
27457 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27458 (sub_epsilon_src_nodes): Likewise.
27459 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27460 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27461 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27462 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27463 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27464 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27465 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27466 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27467 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27468 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27469 (PREADV): Likewise.
27470 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27471 (PREADV): Likewise.
27472 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27473 (PWRITEV): Likewise.
27474 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27475 (PWRITEV): Likewise.
27476 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27477 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27479 2017-08-31 Florian Weimer <fweimer@redhat.com>
27481 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27482 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27483 Remove internal_function.
27484 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27485 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27486 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27487 (__deallocate_stack, __libc_pthread_init)
27488 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27489 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27490 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27492 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27493 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27494 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27496 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27497 (__pthread_mutex_unlock_usercnt): Likewise.
27499 2017-08-31 Florian Weimer <fweimer@redhat.com>
27501 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27502 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27503 (fts_safe_changedir): Remove internal_function.
27504 * io/ftw.c (internal_function): Remove definition.
27505 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27507 2017-08-31 Florian Weimer <fweimer@redhat.com>
27509 * inet/deadline.c (__deadline_current_time)
27510 (__deadline_from_timeval, __deadline_to_ms): Remove
27512 * inet/getnameinfo.c (nrl_domainname): Likewise.
27513 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27514 * inet/inet6_option.c (add_pad): Likewise.
27515 * inet/net-internal.h (__deadline_current_time)
27516 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27517 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27518 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27519 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27521 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27523 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27524 include <bits/nan.h>.
27525 * math/Makefile (headers): Remove bits/nan.h.
27526 * bits/nan.h: Remove.
27527 * sysdeps/ieee754/bits/nan.h: Likewise.
27528 * sysdeps/mips/bits/nan.h: Likewise.
27530 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27531 not include <bits/inf.h>.
27532 * math/Makefile (headers): Remove bits/inf.h.
27533 * bits/inf.h: Remove.
27534 * sysdeps/ieee754/bits/inf.h: Likewise.
27536 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27537 bits/huge_vall.h or bits/huge_val_flt128.h.
27538 (HUGE_VAL): Define directly here.
27539 [__USE_ISOC99] (HUGE_VALF): Likewise.
27540 [__USE_ISOC99] (HUGE_VALL): Likewise.
27541 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27542 (HUGE_VAL_F128): Likewise.
27543 * math/Makefile (headers): Remove bits/huge_val.h,
27544 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27545 * bits/huge_val.h: Remove.
27546 * bits/huge_val_flt128.h: Likewise.
27547 * bits/huge_valf.h: Likewise.
27548 * bits/huge_vall.h: Likewise.
27549 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27550 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27551 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27552 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27553 * sysdeps/sh/bits/huge_val.h: Likewise.
27554 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27555 * sysdeps/x86/bits/huge_vall.h: Likewise.
27557 2017-08-31 Florian Weimer <fweimer@redhat.com>
27559 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27561 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27563 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27564 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27565 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27566 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27567 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27568 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27569 * elf/dl-libc.c (dlerror_run): Likewise.
27570 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27571 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27572 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27573 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27575 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27576 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27577 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27578 * elf/dl-profile.c (_dl_start_profile): Likewise.
27579 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27580 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27582 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27583 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27584 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27585 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27586 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27587 (_dl_allocate_tls_storage): Likewise.
27588 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27589 (_dl_check_all_versions): Likewise.
27590 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27591 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27592 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27593 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27594 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27595 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27596 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27597 internal_function from __dl_start.
27598 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27599 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27600 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27601 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27602 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27603 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27604 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27605 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27606 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27607 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27608 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27609 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27610 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27611 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27612 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27614 (struct rtld_global_ro): Remove internal_function from the
27615 _dl_lookup_symbol_x member.
27616 (_dl_symbol_value): Remove. No longer defined anywhere.
27617 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27619 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27620 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27621 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27622 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27623 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27624 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27625 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27626 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27627 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27628 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27629 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27630 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27632 2017-08-31 Florian Weimer <fweimer@redhat.com>
27634 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27635 Remove internal_function.
27636 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27638 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27641 2017-08-31 Florian Weimer <fweimer@redhat.com>
27643 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27644 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27645 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27647 2017-08-31 Florian Weimer <fweimer@redhat.com>
27649 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27650 (__gai_enqueue_request): Remove internal_function.
27651 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27652 (__gai_remove_request, __gai_notify, __gai_notify_only)
27653 (__gai_sigqueue): Likewise.
27654 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27655 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27656 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27657 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27660 2017-08-31 Florian Weimer <fweimer@redhat.com>
27662 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27663 * include/dirent.h (__opendirat, __getdents, __getdents64)
27664 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27665 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27666 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27667 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27669 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27671 2017-08-31 Florian Weimer <fweimer@redhat.com>
27673 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27675 (GETCWD_RETURN_TYPE): Likewise.
27677 2017-08-31 Florian Weimer <fweimer@redhat.com>
27679 * include/time.h (__tz_compute, __strptime_internal): Remove
27681 * time/strptime_l.c (__strptime_internal): Likewise.
27682 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27684 2017-08-31 Florian Weimer <fweimer@redhat.com>
27686 * iconv/gconv.c (__gconv): Remove internal_function.
27687 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27688 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27689 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27690 (__gconv_release_cache): Likewise.
27691 * iconv/gconv_close.c (__gconv_close): Likewise.
27692 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27693 (read_conf_file, __gconv_get_path): Likewise.
27694 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27695 (__gconv_release_step, gen_steps, increment_counter)
27696 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27697 (__gconv_close_transform, free_modules_db): Likewise.
27698 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27700 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27701 (__gconv_find_transform, __gconv_lookup_cache)
27702 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27703 (__gconv_close_transform, __gconv_release_cache)
27704 (__gconv_loaded_object, __gconv_release_shlib)
27705 (__gconv_compare_alias): Likewise.
27706 * iconv/gconv_open.c (__gconv_open): Likewise.
27707 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27708 * iconv/iconvconfig.c (add_module): Likewise.
27709 * intl/dcigettext.c (plural_lookup, guess_category_value)
27710 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27711 * intl/eval-plural.h (plural_eval): Likewise.
27712 * intl/finddomain.c (_nl_find_domain): Likewise.
27713 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27714 (_nl_load_domain, _nl_find_msg): Likewise.
27715 (internal_function): Remove definition.
27716 * intl/loadinfo.h (internal_function): Likewise.
27717 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27719 * intl/localealias.c (internal_function): Remove definition.
27720 (read_alias_file): Remove internal_function.
27721 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27722 * intl/plural-exp.h (internal_function): Remove definition.
27723 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27725 * intl/plural.c: Regenerate.
27726 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27727 * locale/coll-lookup.c (__collidx_table_lookup)
27728 (__collseq_table_lookup): Likewise.
27729 * locale/coll-lookup.h (__collidx_table_lookup)
27730 (__collseq_table_lookup): Likewise.
27731 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27732 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27733 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27734 (_nl_unload_locale): Likewise.
27735 * locale/localeinfo.h (struct __locale_data): Remove
27736 internal_function from cleanup member.
27737 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27738 (_nl_remove_locale, _nl_load_locale_from_archive)
27739 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27740 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27741 (_nl_cleanup_time): Remove internal_function.
27742 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27743 (_nl_parse_alt_digit): Likewise.
27744 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27745 (_nl_select_era_entry): Likewise.
27746 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27747 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27748 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27749 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27750 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27752 2017-08-31 Florian Weimer <fweimer@redhat.com>
27754 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27755 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27756 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27757 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27759 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27760 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27761 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27762 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27764 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27766 2017-08-31 Florian Weimer <fweimer@redhat.com>
27768 * misc/getttyent.c (skip, value): Remove internal_function.
27769 * misc/syslog.c (openlog_internal): Likewise.
27770 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27772 2017-08-31 Florian Weimer <fweimer@redhat.com>
27774 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27775 (__nss_rewrite_field): Remove internal_function.
27776 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27777 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27778 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27779 * nss/nsswitch.c (nss_parse_file, nss_getline)
27780 (nss_parse_service_list, nss_new_service): Likewise.
27781 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27782 * nss/valid_field.c (__nss_valid_field): Likewise.
27783 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27785 2017-08-31 Florian Weimer <fweimer@redhat.com>
27787 * malloc/arena.c (__malloc_fork_lock_parent)
27788 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27789 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27790 internal_function from defintions.
27791 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27792 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27793 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27794 internal_function from declarations.
27795 * malloc/malloc.c (internal_function): Do not define.
27796 (mem2mem_check): Remove internal_function from declaration.
27797 (munmap_chunk, mremap_chunk): Remove internal_function.
27798 * malloc/mtrace.c (tr_where): Likewise.
27800 2017-08-31 Florian Weimer <fweimer@redhat.com>
27802 * include/rpc/pmap_clnt.h (__get_socket): Remove
27804 * sunrpc/auth_des.c (synchronize): Likewise.
27805 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
27806 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
27807 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
27808 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
27809 (key_call): Likewise.
27810 * sunrpc/pm_getport.c (__get_socket): Likewise.
27811 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
27812 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
27813 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
27814 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
27815 (invalidate): Likewise.
27816 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
27817 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
27818 (set_input_fragment, get_input_bytes): Likewise.
27820 2017-08-31 Florian Weimer <fweimer@redhat.com>
27822 * malloc/malloc.c (_int_free): Remove locked variable and related
27825 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
27828 * Makerules (build-module-helper-objlist): Filter out
27829 $(elf-objpfx)sofini.os.
27830 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
27833 2017-08-31 Florian Weimer <fweimer@redhat.com>
27835 * libio/fcloseall.c: Assume weak_alias is defined.
27836 * libio/feof.c: Likewise.
27837 * libio/fileno.c: Likewise.
27838 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
27839 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27841 (_IO_file_open): Call __open directly.
27842 (_IO_new_file_sync): Assume ESPIPE is defined.
27843 (_IO_file_seekoff_maybe_mmap): Call __read directly.
27844 (_IO_new_file_write): Call __write directly.
27845 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
27846 * libio/ftello64.c (__ftello64): Assume EIO is defined.
27847 * libio/genops.c: Assume _LIBC is defined.
27848 (save_for_backup): Remove internal_function.
27849 * libio/getc.c: Assume weak_alias is defined.
27850 * libio/getwc.c: Likewise.
27851 * libio/iofclose.c: Assume _LIBC is defined.
27852 * libio/iofdopen.c: Likewise.
27853 (_IO_fcntl): Remove macro definition.
27854 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
27855 Call __fcntl directly.
27856 * libio/iofflush.c: Assume weak_alias is defined.
27857 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
27859 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
27860 * libio/iofgets.c: Likewise.
27861 * libio/iofopen.c: Assume _LIBC is defined.
27862 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
27863 * libio/iofputs.c: Assume weak_alias is defined.
27864 * libio/iofread.c: Likewise.
27865 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
27866 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27867 * libio/ioftell.c: Assume weak_alias is defined.
27868 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
27869 * libio/iofwide.c: Assume _LIBC is defined.
27870 (_IO_fwide): Drop SHARED conditional because it is implied by
27872 * libio/iofwrite.c: Assume weak_alias is defined.
27873 * libio/iogetdelim.c: Likewise.
27874 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
27875 * libio/iogetwline.c (wmemcpy): Remove macro definition.
27876 (_IO_getwline): Call __wmemcpy directly.
27877 * libio/iopopen.c: Assume _LIBC is defined.
27878 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27879 (_IO_close): Remove macro definitions.
27880 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
27882 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
27884 * libio/ioputs.c: Assume weak_alias is defined.
27885 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
27886 * libio/iosetbuffer.c: Assume weak_alias is defined.
27887 * libio/iosetvbuf.c: Likewise.
27888 * libio/ioungetc.c: Likewise.
27889 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
27890 libc_hidden_def, libc_hidden_weak, NULL are defined.
27891 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
27892 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
27894 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27896 (_IO_old_file_init_internal): Drop SHARED conditional because it
27897 is implied by SHLIB_COMPAT.
27898 (_IO_old_file_fopen): Call __open directly.
27899 (_IO_old_file_sync): Assume ESPIPE is defined.
27900 (_IO_old_file_write): Call __write directly.
27901 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
27902 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
27903 Call __fcntl directly.
27904 * libio/oldiofgetpos.c: Assume weak_alias is defined.
27905 (_IO_old_fgetpos): Assume EIO is defined.
27906 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
27907 (_IO_old_fgetpos64): Assume EIO is defined.
27908 * libio/oldiofsetpos.c: Assume weak_alias is defined.
27909 (_IO_old_fsetpos): Assume EIO is defined.
27910 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
27911 (_IO_old_fsetpos64): Assume EIO is defined.
27912 * libio/oldiopopen.c: Assume _LIBC is defined.
27913 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27914 (_IO_close): Remove macro definitions.
27915 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
27917 (_IO_old_proc_close): Call __close, __waitpid directly.
27918 * libio/put.c: Assume weak_alias is defined.
27919 * libio/stdfiles.c: Assume _LIBC is defined.
27920 * libio/stdio.c: Likewise.
27921 * libio/wfileops.c: Likewise.
27922 (_IO_wfile_sync): Assume ESPIPE is defined.
27923 * libio/wgenops.c: Assume _LIBC is defined.
27924 (save_for_wbackup): Remove internal_function.
27926 2017-08-31 Florian Weimer <fweimer@redhat.com>
27928 * malloc/malloc.c (top_check): Change return type to void. Remove
27930 * malloc/hooks.c (top_check): Likewise.
27931 (malloc_check, realloc_check, memalign_check): Adjust.
27933 2017-08-30 Joseph Myers <joseph@codesourcery.com>
27936 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27937 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
27938 sigcontext and namespace requirements.
27939 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27940 * sysdeps/m68k/sys/ucontext.h: Likewise.
27941 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
27942 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
27943 <bits/sigcontext.h>.
27944 (__ctx): Define earlier.
27945 (mcontext_t): Define structure contents rather than using struct
27947 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
27948 __glibc_reserved1 instead of __reserved.
27949 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
27950 <bits/sigcontext.h>.
27951 (__ctx): Define earlier.
27952 (mcontext_t): Define structure contents rather than using struct
27954 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
27955 mcontext_t instead of struct sigcontext.
27956 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
27957 <bits/sigcontext.h>.
27958 (__ctx): Define earlier.
27959 (mcontext_t): Define structure contents rather than using struct
27961 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
27962 <bits/sigcontext.h>.
27963 (__ctx): Define earlier.
27964 (mcontext_t): Define structure contents rather than using struct
27966 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
27967 mcontext_t instead of struct sigcontext.
27968 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
27969 mcontext_t instead of struct sigcontext.
27970 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
27971 <bits/sigcontext.h>.
27972 (__ctx): New macro.
27973 (struct __ia64_fpreg_mcontext): New type.
27974 (mcontext_t): Define structure contents rather than using struct
27976 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
27977 (uc_sigmask): Define using __ctx.
27978 (uc_stack): Likewise.
27979 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
27980 <bits/sigcontext.h>.
27981 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27982 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
27983 <bits/sigcontext.h>.
27984 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
27985 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
27986 <bits/sigcontext.h>.
27987 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
27988 <bits/sigcontext.h>.
27989 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
27990 <bits/sigcontext.h>.
27991 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
27992 <bits/sigcontext.h>.
27993 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
27994 <bits/sigcontext.h>.
27995 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
27996 <bits/sigcontext.h>.
27997 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
27998 <bits/sigcontext.h>.
27999 (__ctx): Define earlier.
28000 (mcontext_t): Define structure contents rather than using struct
28002 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28003 <bits/sigcontext.h>. Include <bits/types.h>.
28004 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28005 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28006 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28007 (test-xfail-UNIX98/signal.h/conform): Likewise.
28008 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28009 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28010 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28011 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28012 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28013 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28014 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28015 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28016 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28018 2017-08-30 Florian Weimer <fweimer@redhat.com>
28020 * malloc/dynarray_emplace_enlarge.c
28021 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28022 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28023 * malloc/tst-dynarray.c (test_long_overflow): New function.
28024 (do_test): Call it.
28026 2017-08-30 Florian Weimer <fweimer@redhat.com>
28028 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28029 (set_arena_corrupt): Remove definitions.
28030 (mtrim): Do not check for corrupt arena.
28031 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28034 2017-08-30 Florian Weimer <fweimer@redhat.com>
28037 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28039 (ptmalloc_init): Do not set or use check_action.
28040 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28041 call to malloc_printerr. Remove return statement.
28042 (free_check): Likewise. Remove arena unlock.
28043 (top_check): Update comment. Adjust call to malloc_printerr.
28044 Remove heap repair code.
28045 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28046 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28047 (sysmalloc): Adjust call to malloc_printerr.
28048 (munmap_chunk, __libc_realloc): Likewise. Remove return
28050 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28051 Remove errout label and corresponding gotos.
28052 (_int_free): Likewise. Remove arena unlock.
28053 (do_set_mallopt_check): Do not set check_action.
28054 (malloc_printerr): Adjust parameter list. Do not mark arena as
28056 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28058 * manual/probes.texi (Memory Allocation Probes): Remove
28059 memory_mallopt_check_action.
28061 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28063 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28064 Use pointer to uint64_t instead of long int for sp.
28066 2017-08-30 Florian Weimer <fweimer@redhat.com>
28069 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28070 without printing a backtrace. Do not leak any information in the
28072 * manual/memory.texi (Heap Consistency Checking): Update.
28073 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28075 2017-08-30 Florian Weimer <fweimer@redhat.com>
28077 Do not scale NPTL tests with available number of CPUs.
28078 * nptl/tst-cond16.c (count): Set to constant value of 8.
28079 * nptl/tst-cond18.c (count): Likewise.
28081 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28084 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28085 Define to take a second argument that is a macro that
28086 concatentates a suffix, not the suffix itself.
28087 (__CONCAT_d): New macro.
28088 (__CONCAT_f): Likewise.
28089 (__CONCAT_l): Likewise.
28091 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28093 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28096 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28097 Aurelien Jarno <aurelien@aurel32.net>
28098 Maciej W. Rozycki <macro@imgtec.com>
28101 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28102 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28103 `mips16-syscall6' and `mips16-syscall7'.
28104 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28105 (CFLAGS-mips16-syscall7.c): Remove.
28106 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28107 Remove `__mips16_syscall5', `__mips16_syscall6' and
28108 `__mips16_syscall7'.
28109 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28110 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28111 `__mips_syscall_return'.
28112 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28113 (__mips16_syscall1): Likewise.
28114 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28115 (__mips16_syscall2): Likewise.
28116 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28117 (__mips16_syscall3): Likewise.
28118 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28119 (__mips16_syscall4): Likewise.
28120 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28122 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28124 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28126 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28127 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28128 `__mips16_syscall5'. Remove prototype.
28129 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28130 `__mips16_syscall6'. Remove prototype.
28131 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28132 `__mips16_syscall7'. Remove prototype.
28133 (__nomips16, __mips16_syscall_return): Move to...
28134 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28135 (__nomips16, __mips_syscall_return): ... here.
28136 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28137 `__mips16_syscall_return' to `__mips_syscall_return'.
28138 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28139 `internal_syscall##nr'.
28140 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28141 `internal_syscall##nr'.
28142 (FORCE_FRAME_POINTER): Remove.
28143 (__mips_syscall5): New prototype.
28144 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28145 (__mips_syscall6): New prototype.
28146 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28147 (__mips_syscall7): New prototype.
28148 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28149 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28150 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28151 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28152 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28153 (sysdep_routines): Add libc-do-syscall.
28154 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28155 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28157 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28160 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28161 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28162 (advise_stack_range): New function.
28163 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28164 stack non required to advise_stack_range at allocatestack.c
28166 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28168 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28170 2017-08-29 Florian Weimer <fweimer@redhat.com>
28173 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28174 __end_fct. Mangle __end_fct after setting it to NULL.
28175 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28176 (modules-names, modules-names-tests): Add
28177 tst-gconv-init-failure-mod.
28178 (gconv-modules): New target.
28179 (tst-gconv-init-failure-mod.so): Link against libsupport.
28180 (tst-gconv-init-failure): Depend on gconv-modules,
28181 tst-gconv-init-failure-mod.so.
28182 * iconv/tst-gconv-init-failure-mod.c: New file.
28183 * iconv/tst-gconv-init-failure.c: Likewise.
28184 * iconv/test-gconv-modules: Likewise.
28186 2017-08-29 Florian Weimer <fweimer@redhat.com>
28189 * iconv/gconv_db.c (free_derivation): Remove redundant
28191 (gen_steps): Unconditionally mangle __btowc_fct after
28193 (increment_counter): Likewise. Do not call init_fct for internal
28196 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28199 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28200 (_MSUF_): Remove macro.
28201 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28203 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28204 (__REDIRFROM_X): New macro.
28205 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28207 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28208 (__REDIRTO_X): Likewise.
28209 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28211 (__MATH_REDIRCALL_2): Likewise.
28212 (__MATH_REDIRCALL_INTERNAL): Likewise.
28213 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28214 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28215 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28216 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28217 * math/test-finite-macros.c: New file.
28218 * math/Makefile (tests): Add test-finite-macros.
28219 (CFLAGS-test-finite-macros.c): New variable.
28221 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28222 Jeff Law <law@redhat.com>
28225 Mangle NULL pointers in iconv/gconv.
28226 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28227 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28228 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28229 is non-NULL before demangling the end_fct. Check for NULL
28230 end_fct after demangling.
28231 (__gconv_release_step): Demangle the end_fct before checking
28232 it for NULL. Remove assert on __shlibc_handle != NULL.
28233 (gen_steps): Don't check btowc_fct for NULL before mangling.
28234 Demangle init_fct before checking for NULL.
28235 (increment_counter): Likewise.
28236 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28237 end_fct for NULL before mangling.
28238 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28241 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28244 * locale/iso-639.def: add Morisyen.
28246 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28249 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28250 (iszero): New C++ implementation that does not use
28251 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28252 signaling nans are enabled, since __builtin_types_compatible_p
28253 is a C-only feature.
28254 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28255 defined, include ieee754_float128.h for access to the union and
28256 member ieee854_float128.ieee.
28257 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28258 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28259 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28260 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28261 options of test-math-zero on powerpc64le.
28263 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28265 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28266 Change double to float.
28268 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28270 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28272 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28273 conditional code; define contents only for [LIBM_SVID_COMPAT].
28275 2017-08-28 Florian Weimer <fweimer@redhat.com>
28277 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28278 (abi-lp64_be-options): Remove.
28279 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28280 (abi-hard-options): Likewise.
28281 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28282 (abi-o32_hard-options, abi-o32_soft_2008-options)
28283 (abi-o32_hard_2008-options, abi-n32_soft-options)
28284 (abi-n32_hard-options, abi-n32_soft_2008-options)
28285 (abi-n32_hard_2008-options, abi-n64_soft-options)
28286 (abi-n64_hard-options, abi-n64_soft_2008-options)
28287 (abi-n64_hard_2008-options): Likewise.
28288 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28289 (abi-64-v1-options, abi-64-v2-options): Likewise.
28290 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28291 (abi-64-options): Likewise.
28292 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28293 (abi-64-options): Likewise.
28294 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28295 (abi-64-options): Likewise.
28296 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28297 (abi-64-options, abi-x32-options): Likewise.
28299 2017-08-28 Florian Weimer <fweimer@redhat.com>
28301 Store supported list of SYS_* system calls in the source tree.
28302 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28303 (bits/syscall.h): Generate from list file.
28304 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28305 [$(subdir) = misc] (tests): Add tst-syscall-list.
28306 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28307 [$(subdir) = misc] (tst-syscall-list-macros.list)
28308 [$(subdir) = misc] (tst-syscall-list-nr.list)
28309 (tst-syscall-list-sys.list): Helper targets for new
28310 tst-syscall-list test.
28311 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28312 tst-syscall-list.sh.
28313 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28314 target. Do not include bits/syscall.d.
28315 [$(subdir) = misc] (generated): Do not update.
28316 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28317 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28318 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28319 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28321 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28323 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28324 (tst-cxa_atexit, tst-on_exit): Likewise.
28325 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28326 tst-cxa_atexit, and tst-on_exit.
28327 * stdlib/tst-atexit-common.c: New file.
28328 * stdlib/tst-atexit.c: New file.
28329 * stdlib/tst-at_quick_exit.c: New file.
28330 * stdlib/tst-cxa_atexit.c: New file.
28331 * stdlib/tst-on_exit.c: New file.
28333 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28335 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28336 * mach/stack_chk_fail_local.c: New file.
28337 * hurd/stack_chk_fail_local.c: New file.
28338 * mach/Machrules ($(interface-library)-routines): Add
28339 stack_chk_fail_local.
28340 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28341 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28342 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28343 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28344 * hurd/Makefile (CFLAGS-hurdstartup.o,
28345 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28347 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28349 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28350 (index_cpu_*, index_arch_*): Removed.
28352 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28354 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28355 Use uint64_t instead of unsigned long.
28357 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28359 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28360 [__HAVE_DISTINCT_FLOAT128].
28362 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28363 of <bits/math-finite.h>.
28364 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28365 inclusion of <bits/math-finite.h>.
28366 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28367 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28368 __NO_LONG_DOUBLE_MATH].
28369 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28370 (__MATH_REDIRCALL_2): Likewise.
28371 (__MATH_REDIRCALL_INTERNAL): Likewise.
28372 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28373 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28374 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28389 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28390 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28391 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28393 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28394 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28395 w_sqrtf_compat-ppc32.
28397 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28399 * math/math.h [defined __cplusplus] (issignaling): In the long
28400 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28401 is not defined. Call __issignaling, otherwise.
28403 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28405 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28406 syscall definitions and replace __builtin_expect with __glibc_likely.
28407 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28409 (SYSCALL_CANCELLABLE): Removedefinition
28410 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28412 (PSEUDO_END): Likewise.
28413 [IS_IN (libpthread)] (CENABLE): Likewise.
28414 [IS_IN (libpthread)] (CDISABLE): Likewise.
28415 [IS_IN (libc)] (CENABLE): Likewise.
28416 [IS_IN (libc)] (CENABLE): Likewise.
28417 [IS_IN (librt)] (CDISABLE): Likewise.
28418 [IS_IN (librt)] (CDISABLE): Likewise.
28419 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28420 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28422 (PSEUDO_END): Likewise.
28423 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28424 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28425 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28426 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28427 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28428 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28429 (CENABLE): Likewise.
28430 (CDISABLE): Likewise.
28431 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28432 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28434 (PSEUDO_END): Likewise.
28435 [IS_IN (libpthread)] (CENABLE): Likewise.
28436 [IS_IN (libpthread)] (CDISABLE): Likewise.
28437 [IS_IN (libc)] (CENABLE): Likewise.
28438 [IS_IN (libc)] (CENABLE): Likewise.
28439 [IS_IN (librt)] (CDISABLE): Likewise.
28440 [IS_IN (librt)] (CDISABLE): Likewise.
28441 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28442 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28444 (PSEUDO_END): Likewise.
28445 [IS_IN (libpthread)] (CENABLE): Likewise.
28446 [IS_IN (libpthread)] (CDISABLE): Likewise.
28447 [IS_IN (libc)] (CENABLE): Likewise.
28448 [IS_IN (libc)] (CENABLE): Likewise.
28449 [IS_IN (librt)] (CDISABLE): Likewise.
28450 [IS_IN (librt)] (CDISABLE): Likewise.
28451 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28452 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28454 (PSEUDO_END): Likewise.
28455 [IS_IN (libpthread)] (CENABLE): Likewise.
28456 [IS_IN (libpthread)] (CDISABLE): Likewise.
28457 [IS_IN (libc)] (CENABLE): Likewise.
28458 [IS_IN (libc)] (CENABLE): Likewise.
28459 [IS_IN (librt)] (CDISABLE): Likewise.
28460 [IS_IN (librt)] (CDISABLE): Likewise.
28461 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28462 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28464 (PSEUDO_END): Likewise.
28465 [IS_IN (libpthread)] (CENABLE): Likewise.
28466 [IS_IN (libpthread)] (CDISABLE): Likewise.
28467 [IS_IN (libc)] (CENABLE): Likewise.
28468 [IS_IN (libc)] (CENABLE): Likewise.
28469 [IS_IN (librt)] (CDISABLE): Likewise.
28470 [IS_IN (librt)] (CDISABLE): Likewise.
28471 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28472 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28474 (PSEUDO_END): Likewise.
28475 [IS_IN (libpthread)] (CENABLE): Likewise.
28476 [IS_IN (libpthread)] (CDISABLE): Likewise.
28477 [IS_IN (libc)] (CENABLE): Likewise.
28478 [IS_IN (libc)] (CENABLE): Likewise.
28479 [IS_IN (librt)] (CDISABLE): Likewise.
28480 [IS_IN (librt)] (CDISABLE): Likewise.
28481 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28482 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28484 (PSEUDO_END): Likewise.
28485 [IS_IN (libpthread)] (CENABLE): Likewise.
28486 [IS_IN (libpthread)] (CDISABLE): Likewise.
28487 [IS_IN (libc)] (CENABLE): Likewise.
28488 [IS_IN (libc)] (CENABLE): Likewise.
28489 [IS_IN (librt)] (CDISABLE): Likewise.
28490 [IS_IN (librt)] (CDISABLE): Likewise.
28491 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28492 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28494 (PSEUDO_END): Likewise.
28495 [IS_IN (libpthread)] (CENABLE): Likewise.
28496 [IS_IN (libpthread)] (CDISABLE): Likewise.
28497 [IS_IN (libc)] (CENABLE): Likewise.
28498 [IS_IN (libc)] (CENABLE): Likewise.
28499 [IS_IN (librt)] (CDISABLE): Likewise.
28500 [IS_IN (librt)] (CDISABLE): Likewise.
28501 (SINGLE_THREAD_P): Likewise.
28502 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28504 (PSEUDO_END): Likewise.
28505 [IS_IN (libpthread)] (CENABLE): Likewise.
28506 [IS_IN (libpthread)] (CDISABLE): Likewise.
28507 [IS_IN (libc)] (CENABLE): Likewise.
28508 [IS_IN (libc)] (CENABLE): Likewise.
28509 [IS_IN (librt)] (CDISABLE): Likewise.
28510 [IS_IN (librt)] (CDISABLE): Likewise.
28511 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28512 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28514 (PSEUDO_END): Likewise.
28515 [IS_IN (libpthread)] (CENABLE): Likewise.
28516 [IS_IN (libpthread)] (CDISABLE): Likewise.
28517 [IS_IN (libc)] (CENABLE): Likewise.
28518 [IS_IN (libc)] (CENABLE): Likewise.
28519 [IS_IN (librt)] (CDISABLE): Likewise.
28520 [IS_IN (librt)] (CDISABLE): Likewise.
28521 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28522 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28523 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28524 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28527 (PSEUDO_END): Likewise.
28528 [IS_IN (libpthread)] (CENABLE): Likewise.
28529 [IS_IN (libpthread)] (CDISABLE): Likewise.
28530 [IS_IN (libc)] (CENABLE): Likewise.
28531 [IS_IN (libc)] (CENABLE): Likewise.
28532 [IS_IN (librt)] (CDISABLE): Likewise.
28533 [IS_IN (librt)] (CDISABLE): Likewise.
28534 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28537 (PSEUDO_END): Likewise.
28538 [IS_IN (libpthread)] (CENABLE): Likewise.
28539 [IS_IN (libpthread)] (CDISABLE): Likewise.
28540 [IS_IN (libc)] (CENABLE): Likewise.
28541 [IS_IN (libc)] (CENABLE): Likewise.
28542 [IS_IN (librt)] (CDISABLE): Likewise.
28543 [IS_IN (librt)] (CDISABLE): Likewise.
28544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28545 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28547 (PSEUDO_END): Likewise.
28548 [IS_IN (libpthread)] (CENABLE): Likewise.
28549 [IS_IN (libpthread)] (CDISABLE): Likewise.
28550 [IS_IN (libc)] (CENABLE): Likewise.
28551 [IS_IN (libc)] (CENABLE): Likewise.
28552 [IS_IN (librt)] (CDISABLE): Likewise.
28553 [IS_IN (librt)] (CDISABLE): Likewise.
28554 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28557 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28558 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
28560 (PSEUDO_END): Likewise.
28561 [IS_IN (libpthread)] (CENABLE): Likewise.
28562 [IS_IN (libpthread)] (CDISABLE): Likewise.
28563 [IS_IN (libc)] (CENABLE): Likewise.
28564 [IS_IN (libc)] (CENABLE): Likewise.
28565 [IS_IN (librt)] (CDISABLE): Likewise.
28566 [IS_IN (librt)] (CDISABLE): Likewise.
28567 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28568 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
28570 (PSEUDO_END): Likewise.
28571 [IS_IN (libpthread)] (CENABLE): Likewise.
28572 [IS_IN (libpthread)] (CDISABLE): Likewise.
28573 [IS_IN (libc)] (CENABLE): Likewise.
28574 [IS_IN (libc)] (CENABLE): Likewise.
28575 [IS_IN (librt)] (CDISABLE): Likewise.
28576 [IS_IN (librt)] (CDISABLE): Likewise.
28577 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28579 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28581 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28583 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28587 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28590 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28591 middle and outer with size_t instead of int. Repleace %d and
28592 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28593 "MAX (outer, nchars - 64)" to support unsigned outer and
28594 nchars. Also exit loop when outer == 0.
28596 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28598 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28599 * include/signal.h (__sigsuspend_nocancel): Likewise.
28600 * include/time.h (__nanosleep_nocancel): Likewise.
28601 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28602 * login/utmp_file.c: Include non cancellable syscall header.
28603 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28606 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28608 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28609 .byte sequences with AVX512F instructions.
28610 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28611 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28612 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28615 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28618 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28619 Steve Ellcey <sellcey@cavium.com>
28621 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28622 Use PTR_REG macro in cmp instruction.
28624 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28626 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28627 Change the return type of the ifunc resolver to match the return
28628 type of the target function.
28630 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28633 (preadv64): Likewise.
28634 (pwrite64(: Likewise.
28635 (pwritev64): Likewise.
28637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28638 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28639 (LOAD_ARGS_0): Likewise.
28640 (LOAD_ARGS_1): Likewise.
28641 (LOAD_ARGS_2): Likewise.
28642 (LOAD_ARGS_3): Likewise.
28643 (LOAD_ARGS_4): Likewise.
28644 (LOAD_ARGS_5): Likewise.
28645 (LOAD_ARGS_6): Likewise.
28646 (LOAD_REGS_0): Likewise.
28647 (LOAD_REGS_1): Likewise.
28648 (LOAD_REGS_2): Likewise.
28649 (LOAD_REGS_3): Likewise.
28650 (LOAD_REGS_4): Likewise.
28651 (LOAD_REGS_5): Likewise.
28652 (LOAD_REGS_6): Likewise.
28653 (ASM_ARGS_0): Likewise.
28654 (ASM_ARGS_1): Likewise.
28655 (ASM_ARGS_2): Likewise.
28656 (ASM_ARGS_3): Likewise.
28657 (ASM_ARGS_4): Likewise.
28658 (ASM_ARGS_5): Likewise.
28659 (ASM_ARGS_6): Likewise.
28660 (LOAD_ARGS_TYPES_1): Likewise.
28661 (LOAD_ARGS_TYPES_2): Likewise.
28662 (LOAD_ARGS_TYPES_3): Likewise.
28663 (LOAD_ARGS_TYPES_4): Likewise.
28664 (LOAD_ARGS_TYPES_5): Likewise.
28665 (LOAD_ARGS_TYPES_6): Likewise.
28666 (LOAD_REGS_TYPES_1): Likewise.
28667 (LOAD_REGS_TYPES_2): Likewise.
28668 (LOAD_REGS_TYPES_3): Likewise.
28669 (LOAD_REGS_TYPES_4): Likewise.
28670 (LOAD_REGS_TYPES_5): Likewise.
28671 (LOAD_REGS_TYPES_6): Likewise.
28672 (TYPEFY): New define.
28673 (ARGIFY): Likewise.
28674 (internal_syscall0): Likewise.
28675 (internal_syscall1): Likewise.
28676 (internal_syscall2): Likewise.
28677 (internal_syscall3): Likewise.
28678 (internal_syscall4): Likewise.
28679 (internal_syscall5): Likewise.
28680 (internal_syscall6): Likewise.
28681 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28682 (INTERNAL_SYSCALL_NCS): Remove define.
28683 (internal_syscall1): Add define.
28685 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28687 * math/w_remainder_compat.c: Remove duplicate inclusion of
28688 math-svid-compat.h.
28689 * math/w_remainderf_compat.c: Likewise.
28690 * math/w_remainderl_compat.c: Likewise.
28692 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28696 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28699 * math/tgmath.h (__floating_type): Simplify definitions.
28700 (__real_integer_type): New macro.
28701 (__complex_integer_type): Likewise.
28702 (__expr_is_real): Likewise.
28703 (__tgmath_real_type_sub): Update comment to describe handling of
28705 (__tgmath_complex_type_sub): New macro.
28706 (__tgmath_complex_type): Likewise.
28707 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28708 (__TGMATH_CF128): Use __expr_is_real.
28709 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28711 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28712 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28713 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28716 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28718 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28720 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28722 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28725 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28726 nanosleep_not_cancel with __nanosleep_nocancel.
28727 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28728 (__nanosleep_nocancel): New macro.
28729 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28731 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28733 (__nanosleep_nocancel): New prototype.
28735 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28736 pause_not_cancel with __pause_nocancel.
28737 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28738 (__pause_nocancel): New macro.
28739 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28741 (__pause_nocancel): New prototype.
28742 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28744 2017-08-22 Martin Sebor <msebor@redhat.com>
28746 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28747 to return a pointer to the same type as the target function.
28749 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28753 * include/printf.h (__printf_fphex): Add attribute_hidden.
28754 (__guess_grouping): New prototype.
28755 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28756 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28757 libc_hidden_proto and libc_hidden_def.
28758 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28759 (__vstrfmon_l): Remove the third argument passed to
28762 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28764 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28765 definition for issignaling that does not rely on __MATH_TG,
28766 since __MATH_TG uses __builtin_types_compatible_p, which is only
28767 available in C mode.
28768 (CFLAGS-test-math-issignaling.cc): New variable.
28769 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28770 * math/test-math-issignaling.cc: New test for C++ implementation
28771 of type-generic issignaling.
28772 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28773 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28774 options of test-math-issignaling on powerpc64le.
28776 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28778 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28780 (hidden_proto): Likewise.
28781 (hidden_tls_proto): Likewise.
28782 (__hidden_proto): Likewise.
28784 2017-08-22 Florian Weimer <fweimer@redhat.com>
28786 math: Statically link tests of internal functionality.
28787 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28789 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28790 (gmp-objs): Remove assignment.
28791 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28793 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28796 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28798 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
28800 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
28803 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
28804 variable definitions above inclusion of ../Rules.
28806 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28808 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
28809 case calling __builtin_unreachable.
28811 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28813 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
28814 __waitpid_nocancel.
28815 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
28816 (__waitpid_nocancel): New macro.
28817 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
28819 (__waitpid_nocancel): Replace macro with a function.
28820 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
28823 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
28825 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
28826 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
28828 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
28829 __writev_nocancel_nostatus.
28830 (write_call_graph): Likewise.
28831 (write_bb_counts): Likewise.
28832 * resolv/herror.c (herror): Likewise.
28833 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
28835 (__writev_nocancel_nostatus): New macro.
28836 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
28838 (__writev_nocancel_nostatus): New function.
28840 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28843 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28845 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28847 (hidden_proto): Likewise.
28848 (hidden_tls_proto): Likewise.
28849 (__hidden_proto): Likewise.
28852 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
28853 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
28858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
28862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
28863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28864 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28865 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28866 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28867 GLIBC_2.0 sqrtl symbol.
28869 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
28870 [__USE_MISC] (_LIB_VERSION): Likewise.
28871 [__USE_MISC] (struct exception): Likewise.
28872 [__USE_MISC] (matherr): Likewise.
28873 [__USE_MISC] (DOMAIN): Likewise.
28874 [__USE_MISC] (SING): Likewise.
28875 [__USE_MISC] (OVERFLOW): Likewise.
28876 [__USE_MISC] (UNDERFLOW): Likewise.
28877 [__USE_MISC] (TLOSS): Likewise.
28878 [__USE_MISC] (PLOSS): Likewise.
28879 [__USE_MISC] (HUGE): Likewise.
28880 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
28881 * math/math-svid-compat.h: New file.
28882 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
28884 * include/math.h [!_ISOMAC] (__matherr): Remove.
28885 * manual/arith.texi (FP Exceptions): Do not document matherr.
28886 * math/Makefile (tests): Change test-matherr to test-matherr-3.
28887 (tests-internal): New variable.
28888 (install-lib): Do not add libieee.a.
28889 (non-lib.a): Likewise.
28890 (extra-objs): Do not add libieee.a and ieee-math.o.
28891 (CPPFLAGS-s_lib_version.c): Remove variable.
28892 ($(objpfx)libieee.a): Remove rule.
28893 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
28894 * math/ieee-math.c: Remove.
28895 * math/libm-test-support.c (matherr): Remove.
28896 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
28897 and license notices. Include <math-svid-compat.h> and
28899 (matherr): Undefine as macro. Use compat_symbol_reference.
28900 (_LIB_VERSION): Likewise.
28901 * math/test-matherr-2.c: New file.
28902 * math/test-matherr-3.c: Likewise.
28903 * sysdeps/generic/math_private.h (__kernel_standard): Remove
28905 (__kernel_standard_f): Likewise.
28906 (__kernel_standard_l): Likewise.
28907 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
28908 <math_private.h>. Include <math-svid-compat.h>.
28909 (_LIB_VERSION): Undefine as macro.
28910 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
28911 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
28912 [LIBM_SVID_COMPAT], use compat_symbol.
28913 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
28914 <math_private.h>. Include <math-svid-compat.h>.
28915 (matherr): Undefine as macro.
28916 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
28918 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
28919 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
28920 compat_symbol_reference.
28921 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
28922 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
28923 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
28924 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
28925 (MATHERR_D): Remove declaration.
28926 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
28927 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
28928 [LIBM_BUILD] (pmatherrf): Likewise.
28929 [LIBM_BUILD] (pmatherr): Likewise.
28930 [LIBM_BUILD] (pmatherrl): Likewise.
28931 (DOMAIN): Likewise.
28933 (OVERFLOW): Likewise.
28934 (UNDERFLOW): Likewise.
28937 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
28938 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
28940 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
28941 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
28943 * math/lgamma-compat.h: Include <math-svid-compat.h>.
28944 * math/w_acos_compat.c: Likewise.
28945 * math/w_acosf_compat.c: Likewise.
28946 * math/w_acosh_compat.c: Likewise.
28947 * math/w_acoshf_compat.c: Likewise.
28948 * math/w_acoshl_compat.c: Likewise.
28949 * math/w_acosl_compat.c: Likewise.
28950 * math/w_asin_compat.c: Likewise.
28951 * math/w_asinf_compat.c: Likewise.
28952 * math/w_asinl_compat.c: Likewise.
28953 * math/w_atan2_compat.c: Likewise.
28954 * math/w_atan2f_compat.c: Likewise.
28955 * math/w_atan2l_compat.c: Likewise.
28956 * math/w_atanh_compat.c: Likewise.
28957 * math/w_atanhf_compat.c: Likewise.
28958 * math/w_atanhl_compat.c: Likewise.
28959 * math/w_cosh_compat.c: Likewise.
28960 * math/w_coshf_compat.c: Likewise.
28961 * math/w_coshl_compat.c: Likewise.
28962 * math/w_exp10_compat.c: Likewise.
28963 * math/w_exp10f_compat.c: Likewise.
28964 * math/w_exp10l_compat.c: Likewise.
28965 * math/w_exp2_compat.c: Likewise.
28966 * math/w_exp2f_compat.c: Likewise.
28967 * math/w_exp2l_compat.c: Likewise.
28968 * math/w_fmod_compat.c: Likewise.
28969 * math/w_fmodf_compat.c: Likewise.
28970 * math/w_fmodl_compat.c: Likewise.
28971 * math/w_hypot_compat.c: Likewise.
28972 * math/w_hypotf_compat.c: Likewise.
28973 * math/w_hypotl_compat.c: Likewise.
28974 * math/w_j0_compat.c: Likewise.
28975 * math/w_j0f_compat.c: Likewise.
28976 * math/w_j0l_compat.c: Likewise.
28977 * math/w_j1_compat.c: Likewise.
28978 * math/w_j1f_compat.c: Likewise.
28979 * math/w_j1l_compat.c: Likewise.
28980 * math/w_jn_compat.c: Likewise.
28981 * math/w_jnf_compat.c: Likewise.
28982 * math/w_jnl_compat.c: Likewise.
28983 * math/w_lgamma_main.c: Likewise.
28984 * math/w_lgamma_r_compat.c: Likewise.
28985 * math/w_lgammaf_main.c: Likewise.
28986 * math/w_lgammaf_r_compat.c: Likewise.
28987 * math/w_lgammal_main.c: Likewise.
28988 * math/w_lgammal_r_compat.c: Likewise.
28989 * math/w_log10_compat.c: Likewise.
28990 * math/w_log10f_compat.c: Likewise.
28991 * math/w_log10l_compat.c: Likewise.
28992 * math/w_log2_compat.c: Likewise.
28993 * math/w_log2f_compat.c: Likewise.
28994 * math/w_log2l_compat.c: Likewise.
28995 * math/w_log_compat.c: Likewise.
28996 * math/w_logf_compat.c: Likewise.
28997 * math/w_logl_compat.c: Likewise.
28998 * math/w_pow_compat.c: Likewise.
28999 * math/w_powf_compat.c: Likewise.
29000 * math/w_powl_compat.c: Likewise.
29001 * math/w_remainder_compat.c: Likewise.
29002 * math/w_remainderf_compat.c: Likewise.
29003 * math/w_remainderl_compat.c: Likewise.
29004 * math/w_scalb_compat.c: Likewise.
29005 * math/w_scalbf_compat.c: Likewise.
29006 * math/w_scalbl_compat.c: Likewise.
29007 * math/w_sinh_compat.c: Likewise.
29008 * math/w_sinhf_compat.c: Likewise.
29009 * math/w_sinhl_compat.c: Likewise.
29010 * math/w_sqrt_compat.c: Likewise.
29011 * math/w_sqrtf_compat.c: Likewise.
29012 * math/w_sqrtl_compat.c: Likewise.
29013 * math/w_tgamma_compat.c: Likewise.
29014 * math/w_tgammaf_compat.c: Likewise.
29015 * math/w_tgammal_compat.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29017 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29018 * sysdeps/ieee754/k_standard.c: Likewise.
29019 * sysdeps/ieee754/k_standardf.c: Likewise.
29020 * sysdeps/ieee754/k_standardl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29023 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29026 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29028 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29029 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29036 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29037 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29039 2017-08-21 Florian Weimer <fweimer@redhat.com>
29042 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29043 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29044 Move before inclusion of ../Rules.
29046 2017-08-21 Florian Weimer <fweimer@redhat.com>
29049 * assert/assert.h (assert): Use static_cast (bool) for C++.
29050 Use the ternary operator in the warning branch for GNU C.
29051 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29052 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29053 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29054 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29055 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29057 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29061 (__syscall_clock_gettime): Add attribute_hidden.
29062 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29063 (__start_context): Likewise.
29065 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29067 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29069 (hidden_proto): Likewise.
29070 (hidden_tls_proto): Likewise.
29071 (__hidden_proto): Likewise.
29073 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29075 * include/libc-symbols.h (attribute_hidden): Enable hidden
29076 visibility in libc.a compiled with PIE.
29078 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29081 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29082 Add attribute_hidden.
29084 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29087 * Makerules (all-nonlib): Add $(others-extras).
29088 * catgets/Makefile (others-extras): New.
29089 * elf/Makefile (others-extras): Likewise.
29090 * nss/Makefile (others-extras): Likewise.
29092 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29095 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29096 * elf/dl-open.c: Include <libc-internal.h>.
29097 (__libc_multiple_libcs): Removed.
29098 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29100 * include/libc-internal.h (__libc_multiple_libcs): New.
29101 * misc/sbrk.c: Include <libc-internal.h>.
29102 (__libc_multiple_libcs): Removed.
29104 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29107 * grp/initgroups.c (__nss_group_database): Removed.
29108 (__nss_initgroups_database): Likewise.
29109 * nscd/gai.c (__nss_hosts_database): Likewise.
29110 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29111 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29112 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29113 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29114 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29115 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29117 * nss/nsswitch.c (__nss_database_custom): Define only if
29118 USE_NSCD is defined.
29119 (__nss_configure_lookup): Use __nss_database_custom only if
29120 USE_NSCD is defined.
29121 * nss/nsswitch.h (__nss_database_custom): Declare only if
29122 USE_NSCD is defined. Add attribute_hidden.
29123 (__nss_setent): Add attribute_hidden.
29124 (__nss_endent): Likewise.
29125 (__nss_getent_r): Likewise.
29126 (__nss_getent): Likewise.
29127 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29129 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29132 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29133 libc_hidden_proto and libc_hidden_def.
29135 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29138 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29139 Add libc_hidden_proto.
29140 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29141 Add libc_hidden_def.
29143 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29146 * gmon/Makefile (routines): Remove bb_init_func and
29148 (elide-routines.os): Removed.
29149 * gmon/bb_exit_func.c: Likewise.
29150 * gmon/bb_init_func.c: Likewise.
29151 * include/sys/gmon.h (__bb): Likewise.
29152 (__bb_init_func): Likewise.
29153 (__bb_exit_func): Likewise.
29154 * sysdeps/alpha/bb_init_func.S: Likewise.
29156 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29158 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29159 * include/setjmp.h (____longjmp_chk): Here. Add
29162 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29165 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29167 (__strspn_sse2): Likewise.
29169 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29171 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29172 (close_not_cancel_no_status): Likewise.
29173 (__close_nocancel): New macro.
29174 (__close_nocancel_nostatus): Likewise.
29175 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29177 (close_not_cancel): Likewise.
29178 (close_not_cancel_no_status): Likewise.
29179 (__close_nocancel): New prototype.
29180 (__close_nocancel_nostatus): New function.
29181 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29182 * catgets/open_catalog.c (__open_catalog): Replace
29183 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29184 * gmon/gmon.c (write_gmon): Likewise.
29185 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29186 * intl/loadmsgcat.c (close): Likewise.
29187 * io/ftw.c (open_dir_stream): Likewise.
29188 (ftw_startup): Likewise.
29189 * libio/fileops.c (_IO_file_open): Likewise.
29190 (_IO_file_close_mmap): Likewise.
29191 (_IO_file_close): Likewise.
29192 * libio/iopopen.c (_IO_dup2): Likewise.
29193 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29194 * locale/loadlocale.c (_nl_load_locale): Likewise.
29195 * login/utmp_file.c (pututline_file): Likewise.
29196 (endutent_file): Likewise.
29197 * misc/daemon.c (daemon): Likewise.
29198 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29199 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29200 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29201 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29203 * nscd/nscd_helper.c (open_socket): Likewise.
29204 (__nscd_open_socket): Likewise.
29205 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29206 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29207 (__nscd_innetgr): Likewise.
29208 * nss/nss_db/db-open.c (internal_setent): Likewise.
29209 * resolv/res-close.c (__res_iclose): Likewise.
29210 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29211 * sysdeps/posix/closedir.c (__closedir): Likewise.
29212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29213 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29214 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29215 (opendir_tail): Likewise.
29216 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29217 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29218 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29219 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29220 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29221 (gethostid): Likewise.
29222 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29223 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29226 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29227 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29228 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29230 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29231 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29232 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29234 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29235 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29237 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29239 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29241 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29244 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29245 (openat_not_cancel_3): Likewise.
29246 (openat64_not_cancel_3): Likewise).
29247 (openat_not_cancel_3): Likewise).
29248 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29250 (openat_not_cancel_3): Likewise.
29251 (openat64_not_cancel): Likewise.
29252 (openat64_not_cancel_3): Likewise.
29253 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29254 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29255 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29256 __open{64}_nocancel.
29257 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29258 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29259 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29261 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29264 * include/argz.h (__argz_create_sep): New function prototype.
29265 (__argz_append): Likewise.
29266 (__argz_add): Likewise.
29267 (__argz_add_sep): Likewise.
29268 (__argz_delete): Likewise.
29269 (__argz_insert): Likewise.
29270 (__argz_replace): Likewise.
29271 * string/argz.h (__argz_create_sep): Removed.
29272 (__argz_append): Likewise.
29273 (__argz_add): Likewise.
29274 (__argz_add_sep): Likewise.
29275 (__argz_delete): Likewise.
29276 (__argz_insert): Likewise.
29277 (__argz_replace): Likewise.
29279 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29281 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29282 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29283 (GNU_PROPERTY_STACK_SIZE): Likewie.
29284 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29285 (GNU_PROPERTY_LOPROC): Likewise.
29286 (GNU_PROPERTY_HIPROC): Likewise.
29287 (GNU_PROPERTY_LOUSER): Likewise.
29288 (GNU_PROPERTY_HIUSER): Likewise.
29289 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29290 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29291 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29292 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29293 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29294 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29295 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29296 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29297 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29298 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29299 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29300 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29301 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29302 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29303 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29304 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29305 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29306 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29307 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29308 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29309 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29310 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29311 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29313 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29315 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29318 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29321 * math/math.h (isinf): Check if in C or C++ mode before using
29322 __builtin_types_compatible_p, since this is a C mode feature.
29324 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29326 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29327 (__write_nocancel): New macro.
29328 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29329 Rewrite as a function prototype.
29330 (write_not_cancel): Remove macro.
29331 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29332 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29333 (write_gmon): Likewise.
29334 * libio/fileops.c (_IO_new_file_write): Likewise.
29335 * login/utmp_file.c (pututline_file): Likewise.
29336 (updwtmp_file): Likewise.
29337 * stdio-common/psiginfo.c (psiginfo): Likewise.
29338 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29339 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29340 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29342 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29345 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29346 (__read_nocancel): New macro.
29347 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29349 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29351 (__read_nocancel): New prototype.
29352 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29353 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29354 with __read_nocancel.
29355 * intl/loadmsgcat.c (read): Likewise.
29356 * libio/fileops.c (_IO_file_read): Likewise.
29357 * locale/loadlocale.c (_nl_load_locale): Likewise.
29358 * login/utmp_file.c (getutent_r_file): Likewise.
29359 (internal_getut_r): Likewise.
29360 (getutline_r_file): Likewise.
29361 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29362 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29363 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29366 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29367 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29368 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29370 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29372 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29374 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29376 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29378 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29381 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29382 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29385 2017-08-17 DJ Delorie <dj@redhat.com>
29387 * bug17079.c: Update to new test harness.
29388 * test-digits-dots.c: Likewise.
29389 * test-netdb.c: Likewise.
29390 * tst-field.c: Likewise.
29391 * tst-nss-getpwent.c: Likewise.
29392 * tst-nss-static.c: Likewise.
29393 * tst-nss-test1.c: Likewise.
29394 * tst-nss-test2.c: Likewise.
29395 * tst-nss-test3.c: Likewise.
29396 * tst-nss-test4.c: Likewise.
29397 * tst-nss-test5.c: Likewise.
29399 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29401 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29402 (open_not_cancel_2): Likewise.
29403 (open_nocancel): New macro.
29404 (open64_nocancel): Likewise.
29405 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29406 (open_not_cancel_2): Likewise.
29407 (__open_nocancel): New prototype.
29408 (__open64_nocancel): Likewise.
29409 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29411 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29412 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29413 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29414 with __open_nocancel.
29415 * csu/check_fds.c (check_one_fd): Likewise.
29416 * gmon/gmon.c (write_gmon): Likewise.
29417 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29418 * intl/loadmsgcat.c (open): Likewise.
29419 * libio/fileops.c (_IO_file_open): Likewise.
29420 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29421 * locale/loadlocale.c (_nl_load_locale): Likewise.
29422 * login/utmp_file.c (setutent_file): Likewise.
29423 * misc/daemon.c (daemon): Likewise.
29424 * nss/nss_db/db-open.c (internal_setent): Likewise.
29425 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29426 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29427 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29428 (__opendir): Likewise.
29429 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29430 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29431 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29432 (gethostid): Likewise.
29433 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29434 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29437 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29438 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29439 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29441 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29443 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29445 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29447 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29449 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29451 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29452 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29454 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29456 * benchtests/bench-skeleton.c (main): Add support for
29457 latency benchmarking.
29458 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29460 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29462 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29463 the startup object.
29465 2017-08-17 Florian Weimer <fweimer@redhat.com>
29467 * include/sys/socket.h (__opensock): Remove internal_function.
29468 * socket/opensock.c (__opensock): Likewise.
29469 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29471 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29474 * signal/bits/types/__sigval_t.h: New file.
29475 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29476 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29477 and define sigval_t using __sigval_t.
29478 * include/bits/types/__sigval_t.h: New file.
29479 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29480 instead of <bits/types/__sigval_t.h>.
29481 (struct sigevent): Use __sigval_t instead of sigval_t.
29482 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29483 instead of <bits/types/__sigval_t.h>.
29484 (siginfo_t): Use __sigval_t instead of sigval_t.
29485 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29486 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29487 (struct sigevent): Use __sigval_t instead of sigval_t.
29488 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29489 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29490 (siginfo_t): Use __sigval_t instead of sigval_t.
29491 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29493 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29495 * NEWS: Remove "[Add new features here]" for 2.27.
29497 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29502 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29504 * NEWS: Mention x86-64 FMA optimization.
29506 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29509 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29511 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29512 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29513 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29515 2017-08-16 Andreas Schwab <schwab@suse.de>
29519 * elf/ldd.bash.in: Never run file directly.
29521 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29524 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29525 (L(SP_INF_0)): Likewise.
29527 2017-08-15 Florian Weimer <fweimer@redhat.com>
29529 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29532 2017-08-15 Florian Weimer <fweimer@redhat.com>
29534 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29535 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29536 BROKEN_THREAD_SIGNALS code.
29537 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29538 request_list): Remove caller_pid member used for
29539 BROKEN_THREAD_SIGNALS.
29540 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29541 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29542 Remove BROKEN_THREAD_SIGNALS support.
29543 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29544 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29546 2017-08-15 Florian Weimer <fweimer@redhat.com>
29548 * gmon/Makefile (tests): Add tst-gmon.
29549 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29551 (tests-special): Add tst-gmon-prof.out.
29552 (tst-gmon.out): Depend on clean-tst-gmon-data.
29553 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29554 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29555 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29557 * aclocal.m4 (GPROF): Set and substitute.
29558 * config.amke.in (GPROF): Set.
29559 * configure: Regenerate.
29561 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29563 * elf/elf.h A (NT_PPC_TAR): New macro.
29564 (NT_PPC_PPR): Likewise.
29565 (NT_PPC_DSCR): Likewise.
29566 (NT_PPC_EBB): Likewise.
29567 (NT_PPC_PMU): Likewise.
29568 (NT_PPC_TM_CGPR): Likewise.
29569 (NT_PPC_TM_CFPR): Likewise.
29570 (NT_PPC_TM_CVMX): Likewise.
29571 (NT_PPC_TM_CVSX): Likewise.
29572 (NT_PPC_TM_SPR): Likewise.
29573 (NT_PPC_TM_CTAR): Likewise.
29574 (NT_PPC_TM_CPPR): Likewise.
29575 (NT_PPC_TM_CDSCR): Likewise.
29577 2017-08-15 Florian Weimer <fweimer@redhat.com>
29579 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29580 regparm (2) instead of internal_function.
29581 (_MCOUNT_DECL): Adjust.
29583 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29585 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29586 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29588 2017-08-14 Joseph Myers <joseph@codesourcery.com>
29590 * conform/data/sys/wait.h-data (si_value): Do not expect for
29593 2017-08-14 Florian Weimer <fweimer@redhat.com>
29596 NSS: Create stubs for accidentally exported lookup functions.
29597 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29598 Remove declaration.
29599 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29600 (ether_hostton): Call __nss_ethers_lookup2 instead.
29601 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29602 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29603 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29604 (setup): Call __nss_netgroup_lookup2 instead.
29605 * nss/Makefile (routines): Add compat-lookup.
29606 * nss/Versions (GLIBC_2.27): Add symbol version.
29607 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29608 (DB_COMPAT_FCT): Remove.
29609 * nss/compat-lookup.c: New file.
29610 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29611 from databases.def.
29612 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29613 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29614 (netname2user): Call __nss_publickey_lookup2 instead.
29615 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29616 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29619 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29620 Sergei Trofimovich <slyfox@inbox.ru>
29623 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29624 Rename to MMAP2_PAGE_UNIT.
29625 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29626 __OFF_T_MATCHES_OFF64_T is not defined.
29627 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29629 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29630 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29632 2017-08-14 Florian Weimer <fweimer@redhat.com>
29634 i386: Do not set internal_function.
29635 * config.h.in (USE_REGPARMS, internal_function): Remove.
29636 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29637 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29639 2017-08-14 Florian Weimer <fweimer@redhat.com>
29641 * elf/dl-init.c (_dl_init): Remove internal_function.
29642 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29643 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29645 2017-08-14 Florian Weimer <fweimer@redhat.com>
29647 * elf/rtld.c (_dl_start): Remove internal_function.
29648 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29651 2017-08-14 Florian Weimer <fweimer@redhat.com>
29653 * elf/dl-fini.c (_dl_fini): Remove internal_function
29654 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29656 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29658 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
29659 (bit_cpu_SHSTK): Likewise.
29660 (index_cpu_IBT): Likewise.
29661 (index_cpu_SHSTK): Likewise.
29662 (reg_IBT): Likewise.
29663 (reg_SHSTK): Likewise.
29664 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29665 Handle index_cpu_IBT and index_cpu_SHSTK.
29667 2017-08-14 Mike FABIAN <mfabian@redhat.com>
29670 * po/fr.po: Fix spelling mistake.
29672 2017-08-13 Florian Weimer <fweimer@redhat.com>
29674 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29675 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29676 (_dl_catch_error, _dl_receive_error): Likewise.
29677 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29678 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29679 (_dl_deallocate_tls): Likewise.
29680 * include/dlfcn.h (_dl_addr): Likewise.
29681 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29682 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29683 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29686 2017-08-13 Florian Weimer <fweimer@redhat.com>
29688 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29689 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29691 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29693 2017-08-13 Florian Weimer <fweimer@redhat.com>
29695 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29697 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29698 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29699 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29700 internal_function from _dl_make_stack_executable_hook member.
29701 (_dl_make_stack_executable): Remove internal_function.
29702 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29704 * sysdeps/unix/sysv/linux/dl-execstack.c
29705 (_dl_make_stack_executable): Likewise.
29707 2017-08-13 Florian Weimer <fweimer@redhat.com>
29709 * sysdeps/unix/sysv/linux/netlinkaccess.h
29710 (__netlink_assert_response): Remove internal_function.
29711 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29712 (__netlink_assert_response): Likewise.
29714 2017-08-13 Florian Weimer <fweimer@redhat.com>
29716 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29718 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29720 2017-08-13 Florian Weimer <fweimer@redhat.com>
29722 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29724 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29725 * inet/netgroup.h (__internal_setnetgrent)
29726 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29727 * inet/getnetgrent_r.c (__internal_setnetgrent)
29728 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29729 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29730 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29731 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29732 * nss/nsswitch.h (db_lookup_function): Likewise.
29734 2017-08-13 Florian Weimer <fweimer@redhat.com>
29736 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29737 Remove internal_function.
29738 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29739 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29740 message argument on the stack.
29741 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29744 2017-08-12 Mike FABIAN <mfabian@redhat.com>
29746 Adapt test case data to the changes in the thousands
29750 * localedata/tst-langinfo.sh: Adapt test case data.
29751 * stdlib/tst-strfmon_l.c: Likewise.
29752 * stdlib/tst-strtod4.c: Likewise.
29753 * stdlib/tst-strtod5i.c: Likewise.
29755 2017-08-11 Florian Weimer <fweimer@redhat.com>
29758 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29759 Suppress pedantic warning resulting from statement expression.
29760 (__ASSERT_FUNCTION): Add missing __extension__.
29762 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29764 * benchtests/bench-memmove-large.c: Print output in JSON
29766 * benchtests/bench-memmove.c: Likewise.
29768 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29769 * benchtests/bench-memchr.c (do_one_test): Likewise.
29770 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29771 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29772 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29773 * benchtests/bench-memmove.c (do_one_test): Likewise.
29774 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29775 * benchtests/bench-memset.c (do_one_test): Likewise.
29776 * benchtests/bench-string.h (test_init): Remove memsets.
29778 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29781 (Computing the Width of an Integer Data Type): Rename section to
29782 "Width of an Integer Type". Remove inaccurate statement regarding
29783 lack of C language facilities for determining width of integer
29784 types, and reorder content to improve flow and context of
29787 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29789 * lang.texi (va_copy): Change standard from ISO to C99.
29790 (__va_copy): Add standard and header annotation.
29791 Update description for clarity of origins and current use.
29793 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29796 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29797 xssqrtqp requires operands to be in Vector Registers
29798 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
29799 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
29800 (__ieee754_sqrtf128): Likewise.
29802 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
29804 * sysdeps/aarch64/memcmp.S (memcmp):
29805 Rewrite of optimized memcmp.
29807 2017-08-10 Florian Weimer <fweimer@redhat.com>
29809 Introduce ld.so exceptions.
29810 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
29811 (_dl_exception_create, _dl_exception_create_format)
29812 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
29813 (_dl_catch_exception): Declare.
29814 (_dl_catch_error): Update comment.
29815 * elf/dl-error-skeleton.c (struct catch): Replace objname,
29816 errstring, malloced members with exception member.
29817 (_dl_out_of_memory): Remove.
29818 (fatal_error): New function, extracted from _dl_signal_error.
29819 (_dl_signal_exception, _dl_signal_cexception): New functions.
29820 (_dl_signal_error): Call _dl_exception_create to allocate an
29822 (_dl_catch_exception): New function, based on _dl_catch_error.
29823 (_dl_catch_error): Implement using _dl_catch_exception.
29824 * elf/dl-exception.c: New file.
29825 * elf/Makefile (dl-routines): Add dl-exception.
29826 (elide-routines.os): Likewise.
29827 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
29828 _dl_exception_create_format, _dl_exception_free.
29829 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
29830 _dl_signal_exception.
29831 * elf/dl-lookup.c (make_string): Remove.
29832 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
29833 _dl_signal_cexception, _dl_exception_free.
29834 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
29835 _dl_signal_exception.
29836 * elf/dl-sym.c (do_sym): Likewise.
29837 * elf/dl-version.c (make_string): Remove.
29838 (match_symbol): Use _dl_exception_create_format,
29839 _dl_signal_cexception, _dl_exception_free.
29840 (_dl_check_map_versions): Likewise.
29841 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
29842 _dl_catch_exception.
29843 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
29844 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
29845 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
29846 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
29847 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
29848 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
29849 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
29850 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
29852 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
29853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
29855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
29859 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
29860 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
29861 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
29863 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
29865 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
29867 2017-08-10 Florian Weimer <fweimer@redhat.com>
29869 * inet/net-internal.h (__inet6_scopeid_pton): Remove
29870 attribute_hidden, internal_function.
29871 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
29874 2017-08-10 Florian Weimer <fweimer@redhat.com>
29876 * malloc/malloc.c (get_max_fast): Reimplement as an inline
29877 function which calls __builtin_unreachable.
29879 2017-08-10 Mike FABIAN <mfabian@redhat.com>
29881 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
29882 Indian monetary formatting
29883 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
29886 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
29888 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
29889 Fix typo in comment.
29892 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
29893 PTRACE_SEIZE_DEVEL): Remove.
29894 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
29895 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29896 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29900 2017-08-09 Joseph Myers <joseph@codesourcery.com>
29902 * posix/bits/types.h (__qaddr_t): Remove.
29905 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
29906 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29908 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
29909 (ucontext_t): Use __ctx with uc_flags.
29910 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
29911 (__ctxt): Likewise.
29912 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29914 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
29915 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29917 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
29918 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29920 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
29922 (ucontext_t): Use __ctx with uc_flags.
29923 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
29924 (ucontext_t): Use __ctx with uc_flags.
29925 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
29926 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
29927 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
29928 (ucontext_t): Use __ctx with uc_flags.
29929 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
29930 undefine further down.
29931 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29933 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
29934 undefine further down.
29935 (ucontext_t): Use __ctx with uc_flags.
29936 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
29937 undefine further down.
29938 (ucontext_t): Use __ctx with uc_flags.
29939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
29940 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
29941 Rename uc_pad to __glibc_reserved1.
29942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
29943 undefine further down.
29944 (ucontext_t): Use __ctx with uc_flags.
29945 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
29947 (ucontext_t): Use __ctx with uc_flags.
29948 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
29949 __ctx with uc_flags.
29950 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
29951 (ucontext_t): Use __ctx with uc_flags.
29952 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
29953 __ctx with uc_flags.
29955 2017-08-09 Florian Weimer <fweimer@redhat.com>
29958 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
29959 before early return.
29961 2017-08-09 Andreas Schwab <schwab@suse.de>
29964 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
29968 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
29969 tst-compat-forwarder.
29970 (modules-names): Add tst-compat-forwarder-mod.
29971 ($(objpfx)tst-compat-forwarder): Depend on
29972 $(objpfx)tst-compat-forwarder-mod.so.
29973 * nptl/tst-compat-forwarder.c: New file.
29974 * nptl/tst-compat-forwarder-mod.c: New file.
29976 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
29978 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
29981 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
29982 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29984 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
29986 (__libc_ifunc_impl_list): Add __memcpy_falkor.
29987 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
29988 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
29989 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29991 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
29994 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29997 * manual/setjmp.texi (getcontex): Document uc_stack value
29998 compatibility differences.
30000 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30002 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30003 (old_malloc_hook): Likewise.
30004 (old_memalign_hook): Likewise.
30005 (old_realloc_hook): Likewise.
30006 (struct hdr): Likewise.
30008 (freehook): Likewise.
30009 (mallochook): Likewise.
30010 (memalignhook): Likewise.
30011 (reallochook): Likewise.
30012 (mprobe): Likewise.
30013 * malloc/mtrace.c (mallwatch): Likewise.
30014 (tr_old_free_hook): Likewise.
30015 (tr_old_malloc_hook): Likewise.
30016 (tr_old_realloc_hook): Likewise.
30017 (tr_old_memalign_hook): Likewise.
30018 (tr_where): Likewise.
30019 (lock_and_info): Likewise.
30020 (tr_freehook): Likewise.
30021 (tr_mallochook): Likewise.
30022 (tr_reallochook): Likewise.
30023 (tr_memalignhook): Likewise.
30024 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30025 * misc/mmap.c (__mmap): Likewise.
30026 * misc/mmap64.c (__mmap64): Likewise.
30027 * misc/mprotect.c (__mprotect): Likewise.
30028 * misc/msync.c (msync): Likewise.
30029 * misc/munmap.c (__munmap): Likewise.
30030 * posix/posix_madvise.c (posix_madvise): Likewise.
30031 * socket/send.c (__send): Likewise.
30032 * socket/sendto.c (__sendto): Likewise.
30033 * socket/setsockopt.c (__setsockopt): Likewise.
30034 * string/memcmp.c (__ptr_t): Remove macro.
30035 (MEMCMP): Use void * instead of ptr_t.
30036 * string/memrchr.c (__ptr_t): Remove macro.
30037 (__memrchr): Use void * instead of ptr_t.
30038 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30039 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30040 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30041 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30042 * sysdeps/mach/msync.c (msync): Likewise.
30043 * sysdeps/mach/munmap.c (__munmap): Likewise.
30044 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30046 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30047 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30048 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30049 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30050 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30051 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30052 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30053 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30055 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30056 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30057 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30058 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30059 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30060 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30061 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30062 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30065 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30066 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30067 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30068 (MEMCMP): Use void * instead of ptr_t.
30069 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30070 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30072 2017-08-08 Florian Weimer <fweimer@redhat.com>
30074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30077 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30080 * csu/libc-tls.c: Include <startup.h> first.
30081 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30082 * elf/dl-tunables.c: Include <startup.h> first.
30083 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30084 * sysdeps/generic/startup.h: New file.
30085 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30086 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30087 (I386_USE_SYSENTER): New. Defined to 0.
30089 2017-08-08 Andreas Schwab <schwab@suse.de>
30092 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30093 * nptl/pt-system.c (system): Likewise.
30095 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30098 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30100 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30101 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30102 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30103 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30104 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30105 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30106 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30108 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30111 * bits/sigaction.h (struct sigaction): Define sa_handler and
30112 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30113 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30114 [__USE_XOPEN_EXTENDED].
30115 (SA_RESTART): Likewise.
30116 (SA_NODEFER): Likewise.
30117 (SA_RESETHAND): Likewise.
30118 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30119 (struct sigaction): Define sa_handler and sa_sigaction using union
30120 also for [__USE_XOPEN_EXTENDED].
30121 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30122 [__USE_XOPEN_EXTENDED].
30123 (SA_RESTART): Likewise.
30124 (SA_NODEFER): Likewise.
30125 (SA_RESETHAND): Likewise.
30126 * sysdeps/unix/sysv/linux/bits/sigaction.h
30127 (struct sigaction): Define sa_handler and sa_sigaction using union
30128 also for [__USE_XOPEN_EXTENDED].
30129 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30130 [__USE_XOPEN_EXTENDED].
30131 (SA_RESTART): Likewise.
30132 (SA_NODEFER): Likewise.
30133 (SA_RESETHAND): Likewise.
30134 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30135 (struct sigaction): Define sa_handler and sa_sigaction using union
30136 also for [__USE_XOPEN_EXTENDED].
30137 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30138 [__USE_XOPEN_EXTENDED].
30139 (SA_RESTART): Likewise.
30140 (SA_NODEFER): Likewise.
30141 (SA_RESETHAND): Likewise.
30142 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30143 (struct sigaction): Define sa_handler and sa_sigaction using union
30144 also for [__USE_XOPEN_EXTENDED].
30145 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30146 [__USE_XOPEN_EXTENDED].
30147 (SA_RESTART): Likewise.
30148 (SA_NODEFER): Likewise.
30149 (SA_RESETHAND): Likewise.
30150 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30151 (struct sigaction): Define sa_handler and sa_sigaction using union
30152 also for [__USE_XOPEN_EXTENDED].
30153 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30154 [__USE_XOPEN_EXTENDED].
30155 (SA_RESTART): Likewise.
30156 (SA_NODEFER): Likewise.
30157 (SA_RESETHAND): Likewise.
30158 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30159 (struct sigaction): Define sa_handler and sa_sigaction using union
30160 also for [__USE_XOPEN_EXTENDED].
30161 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30162 [__USE_XOPEN_EXTENDED].
30163 (SA_RESTART): Likewise.
30164 (SA_NODEFER): Likewise.
30165 (SA_RESETHAND): Likewise.
30166 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30167 (struct sigaction): Define sa_handler and sa_sigaction using union
30168 also for [__USE_XOPEN_EXTENDED].
30169 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30170 [__USE_XOPEN_EXTENDED].
30171 (SA_RESTART): Likewise.
30172 (SA_NODEFER): Likewise. Define directly rather than as alias.
30173 (SA_RESETHAND): Likewise.
30174 (SA_INTERRUPT): Define only for [__USE_MISC].
30175 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30176 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30178 (SA_STACK): Define only for [__USE_MISC].
30179 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30180 (struct sigaction): Define sa_handler and sa_sigaction using union
30181 also for [__USE_XOPEN_EXTENDED].
30182 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30183 [__USE_XOPEN_EXTENDED].
30184 (SA_RESTART): Likewise.
30185 (SA_NODEFER): Likewise.
30186 (SA_RESETHAND): Likewise.
30187 (SA_NOPTRACE): Define only for [__USE_MISC].
30189 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30190 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30191 (struct catalog_info): Likewise.
30192 * inet/htontest.c (lo): Likewise.
30194 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30195 * inet/inet_net.c (inet_network): Likewise.
30196 * inet/inet_netof.c (inet_netof): Likewise.
30197 * inet/rcmd.c (__ivaliduser): Likewise.
30198 (iruserok): Likewise.
30199 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30200 * locale/programs/locale-spec.c (locale_special): Likewise.
30201 * nis/nis_findserv.c (struct findserv_req): Likewise.
30202 (__nis_findfastest_with_timeout): Likewise.
30203 * nss/test-netdb.c (test_network): Likewise.
30204 * resolv/inet_neta.c (inet_neta): Likewise.
30205 * resolv/ns_date.c (ns_datetosecs): Likewise.
30206 (SECS_PER_DAY): Likewise.
30207 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30209 * resolv/res_comp.c (__putlong): Likewise.
30210 (__putshort): Likewise.
30211 (_getlong): Likewise.
30212 (_getshort): Likewise.
30213 * resolv/res_debug.c (p_time): Likewise.
30214 (precsize_ntoa): Likewise.
30215 (precsize_aton): Likewise.
30216 (latlon2ul): Likewise.
30217 (loc_aton): Likewise.
30218 (loc_ntoa): Likewise.
30219 * resolv/res_hconf.c (struct netaddr): Likewise.
30220 (_res_hconf_reorder_addrs): Likewise.
30221 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30222 (clnttcp_control): Likewise.
30223 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30224 (clntudp_control): Likewise.
30225 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30226 (clntunix_control): Likewise.
30227 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30228 * sunrpc/rpc/auth.h (union des_block): Likewise.
30229 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30230 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30231 (xdrrec_create): Likewise.
30232 (xdrrec_endofrecord): Likewise.
30233 (flush_out): Likewise.
30234 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30235 (xdrstdio_putlong): Likewise.
30236 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30239 * misc/sys/cdefs.h (__long_double_t): Remove.
30240 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30241 instead of __long_double_t,
30242 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30244 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30246 * benchtests/scripts/compare_strings.py: Avoid display error when
30247 running on a text terminal.
30249 * benchtests/scripts/compare_strings.py (main): Add an
30250 optional -base option.
30251 (process_results): New argument base_func.
30253 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30255 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30256 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30258 2017-08-07 Andreas Schwab <schwab@suse.de>
30260 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30261 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30262 * intl/Makefile ($(objpfx)tst-gettext.out)
30263 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30264 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30265 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30266 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30267 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30268 * posix/Makefile ($(objpfx)globtest.out)
30269 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30270 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30271 ($(objpfx)tst-printf.out): Likewise.
30272 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30273 ($(objpfx)tst-setcontext3.out): Likewise.
30275 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30278 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30279 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30280 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30281 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30283 (CFLAGS-doasin-fma.c): New.
30284 (CFLAGS-dosincos-fma.c): Likewise.
30285 (CFLAGS-e_asin-fma.c): Likewise.
30286 (CFLAGS-e_atan2-fma.c): Likewise.
30287 (CFLAGS-e_exp-fma.c): Likewise.
30288 (CFLAGS-e_log-fma.c): Likewise.
30289 (CFLAGS-e_pow-fma.c): Likewise.
30290 (CFLAGS-halfulp-fma.c): Likewise.
30291 (CFLAGS-mpa-fma.c): Likewise.
30292 (CFLAGS-mpatan-fma.c): Likewise.
30293 (CFLAGS-mpatan2-fma.c): Likewise.
30294 (CFLAGS-mpexp-fma.c): Likewise.
30295 (CFLAGS-mplog-fma.c): Likewise.
30296 (CFLAGS-mpsqrt-fma.c): Likewise.
30297 (CFLAGS-mptan-fma.c): Likewise.
30298 (CFLAGS-s_atan-fma.c): Likewise.
30299 (CFLAGS-sincos32-fma.c): Likewise.
30300 (CFLAGS-slowexp-fma.c): Likewise.
30301 (CFLAGS-slowpow-fma.c): Likewise.
30302 (CFLAGS-s_sin-fma.c): Likewise.
30303 (CFLAGS-s_tan-fma.c): Likewise.
30304 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30305 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30306 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30307 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30308 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30309 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30310 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30312 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30313 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30314 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30315 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30316 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30317 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30318 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30320 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30321 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30322 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30324 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30325 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30326 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30331 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30336 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30338 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30339 (min_of_type_f): New macro.
30340 (min_of_type_): Likewise.
30341 (min_of_type_l): Likewise.
30342 (min_of_type_f128): Likewise.
30343 (min_of_type): Define using __MATH_TG and taking an expression
30345 (math_check_force_underflow): Pass expression instead of type to
30347 (math_check_force_underflow_nonneg): Likewise.
30349 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30351 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30352 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30353 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30358 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30359 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30360 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30361 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30362 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30363 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30364 memmove_chk-nonshared and memset_chk-nonshared
30365 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30366 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30367 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30368 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30369 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30370 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30371 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30372 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30373 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30374 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30375 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30376 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30377 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30378 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30380 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30381 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30382 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30383 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30384 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30385 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30386 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30387 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30388 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30389 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30390 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30392 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30393 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30394 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30395 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30398 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30401 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30403 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30404 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30405 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30406 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30407 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30409 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30411 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30413 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30415 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30416 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30417 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30418 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30419 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30420 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30421 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30422 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30423 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30424 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30425 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30426 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30427 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30428 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30429 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30430 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30431 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30432 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30433 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30434 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30435 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30436 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30437 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30438 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30439 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30440 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30441 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30442 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30449 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30450 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30451 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30453 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30457 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30459 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30460 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30461 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30462 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30463 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30464 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30465 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30466 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30467 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30468 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30469 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30470 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30471 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30472 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30474 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30476 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30477 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30478 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30479 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30480 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30481 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30482 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30483 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30484 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30485 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30486 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30487 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30488 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30489 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30490 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30491 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30492 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30493 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30494 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30495 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30496 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30497 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30498 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30501 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30502 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30503 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30504 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30505 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30506 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30507 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30508 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30511 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30515 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30516 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30517 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30518 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30519 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30520 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30521 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30522 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30523 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30524 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30525 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30526 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30527 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30530 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30531 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30532 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30533 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30537 Don't include <sysdep.h> nor <init-arch.h>.
30538 (_ZGVbN2v_cos): Removed.
30539 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30541 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30542 Don't include <sysdep.h> nor <init-arch.h>.
30543 (_ZGVdN4v_cos): Removed.
30544 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30546 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30547 Don't include <sysdep.h> nor <init-arch.h>.
30548 (_ZGVeN8v_cos): Removed.
30549 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30552 Don't include <sysdep.h> nor <init-arch.h>.
30553 (_ZGVbN2v_exp): Removed.
30554 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30557 Don't include <sysdep.h> nor <init-arch.h>.
30558 (_ZGVdN4v_exp): Removed.
30559 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30561 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30562 Don't include <sysdep.h> nor <init-arch.h>.
30563 (_ZGVeN8v_exp): Removed.
30564 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30566 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30567 Don't include <sysdep.h> nor <init-arch.h>.
30568 (_ZGVbN2v_log): Removed.
30569 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30571 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30572 Don't include <sysdep.h> nor <init-arch.h>.
30573 (_ZGVdN4v_log): Removed.
30574 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30576 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30577 Don't include <sysdep.h> nor <init-arch.h>.
30578 (_ZGVeN8v_log): Removed.
30579 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30581 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30582 Don't include <sysdep.h> nor <init-arch.h>.
30583 (_ZGVbN2vv_pow): Removed.
30584 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30586 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30587 Don't include <sysdep.h> nor <init-arch.h>.
30588 (_ZGVdN4vv_pow): Removed.
30589 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30591 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30592 Don't include <sysdep.h> nor <init-arch.h>.
30593 (_ZGVeN8vv_pow): Removed.
30594 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30597 Don't include <sysdep.h> nor <init-arch.h>.
30598 (_ZGVbN2v_sin): Removed.
30599 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30601 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30602 Don't include <sysdep.h> nor <init-arch.h>.
30603 (_ZGVbN4v_sin): Removed.
30604 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30607 Don't include <sysdep.h> nor <init-arch.h>.
30608 (_ZGVbN8v_sin): Removed.
30609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30612 Don't include <sysdep.h> nor <init-arch.h>.
30613 (_ZGVbN2vvv_sincos): Removed.
30614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30617 Don't include <sysdep.h> nor <init-arch.h>.
30618 (_ZGVdN4vvv_sincos): Removed.
30619 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30621 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30622 Don't include <sysdep.h> nor <init-arch.h>.
30623 (_ZGVeN8vvv_sincos): Removed.
30624 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30626 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30627 Don't include <sysdep.h> nor <init-arch.h>.
30628 (_ZGVeN16v_cosf): Removed.
30629 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30631 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30632 Don't include <sysdep.h> nor <init-arch.h>.
30633 (_ZGVbN4v_cosf): Removed.
30634 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30636 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30637 Don't include <sysdep.h> nor <init-arch.h>.
30638 (_ZGVdN8v_cosf): Removed.
30639 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30641 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30642 Don't include <sysdep.h> nor <init-arch.h>.
30643 (_ZGVeN16v_expf): Removed.
30644 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30646 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30647 Don't include <sysdep.h> nor <init-arch.h>.
30648 (_ZGVbN4v_expf): Removed.
30649 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30651 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30652 Don't include <sysdep.h> nor <init-arch.h>.
30653 (_ZGVdN8v_expf): Removed.
30654 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30656 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30657 Don't include <sysdep.h> nor <init-arch.h>.
30658 (_ZGVeN16v_logf): Removed.
30659 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30661 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30662 Don't include <sysdep.h> nor <init-arch.h>.
30663 (_ZGVbN4v_logf): Removed.
30664 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30666 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30667 Don't include <sysdep.h> nor <init-arch.h>.
30668 (_ZGVdN8v_logf): Removed.
30669 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30671 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30672 Don't include <sysdep.h> nor <init-arch.h>.
30673 (_ZGVeN16vv_powf): Removed.
30674 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30676 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30677 Don't include <sysdep.h> nor <init-arch.h>.
30678 (_ZGVbN4vv_powf): Removed.
30679 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30681 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30682 Don't include <sysdep.h> nor <init-arch.h>.
30683 (_ZGVdN8vv_powf): Removed.
30684 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30686 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30687 Don't include <sysdep.h> nor <init-arch.h>.
30688 (_ZGVeN16vvv_sincosf): Removed.
30689 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30691 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30692 Don't include <sysdep.h> nor <init-arch.h>.
30693 (_ZGVbN4vvv_sincosf): Removed.
30694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30697 Don't include <sysdep.h> nor <init-arch.h>.
30698 (_ZGVdN8vvv_sincosf): Removed.
30699 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30701 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30702 Don't include <sysdep.h> nor <init-arch.h>.
30703 (_ZGVeN16v_sinf): Removed.
30704 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30706 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30707 Don't include <sysdep.h> nor <init-arch.h>.
30708 (_ZGVbN4v_sinf): Removed.
30709 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30711 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30712 Don't include <sysdep.h> nor <init-arch.h>.
30713 (_ZGVdN8v_sinf): Removed.
30715 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30717 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30718 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30719 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30720 s_rint-sse4_1 and s_rintf-sse4_1.
30721 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30722 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30723 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30724 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30725 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30727 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30728 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30729 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30730 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30731 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30732 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30734 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30735 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30736 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30737 (__ceilf): Removed.
30738 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30739 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30740 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30741 (__floor): Removed.
30742 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30743 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30744 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30745 (__floorf): Removed.
30746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30747 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30748 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30749 (__nearbyint): Removed.
30750 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30751 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30752 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30753 (__nearbyintf): Removed.
30754 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30755 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30756 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30759 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30760 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30761 (__rintf): Removed.
30763 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30765 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30766 SHARED. Avoid dynamic relocation against main in static PIE.
30768 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30771 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30772 (LDFLAGS-tst-prelink): Likewise.
30774 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30776 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30777 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30778 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30779 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30780 (INTERNAL_SYSCALL_NCS): Likewise.
30781 (LOADARGS_1): Likewise.
30782 (LOADARGS_5): Likewise.
30783 (RESTOREARGS_1): Likewise.
30784 (RESTOREARGS_5): Likewise.
30786 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30788 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30789 (MEMPCPY_SYMBOL): Likewise.
30790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30791 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30795 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30797 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30798 (__hidden_ver1): Don't use in libc.a.
30799 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
30800 (__mempcpy): Don't create a weak alias in libc.a.
30801 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
30803 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
30804 (__hidden_ver1): Don't use in libc.a.
30806 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30808 * config.make.in (have-insert): New.
30809 * configure.ac (libc_cv_insert): New. Set to yes if linker
30810 supports INSERT in linker script.
30811 (AC_SUBST(libc_cv_insert): New.
30812 * configure: Regenerated.
30813 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
30814 if $(have-insert) == yes.
30816 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30818 * elf/Makefile (tests): Add vismain only if
30819 $(have-protected-data) == yes.
30820 (tests-pie): Likewise.
30822 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30825 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
30826 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
30828 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30831 * sysdeps/i386/i586/memset.S
30832 (__memset_zero_constant_len_parameter): Removed.
30833 * sysdeps/i386/i686/memset.S
30834 (__memset_zero_constant_len_parameter): Likewise.
30835 * sysdeps/i386/i686/multiarch/memset_chk.S
30836 (__memset_zero_constant_len_parameter): Likewise.
30837 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
30840 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30842 * stdlib/getentropy.c (getentropy): Change return type to int.
30844 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30846 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
30848 2017-08-03 Joseph Myers <joseph@codesourcery.com>
30850 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
30852 * math/s_nexttowardf.c (__nexttowardf): Likewise.
30853 * sysdeps/generic/math_private.h (ieee_double_shape_type):
30855 (ieee_float_shape_type): Likewise.
30856 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
30857 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
30858 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30859 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30860 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30861 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
30862 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
30863 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30864 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30866 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30867 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30868 (__ieee754_yn): Likewise.
30869 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30870 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
30873 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30874 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
30875 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
30876 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
30877 (__erfc): Likewise.
30878 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30879 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
30880 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
30881 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
30882 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
30883 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
30885 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30886 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
30887 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30888 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
30889 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30890 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
30891 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
30892 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
30893 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
30894 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30895 (__issignaling): Likewise.
30896 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
30897 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
30898 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30900 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30901 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30902 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
30903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
30905 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
30907 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
30908 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
30909 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
30910 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30911 (__erfcf): Likewise.
30912 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30913 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30914 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
30915 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
30917 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
30918 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
30920 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30921 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
30922 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30923 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
30924 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
30925 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30926 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
30927 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
30929 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
30931 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30933 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
30934 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30936 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30938 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30939 (__ieee754_ynl): Likewise.
30940 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30941 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
30943 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
30945 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30946 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
30947 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30949 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30950 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
30951 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
30952 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
30953 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
30954 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30955 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
30956 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
30958 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
30959 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
30960 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
30962 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
30963 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
30964 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30965 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30966 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
30967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30969 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30971 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30975 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
30976 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30977 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30978 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
30979 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30980 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
30981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
30983 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30985 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30986 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
30989 (__ieee754_remainderl): Likewise.
30990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30991 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30992 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30995 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30998 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30999 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31000 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31001 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31002 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31003 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31005 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31006 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31007 (__ieee754_y0l): Likewise.
31010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31011 (__ieee754_y1l): Likewise.
31014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31015 (__ieee754_ynl): Likewise.
31016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31017 (__ieee754_lgammal_r): Likewise.
31018 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31020 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31021 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31022 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31023 (__erfcl): Likewise.
31024 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31025 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31027 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31028 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31029 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31030 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31031 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31035 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31036 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31037 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31038 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31039 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31041 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31042 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31044 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31045 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31046 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31047 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31048 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31050 2017-08-03 Florian Weimer <fweimer@redhat.com>
31053 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31054 on memory allocation failure.
31056 2017-08-03 Alan Modra <amodra@gmail.com>
31058 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31059 tst-tlsopt-powerpc.c with function name change and no test harness.
31060 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31061 Call tls_get_addr_opt_test.
31062 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31063 (modules-names): Add mod-tlsopt-powerpc.
31064 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31065 (tst-tlsopt-powerpc): Depend on .so.
31066 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31067 define. Expand use in TLS_GD and TLS_LD.
31069 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31071 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31073 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31075 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31078 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31079 comparing size with that of double.
31080 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31081 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31082 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31083 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31084 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31085 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31086 unsigned __int128 types.
31088 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31090 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31091 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31092 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31093 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31094 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31096 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31098 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31100 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31102 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31104 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31105 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31107 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31109 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31112 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31115 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31116 bit-field expressions passed to sizeof or typeof.
31117 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31118 (__TGMATH_F128): Likewise.
31119 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31120 (__TGMATH_CF128): Likewise.
31121 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31122 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31123 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31124 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31125 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31126 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31127 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31128 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31129 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31130 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31131 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31132 (__TGMATH_UNARY_IMAG): Likewise.
31133 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31134 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31135 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31137 (define_vars_for_type): Handle bit_field type specially.
31138 (Tests.__init__): Declare structure with bit-field element.
31140 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31143 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31144 (MEMCPY_CHK): Define only if SHARED is defined.
31145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31150 See ChangeLog.18 for earlier changes.